2
0

Makefile.am 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. # includes append to these:
  2. SUFFIXES =
  3. TESTS =
  4. CLEANFILES =
  5. DISTCLEANFILES =
  6. bin_PROGRAMS =
  7. noinst_HEADERS =
  8. lib_LTLIBRARIES =
  9. man_MANS =
  10. noinst_LTLIBRARIES =
  11. noinst_PROGRAMS =
  12. include_HEADERS =
  13. nobase_include_HEADERS =
  14. check_PROGRAMS =
  15. EXTRA_HEADERS =
  16. BUILT_SOURCES=
  17. EXTRA_DIST=
  18. dist_doc_DATA=
  19. #includes additional rules from aminclude.am
  20. @INC_AMINCLUDE@
  21. DISTCLEANFILES+= aminclude.am
  22. CLEANFILES+= cert.der \
  23. cert.pem \
  24. certecc.der \
  25. certecc.pem \
  26. certreq.der \
  27. certreq.pem \
  28. key.der \
  29. key.pem \
  30. ntru-cert.der \
  31. ntru-cert.pem \
  32. ntru-key.raw \
  33. othercert.der \
  34. othercert.pem \
  35. pkcs7cert.der \
  36. pkcs7envelopedData.der \
  37. pkcs7signedData.der
  38. exampledir = $(docdir)/example
  39. dist_example_DATA=
  40. ACLOCAL_AMFLAGS= -I m4
  41. EXTRA_DIST+= lib/dummy
  42. EXTRA_DIST+= cyassl-ntru.vcproj
  43. EXTRA_DIST+= cyassl.vcproj
  44. EXTRA_DIST+= cyassl.vcxproj
  45. EXTRA_DIST+= cyassl-iphone.xcodeproj/project.pbxproj
  46. EXTRA_DIST+= cyassl-ios.xcodeproj/project.pbxproj
  47. EXTRA_DIST+= cyassl-ntru.sln
  48. EXTRA_DIST+= cyassl.sln
  49. EXTRA_DIST+= cyassl64.sln
  50. EXTRA_DIST+= valgrind-error.sh
  51. EXTRA_DIST+= gencertbuf.pl
  52. EXTRA_DIST+= IDE
  53. include cyassl/include.am
  54. include certs/include.am
  55. include certs/1024/include.am
  56. include certs/crl/include.am
  57. include doc/include.am
  58. include swig/include.am
  59. include src/include.am
  60. include support/include.am
  61. include ctaocrypt/benchmark/include.am
  62. include ctaocrypt/src/include.am
  63. include ctaocrypt/test/include.am
  64. include examples/client/include.am
  65. include examples/server/include.am
  66. include examples/echoclient/include.am
  67. include examples/echoserver/include.am
  68. include testsuite/include.am
  69. include tests/include.am
  70. include sslSniffer/sslSnifferTest/include.am
  71. include rpm/include.am
  72. include mqx/ctaocrypt_test/Sources/include.am
  73. include mqx/cyassl/include.am
  74. include mqx/cyassl_client/Sources/include.am
  75. include mqx/util_lib/Sources/include.am
  76. include mplabx/include.am
  77. include mplabx/ctaocrypt_benchmark.X/nbproject/include.am
  78. include mplabx/ctaocrypt_test.X/nbproject/include.am
  79. include mplabx/cyassl.X/nbproject/include.am
  80. include mcapi/include.am
  81. include mcapi/ctaocrypt_mcapi.X/nbproject/include.am
  82. include mcapi/ctaocrypt_test.X/nbproject/include.am
  83. include mcapi/cyassl.X/nbproject/include.am
  84. include mcapi/zlib.X/nbproject/include.am
  85. include tirtos/include.am
  86. if USE_VALGRIND
  87. TESTS_ENVIRONMENT=./valgrind-error.sh
  88. endif
  89. TEST_EXTENSIONS=.test
  90. TESTS += $(check_PROGRAMS)
  91. test: check
  92. tests/unit.log: testsuite/testsuite.log
  93. DISTCLEANFILES+= cyassl-config
  94. # fips files shouldn't be left after make distclean
  95. DISTCLEANFILES+= ctaocrypt/src/fips.c
  96. DISTCLEANFILES+= ctaocrypt/src/fips_test.c
  97. maintainer-clean-local:
  98. -rm Makefile.in
  99. -rm aclocal.m4
  100. -rm build-aux/compile
  101. -rm build-aux/config.guess
  102. -rm build-aux/config.sub
  103. -rm build-aux/depcomp
  104. -rm build-aux/install-sh
  105. -rm build-aux/ltmain.sh
  106. -rm build-aux/missing
  107. -rm cyassl-config
  108. -rmdir build-aux
  109. -rm configure
  110. -rm config.log
  111. -rm config.status
  112. -rm config.in
  113. -rm m4/libtool.m4
  114. -rm m4/ltoptions.m4
  115. -rm m4/ltsugar.m4
  116. -rm m4/ltversion.m4
  117. -rm m4/lt~obsolete.m4
  118. -rm support/cyassl.pc
  119. find . -type f -name '*~' -exec rm -f '{}' \;
  120. -rm -f @PACKAGE@-*.tar.gz
  121. -rm -f @PACKAGE@-*.rpm
  122. # !!!! first line of rule has to start with a hard (real) tab, not spaces
  123. egs:
  124. $(MAKE) examples/client/client; \
  125. $(MAKE) examples/echoclient/echoclient;\
  126. $(MAKE) examples/server/server; \
  127. $(MAKE) examples/echoserver/echoserver;
  128. ctc:
  129. $(MAKE) ctaocrypt/test/testctaocrypt; \
  130. $(MAKE) ctaocrypt/benchmark/benchmark;
  131. install-exec-local: install-generic-config
  132. install-generic-config:
  133. $(mkinstalldirs) $(DESTDIR)$(bindir)
  134. $(INSTALL_SCRIPT) @GENERIC_CONFIG@ $(DESTDIR)$(bindir)
  135. uninstall-local:
  136. -rm -f $(DESTDIR)$(bindir)/@GENERIC_CONFIG@
  137. merge-clean:
  138. @find ./ | $(GREP) \.gcda | xargs rm -f
  139. @find ./ | $(GREP) \.gcno | xargs rm -f
  140. @find ./ | $(GREP) \.gz | xargs rm -f
  141. @find ./ | $(GREP) \.orig | xargs rm -f
  142. @find ./ | $(GREP) \.rej | xargs rm -f
  143. @find ./ | $(GREP) \.rpm | xargs rm -f
  144. @find ./ | $(GREP) \.THIS | xargs rm -f
  145. @find ./ | $(GREP) \.OTHER | xargs rm -f
  146. @find ./ | $(GREP) \.BASE | xargs rm -f
  147. @find ./ | $(GREP) \~$$ | xargs rm -f