Makefile.am 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  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. ecc-key-pkcs8.der \
  35. ntru-cert.pem \
  36. ntru-key.raw \
  37. othercert.der \
  38. othercert.pem \
  39. pkcs7cert.der \
  40. pkcs7encryptedDataAES128CBC.der \
  41. pkcs7encryptedDataAES192CBC.der \
  42. pkcs7encryptedDataAES256CBC_attribs.der \
  43. pkcs7encryptedDataAES256CBC.der \
  44. pkcs7encryptedDataAES256CBC_multi_attribs.der \
  45. pkcs7encryptedDataDES3.der \
  46. pkcs7encryptedDataDES.der \
  47. pkcs7envelopedDataAES256CBC_ECDH.der \
  48. pkcs7envelopedDataAES128CBC_ECDH_SHA1KDF.der \
  49. pkcs7envelopedDataAES256CBC_ECDH_SHA256KDF.der \
  50. pkcs7envelopedDataAES256CBC_ECDH_SHA512KDF.der \
  51. pkcs7envelopedDataAES256CBC_ECDH_SHA512KDF_ukm.der \
  52. pkcs7envelopedDataDES3.der \
  53. pkcs7envelopedDataAES128CBC.der \
  54. pkcs7envelopedDataAES192CBC.der \
  55. pkcs7envelopedDataAES256CBC.der \
  56. pkcs7signedData_RSA_SHA.der \
  57. pkcs7signedData_RSA_SHA_noattr.der \
  58. pkcs7signedData_RSA_SHA224.der \
  59. pkcs7signedData_RSA_SHA256.der \
  60. pkcs7signedData_RSA_SHA384.der \
  61. pkcs7signedData_RSA_SHA512.der \
  62. pkcs7signedData_ECDSA_SHA.der \
  63. pkcs7signedData_ECDSA_SHA_noattr.der \
  64. pkcs7signedData_ECDSA_SHA224.der \
  65. pkcs7signedData_ECDSA_SHA256.der \
  66. pkcs7signedData_ECDSA_SHA384.der \
  67. pkcs7signedData_ECDSA_SHA512.der
  68. exampledir = $(docdir)/example
  69. dist_example_DATA=
  70. ACLOCAL_AMFLAGS= -I m4
  71. EXTRA_DIST+= lib/dummy
  72. EXTRA_DIST+= wolfssl-ntru.vcproj
  73. EXTRA_DIST+= wolfssl.vcproj
  74. EXTRA_DIST+= wolfssl.vcxproj
  75. EXTRA_DIST+= wolfssl-ntru.sln
  76. EXTRA_DIST+= wolfssl.sln
  77. EXTRA_DIST+= wolfssl64.sln
  78. EXTRA_DIST+= valgrind-error.sh
  79. EXTRA_DIST+= gencertbuf.pl
  80. EXTRA_DIST+= README.md
  81. EXTRA_DIST+= README
  82. EXTRA_DIST+= ChangeLog.md
  83. EXTRA_DIST+= LICENSING
  84. EXTRA_DIST+= INSTALL
  85. EXTRA_DIST+= IPP
  86. EXTRA_DIST+= .cproject
  87. EXTRA_DIST+= .project
  88. include wrapper/include.am
  89. include cyassl/include.am
  90. include wolfssl/include.am
  91. include certs/include.am
  92. include doc/include.am
  93. include swig/include.am
  94. include src/include.am
  95. include support/include.am
  96. include wolfcrypt/user-crypto/include.am
  97. include wolfcrypt/benchmark/include.am
  98. include wolfcrypt/src/include.am
  99. include wolfcrypt/test/include.am
  100. include examples/include.am
  101. include testsuite/include.am
  102. include tests/include.am
  103. include sslSniffer/sslSnifferTest/include.am
  104. include rpm/include.am
  105. # Exclude references to non-DFSG sources from build files
  106. if !BUILD_DISTRO
  107. include mqx/util_lib/Sources/include.am
  108. include mqx/wolfcrypt_benchmark/Sources/include.am
  109. include mqx/wolfcrypt_test/Sources/include.am
  110. include mqx/wolfssl/include.am
  111. include mqx/wolfssl_client/Sources/include.am
  112. include mplabx/include.am
  113. include mplabx/wolfcrypt_benchmark.X/nbproject/include.am
  114. include mplabx/wolfcrypt_test.X/nbproject/include.am
  115. include mplabx/wolfssl.X/nbproject/include.am
  116. include mcapi/include.am
  117. include mcapi/wolfcrypt_mcapi.X/nbproject/include.am
  118. include mcapi/wolfcrypt_test.X/nbproject/include.am
  119. include mcapi/wolfssl.X/nbproject/include.am
  120. include mcapi/zlib.X/nbproject/include.am
  121. include tirtos/include.am
  122. include IDE/include.am
  123. endif
  124. include scripts/include.am
  125. if USE_VALGRIND
  126. TESTS_ENVIRONMENT=./valgrind-error.sh
  127. endif
  128. TEST_EXTENSIONS=.test
  129. TESTS += $(check_PROGRAMS)
  130. check_SCRIPTS+= $(dist_noinst_SCRIPTS)
  131. TESTS += $(check_SCRIPTS)
  132. test: check
  133. tests/unit.log: testsuite/testsuite.log
  134. DISTCLEANFILES+= cyassl-config
  135. DISTCLEANFILES+= wolfssl-config
  136. maintainer-clean-local:
  137. -rm Makefile.in
  138. -rm aclocal.m4
  139. -rm build-aux/compile
  140. -rm build-aux/config.guess
  141. -rm build-aux/config.sub
  142. -rm build-aux/depcomp
  143. -rm build-aux/install-sh
  144. -rm build-aux/ltmain.sh
  145. -rm build-aux/missing
  146. -rm cyassl-config
  147. -rmdir build-aux
  148. -rm configure
  149. -rm config.log
  150. -rm config.status
  151. -rm config.in
  152. -rm m4/libtool.m4
  153. -rm m4/ltoptions.m4
  154. -rm m4/ltsugar.m4
  155. -rm m4/ltversion.m4
  156. -rm m4/lt~obsolete.m4
  157. -rm support/wolfssl.pc
  158. find . -type f -name '*~' -exec rm -f '{}' \;
  159. -rm -f @PACKAGE@-*.tar.gz
  160. -rm -f @PACKAGE@-*.rpm
  161. # !!!! first line of rule has to start with a hard (real) tab, not spaces
  162. egs:
  163. $(MAKE) examples/client/client; \
  164. $(MAKE) examples/echoclient/echoclient;\
  165. $(MAKE) examples/server/server; \
  166. $(MAKE) examples/echoserver/echoserver;
  167. wc_egs:
  168. $(MAKE) wolfcrypt/test/testwolfcrypt; \
  169. $(MAKE) wolfcrypt/benchmark/benchmark;
  170. install-exec-local: install-generic-config
  171. install-generic-config:
  172. $(mkinstalldirs) $(DESTDIR)$(bindir)
  173. $(INSTALL_SCRIPT) @GENERIC_CONFIG@ $(DESTDIR)$(bindir)
  174. uninstall-local:
  175. -rm -f $(DESTDIR)$(bindir)/@GENERIC_CONFIG@
  176. merge-clean:
  177. @find ./ | $(GREP) \.gcda | xargs rm -f
  178. @find ./ | $(GREP) \.gcno | xargs rm -f
  179. @find ./ | $(GREP) \.gz | xargs rm -f
  180. @find ./ | $(GREP) \.orig | xargs rm -f
  181. @find ./ | $(GREP) \.rej | xargs rm -f
  182. @find ./ | $(GREP) \.rpm | xargs rm -f
  183. @find ./ | $(GREP) \.THIS | xargs rm -f
  184. @find ./ | $(GREP) \.OTHER | xargs rm -f
  185. @find ./ | $(GREP) \.BASE | xargs rm -f
  186. @find ./ | $(GREP) \~$$ | xargs rm -f