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 | AM_CXXFLAGS= @WARN_FLAGS@ |
| 15 | # RELEASE = $(LT_VERSION) -release $(LT_RELEASE) |
| 16 | RELEASE = $(LT_VERSION) -release $(LT_RELEASE) @GNULIBS@ |
| 17 | LIBS = @GNULIBS@ |
| 18 | |
| 19 | lib_LTLIBRARIES = libccrtp1.la |
| 20 | |
| 21 | if SRTP_OPENSSL |
| 22 | srtp_src_o = ccrtp/crypto/openssl/hmac.cpp \ |
| 23 | ccrtp/crypto/openssl/AesSrtp.cxx \ |
| 24 | ccrtp/crypto/openssl/InitializeOpenSSL.cxx |
| 25 | endif |
| 26 | |
| 27 | if SRTP_GCRYPT |
| 28 | srtp_src_g = ccrtp/crypto/gcrypt/gcrypthmac.cxx \ |
| 29 | ccrtp/crypto/gcrypt/gcryptAesSrtp.cxx \ |
| 30 | ccrtp/crypto/gcrypt/InitializeGcrypt.cxx |
| 31 | endif |
| 32 | |
| 33 | skein_srcs= ccrtp/crypto/macSkein.cpp \ |
| 34 | ccrtp/crypto/skein.c \ |
| 35 | ccrtp/crypto/skein_block.c \ |
| 36 | ccrtp/crypto/skeinApi.c |
| 37 | |
| 38 | |
| 39 | SUBDIRS = ccrtp ccrtp/crypto |
| 40 | |
| 41 | libccrtp1_la_SOURCES = rtppkt.cpp rtcppkt.cpp source.cpp data.cpp incqueue.cpp \ |
| 42 | outqueue.cpp queue.cpp control.cpp members.cpp socket.cpp duplex.cpp pool.cpp \ |
| 43 | CryptoContext.cxx $(srtp_src_g) $(srtp_src_o) $(skein_srcs) |
| 44 | |
| 45 | libccrtp1_la_LDFLAGS = $(RELEASE) |
| 46 | |
| 47 | noinst_HEADERS = private.h |