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

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
    buffer.h \
35
    module.h \
36
    reportxml.h \
37
    listensocket.h \
38
    fastevent.h \
39 40 41 42
    event.h \
    event_log.h \
    event_exec.h \
    event_url.h \
43
    acl.h auth.h \
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 74
    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 \
75
    resourcematch.c \
76 77 78
    md5.c \
    matchfile.c \
    tls.c \
79
    refobject.c \
80
    buffer.c \
81
    module.c \
82
    reportxml.c \
83
    listensocket.c \
84
    fastevent.c \
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
    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
103 104 105 106 107 108
if HAVE_CURL
icecast_SOURCES += \
    curl.c \
    auth_url.c \
    event_url.c
endif
109

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

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

Marvin Scholz's avatar
Marvin Scholz committed
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 143 144
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
145 146

include $(srcdir)/tests/Makefile.am