Makefile.am 1.02 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
23
## 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

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
24
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
Jack Moffitt's avatar
Jack Moffitt committed
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40

ices_LDADD = net/libicenet.la thread/libicethread.la log/libicelog.la\
	avl/libiceavl.la timing/libicetiming.la
LIBS = -lpthread $(SUN_LIBS)

INCLUDES = -Inet -Ithread -Iavl -Ilog -Itiming $(OSS_CFLAGS) $(SUN_CFLAGS)

# SCCS stuff (for BitKeeper)
GET = true

debug:
        $(MAKE) all CFLAGS="@DEBUG@"

profile:
        $(MAKE) all CFLAGS="@PROFILE@"