Makefile.am 972 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

5
6
SUBDIRS = log timing
EXTRA_DIST = thread/thread.h
7
8

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

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

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

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

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

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

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

30
ices_LDADD = log/libicelog.la timing/libicetiming.la @ALSA_LIBS@ @XIPH_LIBS@
31

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

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