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