1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-06-16 06:15:24 +00: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 ## Process this file with automake to produce Makefile.in
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = src conf doc web admin win32 examples tests SUBDIRS = src conf doc web admin win32 examples tests
EXTRA_DIST = README.md HACKING EXTRA_DIST = README.md HACKING

View File

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

View File

@ -84,15 +84,45 @@ icecast_SOURCES = \
auth_anonymous.c \ auth_anonymous.c \
auth_static.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 \ if ENABLE_YP
auth_url.c event_url.c \ icecast_SOURCES += yp.c
format_vorbis.c format_theora.c format_speex.c endif
icecast_DEPENDENCIES = @ICECAST_OPTIONAL@ common/net/libicenet.la common/thread/libicethread.la \ if HAVE_OGG
common/httpp/libicehttpp.la common/log/libicelog.la common/avl/libiceavl.la common/timing/libicetiming.la icecast_SOURCES += format_vorbis.c
icecast_LDADD = $(icecast_DEPENDENCIES) @XIPH_LIBS@ @KATE_LIBS@ endif
AM_CFLAGS = @XIPH_CFLAGS@ if HAVE_THEORA
AM_CPPFLAGS = -I$(srcdir)/common/ @XIPH_CPPFLAGS@ icecast_SOURCES += format_theora.c
AM_LDFLAGS = @XIPH_LDFLAGS@ @KATE_LIBS@ 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 ## Process this file with automake to produce Makefile.in
AUTOMAKE_OPTIONS = foreign
SUBDIRS = assets
webdir = $(pkgdatadir)/web webdir = $(pkgdatadir)/web
web_DATA = status.xsl \ web_DATA = status.xsl \
favicon.ico \ favicon.ico \