Makefile.am 4.3 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. noinst_SCRIPTS =
  21. check_SCRIPTS =
  22. #includes additional rules from aminclude.am
  23. @INC_AMINCLUDE@
  24. DISTCLEANFILES+= aminclude.am
  25. CLEANFILES+= cert.der \
  26. cert.pem \
  27. certecc.der \
  28. certecc.pem \
  29. certreq.der \
  30. certreq.pem \
  31. key.der \
  32. key.pem \
  33. ntru-cert.der \
  34. ntru-cert.pem \
  35. ntru-key.raw \
  36. othercert.der \
  37. othercert.pem \
  38. pkcs7cert.der \
  39. pkcs7envelopedData.der \
  40. pkcs7signedData.der
  41. exampledir = $(docdir)/example
  42. dist_example_DATA=
  43. ACLOCAL_AMFLAGS= -I m4
  44. EXTRA_DIST+= lib/dummy
  45. EXTRA_DIST+= wolfssl-ntru.vcproj
  46. EXTRA_DIST+= wolfssl.vcproj
  47. EXTRA_DIST+= wolfssl.vcxproj
  48. EXTRA_DIST+= wolfssl-ntru.sln
  49. EXTRA_DIST+= wolfssl.sln
  50. EXTRA_DIST+= wolfssl64.sln
  51. EXTRA_DIST+= valgrind-error.sh
  52. EXTRA_DIST+= gencertbuf.pl
  53. EXTRA_DIST+= README.md
  54. EXTRA_DIST+= LICENSING
  55. EXTRA_DIST+= INSTALL
  56. EXTRA_DIST+= IPP
  57. include wrapper/include.am
  58. include cyassl/include.am
  59. include wolfssl/include.am
  60. include certs/include.am
  61. include certs/1024/include.am
  62. include certs/crl/include.am
  63. include certs/external/include.am
  64. include certs/ocsp/include.am
  65. include doc/include.am
  66. include swig/include.am
  67. include src/include.am
  68. include support/include.am
  69. include wolfcrypt/user-crypto/include.am
  70. include wolfcrypt/benchmark/include.am
  71. include wolfcrypt/src/include.am
  72. include wolfcrypt/test/include.am
  73. include examples/include.am
  74. include testsuite/include.am
  75. include tests/include.am
  76. include sslSniffer/sslSnifferTest/include.am
  77. include rpm/include.am
  78. include mqx/util_lib/Sources/include.am
  79. include mqx/wolfcrypt_benchmark/Sources/include.am
  80. include mqx/wolfcrypt_test/Sources/include.am
  81. include mqx/wolfssl/include.am
  82. include mqx/wolfssl_client/Sources/include.am
  83. include mplabx/include.am
  84. include mplabx/wolfcrypt_benchmark.X/nbproject/include.am
  85. include mplabx/wolfcrypt_test.X/nbproject/include.am
  86. include mplabx/wolfssl.X/nbproject/include.am
  87. include mcapi/include.am
  88. include mcapi/wolfcrypt_mcapi.X/nbproject/include.am
  89. include mcapi/wolfcrypt_test.X/nbproject/include.am
  90. include mcapi/wolfssl.X/nbproject/include.am
  91. include mcapi/zlib.X/nbproject/include.am
  92. include tirtos/include.am
  93. include scripts/include.am
  94. include IDE/include.am
  95. if USE_VALGRIND
  96. TESTS_ENVIRONMENT=./valgrind-error.sh
  97. endif
  98. TEST_EXTENSIONS=.test
  99. TESTS += $(check_PROGRAMS)
  100. check_SCRIPTS+= $(dist_noinst_SCRIPTS)
  101. TESTS += $(check_SCRIPTS)
  102. test: check
  103. tests/unit.log: testsuite/testsuite.log
  104. DISTCLEANFILES+= cyassl-config
  105. DISTCLEANFILES+= wolfssl-config
  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