# Copyright (C) 1999-2002 Open Source Telecom Corporation.
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

AUTOMAKE_OPTIONS = no-dependencies dist-shar
LT_VERSION=@LT_CCXX_VERSION@
AM_CXXFLAGS= @WARN_FLAGS@
# RELEASE = $(LT_VERSION) -release $(LT_RELEASE)
RELEASE = $(LT_VERSION) -release $(LT_RELEASE) @GNULIBS@
LIBS = @GNULIBS@

lib_LTLIBRARIES = libccrtp1.la

if SRTP_OPENSSL
srtp_src_o = 	ccrtp/crypto/openssl/hmac.cxx \
		ccrtp/crypto/openssl/AesSrtp.cxx \
		ccrtp/crypto/openssl/InitializeOpenSSL.cxx
endif

if SRTP_GCRYPT
srtp_src_g =    ccrtp/crypto/gcrypt/gcrypthmac.cxx \
		ccrtp/crypto/gcrypt/gcryptAesSrtp.cxx \
		ccrtp/crypto/gcrypt/InitializeGcrypt.cxx
endif


SUBDIRS = ccrtp ccrtp/crypto

libccrtp1_la_SOURCES = rtppkt.cpp rtcppkt.cpp source.cpp data.cpp incqueue.cpp \
	outqueue.cpp queue.cpp control.cpp members.cpp socket.cpp duplex.cpp pool.cpp \
	CryptoContext.cxx $(srtp_src_g) $(srtp_src_o)

libccrtp1_la_LDFLAGS = $(RELEASE)

noinst_HEADERS = private.h


syntax highlighted by Code2HTML, v. 0.9.1