1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

Makefiles cleanup

This commit is contained in:
Marvin Scholz 2017-11-11 23:45:06 +01:00
parent 7f13d02184
commit 39a0ca8491
4 changed files with 41 additions and 14 deletions

View File

@ -1,5 +1,7 @@
## Process this file with automake to produce Makefile.in
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = src conf doc web admin win32 examples tests
EXTRA_DIST = README.md HACKING

View File

@ -2,7 +2,6 @@
docdir = $(datadir)/doc/$(PACKAGE)
docdir = $(datadir)/doc/icecast
nobase_doc_DATA = index.html \
admin_interface/index.html \
auth/index.html \

View File

@ -84,15 +84,45 @@ icecast_SOURCES = \
auth_anonymous.c \
auth_static.c
if HAVE_CURL
icecast_SOURCES += \
curl.c \
auth_url.c \
event_url.c
endif
EXTRA_icecast_SOURCES = curl.c yp.c \
auth_url.c event_url.c \
format_vorbis.c format_theora.c format_speex.c
if ENABLE_YP
icecast_SOURCES += yp.c
endif
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
icecast_LDADD = $(icecast_DEPENDENCIES) @XIPH_LIBS@ @KATE_LIBS@
if HAVE_OGG
icecast_SOURCES += format_vorbis.c
endif
AM_CFLAGS = @XIPH_CFLAGS@
AM_CPPFLAGS = -I$(srcdir)/common/ @XIPH_CPPFLAGS@
AM_LDFLAGS = @XIPH_LDFLAGS@ @KATE_LIBS@
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

View File

@ -1,9 +1,5 @@
## Process this file with automake to produce Makefile.in
AUTOMAKE_OPTIONS = foreign
SUBDIRS = assets
webdir = $(pkgdatadir)/web
web_DATA = status.xsl \
favicon.ico \