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

giles's avatar
giles committed
3
AUTOMAKE_OPTIONS = foreign 1.6
Jack Moffitt's avatar
Jack Moffitt committed
4

5
SUBDIRS = log timing thread
6
7

bin_PROGRAMS = ices
Karl Heyes's avatar
Karl Heyes committed
8
AM_CPPFLAGS = @XIPH_CPPFLAGS@
9
AM_CFLAGS = @XIPH_CFLAGS@
Jack Moffitt's avatar
Jack Moffitt committed
10

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

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

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

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

25
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
26

27
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
28

29
ices_LDADD = log/libicelog.la timing/libicetiming.la thread/libicethread.la @ALSA_LIBS@ @XIPH_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