mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
7402383448
This cleans the libcurl usage up a bit. It moves common code used to interact with libcurl into a single new file curl.[ch]. Notes: * It does not alter any features nor fixes any bugs. * Thew REVIEW about strdup(self->url) in event_url.c as been processed. According to the manpage for curl_easy_setopt()/CURLOPT_URL there is no need for us to copy. * URL Auth as well as URL triggers have sent ICECAST_VERSION_STRING as User-Agent:, this has be corrected to what is set in the config file. * As curl.c is now a single point for setting parameters all the TLS parameters should be reviewed and set (based on config). Please test!
44 lines
1.6 KiB
Makefile
44 lines
1.6 KiB
Makefile
## Process this with automake to create Makefile.in
|
|
|
|
AUTOMAKE_OPTIONS = foreign
|
|
|
|
SUBDIRS = common/avl common/net common/thread common/httpp common/log common/timing
|
|
|
|
bin_PROGRAMS = icecast
|
|
|
|
INCLUDES = -I./common/
|
|
|
|
noinst_HEADERS = admin.h cfgfile.h logging.h sighandler.h connection.h \
|
|
global.h util.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 \
|
|
event.h event_log.h event_exec.h event_url.h \
|
|
acl.h auth.h \
|
|
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 = cfgfile.c main.c logging.c sighandler.c connection.c global.c \
|
|
util.c curl.c slave.c source.c stats.c refbuf.c client.c playlist.c \
|
|
xslt.c fserve.c admin.c md5.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
|
|
EXTRA_icecast_SOURCES = yp.c \
|
|
auth_url.c event_url.c \
|
|
format_vorbis.c format_theora.c format_speex.c
|
|
|
|
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@
|
|
|
|
AM_CFLAGS = @XIPH_CFLAGS@
|
|
AM_CPPFLAGS = @XIPH_CPPFLAGS@
|
|
AM_LDFLAGS = @XIPH_LDFLAGS@ @KATE_LIBS@
|
|
|
|
|
|
debug:
|
|
$(MAKE) all CFLAGS="@DEBUG@"
|
|
|
|
profile:
|
|
$(MAKE) all CFLAGS="@PROFILE@"
|