]> git.sur5r.net Git - freertos/blob - FreeRTOS-Plus/Source/WolfSSL/Makefile.am
Rename the CyaSSL directory to WolfSSL
[freertos] / FreeRTOS-Plus / Source / WolfSSL / Makefile.am
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
20 #includes additional rules from aminclude.am
21 @INC_AMINCLUDE@
22 DISTCLEANFILES+= aminclude.am
23
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
41 exampledir = $(docdir)/example
42 dist_example_DATA=
43
44 ACLOCAL_AMFLAGS= -I m4
45
46 EXTRA_DIST+= lib/dummy
47
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
58 EXTRA_DIST+= IDE 
59
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
66
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
93
94 if USE_VALGRIND
95 TESTS_ENVIRONMENT=./valgrind-error.sh
96 endif
97
98 TEST_EXTENSIONS=.test
99 TESTS += $(check_PROGRAMS)
100 test: check
101 tests/unit.log: testsuite/testsuite.log
102
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
107
108 maintainer-clean-local:
109         -rm Makefile.in
110         -rm aclocal.m4
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
118         -rm cyassl-config
119         -rmdir build-aux
120         -rm configure
121         -rm config.log
122         -rm config.status
123         -rm config.in
124         -rm m4/libtool.m4
125         -rm m4/ltoptions.m4
126         -rm m4/ltsugar.m4
127         -rm m4/ltversion.m4
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
133
134 # !!!! first line of rule has to start with a hard (real) tab, not spaces
135 egs:
136         $(MAKE) examples/client/client; \
137         $(MAKE) examples/echoclient/echoclient;\
138         $(MAKE) examples/server/server; \
139         $(MAKE) examples/echoserver/echoserver;
140
141 ctc:
142         $(MAKE) ctaocrypt/test/testctaocrypt; \
143         $(MAKE) ctaocrypt/benchmark/benchmark; 
144
145 install-exec-local:     install-generic-config
146
147 install-generic-config:
148         $(mkinstalldirs) $(DESTDIR)$(bindir)
149         $(INSTALL_SCRIPT) @GENERIC_CONFIG@ $(DESTDIR)$(bindir)
150
151 uninstall-local:
152         -rm -f $(DESTDIR)$(bindir)/@GENERIC_CONFIG@
153
154 merge-clean:
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