srt: fix build issue with recent SRT library
[vlc.git] / modules / access_output / Makefile.am
1 access_outdir = $(pluginsdir)/access_output
2
3 libaccess_output_dummy_plugin_la_SOURCES = access_output/dummy.c
4 libaccess_output_file_plugin_la_SOURCES = access_output/file.c
5 libaccess_output_http_plugin_la_SOURCES = access_output/http.c
6 libaccess_output_udp_plugin_la_SOURCES = access_output/udp.c
7 libaccess_output_udp_plugin_la_LIBADD = $(SOCKET_LIBS)
8
9 access_out_LTLIBRARIES = \
10         libaccess_output_dummy_plugin.la \
11         libaccess_output_file_plugin.la \
12         libaccess_output_http_plugin.la \
13         libaccess_output_udp_plugin.la
14
15 libaccess_output_livehttp_plugin_la_SOURCES = access_output/livehttp.c
16 libaccess_output_livehttp_plugin_la_CFLAGS = $(AM_CFLAGS) $(GCRYPT_CFLAGS)
17 libaccess_output_livehttp_plugin_la_LIBADD = $(GCRYPT_LIBS) -lgpg-error $(LIBM)
18 if HAVE_GCRYPT
19 access_out_LTLIBRARIES += libaccess_output_livehttp_plugin.la
20 endif
21
22 libaccess_output_shout_plugin_la_SOURCES = access_output/shout.c
23 libaccess_output_shout_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(SHOUT_CFLAGS)
24 libaccess_output_shout_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(access_outdir)'
25 libaccess_output_shout_plugin_la_LIBADD = $(SHOUT_LIBS) $(SOCKET_LIBS)
26 access_out_LTLIBRARIES += $(LTLIBaccess_output_shout)
27 EXTRA_LTLIBRARIES += libaccess_output_shout_plugin.la
28
29 ### SRT ###
30 libaccess_output_srt_plugin_la_SOURCES = access_output/srt.c access/srt_common.c access/srt_common.h dummy.cpp
31 libaccess_output_srt_plugin_la_CFLAGS = $(AM_CFLAGS) $(SRT_CFLAGS)
32 libaccess_output_srt_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(SRT_CPPFLAGS)
33 libaccess_output_srt_plugin_la_LIBADD = $(SRT_LIBS)
34 libaccess_output_srt_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(access_outdir)'
35 access_out_LTLIBRARIES += $(LTLIBaccess_output_srt)
36 EXTRA_LTLIBRARIES += libaccess_output_srt_plugin.la
37
38 ### RIST ###
39 libaccess_output_rist_plugin_la_SOURCES = access_output/rist.c access/rist.h
40 libaccess_output_rist_plugin_la_CFLAGS = $(AM_CFLAGS) $(BITSTREAM_CFLAGS)
41 libaccess_output_rist_plugin_la_LIBADD = $(SOCKET_LIBS)
42 if HAVE_BITSTREAM
43 access_out_LTLIBRARIES += libaccess_output_rist_plugin.la
44 endif