Commit 9428abb6 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

access/rtp: remove recursion

parent f97a25d4
...@@ -4186,7 +4186,6 @@ AC_CONFIG_FILES([ ...@@ -4186,7 +4186,6 @@ AC_CONFIG_FILES([
lib/Makefile lib/Makefile
bin/Makefile bin/Makefile
test/Makefile test/Makefile
modules/access/rtp/Makefile
modules/access_output/Makefile modules/access_output/Makefile
modules/audio_filter/Makefile modules/audio_filter/Makefile
modules/control/Makefile modules/control/Makefile
......
plugins.dat plugins.dat
srtp-test-aes
srtp-test-recv
noinst_LTLIBRARIES = noinst_LTLIBRARIES =
noinst_HEADERS = noinst_HEADERS =
check_PROGRAMS =
BASE_SUBDIRS = \ BASE_SUBDIRS = \
access/rtp \
audio_filter \ audio_filter \
control \ control \
gui \ gui \
...@@ -27,11 +27,14 @@ if HAVE_VDPAU ...@@ -27,11 +27,14 @@ if HAVE_VDPAU
SUBDIRS += hw/vdpau SUBDIRS += hw/vdpau
endif endif
TESTS =
dist_noinst_SCRIPTS = genmf list.sh module.rc.in dist_noinst_SCRIPTS = genmf list.sh module.rc.in
dist_noinst_DATA = MODULES_LIST dist_noinst_DATA = MODULES_LIST
include common.am include common.am
include access/Makefile.am include access/Makefile.am
include access/rtp/Makefile.am
include arm_neon/Makefile.am include arm_neon/Makefile.am
include audio_mixer/Makefile.am include audio_mixer/Makefile.am
include audio_output/Makefile.am include audio_output/Makefile.am
......
srtp-test-aes
srtp-test-recv
include $(top_srcdir)/modules/common.am
accessdir = $(pluginsdir)/access
# RTP plugin # RTP plugin
access_LTLIBRARIES = librtp_plugin.la access_LTLIBRARIES += librtp_plugin.la
librtp_plugin_la_SOURCES = \ librtp_plugin_la_SOURCES = \
rtp.c \ access/rtp/input.c \
rtp.h \ access/rtp/session.c \
input.c \ access/rtp/xiph.c \
session.c \ access/rtp/rtp.c access/rtp/rtp.h
xiph.c librtp_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/access/rtp
librtp_plugin_la_CFLAGS = $(AM_CFLAGS) librtp_plugin_la_CFLAGS = $(AM_CFLAGS)
librtp_plugin_la_LIBADD = $(SOCKET_LIBS) $(LIBPTHREAD) librtp_plugin_la_LIBADD = $(SOCKET_LIBS) $(LIBPTHREAD)
# Secure RTP library # Secure RTP library
libvlc_srtp_la_SOURCES = srtp.c libvlc_srtp_la_SOURCES = access/rtp/srtp.c access/rtp/srtp.h
libvlc_srtp_la_CPPFLAGS = libvlc_srtp_la_CPPFLAGS = -I$(srcdir)/access/rtp
libvlc_srtp_la_CFLAGS = $(GCRYPT_CFLAGS) libvlc_srtp_la_CFLAGS = $(GCRYPT_CFLAGS)
libvlc_srtp_la_LDFLAGS = -static libvlc_srtp_la_LDFLAGS = -static
libvlc_srtp_la_LIBADD = $(GCRYPT_LIBS) $(LIBPTHREAD) libvlc_srtp_la_LIBADD = $(GCRYPT_LIBS) $(LIBPTHREAD)
srtp_test_recv_CPPFLAGS = srtp_test_recv_SOURCES = access/rtp/srtp-test-recv.c
srtp_test_recv_LDADD = libvlc_srtp.la srtp_test_recv_LDADD = libvlc_srtp.la
srtp_test_aes_CPPFLAGS = srtp_test_aes_SOURCES = access/rtp/srtp-test-aes.c
srtp_test_aes_LDADD = $(GCRYPT_LIBS) srtp_test_aes_LDADD = $(GCRYPT_LIBS)
librtp_plugin_la_DEPENDENCIES = librtp_plugin_la_DEPENDENCIES =
if HAVE_GCRYPT if HAVE_GCRYPT
noinst_HEADERS = srtp.h noinst_LTLIBRARIES += libvlc_srtp.la
noinst_LTLIBRARIES = libvlc_srtp.la
check_PROGRAMS = srtp-test-aes srtp-test-recv check_PROGRAMS += srtp-test-aes srtp-test-recv
TESTS = $(check_PROGRAMS) TESTS += srtp-test-aes srtp-test-recv
librtp_plugin_la_CFLAGS += -DHAVE_SRTP $(GCRYPT_CFLAGS) librtp_plugin_la_CPPFLAGS += -DHAVE_SRTP
librtp_plugin_la_CFLAGS += $(GCRYPT_CFLAGS)
librtp_plugin_la_LIBADD += libvlc_srtp.la $(GCRYPT_LIBS) librtp_plugin_la_LIBADD += libvlc_srtp.la $(GCRYPT_LIBS)
librtp_plugin_la_DEPENDENCIES += libvlc_srtp.la librtp_plugin_la_DEPENDENCIES += libvlc_srtp.la
endif endif
lcov-run: #lcov-run:
rm -Rf *.gcda lcov # rm -Rf *.gcda lcov
$(MAKE) $(AM_MAKEFLAGS) check # $(MAKE) $(AM_MAKEFLAGS) check
#
lcov-pre.out: #lcov-pre.out:
lcov -c -d . -o lcov.tmp # lcov -c -d . -o lcov.tmp
#
lcov.out: lcov-pre.out #lcov.out: lcov-pre.out
lcov -r lcov.tmp '*test*' > lcov.out # lcov -r lcov.tmp '*test*' > lcov.out
#
lcov: lcov.out #lcov: lcov.out
genhtml lcov.out -o lcov # genhtml lcov.out -o lcov
#
.PHONY: lcov-run #.PHONY: lcov-run
...@@ -48,7 +48,7 @@ libstream_out_rtp_plugin_la_CFLAGS = $(AM_CFLAGS) ...@@ -48,7 +48,7 @@ libstream_out_rtp_plugin_la_CFLAGS = $(AM_CFLAGS)
libstream_out_rtp_plugin_la_LIBADD = $(SOCKET_LIBS) $(LIBPTHREAD) libstream_out_rtp_plugin_la_LIBADD = $(SOCKET_LIBS) $(LIBPTHREAD)
if HAVE_GCRYPT if HAVE_GCRYPT
SRTP_CFLAGS = -I$(top_srcdir)/modules/access/rtp SRTP_CFLAGS = -I$(top_srcdir)/modules/access/rtp
SRTP_LIBS = $(top_builddir)/modules/access/rtp/libvlc_srtp.la SRTP_LIBS = $(top_builddir)/modules/libvlc_srtp.la
libstream_out_rtp_plugin_la_CFLAGS += -DHAVE_SRTP $(SRTP_CFLAGS) \ libstream_out_rtp_plugin_la_CFLAGS += -DHAVE_SRTP $(SRTP_CFLAGS) \
$(GCRYPT_CFLAGS) $(GCRYPT_CFLAGS)
libstream_out_rtp_plugin_la_LIBADD += $(SRTP_LIBS) $(GCRYPT_LIBS) libstream_out_rtp_plugin_la_LIBADD += $(SRTP_LIBS) $(GCRYPT_LIBS)
......
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