2002-06-07 05:27:37 +00:00
|
|
|
# test_libFLAC++ - Unit tester for libFLAC++
|
2006-04-25 06:59:33 +00:00
|
|
|
# Copyright (C) 2002,2003,2004,2005,2006 Josh Coalson
|
2002-06-07 05:27:37 +00:00
|
|
|
#
|
|
|
|
|
# This program is free software; you can redistribute it and/or
|
|
|
|
|
# modify it under the terms of the GNU General Public License
|
|
|
|
|
# as published by the Free Software Foundation; either version 2
|
|
|
|
|
# of the License, or (at your option) any later version.
|
|
|
|
|
#
|
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
|
#
|
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
|
# along with this program; if not, write to the Free Software
|
|
|
|
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# GNU makefile
|
|
|
|
|
#
|
|
|
|
|
|
2002-10-23 22:08:13 +00:00
|
|
|
topdir = ../..
|
2004-10-30 00:03:21 +00:00
|
|
|
libdir = $(topdir)/obj/$(BUILD)/lib
|
2002-10-23 22:08:13 +00:00
|
|
|
|
2002-06-07 05:27:37 +00:00
|
|
|
PROGRAM_NAME = test_libFLAC++
|
2004-10-30 00:03:21 +00:00
|
|
|
|
|
|
|
|
INCLUDES = -I$(topdir)/include
|
|
|
|
|
|
|
|
|
|
ifeq ($(DARWIN_BUILD),yes)
|
2006-09-13 01:42:27 +00:00
|
|
|
EXPLICIT_LIBS = $(libdir)/libgrabbag.a $(libdir)/libreplaygain_analysis.a $(libdir)/libtest_libs_common.a $(libdir)/libFLAC++.a $(libdir)/libFLAC.a -lm
|
2004-10-30 00:03:21 +00:00
|
|
|
else
|
2006-09-13 01:42:27 +00:00
|
|
|
LIBS = -lgrabbag -lreplaygain_analysis -ltest_libs_common -lFLAC++ -lOggFLAC -lFLAC -L$(OGG_LIB_DIR) -logg -lm
|
2004-10-30 00:03:21 +00:00
|
|
|
endif
|
|
|
|
|
|
2002-11-20 06:40:08 +00:00
|
|
|
SRCS_CPP = \
|
|
|
|
|
decoders.cpp \
|
|
|
|
|
encoders.cpp \
|
|
|
|
|
main.cpp \
|
|
|
|
|
metadata.cpp \
|
|
|
|
|
metadata_manip.cpp \
|
|
|
|
|
metadata_object.cpp
|
2002-06-07 05:27:37 +00:00
|
|
|
|
2002-10-23 22:08:13 +00:00
|
|
|
include $(topdir)/build/exe.mk
|
2002-06-07 05:27:37 +00:00
|
|
|
|
|
|
|
|
LINK = $(CCC) $(LINKAGE)
|
|
|
|
|
|
|
|
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|