Commit 39a0ca84 authored by Marvin Scholz's avatar Marvin Scholz

Makefiles cleanup

parent 7f13d021
## 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
......
...@@ -2,7 +2,6 @@ ...@@ -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 \
......
...@@ -84,15 +84,45 @@ icecast_SOURCES = \ ...@@ -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
## 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 \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment