-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathMakefile.am
43 lines (31 loc) · 1.19 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
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
36
37
38
39
40
41
42
43
## Process this with automake to create Makefile.in
AUTOMAKE_OPTIONS = foreign 1.6
if HAVE_THREAD
MAYBE_THREAD = common/thread
MAYBE_THREAD_LIB = common/thread/libicethread.la
endif
if HAVE_THEORA
MAYBE_THEORA = codec_theora.c
endif
if HAVE_SPEEX
MAYBE_SPEEX = codec_speex.c
endif
if HAVE_TLS
MAYBE_TLS = tls.c
endif
SUBDIRS = common/avl common/net common/timing common/httpp $(MAYBE_THREAD)
lib_LTLIBRARIES = libshout.la
libshout_la_LDFLAGS = -version-info 5:0:2
EXTRA_DIST = codec_theora.c codec_speex.c tls.c
noinst_HEADERS = format_ogg.h shout_private.h util.h
PROTOCOLS=proto_http.c proto_xaudiocast.c proto_icy.c proto_roaraudio.c
FORMATS=format_ogg.c format_webm.c format_mp3.c
CODECS=codec_vorbis.c codec_opus.c $(MAYBE_THEORA) $(MAYBE_SPEEX)
libshout_la_SOURCES = shout.c util.c queue.c $(PROTOCOLS) $(FORMATS) $(CODECS) $(MAYBE_TLS)
AM_CFLAGS = @XIPH_CFLAGS@ -I$(top_builddir)/include -I$(srcdir)/common/
libshout_la_LIBADD = common/net/libicenet.la common/timing/libicetiming.la common/avl/libiceavl.la\
common/httpp/libicehttpp.la $(MAYBE_THREAD_LIB) $(THEORA_LIBS) $(VORBIS_LIBS) $(SPEEX_LIBS) @XIPH_LIBS@
debug:
$(MAKE) all CFLAGS="@DEBUG@"
profile:
$(MAKE) all CFLAGS="@PROFILE@"