2
0

Makefile.am 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. AUTOMAKE_OPTIONS = gnu subdir-objects
  2. NAME=srtp
  3. AM_CFLAGS = $(new_AM_CFLAGS) -I./src -Icrypto/include -I$(srcdir)/include -I$(srcdir)/crypto/include
  4. AM_CPPFLAGS = $(AM_CFLAGS)
  5. AM_LDFLAGS = $(new_AM_LDFLAGS) -L.
  6. HMAC_OBJS = @HMAC_OBJS@
  7. AES_ICM_OBJS = @AES_ICM_OBJS@
  8. lib_LTLIBRARIES = libsrtp.la
  9. libsrtp_la_SOURCES = srtp/srtp.c crypto/cipher/cipher.c crypto/cipher/null_cipher.c \
  10. crypto/hash/null_auth.c crypto/hash/auth.c \
  11. crypto/math/datatypes.c \
  12. crypto/kernel/crypto_kernel.c crypto/kernel/alloc.c \
  13. crypto/kernel/key.c \
  14. crypto/kernel/err.c \
  15. crypto/replay/rdb.c crypto/replay/rdbx.c \
  16. crypto/cipher/cipher_test_cases.c crypto/hash/auth_test_cases.c
  17. libsrtp_la_LDFLAGS = -version-info 2:4:0
  18. EXTRA_DIST=
  19. if GCM
  20. AM_CPPFLAGS += -DGCM
  21. AM_CFLAGS += -DGCM
  22. endif
  23. if ENABLE_OPENSSL
  24. libsrtp_la_SOURCES += crypto/cipher/aes_icm_ossl.c crypto/cipher/aes_gcm_ossl.c
  25. libsrtp_la_SOURCES += crypto/hash/hmac_ossl.c
  26. else
  27. libsrtp_la_SOURCES += crypto/hash/sha1.c crypto/hash/hmac.c
  28. libsrtp_la_SOURCES += crypto/cipher/aes_icm.c crypto/cipher/aes.c
  29. endif
  30. library_includedir = $(prefix)/include/srtp
  31. library_include_HEADERS = include/srtp.h crypto/include/auth.h \
  32. crypto/include/cipher_types.h \
  33. crypto/include/datatypes.h crypto/include/integers.h crypto/include/null_cipher.h \
  34. crypto/include/rdbx.h crypto/include/aes_icm.h crypto/include/cipher.h crypto/include/crypto_types.h \
  35. crypto/include/err.h crypto/include/sha1.h \
  36. crypto/include/aes.h crypto/include/config.h crypto/include/key.h \
  37. crypto/include/alloc.h crypto/include/crypto_kernel.h \
  38. crypto/include/hmac.h crypto/include/null_auth.h crypto/include/rdb.h
  39. pkgconfigdir = $(libdir)/pkgconfig
  40. pkgconfig_DATA = libsrtp2.pc