|
Packit Service |
065837 |
# flac - Command-line FLAC encoder/decoder
|
|
Packit Service |
065837 |
# Copyright (C) 2000-2009 Josh Coalson
|
|
Packit Service |
065837 |
# Copyright (C) 2011-2016 Xiph.Org Foundation
|
|
Packit Service |
065837 |
#
|
|
Packit Service |
065837 |
# This program is free software; you can redistribute it and/or
|
|
Packit Service |
065837 |
# modify it under the terms of the GNU General Public License
|
|
Packit Service |
065837 |
# as published by the Free Software Foundation; either version 2
|
|
Packit Service |
065837 |
# of the License, or (at your option) any later version.
|
|
Packit Service |
065837 |
#
|
|
Packit Service |
065837 |
# This program is distributed in the hope that it will be useful,
|
|
Packit Service |
065837 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
065837 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Packit Service |
065837 |
# GNU General Public License for more details.
|
|
Packit Service |
065837 |
#
|
|
Packit Service |
065837 |
# You should have received a copy of the GNU General Public License along
|
|
Packit Service |
065837 |
# with this program; if not, write to the Free Software Foundation, Inc.,
|
|
Packit Service |
065837 |
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
Packit Service |
065837 |
|
|
Packit Service |
065837 |
#
|
|
Packit Service |
065837 |
# GNU makefile
|
|
Packit Service |
065837 |
#
|
|
Packit Service |
065837 |
|
|
Packit Service |
065837 |
topdir = ../..
|
|
Packit Service |
065837 |
|
|
Packit Service |
065837 |
include $(topdir)/build/config.mk
|
|
Packit Service |
065837 |
libdir = $(topdir)/objs/$(BUILD)/lib
|
|
Packit Service |
065837 |
|
|
Packit Service |
065837 |
PROGRAM_NAME = flac
|
|
Packit Service |
065837 |
|
|
Packit Service |
065837 |
INCLUDES = -I./include -I$(topdir)/include $(OGG_INCLUDES)
|
|
Packit Service |
065837 |
|
|
Packit Service |
065837 |
ifeq ($(OS),Darwin)
|
|
Packit Service |
065837 |
EXPLICIT_LIBS = $(libdir)/libgrabbag.a $(libdir)/libFLAC.a $(libdir)/libreplaygain_analysis.a $(libdir)/libreplaygain_synthesis.a $(libdir)/libgetopt.a $(libdir)/libutf8.a $(OGG_EXPLICIT_LIBS) $(ICONV_LIBS) -lm
|
|
Packit Service |
065837 |
else
|
|
Packit Service |
065837 |
ifeq ($(findstring Windows,$(OS)),Windows)
|
|
Packit Service |
065837 |
LIBS = -lgrabbag -lFLAC -lreplaygain_analysis -lreplaygain_synthesis -lgetopt -lutf8 -lgrabbag -lwin_utf8_io $(OGG_LIBS) -lm
|
|
Packit Service |
065837 |
else
|
|
Packit Service |
065837 |
LIBS = -lgrabbag -lFLAC -lreplaygain_analysis -lreplaygain_synthesis -lgetopt -lutf8 -lgrabbag $(OGG_LIBS) -lm
|
|
Packit Service |
065837 |
endif
|
|
Packit Service |
065837 |
endif
|
|
Packit Service |
065837 |
|
|
Packit Service |
065837 |
SRCS_C = \
|
|
Packit Service |
065837 |
analyze.c \
|
|
Packit Service |
065837 |
decode.c \
|
|
Packit Service |
065837 |
encode.c \
|
|
Packit Service |
065837 |
foreign_metadata.c \
|
|
Packit Service |
065837 |
local_string_utils.c \
|
|
Packit Service |
065837 |
main.c \
|
|
Packit Service |
065837 |
utils.c \
|
|
Packit Service |
065837 |
vorbiscomment.c
|
|
Packit Service |
065837 |
|
|
Packit Service |
065837 |
include $(topdir)/build/exe.mk
|
|
Packit Service |
065837 |
|
|
Packit Service |
065837 |
# DO NOT DELETE THIS LINE -- make depend depends on it.
|