blob: a494fccfe895421137338e704aa4c2e803cdb46a [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@
14AM_CXXFLAGS= @WARN_FLAGS@
15# RELEASE = $(LT_VERSION) -release $(LT_RELEASE)
16RELEASE = $(LT_VERSION) -release $(LT_RELEASE) @GNULIBS@
17LIBS = @GNULIBS@
18
19lib_LTLIBRARIES = libccrtp1.la
20
21if SRTP_OPENSSL
22srtp_src_o = ccrtp/crypto/openssl/hmac.cpp \
23 ccrtp/crypto/openssl/AesSrtp.cxx \
24 ccrtp/crypto/openssl/InitializeOpenSSL.cxx
25endif
26
27if SRTP_GCRYPT
28srtp_src_g = ccrtp/crypto/gcrypt/gcrypthmac.cxx \
29 ccrtp/crypto/gcrypt/gcryptAesSrtp.cxx \
30 ccrtp/crypto/gcrypt/InitializeGcrypt.cxx
31endif
32
33skein_srcs= ccrtp/crypto/macSkein.cpp \
34 ccrtp/crypto/skein.c \
35 ccrtp/crypto/skein_block.c \
36 ccrtp/crypto/skeinApi.c
37
38
39SUBDIRS = ccrtp ccrtp/crypto
40
41libccrtp1_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
45libccrtp1_la_LDFLAGS = $(RELEASE)
46
47noinst_HEADERS = private.h