blob: 5e6e3a0f8f4f265f00e6f44a6914a2ebae4ce443 [file] [log] [blame]
Emeric Vigier2f625822012-08-06 11:09:52 -04001# Copyright (C) 1999-2005 Open Source Telecom Corporation.
2# Copyright (C) 2006-2010 David Sugar, Tycho Softworks.
3#
4# This file is free software; as a special exception the author gives
5# unlimited permission to copy and/or distribute it, with or without
6# modifications, as long as this notice is preserved.
7#
8# This program is distributed in the hope that it will be useful, but
9# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
10# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11
12AUTOMAKE_OPTIONS = no-dependencies dist-shar
13LT_VERSION=@LT_CCXX_VERSION@
14#ignored for programs
15#$(LT_VERSION) -release $(LT_RELEASE)
Alexandre Lisionddd731e2014-01-31 11:50:08 -050016AM_CXXFLAGS = @WARN_FLAGS@ -I$(top_srcdir)/src -I$(top_srcdir)/src/ccrtp
Emeric Vigier2f625822012-08-06 11:09:52 -040017ccxxincludedir=$(includedir)/cc++
18
19if SRTP_GCRYPT
20srtp_src = ccsrtptest
21ccsrtptest_SOURCES = ccsrtptest.cpp
Alexandre Lisionddd731e2014-01-31 11:50:08 -050022ccsrtptest_LDFLAGS = ../src/libccrtp.la @GNULIBS@
Emeric Vigier2f625822012-08-06 11:09:52 -040023endif
24
25if SRTP_OPENSSL
26srtp_src = ccsrtptest
27ccsrtptest_SOURCES = ccsrtptest.cpp
Alexandre Lisionddd731e2014-01-31 11:50:08 -050028ccsrtptest_LDFLAGS = ../src/libccrtp.la @GNULIBS@
Emeric Vigier2f625822012-08-06 11:09:52 -040029endif
30
31noinst_PROGRAMS = rtpsend rtplisten rtphello rtpduphello audiorx audiotx \
Alexandre Lisionddd731e2014-01-31 11:50:08 -050032 ccrtptest $(srtp_src)
Emeric Vigier2f625822012-08-06 11:09:52 -040033
34rtpsend_SOURCES = rtpsend.cpp
Alexandre Lisionddd731e2014-01-31 11:50:08 -050035rtpsend_LDFLAGS = ../src/libccrtp.la @GNULIBS@
Emeric Vigier2f625822012-08-06 11:09:52 -040036
37rtplisten_SOURCES = rtplisten.cpp
Alexandre Lisionddd731e2014-01-31 11:50:08 -050038rtplisten_LDFLAGS = ../src/libccrtp.la @GNULIBS@
Emeric Vigier2f625822012-08-06 11:09:52 -040039
40rtphello_SOURCES = rtphello.cpp
Alexandre Lisionddd731e2014-01-31 11:50:08 -050041rtphello_LDFLAGS = ../src/libccrtp.la @GNULIBS@
Emeric Vigier2f625822012-08-06 11:09:52 -040042
43rtpduphello_SOURCES = rtpduphello.cpp
Alexandre Lisionddd731e2014-01-31 11:50:08 -050044rtpduphello_LDFLAGS = ../src/libccrtp.la @GNULIBS@
Emeric Vigier2f625822012-08-06 11:09:52 -040045
46audiorx_SOURCES = audiorx.cpp audio.h
Alexandre Lisionddd731e2014-01-31 11:50:08 -050047audiorx_LDFLAGS = ../src/libccrtp.la @GNULIBS@
Emeric Vigier2f625822012-08-06 11:09:52 -040048
49audiotx_SOURCES = audiotx.cpp
Alexandre Lisionddd731e2014-01-31 11:50:08 -050050audiotx_LDFLAGS = ../src/libccrtp.la @GNULIBS@
Emeric Vigier2f625822012-08-06 11:09:52 -040051
52ccrtptest_SOURCES = ccrtptest.cpp
Alexandre Lisionddd731e2014-01-31 11:50:08 -050053ccrtptest_LDFLAGS = ../src/libccrtp.la @GNULIBS@