Makefile.lite 1.68 KB
Newer Older
1
#  flac - Command-line FLAC encoder/decoder
2
#  Copyright (C) 2000,2001,2002  Josh Coalson
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
#  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.

Josh Coalson's avatar
Josh Coalson committed
18
19
20
21
#
# GNU makefile
#

22
23
topdir = ../..

Josh Coalson's avatar
Josh Coalson committed
24
PROGRAM_NAME = flac
Josh Coalson's avatar
Josh Coalson committed
25
ifeq ($(DARWIN_BUILD),yes)
26
INCLUDES     = -I./include -I$(topdir)/include
27
LIBS         = -lgrabbag -lFLAC -lgain_analysis -lgetopt -lutf8 -lc -lm
Josh Coalson's avatar
Josh Coalson committed
28
else
Josh Coalson's avatar
Josh Coalson committed
29
#@@@ TODO: conditionalize ogg includes, defines, and -logg
Josh Coalson's avatar
Josh Coalson committed
30
ifeq ($(SOLARIS_BUILD),yes)
31
INCLUDES     = -I./include -I$(topdir)/include -I$(HOME)/local/include -DFLAC__HAS_OGG
32
LIBS         = -lgrabbag -lOggFLAC -lFLAC -lgain_analysis -lgetopt -lutf8 -lm -L$(HOME)/local/lib -logg
Josh Coalson's avatar
Josh Coalson committed
33
else
Josh Coalson's avatar
Josh Coalson committed
34
#@@@ TODO: conditionalize ogg includes, defines, and -logg
35
INCLUDES     = -I./include -I$(topdir)/include -I$(HOME)/local/include -DFLAC__HAS_OGG
36
LIBS         = -lgrabbag -lOggFLAC -lFLAC -lgain_analysis -lgetopt -lutf8 -lm -L$(HOME)/local/lib -logg
Josh Coalson's avatar
Josh Coalson committed
37
endif
Josh Coalson's avatar
Josh Coalson committed
38
endif
Josh Coalson's avatar
Josh Coalson committed
39

40
41
42
43
44
45
SRCS_C = \
	analyze.c \
	decode.c \
	encode.c \
	main.c \
	vorbiscomment.c
Josh Coalson's avatar
Josh Coalson committed
46

47
include $(topdir)/build/exe.mk
Josh Coalson's avatar
Josh Coalson committed
48
49

# DO NOT DELETE THIS LINE -- make depend depends on it.