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

AUTOMAKE_OPTIONS = foreign

SUBDIRS = avl thread httpp net log timing

bin_PROGRAMS = icecast

9
noinst_HEADERS = admin.h cfgfile.h os.h logging.h sighandler.h connection.h global.h\
10
	 util.h slave.h source.h stats.h refbuf.h client.h format.h format_vorbis.h\
Michael Smith's avatar
Michael Smith committed
11
	 compat.h format_mp3.h fserve.h xslt.h geturl.h yp.h event.h auth.h md5.h
12
icecast_SOURCES = cfgfile.c main.c logging.c sighandler.c connection.c global.c\
13
	 util.c slave.c source.c stats.c refbuf.c client.c format.c format_vorbis.c\
Michael Smith's avatar
Michael Smith committed
14
	 format_mp3.c xslt.c fserve.c event.c admin.c auth.c md5.c
15
EXTRA_icecast_SOURCES = geturl.c yp.c
Michael Smith's avatar
Michael Smith committed
16
    
17 18 19
icecast_DEPENDENCIES = @ICECAST_OPTIONAL@ net/libicenet.la thread/libicethread.la \
    httpp/libicehttpp.la log/libicelog.la avl/libiceavl.la timing/libicetiming.la
icecast_LDADD = $(icecast_DEPENDENCIES) @XIPH_LIBS@
20 21 22

AM_CFLAGS = @XIPH_CFLAGS@
AM_CPPFLAGS = @XIPH_CPPFLAGS@
Jack Moffitt's avatar
Jack Moffitt committed
23

Jack Moffitt's avatar
Jack Moffitt committed
24 25

debug:
26
	$(MAKE) all CFLAGS="@DEBUG@"
Jack Moffitt's avatar
Jack Moffitt committed
27 28

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