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

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

bin_PROGRAMS = icecast

7
noinst_HEADERS = \
8
    icecasttypes.h \
9
    admin.h \
10
    resourcematch.h \
11
    main.h \
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
    cfgfile.h \
    logging.h \
    sighandler.h \
    connection.h \
    global.h \
    util.h \
    errors.h \
    curl.h \
    slave.h \
    source.h \
    stats.h \
    refbuf.h \
    client.h \
    playlist.h \
    compat.h \
    fserve.h \
    xslt.h \
    yp.h \
    md5.h \
    matchfile.h \
    tls.h \
33
    refobject.h \
34
    module.h \
35
    reportxml.h \
36
    listensocket.h \
37
    fastevent.h \
38 39 40 41
    event.h \
    event_log.h \
    event_exec.h \
    event_url.h \
42
    acl.h auth.h \
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
    format.h \
    format_ogg.h \
    format_mp3.h \
    format_ebml.h \
    format_vorbis.h \
    format_theora.h \
    format_flac.h \
    format_speex.h \
    format_midi.h \
    format_kate.h \
    format_skeleton.h \
    format_opus.h

icecast_SOURCES = \
    main.c \
    cfgfile.c \
    logging.c \
    sighandler.c \
    connection.c \
    global.c \
    util.c \
    errors.c \
    slave.c \
    source.c \
    stats.c \
    refbuf.c \
    client.c \
    playlist.c \
    xslt.c \
    fserve.c \
    admin.c \
74
    resourcematch.c \
75 76 77
    md5.c \
    matchfile.c \
    tls.c \
78
    refobject.c \
79
    module.c \
80
    reportxml.c \
81
    listensocket.c \
82
    fastevent.c \
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
    format.c \
    format_ogg.c \
    format_mp3.c \
    format_midi.c \
    format_flac.c \
    format_ebml.c \
    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

Marvin Scholz's avatar
Marvin Scholz committed
101 102 103 104 105 106
if HAVE_CURL
icecast_SOURCES += \
    curl.c \
    auth_url.c \
    event_url.c
endif
107

Marvin Scholz's avatar
Marvin Scholz committed
108 109 110
if ENABLE_YP
icecast_SOURCES += yp.c
endif
111

Marvin Scholz's avatar
Marvin Scholz committed
112 113 114
if HAVE_OGG
icecast_SOURCES += format_vorbis.c
endif
115

Marvin Scholz's avatar
Marvin Scholz committed
116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142
if HAVE_THEORA
icecast_SOURCES += format_theora.c
endif

if HAVE_SPEEX
icecast_SOURCES += format_speex.c
endif

EXTRA_icecast_SOURCES = \
    curl.c \
    yp.c \
    auth_url.c \
    event_url.c \
    format_vorbis.c \
    format_theora.c \
    format_speex.c

icecast_DEPENDENCIES = \
    common/net/libicenet.la \
    common/thread/libicethread.la \
    common/httpp/libicehttpp.la \
    common/log/libicelog.la \
    common/avl/libiceavl.la \
    common/timing/libicetiming.la

icecast_LDADD    = $(icecast_DEPENDENCIES)
icecast_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/common
143 144

include $(srcdir)/tests/Makefile.am