Emeric Vigier | 2f62582 | 2012-08-06 11:09:52 -0400 | [diff] [blame] | 1 | # 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 | |
| 12 | AUTOMAKE_OPTIONS = no-dependencies dist-shar |
| 13 | LT_VERSION=@LT_CCXX_VERSION@ |
| 14 | #ignored for programs |
| 15 | #$(LT_VERSION) -release $(LT_RELEASE) |
| 16 | AM_CXXFLAGS = @WARN_FLAGS@ -I$(top_srcdir)/src |
| 17 | ccxxincludedir=$(includedir)/cc++ |
| 18 | |
| 19 | if SRTP_GCRYPT |
| 20 | srtp_src = ccsrtptest |
| 21 | ccsrtptest_SOURCES = ccsrtptest.cpp |
| 22 | ccsrtptest_LDFLAGS = ../src/libccrtp1.la |
| 23 | endif |
| 24 | |
| 25 | if SRTP_OPENSSL |
| 26 | srtp_src = ccsrtptest |
| 27 | ccsrtptest_SOURCES = ccsrtptest.cpp |
| 28 | ccsrtptest_LDFLAGS = ../src/libccrtp1.la |
| 29 | endif |
| 30 | |
| 31 | noinst_PROGRAMS = rtpsend rtplisten rtphello rtpduphello audiorx audiotx \ |
| 32 | ccrtptest $(srtp_src) |
| 33 | |
| 34 | rtpsend_SOURCES = rtpsend.cpp |
| 35 | rtpsend_LDFLAGS = ../src/libccrtp1.la |
| 36 | |
| 37 | rtplisten_SOURCES = rtplisten.cpp |
| 38 | rtplisten_LDFLAGS = ../src/libccrtp1.la |
| 39 | |
| 40 | rtphello_SOURCES = rtphello.cpp |
| 41 | rtphello_LDFLAGS = ../src/libccrtp1.la |
| 42 | |
| 43 | rtpduphello_SOURCES = rtpduphello.cpp |
| 44 | rtpduphello_LDFLAGS = ../src/libccrtp1.la |
| 45 | |
| 46 | audiorx_SOURCES = audiorx.cpp audio.h |
| 47 | audiorx_LDFLAGS = ../src/libccrtp1.la |
| 48 | |
| 49 | audiotx_SOURCES = audiotx.cpp |
| 50 | audiotx_LDFLAGS = ../src/libccrtp1.la |
| 51 | |
| 52 | ccrtptest_SOURCES = ccrtptest.cpp |
| 53 | ccrtptest_LDFLAGS = ../src/libccrtp1.la |