2
0

Makefile.am 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. #
  2. # Copyright (c) 2006-2007 Philip R. Zimmermann. All rights reserved.
  3. # Contact: http://philzimmermann.com
  4. #
  5. # Viktor Krikun <v.krikun@soft-industry.com> <v.krikun@gmail.com>
  6. #
  7. libzrtp_includedir=$(includedir)/libzrtp
  8. libzrtp_include_HEADERS = \
  9. $(top_srcdir)/include/zrtp.h \
  10. $(top_srcdir)/include/zrtp_base.h \
  11. $(top_srcdir)/include/zrtp_config.h \
  12. $(top_srcdir)/include/zrtp_config_user.h \
  13. $(top_srcdir)/include/zrtp_config_unix.h \
  14. $(top_srcdir)/include/zrtp_crypto.h \
  15. $(top_srcdir)/include/zrtp_ec.h \
  16. $(top_srcdir)/include/zrtp_engine.h \
  17. $(top_srcdir)/include/zrtp_error.h \
  18. $(top_srcdir)/include/zrtp_iface.h \
  19. $(top_srcdir)/include/zrtp_iface_scheduler.h \
  20. $(top_srcdir)/include/zrtp_iface_cache.h \
  21. $(top_srcdir)/include/zrtp_iface_system.h \
  22. $(top_srcdir)/include/zrtp_legal.h \
  23. $(top_srcdir)/include/zrtp_list.h \
  24. $(top_srcdir)/include/zrtp_log.h \
  25. $(top_srcdir)/include/zrtp_pbx.h \
  26. $(top_srcdir)/include/zrtp_protocol.h \
  27. $(top_srcdir)/include/zrtp_srtp.h \
  28. $(top_srcdir)/include/zrtp_srtp_builtin.h \
  29. $(top_srcdir)/include/zrtp_string.h \
  30. $(top_srcdir)/include/zrtp_types.h \
  31. $(top_srcdir)/include/zrtp_version.h \
  32. \
  33. $(top_srcdir)/third_party/bnlib/bn.h \
  34. \
  35. $(top_srcdir)/third_party/bgaes/aes.h \
  36. $(top_srcdir)/third_party/bgaes/aesopt.h \
  37. $(top_srcdir)/third_party/bgaes/aestab.h \
  38. $(top_srcdir)/third_party/bgaes/bg2zrtp.h \
  39. $(top_srcdir)/third_party/bgaes/brg_types.h \
  40. $(top_srcdir)/third_party/bgaes/sha1.h \
  41. $(top_srcdir)/third_party/bgaes/sha2.h
  42. lib_LIBRARIES = libzrtp.a
  43. libzrtp_a_CPPFLAGS = \
  44. -I$(top_srcdir)/include \
  45. -I$(top_srcdir)/. \
  46. -I$(top_srcdir)/third_party/bgaes \
  47. -I$(top_srcdir)/third_party/bnlib
  48. libzrtp_a_LIBADD = $(top_srcdir)/third_party/bnlib/libbn.a
  49. libzrtp_a_SOURCES = $(top_srcdir)/src/zrtp.c \
  50. $(top_srcdir)/src/zrtp_crc.c \
  51. $(top_srcdir)/src/zrtp_crypto_aes.c \
  52. $(top_srcdir)/src/zrtp_crypto_atl.c \
  53. $(top_srcdir)/src/zrtp_crypto_ec.c \
  54. $(top_srcdir)/src/zrtp_crypto_ecdh.c \
  55. $(top_srcdir)/src/zrtp_crypto_hash.c \
  56. $(top_srcdir)/src/zrtp_crypto_pk.c \
  57. $(top_srcdir)/src/zrtp_crypto_sas.c \
  58. $(top_srcdir)/src/zrtp_datatypes.c \
  59. $(top_srcdir)/src/zrtp_engine.c \
  60. $(top_srcdir)/src/zrtp_iface_scheduler.c \
  61. $(top_srcdir)/src/zrtp_iface_sys.c \
  62. $(top_srcdir)/src/zrtp_initiator.c \
  63. $(top_srcdir)/src/zrtp_legal.c \
  64. $(top_srcdir)/src/zrtp_list.c \
  65. $(top_srcdir)/src/zrtp_log.c \
  66. $(top_srcdir)/src/zrtp_pbx.c \
  67. $(top_srcdir)/src/zrtp_protocol.c \
  68. $(top_srcdir)/src/zrtp_responder.c \
  69. $(top_srcdir)/src/zrtp_rng.c \
  70. $(top_srcdir)/src/zrtp_srtp_builtin.c \
  71. $(top_srcdir)/src/zrtp_string.c \
  72. $(top_srcdir)/src/zrtp_utils.c \
  73. $(top_srcdir)/src/zrtp_utils_proto.c \
  74. \
  75. $(top_srcdir)/third_party/bgaes/aes_modes.c \
  76. $(top_srcdir)/third_party/bgaes/aescrypt.c \
  77. $(top_srcdir)/third_party/bgaes/aeskey.c \
  78. $(top_srcdir)/third_party/bgaes/aestab.c \
  79. $(top_srcdir)/third_party/bgaes/sha1.c \
  80. $(top_srcdir)/third_party/bgaes/sha2.c\
  81. \
  82. $(top_srcdir)/src/zrtp_iface_cache.c
  83. $(top_srcdir)/src/zrtp_engine_driven.c
  84. check_PROGRAMS = cache_test
  85. cache_test_CPPFLAGS = -I$(top_srcdir)/include \
  86. -I$(top_srcdir)/. \
  87. -I$(top_srcdir)/test \
  88. -I$(top_srcdir)/test/cmockery \
  89. -I$(top_srcdir)/third_party/bgaes \
  90. -I$(top_srcdir)/third_party/bnlib
  91. cache_test_SOURCES = $(top_srcdir)/test/cmockery/cmockery.c \
  92. $(top_srcdir)/test/cache_test.c
  93. cache_test_LDADD = libzrtp.a $(top_srcdir)/third_party/bnlib/libbn.a -lpthread
  94. SUBDIRS = third_party/bnlib
  95. if HAVE_DOXYGEN
  96. doc: .stamp-doc
  97. .stamp-doc:
  98. (cd doc && $(DOXYGEN) Doxyfile)
  99. touch $@
  100. endif
  101. uninstall:
  102. rm -rf $(prefix)/include/libzrtp
  103. rm -f $(prefix)/lib/libzrtp.a