freeswitch/libs/srtp/Makefile.am

50 lines
1.7 KiB
Makefile
Raw Normal View History

2017-06-26 17:11:02 +00:00
AUTOMAKE_OPTIONS = gnu subdir-objects
NAME=srtp
AM_CFLAGS = $(new_AM_CFLAGS) -I./src -Icrypto/include -I$(srcdir)/include -I$(srcdir)/crypto/include
AM_CPPFLAGS = $(AM_CFLAGS)
AM_LDFLAGS = $(new_AM_LDFLAGS) -L.
2014-02-24 14:20:03 +00:00
HMAC_OBJS = @HMAC_OBJS@
AES_ICM_OBJS = @AES_ICM_OBJS@
2017-06-26 17:11:02 +00:00
lib_LTLIBRARIES = libsrtp.la
2021-08-28 11:19:05 +00:00
libsrtp_la_SOURCES = srtp/srtp.c crypto/cipher/cipher.c crypto/cipher/null_cipher.c \
2014-02-24 14:20:03 +00:00
crypto/hash/null_auth.c crypto/hash/auth.c \
2021-08-28 11:19:05 +00:00
crypto/math/datatypes.c \
crypto/kernel/crypto_kernel.c crypto/kernel/alloc.c \
crypto/kernel/key.c \
crypto/kernel/err.c \
2021-08-28 11:19:05 +00:00
crypto/replay/rdb.c crypto/replay/rdbx.c \
crypto/cipher/cipher_test_cases.c crypto/hash/auth_test_cases.c
2014-02-24 14:20:03 +00:00
2021-08-28 11:19:05 +00:00
libsrtp_la_LDFLAGS = -version-info 2:4:0
2013-01-21 01:37:04 +00:00
EXTRA_DIST=
2014-02-24 14:20:03 +00:00
2021-08-28 11:19:05 +00:00
if GCM
AM_CPPFLAGS += -DGCM
AM_CFLAGS += -DGCM
endif
2014-02-24 14:20:03 +00:00
if ENABLE_OPENSSL
libsrtp_la_SOURCES += crypto/cipher/aes_icm_ossl.c crypto/cipher/aes_gcm_ossl.c
2014-02-24 15:32:34 +00:00
libsrtp_la_SOURCES += crypto/hash/hmac_ossl.c
2014-02-24 14:20:03 +00:00
else
libsrtp_la_SOURCES += crypto/hash/sha1.c crypto/hash/hmac.c
2017-06-26 17:11:02 +00:00
libsrtp_la_SOURCES += crypto/cipher/aes_icm.c crypto/cipher/aes.c
2014-02-24 14:20:03 +00:00
endif
library_includedir = $(prefix)/include/srtp
2021-08-28 11:19:05 +00:00
library_include_HEADERS = include/srtp.h crypto/include/auth.h \
crypto/include/cipher_types.h \
2017-06-26 17:11:02 +00:00
crypto/include/datatypes.h crypto/include/integers.h crypto/include/null_cipher.h \
crypto/include/rdbx.h crypto/include/aes_icm.h crypto/include/cipher.h crypto/include/crypto_types.h \
2017-06-26 17:11:02 +00:00
crypto/include/err.h crypto/include/sha1.h \
crypto/include/aes.h crypto/include/config.h crypto/include/key.h \
2021-08-28 11:19:05 +00:00
crypto/include/alloc.h crypto/include/crypto_kernel.h \
2017-06-26 17:11:02 +00:00
crypto/include/hmac.h crypto/include/null_auth.h crypto/include/rdb.h
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libsrtp2.pc