Makefile.am 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  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+= wolfssl-ntru.vcproj
  43. EXTRA_DIST+= wolfssl.vcproj
  44. EXTRA_DIST+= wolfssl.vcxproj
  45. EXTRA_DIST+= wolfssl-iphone.xcodeproj/project.pbxproj
  46. EXTRA_DIST+= wolfssl-ios.xcodeproj/project.pbxproj
  47. EXTRA_DIST+= wolfssl-ntru.sln
  48. EXTRA_DIST+= wolfssl.sln
  49. EXTRA_DIST+= wolfssl64.sln
  50. EXTRA_DIST+= valgrind-error.sh
  51. EXTRA_DIST+= gencertbuf.pl
  52. EXTRA_DIST+= IDE
  53. EXTRA_DIST+= README.md
  54. EXTRA_DIST+= LICENSING
  55. include cyassl/include.am
  56. include wolfssl/include.am
  57. include certs/include.am
  58. include certs/1024/include.am
  59. include certs/crl/include.am
  60. include doc/include.am
  61. include swig/include.am
  62. include src/include.am
  63. include support/include.am
  64. include wolfcrypt/benchmark/include.am
  65. include wolfcrypt/src/include.am
  66. include wolfcrypt/test/include.am
  67. include examples/client/include.am
  68. include examples/server/include.am
  69. include examples/echoclient/include.am
  70. include examples/echoserver/include.am
  71. include testsuite/include.am
  72. include tests/include.am
  73. include sslSniffer/sslSnifferTest/include.am
  74. include rpm/include.am
  75. # TODO: fix, this commented out mqx ones have spaces in file names
  76. #include mqx/wolfcrypt_test/Sources/include.am
  77. include mqx/cyassl/include.am
  78. #include mqx/cyassl_client/Sources/include.am
  79. include mqx/util_lib/Sources/include.am
  80. include mplabx/include.am
  81. include mplabx/ctaocrypt_benchmark.X/nbproject/include.am
  82. include mplabx/ctaocrypt_test.X/nbproject/include.am
  83. include mplabx/cyassl.X/nbproject/include.am
  84. include mcapi/include.am
  85. include mcapi/ctaocrypt_mcapi.X/nbproject/include.am
  86. include mcapi/ctaocrypt_test.X/nbproject/include.am
  87. include mcapi/cyassl.X/nbproject/include.am
  88. include mcapi/zlib.X/nbproject/include.am
  89. include tirtos/include.am
  90. if USE_VALGRIND
  91. TESTS_ENVIRONMENT=./valgrind-error.sh
  92. endif
  93. TEST_EXTENSIONS=.test
  94. TESTS += $(check_PROGRAMS)
  95. test: check
  96. tests/unit.log: testsuite/testsuite.log
  97. DISTCLEANFILES+= cyassl-config
  98. DISTCLEANFILES+= wolfssl-config
  99. # fips files shouldn't be left after make distclean
  100. DISTCLEANFILES+= ctaocrypt/src/fips.c
  101. DISTCLEANFILES+= ctaocrypt/src/fips_test.c
  102. maintainer-clean-local:
  103. -rm Makefile.in
  104. -rm aclocal.m4
  105. -rm build-aux/compile
  106. -rm build-aux/config.guess
  107. -rm build-aux/config.sub
  108. -rm build-aux/depcomp
  109. -rm build-aux/install-sh
  110. -rm build-aux/ltmain.sh
  111. -rm build-aux/missing
  112. -rm cyassl-config
  113. -rmdir build-aux
  114. -rm configure
  115. -rm config.log
  116. -rm config.status
  117. -rm config.in
  118. -rm m4/libtool.m4
  119. -rm m4/ltoptions.m4
  120. -rm m4/ltsugar.m4
  121. -rm m4/ltversion.m4
  122. -rm m4/lt~obsolete.m4
  123. -rm support/wolfssl.pc
  124. find . -type f -name '*~' -exec rm -f '{}' \;
  125. -rm -f @PACKAGE@-*.tar.gz
  126. -rm -f @PACKAGE@-*.rpm
  127. # !!!! first line of rule has to start with a hard (real) tab, not spaces
  128. egs:
  129. $(MAKE) examples/client/client; \
  130. $(MAKE) examples/echoclient/echoclient;\
  131. $(MAKE) examples/server/server; \
  132. $(MAKE) examples/echoserver/echoserver;
  133. ctc:
  134. $(MAKE) ctaocrypt/test/testctaocrypt; \
  135. $(MAKE) ctaocrypt/benchmark/benchmark;
  136. install-exec-local: install-generic-config
  137. install-generic-config:
  138. $(mkinstalldirs) $(DESTDIR)$(bindir)
  139. $(INSTALL_SCRIPT) @GENERIC_CONFIG@ $(DESTDIR)$(bindir)
  140. uninstall-local:
  141. -rm -f $(DESTDIR)$(bindir)/@GENERIC_CONFIG@
  142. merge-clean:
  143. @find ./ | $(GREP) \.gcda | xargs rm -f
  144. @find ./ | $(GREP) \.gcno | xargs rm -f
  145. @find ./ | $(GREP) \.gz | xargs rm -f
  146. @find ./ | $(GREP) \.orig | xargs rm -f
  147. @find ./ | $(GREP) \.rej | xargs rm -f
  148. @find ./ | $(GREP) \.rpm | xargs rm -f
  149. @find ./ | $(GREP) \.THIS | xargs rm -f
  150. @find ./ | $(GREP) \.OTHER | xargs rm -f
  151. @find ./ | $(GREP) \.BASE | xargs rm -f
  152. @find ./ | $(GREP) \~$$ | xargs rm -f