blob: 08d67580c53aafdd7ea9848f158f9f94ceec7c1f [file] [log] [blame]
Josh Coalsona86f8702002-08-20 04:03:24 +00001# test_libOggFLAC++ - Unit tester for libOggFLAC++
Josh Coalson95643902004-01-17 04:14:43 +00002# Copyright (C) 2002,2003,2004 Josh Coalson
Josh Coalsona86f8702002-08-20 04:03:24 +00003#
4# This program is free software; you can redistribute it and/or
5# modify it under the terms of the GNU General Public License
6# as published by the Free Software Foundation; either version 2
7# of the License, or (at your option) any later version.
8#
9# This program is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY; without even the implied warranty of
11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12# GNU General Public License for more details.
13#
14# You should have received a copy of the GNU General Public License
15# along with this program; if not, write to the Free Software
16# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17
18#
19# GNU makefile
20#
21
Josh Coalsoncd0e3222002-10-23 22:08:13 +000022topdir = ../..
Josh Coalson2757af62004-10-30 00:03:21 +000023libdir = $(topdir)/obj/$(BUILD)/lib
Josh Coalsoncd0e3222002-10-23 22:08:13 +000024
Josh Coalsona86f8702002-08-20 04:03:24 +000025PROGRAM_NAME = test_libOggFLAC++
Josh Coalson2757af62004-10-30 00:03:21 +000026
27INCLUDES = -I$(topdir)/include
28
29ifeq ($(DARWIN_BUILD),yes)
30EXPLICIT_LIBS = $(libdir)/libgrabbag.a $(libdir)/libreplaygain_analysis.a $(libdir)/libOggFLAC++.a $(libdir)/libOggFLAC.a $(libdir)/libFLAC.a $(OGG_LIB_DIR)/libogg.a -lm
31else
32LIBS = -lgrabbag -lreplaygain_analysis -lOggFLAC++ -lOggFLAC -lFLAC -L$(OGG_LIB_DIR) -logg -lm
33endif
34
Josh Coalson26dff912003-01-10 05:39:00 +000035SRCS_C = \
36 file_utils.c \
37 metadata_utils.c
Josh Coalsonb74fc982002-11-20 06:40:08 +000038SRCS_CPP = \
39 decoders.cpp \
40 encoders.cpp \
Josh Coalsonb74fc982002-11-20 06:40:08 +000041 main.cpp
Josh Coalsona86f8702002-08-20 04:03:24 +000042
Josh Coalsoncd0e3222002-10-23 22:08:13 +000043include $(topdir)/build/exe.mk
Josh Coalsona86f8702002-08-20 04:03:24 +000044
45LINK = $(CCC) $(LINKAGE)
46
47# DO NOT DELETE THIS LINE -- make depend depends on it.