Makefile.am 1.32 KB
Newer Older
Jack Moffitt's avatar
Jack Moffitt committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
## Process this with automake to create Makefile.in

AUTOMAKE_OPTIONS = foreign

if HAVE_OSS

ossheaders = im_oss.h
osssources = im_oss.c

endif

if HAVE_SUN_AUDIO

sunheaders = im_sun.h
sunsources = im_sun.c

endif

SUBDIRS = avl thread net log timing

bin_PROGRAMS = ices

23
24
noinst_HEADERS = config.h input.h inputmodule.h im_playlist.h signals.h stream.h reencode.h encode.h playlist_basic.h logging.h im_stdinpcm.h $(ossheaders) $(sunheaders) event.h stream_shared.h metadata.h audio.h resample.h
ices_SOURCES = input.c config.c stream.c ices.c signals.c im_playlist.c reencode.c encode.c playlist_basic.c im_stdinpcm.c $(osssources) $(sunsources) stream_shared.c savefile.c metadata.c stream_rewrite.c playlist_script.c audio.c resample.c
Jack Moffitt's avatar
Jack Moffitt committed
25
26
27

ices_LDADD = net/libicenet.la thread/libicethread.la log/libicelog.la\
	avl/libiceavl.la timing/libicetiming.la
Jack Moffitt's avatar
Jack Moffitt committed
28

29
LIBS = @LIBS@ -lpthread @SOCKET_LIBS@ @XML_LIBS@ @OGG_LIBS@ @VORBIS_LIBS@\
Jack Moffitt's avatar
Jack Moffitt committed
30
       @VORBISENC_LIBS@ @SHOUT_LIBS@
Jack Moffitt's avatar
Jack Moffitt committed
31

32
33
CFLAGS = @CFLAGS@ @XML_CFLAGS@ @OGG_CFLAGS@ @VORBIS_CFLAGS@ @SHOUT_CFLAGS@

Jack Moffitt's avatar
Jack Moffitt committed
34
35
36
37
38
39
INCLUDES = -Inet -Ithread -Iavl -Ilog -Itiming $(OSS_CFLAGS) $(SUN_CFLAGS)

# SCCS stuff (for BitKeeper)
GET = true

debug:
Michael Smith's avatar
Michael Smith committed
40
	$(MAKE) all CFLAGS="@DEBUG@ @XML_CFLAGS@ @OGG_CFLAGS@ @VORBIS_CFLAGS@ @SHOUT_CFLAGS@"
Jack Moffitt's avatar
Jack Moffitt committed
41
42

profile:
Michael Smith's avatar
Michael Smith committed
43
	$(MAKE) all CFLAGS="@PROFILE@ @XML_CFLAGS@ @OGG_CFLAGS@ @VORBIS_CFLAGS@ @SHOUT_CFLAGS@"
Jack Moffitt's avatar
Jack Moffitt committed
44