Josh Coalson | 6b05bc5 | 2001-06-08 00:13:21 +0000 | [diff] [blame] | 1 | # metaflac - Command-line FLAC metadata editor |
Josh Coalson | dea0f5a | 2009-01-07 07:31:28 +0000 | [diff] [blame] | 2 | # Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007,2008,2009 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 | # |
Miroslav Lichvar | 6a1f59b | 2012-12-04 17:36:05 +0100 | [diff] [blame] | 14 | # You should have received a copy of the GNU General Public License along |
| 15 | # with this program; if not, write to the Free Software Foundation, Inc., |
| 16 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
Josh Coalson | 6b05bc5 | 2001-06-08 00:13:21 +0000 | [diff] [blame] | 17 | |
Josh Coalson | 4d3b90f | 2001-02-23 21:38:26 +0000 | [diff] [blame] | 18 | # |
| 19 | # GNU makefile |
| 20 | # |
| 21 | |
Josh Coalson | cd0e322 | 2002-10-23 22:08:13 +0000 | [diff] [blame] | 22 | topdir = ../.. |
Erik de Castro Lopo | 85d5c53 | 2013-01-02 22:37:42 +1100 | [diff] [blame^] | 23 | libdir = $(topdir)/objs/$(BUILD)/lib |
Josh Coalson | cd0e322 | 2002-10-23 22:08:13 +0000 | [diff] [blame] | 24 | |
Josh Coalson | 4d3b90f | 2001-02-23 21:38:26 +0000 | [diff] [blame] | 25 | PROGRAM_NAME = metaflac |
Josh Coalson | 2757af6 | 2004-10-30 00:03:21 +0000 | [diff] [blame] | 26 | |
Hendricks266 | 96d081c | 2012-12-29 04:22:59 -0600 | [diff] [blame] | 27 | INCLUDES = -I./include -I$(topdir)/include $(OGG_INCLUDES) |
Josh Coalson | 2757af6 | 2004-10-30 00:03:21 +0000 | [diff] [blame] | 28 | |
Josh Coalson | c10f978 | 2008-09-14 19:59:52 +0000 | [diff] [blame] | 29 | ifeq ($(OS),Darwin) |
Hendricks266 | 96d081c | 2012-12-29 04:22:59 -0600 | [diff] [blame] | 30 | EXPLICIT_LIBS = $(libdir)/libgrabbag.a $(libdir)/libFLAC.a $(libdir)/libreplaygain_analysis.a $(libdir)/libgetopt.a $(libdir)/libutf8.a $(OGG_EXPLICIT_LIBS) $(ICONV_LIBS) -lm |
Josh Coalson | 2757af6 | 2004-10-30 00:03:21 +0000 | [diff] [blame] | 31 | else |
Hendricks266 | 96d081c | 2012-12-29 04:22:59 -0600 | [diff] [blame] | 32 | LIBS = -lgrabbag -lFLAC -lreplaygain_analysis -lgetopt -lutf8 -lgrabbag $(OGG_LIBS) -lm |
Josh Coalson | 2757af6 | 2004-10-30 00:03:21 +0000 | [diff] [blame] | 33 | endif |
Josh Coalson | 4d3b90f | 2001-02-23 21:38:26 +0000 | [diff] [blame] | 34 | |
Josh Coalson | b74fc98 | 2002-11-20 06:40:08 +0000 | [diff] [blame] | 35 | SRCS_C = \ |
| 36 | main.c \ |
| 37 | operations.c \ |
Josh Coalson | 303123f | 2002-11-26 06:21:06 +0000 | [diff] [blame] | 38 | operations_shorthand_cuesheet.c \ |
Josh Coalson | b02574e | 2006-09-26 00:43:48 +0000 | [diff] [blame] | 39 | operations_shorthand_picture.c \ |
Josh Coalson | b74fc98 | 2002-11-20 06:40:08 +0000 | [diff] [blame] | 40 | operations_shorthand_seektable.c \ |
| 41 | operations_shorthand_streaminfo.c \ |
| 42 | operations_shorthand_vorbiscomment.c \ |
| 43 | options.c \ |
| 44 | usage.c \ |
| 45 | utils.c |
Josh Coalson | 4d3b90f | 2001-02-23 21:38:26 +0000 | [diff] [blame] | 46 | |
Josh Coalson | cd0e322 | 2002-10-23 22:08:13 +0000 | [diff] [blame] | 47 | include $(topdir)/build/exe.mk |
Josh Coalson | 4d3b90f | 2001-02-23 21:38:26 +0000 | [diff] [blame] | 48 | |
| 49 | # DO NOT DELETE THIS LINE -- make depend depends on it. |