1## Process this with automake to create Makefile.in 2 3AUTOMAKE_OPTIONS = foreign 1.6 4 5if HAVE_THREAD 6 MAYBE_THREAD = common/thread 7 MAYBE_THREAD_LIB = common/thread/libicethread.la 8endif 9 10if HAVE_THEORA 11 MAYBE_THEORA = codec_theora.c 12endif 13 14if HAVE_SPEEX 15 MAYBE_SPEEX = codec_speex.c 16endif 17 18if HAVE_TLS 19 MAYBE_TLS = tls.c 20endif 21 22SUBDIRS = common/avl common/net common/timing common/httpp $(MAYBE_THREAD) 23 24lib_LTLIBRARIES = libshout.la 25libshout_la_LDFLAGS = -version-info 5:0:2 26 27EXTRA_DIST = codec_theora.c codec_speex.c tls.c 28noinst_HEADERS = format_ogg.h shout_private.h util.h 29PROTOCOLS=proto_http.c proto_xaudiocast.c proto_icy.c proto_roaraudio.c 30FORMATS=format_ogg.c format_webm.c format_mp3.c 31CODECS=codec_vorbis.c codec_opus.c $(MAYBE_THEORA) $(MAYBE_SPEEX) 32libshout_la_SOURCES = shout.c util.c queue.c connection.c $(PROTOCOLS) $(FORMATS) $(CODECS) $(MAYBE_TLS) 33AM_CFLAGS = @XIPH_CFLAGS@ 34AM_CPPFLAGS = -I$(top_builddir)/include -I$(srcdir)/common @XIPH_CPPFLAGS@ 35 36libshout_la_LIBADD = common/net/libicenet.la common/timing/libicetiming.la common/avl/libiceavl.la\ 37 common/httpp/libicehttpp.la $(MAYBE_THREAD_LIB) $(THEORA_LIBS) $(OGG_LIBS) $(VORBIS_LIBS) $(SPEEX_LIBS) @XIPH_LIBS@ 38 39 40debug: 41 $(MAKE) all CFLAGS="@DEBUG@" 42 43profile: 44 $(MAKE) all CFLAGS="@PROFILE@" 45