Makefile.am 962 Bytes
Newer Older
Jack Moffitt's avatar
Jack Moffitt committed
1
2
3
4
## Process this with automake to create Makefile.in

AUTOMAKE_OPTIONS = foreign

brendan's avatar
brendan committed
5
SUBDIRS = avl log net thread timing
6
7
8

bin_PROGRAMS = ices
AM_CFLAGS = @XIPH_CFLAGS@
Jack Moffitt's avatar
Jack Moffitt committed
9

10
EXTRA_ices_SOURCES = im_oss.c im_sun.c im_alsa.c
Jack Moffitt's avatar
Jack Moffitt committed
11

12
13
if HAVE_OSS
oss = im_oss.c
Jack Moffitt's avatar
Jack Moffitt committed
14
15
16
endif

if HAVE_SUN_AUDIO
17
sun = im_sun.c
Jack Moffitt's avatar
Jack Moffitt committed
18
19
endif

20
if HAVE_ALSA
21
alsa = im_alsa.c
22
23
endif

24
dist_noinst_HEADERS = cfgparse.h input.h inputmodule.h im_playlist.h signals.h stream.h reencode.h encode.h playlist_basic.h logging.h im_stdinpcm.h event.h stream_shared.h metadata.h audio.h resample.h im_sun.h im_oss.h im_alsa.h
Jack Moffitt's avatar
Jack Moffitt committed
25

26
ices_SOURCES = input.c cfgparse.c stream.c ices.c signals.c im_playlist.c reencode.c encode.c playlist_basic.c im_stdinpcm.c stream_shared.c metadata.c playlist_script.c audio.c resample.c $(oss) $(sun) $(alsa)
Jack Moffitt's avatar
Jack Moffitt committed
27

Michael Smith's avatar
Michael Smith committed
28
29
ices_LDADD = log/libicelog.la thread/libicethread.la \
    avl/libiceavl.la timing/libicetiming.la @ALSA_LIBS@
30

Jack Moffitt's avatar
Jack Moffitt committed
31
debug:
32
	$(MAKE) all CFLAGS="@DEBUG@"
Jack Moffitt's avatar
Jack Moffitt committed
33
34

profile:
35
	$(MAKE) all CFLAGS="@PROFILE@"
Jack Moffitt's avatar
Jack Moffitt committed
36