Makefile.am 2.22 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
    main.h \
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
    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 \
    event.h \
    event_log.h \
    event_exec.h \
    event_url.h \
36
    acl.h auth.h \
37 38 39 40 41 42 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 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88
    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 \
    md5.c \
    matchfile.c \
    tls.c \
    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
89 90 91 92 93 94
if HAVE_CURL
icecast_SOURCES += \
    curl.c \
    auth_url.c \
    event_url.c
endif
95

Marvin Scholz's avatar
Marvin Scholz committed
96 97 98
if ENABLE_YP
icecast_SOURCES += yp.c
endif
99

Marvin Scholz's avatar
Marvin Scholz committed
100 101 102
if HAVE_OGG
icecast_SOURCES += format_vorbis.c
endif
103

Marvin Scholz's avatar
Marvin Scholz committed
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130
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