2001-06-08 00:13:21 +00:00
|
|
|
# metaflac - Command-line FLAC metadata editor
|
2007-02-02 06:58:19 +00:00
|
|
|
# Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson
|
2001-06-08 00:13:21 +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.
|
|
|
|
|
|
2001-02-23 21:38:26 +00:00
|
|
|
#
|
|
|
|
|
# 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
|
|
|
|
2001-02-23 21:38:26 +00:00
|
|
|
PROGRAM_NAME = metaflac
|
2004-10-30 00:03:21 +00:00
|
|
|
|
2006-10-15 04:24:05 +00:00
|
|
|
INCLUDES = -I./include -I$(topdir)/include -I$(OGG_INCLUDE_DIR)
|
2004-10-30 00:03:21 +00:00
|
|
|
|
|
|
|
|
ifeq ($(DARWIN_BUILD),yes)
|
2007-02-14 05:47:38 +00:00
|
|
|
EXPLICIT_LIBS = $(libdir)/libgrabbag.a $(libdir)/libFLAC.a $(libdir)/libreplaygain_analysis.a $(libdir)/libgetopt.a $(libdir)/libutf8.a $(OGG_LIB_DIR)/libogg.a -liconv -lm
|
2004-10-30 00:03:21 +00:00
|
|
|
else
|
2006-10-15 04:24:05 +00:00
|
|
|
LIBS = -lgrabbag -lFLAC -lreplaygain_analysis -lgetopt -lutf8 -L$(OGG_LIB_DIR) -logg -lm
|
2004-10-30 00:03:21 +00:00
|
|
|
endif
|
2001-02-23 21:38:26 +00:00
|
|
|
|
2002-11-20 06:40:08 +00:00
|
|
|
SRCS_C = \
|
|
|
|
|
main.c \
|
|
|
|
|
operations.c \
|
2002-11-26 06:21:06 +00:00
|
|
|
operations_shorthand_cuesheet.c \
|
2006-09-26 00:43:48 +00:00
|
|
|
operations_shorthand_picture.c \
|
2002-11-20 06:40:08 +00:00
|
|
|
operations_shorthand_seektable.c \
|
|
|
|
|
operations_shorthand_streaminfo.c \
|
|
|
|
|
operations_shorthand_vorbiscomment.c \
|
|
|
|
|
options.c \
|
|
|
|
|
usage.c \
|
|
|
|
|
utils.c
|
2001-02-23 21:38:26 +00:00
|
|
|
|
2002-10-23 22:08:13 +00:00
|
|
|
include $(topdir)/build/exe.mk
|
2001-02-23 21:38:26 +00:00
|
|
|
|
|
|
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|