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 |
Emeric Vigier | 2f62582 | 2012-08-06 11:09:52 -0400 | [diff] [blame] | 13 | |
Alexandre Lision | ddd731e | 2014-01-31 11:50:08 -0500 | [diff] [blame] | 14 | # additional include path necessary to compile the srtp crypto sources |
| 15 | AM_CXXFLAGS= @WARN_FLAGS@ -I$(top_srcdir)/src/ccrtp |
| 16 | AM_CPPFLAGS= @WARN_FLAGS@ -I$(top_srcdir)/src/ccrtp |
| 17 | |
| 18 | # RELEASE = $(LT_VERSION) -release $(LT_RELEASE) |
| 19 | RELEASE = --version-info $(LT_VERSION) |
| 20 | |
| 21 | lib_LTLIBRARIES = libccrtp.la |
Emeric Vigier | 2f62582 | 2012-08-06 11:09:52 -0400 | [diff] [blame] | 22 | |
| 23 | if SRTP_OPENSSL |
Alexandre Lision | ddd731e | 2014-01-31 11:50:08 -0500 | [diff] [blame] | 24 | srtp_src_o = ccrtp/crypto/openssl/hmac.cpp \ |
| 25 | ccrtp/crypto/openssl/SrtpSymCrypto.cpp |
Emeric Vigier | 2f62582 | 2012-08-06 11:09:52 -0400 | [diff] [blame] | 26 | endif |
| 27 | |
| 28 | if SRTP_GCRYPT |
Alexandre Lision | ddd731e | 2014-01-31 11:50:08 -0500 | [diff] [blame] | 29 | srtp_src_g = ccrtp/crypto/gcrypt/gcrypthmac.cpp \ |
| 30 | ccrtp/crypto/gcrypt/gcryptSrtpSymCrypto.cpp \ |
| 31 | ccrtp/crypto/gcrypt/InitializeGcrypt.cpp ccrtp/crypto/twofish.c |
Emeric Vigier | 2f62582 | 2012-08-06 11:09:52 -0400 | [diff] [blame] | 32 | endif |
| 33 | |
| 34 | skein_srcs= ccrtp/crypto/macSkein.cpp \ |
| 35 | ccrtp/crypto/skein.c \ |
| 36 | ccrtp/crypto/skein_block.c \ |
| 37 | ccrtp/crypto/skeinApi.c |
| 38 | |
| 39 | |
| 40 | SUBDIRS = ccrtp ccrtp/crypto |
| 41 | |
Alexandre Lision | ddd731e | 2014-01-31 11:50:08 -0500 | [diff] [blame] | 42 | libccrtp_la_SOURCES = rtppkt.cpp rtcppkt.cpp source.cpp data.cpp incqueue.cpp \ |
| 43 | outqueue.cpp queue.cpp control.cpp members.cpp socket.cpp duplex.cpp pool.cpp \ |
| 44 | CryptoContext.cpp CryptoContextCtrl.cpp $(srtp_src_g) $(srtp_src_o) $(skein_srcs) |
Emeric Vigier | 2f62582 | 2012-08-06 11:09:52 -0400 | [diff] [blame] | 45 | |
Alexandre Lision | ddd731e | 2014-01-31 11:50:08 -0500 | [diff] [blame] | 46 | libccrtp_la_LDFLAGS = $(RELEASE) @GNULIBS@ |
Emeric Vigier | 2f62582 | 2012-08-06 11:09:52 -0400 | [diff] [blame] | 47 | |
| 48 | noinst_HEADERS = private.h |