1 # includes append to these:
13 nobase_include_HEADERS =
20 #includes additional rules from aminclude.am
22 DISTCLEANFILES+= aminclude.am
24 CLEANFILES+= cert.der \
38 pkcs7envelopedData.der \
41 exampledir = $(docdir)/example
44 ACLOCAL_AMFLAGS= -I m4
46 EXTRA_DIST+= lib/dummy
48 EXTRA_DIST+= cyassl-ntru.vcproj
49 EXTRA_DIST+= cyassl.vcproj
50 EXTRA_DIST+= cyassl.vcxproj
51 EXTRA_DIST+= cyassl-iphone.xcodeproj/project.pbxproj
52 EXTRA_DIST+= cyassl-ios.xcodeproj/project.pbxproj
53 EXTRA_DIST+= cyassl-ntru.sln
54 EXTRA_DIST+= cyassl.sln
55 EXTRA_DIST+= cyassl64.sln
56 EXTRA_DIST+= valgrind-error.sh
57 EXTRA_DIST+= gencertbuf.pl
60 include cyassl/include.am
61 include certs/include.am
62 include certs/1024/include.am
63 include certs/crl/include.am
64 include doc/include.am
65 include swig/include.am
67 include src/include.am
68 include support/include.am
69 include ctaocrypt/benchmark/include.am
70 include ctaocrypt/src/include.am
71 include ctaocrypt/test/include.am
72 include examples/client/include.am
73 include examples/server/include.am
74 include examples/echoclient/include.am
75 include examples/echoserver/include.am
76 include testsuite/include.am
77 include tests/include.am
78 include sslSniffer/sslSnifferTest/include.am
79 include rpm/include.am
80 include mqx/ctaocrypt_test/Sources/include.am
81 include mqx/cyassl/include.am
82 include mqx/cyassl_client/Sources/include.am
83 include mqx/util_lib/Sources/include.am
84 include mplabx/include.am
85 include mplabx/ctaocrypt_benchmark.X/nbproject/include.am
86 include mplabx/ctaocrypt_test.X/nbproject/include.am
87 include mplabx/cyassl.X/nbproject/include.am
88 include mcapi/include.am
89 include mcapi/ctaocrypt_mcapi.X/nbproject/include.am
90 include mcapi/ctaocrypt_test.X/nbproject/include.am
91 include mcapi/cyassl.X/nbproject/include.am
92 include mcapi/zlib.X/nbproject/include.am
95 TESTS_ENVIRONMENT=./valgrind-error.sh
99 TESTS += $(check_PROGRAMS)
101 tests/unit.log: testsuite/testsuite.log
103 DISTCLEANFILES+= cyassl-config
104 # fips files shouldn't be left after make distclean
105 DISTCLEANFILES+= ctaocrypt/src/fips.c
106 DISTCLEANFILES+= ctaocrypt/src/fips_test.c
108 maintainer-clean-local:
111 -rm build-aux/compile
112 -rm build-aux/config.guess
113 -rm build-aux/config.sub
114 -rm build-aux/depcomp
115 -rm build-aux/install-sh
116 -rm build-aux/ltmain.sh
117 -rm build-aux/missing
128 -rm m4/lt~obsolete.m4
129 -rm support/cyassl.pc
130 find . -type f -name '*~' -exec rm -f '{}' \;
131 -rm -f @PACKAGE@-*.tar.gz
132 -rm -f @PACKAGE@-*.rpm
134 # !!!! first line of rule has to start with a hard (real) tab, not spaces
136 $(MAKE) examples/client/client; \
137 $(MAKE) examples/echoclient/echoclient;\
138 $(MAKE) examples/server/server; \
139 $(MAKE) examples/echoserver/echoserver;
142 $(MAKE) ctaocrypt/test/testctaocrypt; \
143 $(MAKE) ctaocrypt/benchmark/benchmark;
145 install-exec-local: install-generic-config
147 install-generic-config:
148 $(mkinstalldirs) $(DESTDIR)$(bindir)
149 $(INSTALL_SCRIPT) @GENERIC_CONFIG@ $(DESTDIR)$(bindir)
152 -rm -f $(DESTDIR)$(bindir)/@GENERIC_CONFIG@
155 @find ./ | $(GREP) \.gcda | xargs rm -f
156 @find ./ | $(GREP) \.gcno | xargs rm -f
157 @find ./ | $(GREP) \.gz | xargs rm -f
158 @find ./ | $(GREP) \.orig | xargs rm -f
159 @find ./ | $(GREP) \.rej | xargs rm -f
160 @find ./ | $(GREP) \.rpm | xargs rm -f
161 @find ./ | $(GREP) \.THIS | xargs rm -f
162 @find ./ | $(GREP) \.OTHER | xargs rm -f
163 @find ./ | $(GREP) \.BASE | xargs rm -f
164 @find ./ | $(GREP) \~$$ | xargs rm -f