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

AUTOMAKE_OPTIONS = foreign

Marvin Scholz's avatar
Marvin Scholz committed
5
SUBDIRS = common/avl common/net common/thread common/httpp common/log common/timing
Jack Moffitt's avatar
Jack Moffitt committed
6 7 8

bin_PROGRAMS = icecast

9
noinst_HEADERS = admin.h cfgfile.h logging.h sighandler.h connection.h \
10
    global.h util.h curl.h slave.h source.h stats.h refbuf.h client.h playlist.h \
11
    compat.h fserve.h xslt.h yp.h md5.h matchfile.h \
12
    event.h event_log.h event_exec.h event_url.h \
13
    acl.h auth.h \
giles's avatar
giles committed
14
    format.h format_ogg.h format_mp3.h format_ebml.h \
15
    format_vorbis.h format_theora.h format_flac.h format_speex.h format_midi.h \
16
    format_kate.h format_skeleton.h format_opus.h
17
icecast_SOURCES = cfgfile.c main.c logging.c sighandler.c connection.c global.c \
18
    util.c curl.c slave.c source.c stats.c refbuf.c client.c playlist.c \
19
    xslt.c fserve.c admin.c md5.c matchfile.c \
giles's avatar
giles committed
20
    format.c format_ogg.c format_mp3.c format_midi.c format_flac.c format_ebml.c \
21 22 23
    format_kate.c format_skeleton.c format_opus.c \
    event.c event_log.c event_exec.c \
    acl.c auth.c auth_htpasswd.c auth_anonymous.c auth_static.c
24
EXTRA_icecast_SOURCES = yp.c \
25
    auth_url.c event_url.c \
26
    format_vorbis.c format_theora.c format_speex.c
27

Marvin Scholz's avatar
Marvin Scholz committed
28 29
icecast_DEPENDENCIES = @ICECAST_OPTIONAL@ common/net/libicenet.la common/thread/libicethread.la \
    common/httpp/libicehttpp.la common/log/libicelog.la common/avl/libiceavl.la common/timing/libicetiming.la
30
icecast_LDADD = $(icecast_DEPENDENCIES) @XIPH_LIBS@ @KATE_LIBS@
31 32

AM_CFLAGS = @XIPH_CFLAGS@
33
AM_CPPFLAGS = -I./common/ @XIPH_CPPFLAGS@
34
AM_LDFLAGS = @XIPH_LDFLAGS@ @KATE_LIBS@
Jack Moffitt's avatar
Jack Moffitt committed
35

Jack Moffitt's avatar
Jack Moffitt committed
36 37

debug:
38
	$(MAKE) all CFLAGS="@DEBUG@"
Jack Moffitt's avatar
Jack Moffitt committed
39 40

profile:
41
	$(MAKE) all CFLAGS="@PROFILE@"