wolfssl/Makefile.am

176 lines
4.4 KiB
Makefile
Raw Normal View History

# includes append to these:
SUFFIXES =
TESTS =
CLEANFILES =
DISTCLEANFILES =
bin_PROGRAMS =
noinst_HEADERS =
lib_LTLIBRARIES =
man_MANS =
noinst_LTLIBRARIES =
noinst_PROGRAMS =
include_HEADERS =
nobase_include_HEADERS =
check_PROGRAMS =
EXTRA_HEADERS =
BUILT_SOURCES=
EXTRA_DIST=
2012-10-20 12:42:34 +04:00
dist_doc_DATA=
2011-02-05 22:14:47 +03:00
#includes additional rules from aminclude.am
2012-10-27 02:38:37 +04:00
@INC_AMINCLUDE@
DISTCLEANFILES+= aminclude.am
CLEANFILES+= cert.der \
cert.pem \
certecc.der \
certecc.pem \
certreq.der \
certreq.pem \
key.der \
key.pem \
ntru-cert.der \
ntru-cert.pem \
ntru-key.raw \
othercert.der \
othercert.pem \
pkcs7cert.der \
pkcs7envelopedData.der \
pkcs7signedData.der
2012-10-20 12:42:34 +04:00
exampledir = $(docdir)/example
dist_example_DATA=
ACLOCAL_AMFLAGS= -I m4
EXTRA_DIST+= lib/dummy
EXTRA_DIST+= cyassl-ntru.vcproj
EXTRA_DIST+= cyassl.vcproj
EXTRA_DIST+= cyassl.vcxproj
EXTRA_DIST+= cyassl-iphone.xcodeproj/project.pbxproj
EXTRA_DIST+= cyassl-ios.xcodeproj/project.pbxproj
EXTRA_DIST+= cyassl-ntru.sln
EXTRA_DIST+= cyassl.sln
EXTRA_DIST+= cyassl64.sln
2012-12-21 06:29:25 +04:00
EXTRA_DIST+= valgrind-error.sh
EXTRA_DIST+= gencertbuf.pl
2013-06-24 23:00:21 +04:00
EXTRA_DIST+= IDE
2014-10-23 00:26:20 +04:00
EXTRA_DIST+= README.md
EXTRA_DIST+= LICENSING
2014-12-20 01:30:07 +03:00
include cyassl/include.am
2014-12-29 20:27:03 +03:00
include wolfssl/include.am
include certs/include.am
include certs/1024/include.am
2012-05-17 04:04:56 +04:00
include certs/crl/include.am
include doc/include.am
include swig/include.am
2011-02-08 23:52:19 +03:00
2011-04-27 04:45:41 +04:00
include src/include.am
2013-08-06 22:29:37 +04:00
include support/include.am
2014-12-29 20:27:03 +03:00
include wolfcrypt/benchmark/include.am
include wolfcrypt/src/include.am
include wolfcrypt/test/include.am
2014-12-30 23:50:40 +03:00
if BUILD_FIPS
include ctaocrypt/src/include.am
endif
2011-04-27 04:45:41 +04:00
include examples/client/include.am
include examples/server/include.am
include examples/echoclient/include.am
include examples/echoserver/include.am
include testsuite/include.am
2011-12-14 21:20:46 +04:00
include tests/include.am
2011-04-27 04:45:41 +04:00
include sslSniffer/sslSnifferTest/include.am
2012-10-20 12:42:34 +04:00
include rpm/include.am
# TODO: fix, this commented out mqx ones have spaces in file names
#include mqx/wolfcrypt_test/Sources/include.am
include mqx/cyassl/include.am
#include mqx/cyassl_client/Sources/include.am
include mqx/util_lib/Sources/include.am
include mplabx/include.am
include mplabx/ctaocrypt_benchmark.X/nbproject/include.am
include mplabx/ctaocrypt_test.X/nbproject/include.am
include mplabx/cyassl.X/nbproject/include.am
2013-03-20 21:14:06 +04:00
include mcapi/include.am
2013-03-28 21:12:19 +04:00
include mcapi/ctaocrypt_mcapi.X/nbproject/include.am
include mcapi/ctaocrypt_test.X/nbproject/include.am
include mcapi/cyassl.X/nbproject/include.am
include mcapi/zlib.X/nbproject/include.am
2014-07-30 03:34:12 +04:00
include tirtos/include.am
2011-04-27 04:45:41 +04:00
2012-12-05 09:28:18 +04:00
if USE_VALGRIND
TESTS_ENVIRONMENT=./valgrind-error.sh
endif
2014-03-07 09:34:33 +04:00
TEST_EXTENSIONS=.test
2014-07-15 02:19:31 +04:00
TESTS += $(check_PROGRAMS)
test: check
2014-03-08 02:29:37 +04:00
tests/unit.log: testsuite/testsuite.log
DISTCLEANFILES+= cyassl-config
2015-01-06 02:58:28 +03:00
DISTCLEANFILES+= wolfssl-config
# fips files shouldn't be left after make distclean
DISTCLEANFILES+= ctaocrypt/src/fips.c
DISTCLEANFILES+= ctaocrypt/src/fips_test.c
maintainer-clean-local:
-rm Makefile.in
-rm aclocal.m4
-rm build-aux/compile
-rm build-aux/config.guess
-rm build-aux/config.sub
-rm build-aux/depcomp
-rm build-aux/install-sh
-rm build-aux/ltmain.sh
-rm build-aux/missing
-rm cyassl-config
-rmdir build-aux
-rm configure
-rm config.log
-rm config.status
-rm config.in
-rm m4/libtool.m4
-rm m4/ltoptions.m4
-rm m4/ltsugar.m4
-rm m4/ltversion.m4
-rm m4/lt~obsolete.m4
2015-01-01 17:33:07 +03:00
-rm support/wolfssl.pc
find . -type f -name '*~' -exec rm -f '{}' \;
-rm -f @PACKAGE@-*.tar.gz
-rm -f @PACKAGE@-*.rpm
2011-02-05 22:14:47 +03:00
# !!!! first line of rule has to start with a hard (real) tab, not spaces
egs:
$(MAKE) examples/client/client; \
$(MAKE) examples/echoclient/echoclient;\
$(MAKE) examples/server/server; \
$(MAKE) examples/echoserver/echoserver;
ctc:
$(MAKE) ctaocrypt/test/testctaocrypt; \
$(MAKE) ctaocrypt/benchmark/benchmark;
install-exec-local: install-generic-config
install-generic-config:
$(mkinstalldirs) $(DESTDIR)$(bindir)
$(INSTALL_SCRIPT) @GENERIC_CONFIG@ $(DESTDIR)$(bindir)
2013-01-16 01:21:26 +04:00
uninstall-local:
-rm -f $(DESTDIR)$(bindir)/@GENERIC_CONFIG@
merge-clean:
@find ./ | $(GREP) \.gcda | xargs rm -f
@find ./ | $(GREP) \.gcno | xargs rm -f
@find ./ | $(GREP) \.gz | xargs rm -f
@find ./ | $(GREP) \.orig | xargs rm -f
@find ./ | $(GREP) \.rej | xargs rm -f
@find ./ | $(GREP) \.rpm | xargs rm -f
@find ./ | $(GREP) \.THIS | xargs rm -f
@find ./ | $(GREP) \.OTHER | xargs rm -f
@find ./ | $(GREP) \.BASE | xargs rm -f
@find ./ | $(GREP) \~$$ | xargs rm -f