Josh Coalson | 57ba6f4 | 2002-06-07 05:27:37 +0000 | [diff] [blame] | 1 | # test_libFLAC - Unit tester for libFLAC |
Josh Coalson | 9564390 | 2004-01-17 04:14:43 +0000 | [diff] [blame] | 2 | # Copyright (C) 2000,2001,2002,2003,2004 Josh Coalson |
Josh Coalson | 6b05bc5 | 2001-06-08 00:13:21 +0000 | [diff] [blame] | 3 | # |
| 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 | |
Josh Coalson | bb7f6b9 | 2000-12-10 04:09:52 +0000 | [diff] [blame] | 18 | # |
| 19 | # GNU makefile |
| 20 | # |
| 21 | |
Josh Coalson | cd0e322 | 2002-10-23 22:08:13 +0000 | [diff] [blame] | 22 | topdir = ../.. |
Josh Coalson | 2757af6 | 2004-10-30 00:03:21 +0000 | [diff] [blame] | 23 | libdir = $(topdir)/obj/$(BUILD)/lib |
Josh Coalson | cd0e322 | 2002-10-23 22:08:13 +0000 | [diff] [blame] | 24 | |
Josh Coalson | 57ba6f4 | 2002-06-07 05:27:37 +0000 | [diff] [blame] | 25 | PROGRAM_NAME = test_libFLAC |
Josh Coalson | 2757af6 | 2004-10-30 00:03:21 +0000 | [diff] [blame] | 26 | |
| 27 | INCLUDES = -I../libFLAC/include -I$(topdir)/include |
| 28 | |
| 29 | ifeq ($(DARWIN_BUILD),yes) |
| 30 | EXPLICIT_LIBS = $(libdir)/libgrabbag.a $(libdir)/libreplaygain_analysis.a $(libdir)/libFLAC.a -lm |
| 31 | else |
| 32 | LIBS = -lgrabbag -lreplaygain_analysis -lFLAC -lm |
| 33 | endif |
| 34 | |
Josh Coalson | b74fc98 | 2002-11-20 06:40:08 +0000 | [diff] [blame] | 35 | SRCS_C = \ |
| 36 | bitbuffer.c \ |
| 37 | decoders.c \ |
| 38 | encoders.c \ |
| 39 | file_utils.c \ |
Josh Coalson | 2de1124 | 2004-12-30 03:41:19 +0000 | [diff] [blame^] | 40 | format.c \ |
Josh Coalson | b74fc98 | 2002-11-20 06:40:08 +0000 | [diff] [blame] | 41 | main.c \ |
| 42 | metadata.c \ |
| 43 | metadata_manip.c \ |
| 44 | metadata_object.c \ |
| 45 | metadata_utils.c |
Josh Coalson | bb7f6b9 | 2000-12-10 04:09:52 +0000 | [diff] [blame] | 46 | |
Josh Coalson | cd0e322 | 2002-10-23 22:08:13 +0000 | [diff] [blame] | 47 | include $(topdir)/build/exe.mk |
Josh Coalson | bb7f6b9 | 2000-12-10 04:09:52 +0000 | [diff] [blame] | 48 | |
| 49 | # DO NOT DELETE THIS LINE -- make depend depends on it. |