Makefile.am 1.38 KB
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 logging.h sighandler.h connection.h \
10 11
    global.h util.h slave.h source.h stats.h refbuf.h client.h \
    compat.h fserve.h xslt.h yp.h event.h md5.h \
Karl Heyes's avatar
Karl Heyes committed
12
    auth.h auth_htpasswd.h auth_url.h \
giles's avatar
giles committed
13
    format.h format_ogg.h format_mp3.h format_ebml.h \
14
    format_vorbis.h format_theora.h format_flac.h format_speex.h format_midi.h \
15
    format_kate.h format_skeleton.h format_opus.h
16
icecast_SOURCES = cfgfile.c main.c logging.c sighandler.c connection.c global.c \
17
    util.c slave.c source.c stats.c refbuf.c client.c \
18
    xslt.c fserve.c event.c admin.c md5.c \
giles's avatar
giles committed
19
    format.c format_ogg.c format_mp3.c format_midi.c format_flac.c format_ebml.c \
giles's avatar
giles committed
20
    auth.c auth_htpasswd.c format_kate.c format_skeleton.c format_opus.c
21
EXTRA_icecast_SOURCES = yp.c \
Karl Heyes's avatar
Karl Heyes committed
22
    auth_url.c \
23
    format_vorbis.c format_theora.c format_speex.c
24

25 26
icecast_DEPENDENCIES = @ICECAST_OPTIONAL@ net/libicenet.la thread/libicethread.la \
    httpp/libicehttpp.la log/libicelog.la avl/libiceavl.la timing/libicetiming.la
27
icecast_LDADD = $(icecast_DEPENDENCIES) @XIPH_LIBS@ @KATE_LIBS@
28 29 30

AM_CFLAGS = @XIPH_CFLAGS@
AM_CPPFLAGS = @XIPH_CPPFLAGS@
31
AM_LDFLAGS = @XIPH_LDFLAGS@ @KATE_LIBS@
Jack Moffitt's avatar
Jack Moffitt committed
32

Jack Moffitt's avatar
Jack Moffitt committed
33 34

debug:
35
	$(MAKE) all CFLAGS="@DEBUG@"
Jack Moffitt's avatar
Jack Moffitt committed
36 37

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