2011-08-24 15:54:58 -07:00
|
|
|
# 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 04:42:34 -04:00
|
|
|
dist_doc_DATA=
|
2011-02-05 11:14:47 -08:00
|
|
|
|
2012-10-26 00:35:52 -04:00
|
|
|
#includes additional rules from aminclude.am
|
2012-10-26 15:38:37 -07:00
|
|
|
@INC_AMINCLUDE@
|
2012-10-26 00:35:52 -04:00
|
|
|
DISTCLEANFILES+= aminclude.am
|
|
|
|
|
2012-10-20 04:42:34 -04:00
|
|
|
exampledir = $(docdir)/example
|
|
|
|
dist_example_DATA=
|
2011-08-24 15:54:58 -07:00
|
|
|
|
2012-10-19 00:30:21 -04:00
|
|
|
ACLOCAL_AMFLAGS= -I m4
|
2011-08-24 15:54:58 -07:00
|
|
|
|
|
|
|
EXTRA_DIST+= lib/dummy
|
|
|
|
|
|
|
|
EXTRA_DIST+= cyassl-ntru.vcproj
|
|
|
|
EXTRA_DIST+= cyassl.vcproj
|
|
|
|
EXTRA_DIST+= cyassl-iphone.xcodeproj/project.pbxproj
|
2013-03-18 09:49:23 -07:00
|
|
|
EXTRA_DIST+= cyassl-ios.xcodeproj/project.pbxproj
|
2011-08-24 15:54:58 -07:00
|
|
|
EXTRA_DIST+= cyassl-ntru.sln
|
|
|
|
EXTRA_DIST+= cyassl.sln
|
2012-12-20 18:29:25 -08:00
|
|
|
EXTRA_DIST+= valgrind-error.sh
|
2013-01-28 17:15:28 -07:00
|
|
|
EXTRA_DIST+= gencertbuf.pl
|
2013-06-24 12:00:21 -07:00
|
|
|
EXTRA_DIST+= IDE
|
2011-08-24 15:54:58 -07:00
|
|
|
|
|
|
|
include cyassl/include.am
|
|
|
|
include certs/include.am
|
2013-01-28 17:15:28 -07:00
|
|
|
include certs/1024/include.am
|
2012-05-16 17:04:56 -07:00
|
|
|
include certs/crl/include.am
|
2011-08-24 15:54:58 -07:00
|
|
|
include doc/include.am
|
|
|
|
include swig/include.am
|
2011-02-08 12:52:19 -08:00
|
|
|
|
2011-04-26 17:45:41 -07:00
|
|
|
include src/include.am
|
2013-08-06 11:29:37 -07:00
|
|
|
include support/include.am
|
2011-04-26 17:45:41 -07:00
|
|
|
include ctaocrypt/benchmark/include.am
|
2011-08-24 15:54:58 -07:00
|
|
|
include ctaocrypt/src/include.am
|
|
|
|
include ctaocrypt/test/include.am
|
2011-04-26 17:45:41 -07: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 09:20:46 -08:00
|
|
|
include tests/include.am
|
2011-04-26 17:45:41 -07:00
|
|
|
include sslSniffer/sslSnifferTest/include.am
|
2012-10-20 04:42:34 -04:00
|
|
|
include rpm/include.am
|
2013-01-31 10:20:29 -07:00
|
|
|
include mqx/ctaocrypt_test/Sources/include.am
|
|
|
|
include mqx/cyassl/include.am
|
|
|
|
include mqx/cyassl_client/Sources/include.am
|
|
|
|
include mqx/util_lib/Sources/include.am
|
2013-12-02 15:31:48 -07:00
|
|
|
include mplabx/include.am
|
2013-01-30 18:02:18 -07:00
|
|
|
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 10:14:06 -07:00
|
|
|
include mcapi/include.am
|
2013-03-28 11:12:19 -06: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
|
2011-04-26 17:45:41 -07:00
|
|
|
|
2012-12-04 21:28:18 -08:00
|
|
|
if USE_VALGRIND
|
|
|
|
TESTS_ENVIRONMENT=./valgrind-error.sh
|
|
|
|
endif
|
|
|
|
|
2014-03-06 21:34:33 -08:00
|
|
|
TEST_EXTENSIONS=.test
|
2011-08-24 15:54:58 -07:00
|
|
|
TESTS += $(check_PROGRAMS)
|
|
|
|
test: check
|
2014-03-07 14:29:37 -08:00
|
|
|
tests/unit.log: testsuite/testsuite.log
|
2011-04-29 15:20:23 -07:00
|
|
|
|
2012-12-06 10:01:01 -08:00
|
|
|
DISTCLEANFILES+= cyassl-config
|
|
|
|
|
2012-10-19 00:30:21 -04:00
|
|
|
maintainer-clean-local:
|
|
|
|
-rm Makefile.in
|
|
|
|
-rm aclocal.m4
|
2012-10-26 00:35:52 -04:00
|
|
|
-rm build-aux/compile
|
2012-10-19 00:30:21 -04:00
|
|
|
-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
|
2012-10-26 02:06:06 -04:00
|
|
|
-rm cyassl-config
|
2012-10-19 00:30:21 -04:00
|
|
|
-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
|
2013-08-06 11:29:37 -07:00
|
|
|
-rm support/cyassl.pc
|
2012-10-19 00:30:21 -04:00
|
|
|
find . -type f -name '*~' -exec rm -f '{}' \;
|
|
|
|
-rm -f @PACKAGE@-*.tar.gz
|
|
|
|
-rm -f @PACKAGE@-*.rpm
|
|
|
|
|
2011-02-05 11:14:47 -08:00
|
|
|
# !!!! first line of rule has to start with a hard (real) tab, not spaces
|
2011-09-28 12:10:07 -07:00
|
|
|
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;
|
2011-08-24 15:54:58 -07:00
|
|
|
|
2012-10-26 02:06:06 -04:00
|
|
|
install-exec-local: install-generic-config
|
|
|
|
|
|
|
|
install-generic-config:
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
|
|
|
$(INSTALL_SCRIPT) @GENERIC_CONFIG@ $(DESTDIR)$(bindir)
|
|
|
|
|
2013-01-15 13:21:26 -08:00
|
|
|
uninstall-local:
|
|
|
|
-rm -f $(DESTDIR)$(bindir)/@GENERIC_CONFIG@
|
|
|
|
|
2011-08-24 15:54:58 -07:00
|
|
|
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
|