1
0

Makefile.am 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  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. dist_noinst_SCRIPTS =
  20. check_SCRIPTS =
  21. #includes additional rules from aminclude.am
  22. @INC_AMINCLUDE@
  23. DISTCLEANFILES+= aminclude.am
  24. CLEANFILES+= cert.der \
  25. cert.pem \
  26. certecc.der \
  27. certecc.pem \
  28. certreq.der \
  29. certreq.pem \
  30. key.der \
  31. key.pem \
  32. ntru-cert.der \
  33. ntru-cert.pem \
  34. ntru-key.raw \
  35. othercert.der \
  36. othercert.pem \
  37. pkcs7cert.der \
  38. pkcs7envelopedData.der \
  39. pkcs7signedData.der
  40. exampledir = $(docdir)/example
  41. dist_example_DATA=
  42. ACLOCAL_AMFLAGS= -I m4
  43. EXTRA_DIST+= lib/dummy
  44. EXTRA_DIST+= wolfssl-ntru.vcproj
  45. EXTRA_DIST+= wolfssl.vcproj
  46. EXTRA_DIST+= wolfssl.vcxproj
  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+= README.md
  53. EXTRA_DIST+= LICENSING
  54. EXTRA_DIST+= INSTALL
  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. include mqx/util_lib/Sources/include.am
  76. include mqx/wolfcrypt_benchmark/Sources/include.am
  77. include mqx/wolfcrypt_test/Sources/include.am
  78. include mqx/wolfssl/include.am
  79. include mqx/wolfssl_client/Sources/include.am
  80. include mplabx/include.am
  81. include mplabx/wolfcrypt_benchmark.X/nbproject/include.am
  82. include mplabx/wolfcrypt_test.X/nbproject/include.am
  83. include mplabx/wolfssl.X/nbproject/include.am
  84. include mcapi/include.am
  85. include mcapi/wolfcrypt_mcapi.X/nbproject/include.am
  86. include mcapi/wolfcrypt_test.X/nbproject/include.am
  87. include mcapi/wolfssl.X/nbproject/include.am
  88. include mcapi/zlib.X/nbproject/include.am
  89. include tirtos/include.am
  90. include scripts/include.am
  91. include IDE/include.am
  92. if USE_VALGRIND
  93. TESTS_ENVIRONMENT=./valgrind-error.sh
  94. endif
  95. TEST_EXTENSIONS=.test
  96. TESTS += $(check_PROGRAMS)
  97. check_SCRIPTS+= $(dist_noinst_SCRIPTS)
  98. TESTS += $(check_SCRIPTS)
  99. test: check
  100. tests/unit.log: testsuite/testsuite.log
  101. DISTCLEANFILES+= cyassl-config
  102. DISTCLEANFILES+= wolfssl-config
  103. # fips files shouldn't be left after make distclean
  104. DISTCLEANFILES+= ctaocrypt/src/fips.c
  105. DISTCLEANFILES+= ctaocrypt/src/fips_test.c
  106. maintainer-clean-local:
  107. -rm Makefile.in
  108. -rm aclocal.m4
  109. -rm build-aux/compile
  110. -rm build-aux/config.guess
  111. -rm build-aux/config.sub
  112. -rm build-aux/depcomp
  113. -rm build-aux/install-sh
  114. -rm build-aux/ltmain.sh
  115. -rm build-aux/missing
  116. -rm cyassl-config
  117. -rmdir build-aux
  118. -rm configure
  119. -rm config.log
  120. -rm config.status
  121. -rm config.in
  122. -rm m4/libtool.m4
  123. -rm m4/ltoptions.m4
  124. -rm m4/ltsugar.m4
  125. -rm m4/ltversion.m4
  126. -rm m4/lt~obsolete.m4
  127. -rm support/wolfssl.pc
  128. find . -type f -name '*~' -exec rm -f '{}' \;
  129. -rm -f @PACKAGE@-*.tar.gz
  130. -rm -f @PACKAGE@-*.rpm
  131. # !!!! first line of rule has to start with a hard (real) tab, not spaces
  132. egs:
  133. $(MAKE) examples/client/client; \
  134. $(MAKE) examples/echoclient/echoclient;\
  135. $(MAKE) examples/server/server; \
  136. $(MAKE) examples/echoserver/echoserver;
  137. wc_egs:
  138. $(MAKE) wolfcrypt/test/testwolfcrypt; \
  139. $(MAKE) wolfcrypt/benchmark/benchmark;
  140. install-exec-local: install-generic-config
  141. install-generic-config:
  142. $(mkinstalldirs) $(DESTDIR)$(bindir)
  143. $(INSTALL_SCRIPT) @GENERIC_CONFIG@ $(DESTDIR)$(bindir)
  144. uninstall-local:
  145. -rm -f $(DESTDIR)$(bindir)/@GENERIC_CONFIG@
  146. merge-clean:
  147. @find ./ | $(GREP) \.gcda | xargs rm -f
  148. @find ./ | $(GREP) \.gcno | xargs rm -f
  149. @find ./ | $(GREP) \.gz | xargs rm -f
  150. @find ./ | $(GREP) \.orig | xargs rm -f
  151. @find ./ | $(GREP) \.rej | xargs rm -f
  152. @find ./ | $(GREP) \.rpm | xargs rm -f
  153. @find ./ | $(GREP) \.THIS | xargs rm -f
  154. @find ./ | $(GREP) \.OTHER | xargs rm -f
  155. @find ./ | $(GREP) \.BASE | xargs rm -f
  156. @find ./ | $(GREP) \~$$ | xargs rm -f