2011-06-08 13:49:15 +00:00
|
|
|
ipseclib_LTLIBRARIES = libstrongswan.la
|
2006-05-16 14:24:03 +00:00
|
|
|
|
2009-06-19 14:39:44 +00:00
|
|
|
libstrongswan_la_SOURCES = \
|
2012-10-16 14:08:43 +00:00
|
|
|
library.c \
|
2012-10-16 08:57:02 +00:00
|
|
|
asn1/asn1.c asn1/asn1_parser.c asn1/oid.c bio/bio_reader.c bio/bio_writer.c \
|
2012-10-16 12:54:16 +00:00
|
|
|
collections/blocking_queue.c collections/enumerator.c collections/hashtable.c \
|
2013-07-11 09:44:33 +00:00
|
|
|
collections/array.c \
|
2012-11-29 10:52:27 +00:00
|
|
|
collections/linked_list.c crypto/crypters/crypter.c crypto/hashers/hasher.c \
|
2012-08-24 12:56:42 +00:00
|
|
|
crypto/proposal/proposal_keywords.c crypto/proposal/proposal_keywords_static.c \
|
2013-04-08 16:13:03 +00:00
|
|
|
crypto/prfs/prf.c crypto/prfs/mac_prf.c crypto/pkcs5.c \
|
2012-07-03 15:27:46 +00:00
|
|
|
crypto/rngs/rng.c crypto/prf_plus.c crypto/signers/signer.c \
|
|
|
|
crypto/signers/mac_signer.c crypto/crypto_factory.c crypto/crypto_tester.c \
|
|
|
|
crypto/diffie_hellman.c crypto/aead.c crypto/transform.c \
|
2013-08-05 12:43:50 +00:00
|
|
|
crypto/iv/iv_gen_rand.c crypto/iv/iv_gen_seq.c \
|
2012-07-03 15:27:46 +00:00
|
|
|
credentials/credential_factory.c credentials/builder.c \
|
|
|
|
credentials/cred_encoding.c credentials/keys/private_key.c \
|
|
|
|
credentials/keys/public_key.c credentials/keys/shared_key.c \
|
|
|
|
credentials/certificates/certificate.c credentials/certificates/crl.c \
|
|
|
|
credentials/certificates/ocsp_response.c \
|
2013-04-11 13:02:28 +00:00
|
|
|
credentials/containers/container.c credentials/containers/pkcs12.c \
|
2014-02-04 15:11:37 +00:00
|
|
|
credentials/credential_manager.c \
|
2012-07-03 15:27:46 +00:00
|
|
|
credentials/sets/auth_cfg_wrapper.c credentials/sets/ocsp_response_wrapper.c \
|
|
|
|
credentials/sets/cert_cache.c credentials/sets/mem_cred.c \
|
|
|
|
credentials/sets/callback_cred.c credentials/auth_cfg.c database/database.c \
|
2012-07-11 21:13:55 +00:00
|
|
|
database/database_factory.c fetcher/fetcher.c fetcher/fetcher_manager.c eap/eap.c \
|
2012-07-13 09:02:08 +00:00
|
|
|
ipsec/ipsec_types.c \
|
2012-10-16 12:33:28 +00:00
|
|
|
networking/host.c networking/host_resolver.c networking/packet.c \
|
2013-10-11 13:32:10 +00:00
|
|
|
networking/tun_device.c networking/streams/stream_manager.c \
|
|
|
|
networking/streams/stream.c networking/streams/stream_service.c \
|
|
|
|
networking/streams/stream_tcp.c networking/streams/stream_service_tcp.c \
|
2012-07-11 21:13:55 +00:00
|
|
|
pen/pen.c plugins/plugin_loader.c plugins/plugin_feature.c processing/jobs/job.c \
|
2012-07-03 15:27:46 +00:00
|
|
|
processing/jobs/callback_job.c processing/processor.c processing/scheduler.c \
|
2013-06-24 12:58:01 +00:00
|
|
|
processing/watcher.c resolver/resolver_manager.c resolver/rr_set.c \
|
2014-03-07 16:13:31 +00:00
|
|
|
selectors/traffic_selector.c settings/settings.c settings/settings_types.c \
|
2014-03-07 16:21:19 +00:00
|
|
|
settings/settings_parser.y settings/settings_lexer.l \
|
2012-10-16 14:17:57 +00:00
|
|
|
utils/utils.c utils/chunk.c utils/debug.c utils/enum.c utils/identification.c \
|
2012-10-16 14:03:21 +00:00
|
|
|
utils/lexparser.c utils/optionsfrom.c utils/capabilities.c utils/backtrace.c \
|
2014-03-07 16:04:01 +00:00
|
|
|
utils/parser_helper.c utils/test.c utils/utils/strerror.c
|
2010-07-15 12:26:19 +00:00
|
|
|
|
2013-10-11 13:32:10 +00:00
|
|
|
if !USE_WINDOWS
|
|
|
|
libstrongswan_la_SOURCES += \
|
2013-10-21 16:07:51 +00:00
|
|
|
threading/thread.c \
|
|
|
|
threading/thread_value.c \
|
|
|
|
threading/mutex.c \
|
|
|
|
threading/rwlock.c \
|
|
|
|
threading/spinlock.c \
|
|
|
|
threading/semaphore.c \
|
2013-10-11 13:32:10 +00:00
|
|
|
networking/streams/stream_unix.c \
|
|
|
|
networking/streams/stream_service_unix.c
|
|
|
|
endif
|
|
|
|
|
2014-03-07 16:13:31 +00:00
|
|
|
# private header files
|
|
|
|
noinst_HEADERS = \
|
|
|
|
settings/settings_types.h
|
|
|
|
|
2012-07-11 09:16:31 +00:00
|
|
|
if USE_DEV_HEADERS
|
|
|
|
strongswan_includedir = ${dev_headers}
|
2012-07-03 15:27:46 +00:00
|
|
|
nobase_strongswan_include_HEADERS = \
|
2012-10-16 14:08:43 +00:00
|
|
|
library.h \
|
2012-07-03 15:27:46 +00:00
|
|
|
asn1/asn1.h asn1/asn1_parser.h asn1/oid.h bio/bio_reader.h bio/bio_writer.h \
|
2012-10-16 12:54:16 +00:00
|
|
|
collections/blocking_queue.h collections/enumerator.h collections/hashtable.h \
|
2013-07-11 09:44:33 +00:00
|
|
|
collections/linked_list.h collections/array.h \
|
2012-07-03 15:27:46 +00:00
|
|
|
crypto/crypters/crypter.h crypto/hashers/hasher.h crypto/mac.h \
|
2012-11-29 10:52:27 +00:00
|
|
|
crypto/proposal/proposal_keywords.h crypto/proposal/proposal_keywords_static.h \
|
2012-07-03 15:27:46 +00:00
|
|
|
crypto/prfs/prf.h crypto/prfs/mac_prf.h crypto/rngs/rng.h crypto/nonce_gen.h \
|
|
|
|
crypto/prf_plus.h crypto/signers/signer.h crypto/signers/mac_signer.h \
|
|
|
|
crypto/crypto_factory.h crypto/crypto_tester.h crypto/diffie_hellman.h \
|
2013-08-05 12:10:47 +00:00
|
|
|
crypto/aead.h crypto/transform.h crypto/pkcs5.h crypto/iv/iv_gen.h \
|
2013-10-11 15:22:30 +00:00
|
|
|
crypto/iv/iv_gen_rand.h crypto/iv/iv_gen_seq.h \
|
2012-07-03 15:27:46 +00:00
|
|
|
credentials/credential_factory.h credentials/builder.h \
|
|
|
|
credentials/cred_encoding.h credentials/keys/private_key.h \
|
|
|
|
credentials/keys/public_key.h credentials/keys/shared_key.h \
|
|
|
|
credentials/certificates/certificate.h credentials/certificates/x509.h \
|
|
|
|
credentials/certificates/ac.h credentials/certificates/crl.h \
|
|
|
|
credentials/certificates/pkcs10.h credentials/certificates/ocsp_request.h \
|
|
|
|
credentials/certificates/ocsp_response.h \
|
|
|
|
credentials/certificates/pgp_certificate.h \
|
2012-11-26 11:04:16 +00:00
|
|
|
credentials/containers/container.h credentials/containers/pkcs7.h \
|
2013-04-11 13:02:28 +00:00
|
|
|
credentials/containers/pkcs12.h \
|
2012-07-03 15:27:46 +00:00
|
|
|
credentials/credential_manager.h credentials/sets/auth_cfg_wrapper.h \
|
|
|
|
credentials/sets/ocsp_response_wrapper.h credentials/sets/cert_cache.h \
|
|
|
|
credentials/sets/mem_cred.h credentials/sets/callback_cred.h \
|
|
|
|
credentials/auth_cfg.h credentials/credential_set.h credentials/cert_validator.h \
|
2012-07-11 21:13:55 +00:00
|
|
|
database/database.h database/database_factory.h fetcher/fetcher.h \
|
2012-07-13 09:02:08 +00:00
|
|
|
fetcher/fetcher_manager.h eap/eap.h pen/pen.h ipsec/ipsec_types.h \
|
2012-10-16 12:33:28 +00:00
|
|
|
networking/host.h networking/host_resolver.h networking/packet.h \
|
2013-06-26 15:03:19 +00:00
|
|
|
networking/tun_device.h networking/streams/stream.h \
|
2013-10-11 13:32:10 +00:00
|
|
|
networking/streams/stream_unix.h networking/streams/stream_service_unix.h \
|
|
|
|
networking/streams/stream_tcp.h networking/streams/stream_service_tcp.h \
|
2013-06-26 15:28:19 +00:00
|
|
|
networking/streams/stream_service.h networking/streams/stream_manager.h \
|
2012-03-20 17:49:54 +00:00
|
|
|
resolver/resolver.h resolver/resolver_response.h resolver/rr_set.h \
|
2012-03-23 10:36:49 +00:00
|
|
|
resolver/rr.h resolver/resolver_manager.h \
|
2012-08-14 08:21:28 +00:00
|
|
|
plugins/plugin_loader.h plugins/plugin.h plugins/plugin_feature.h \
|
|
|
|
processing/jobs/job.h processing/jobs/callback_job.h processing/processor.h \
|
2013-06-24 12:58:01 +00:00
|
|
|
processing/scheduler.h processing/watcher.h selectors/traffic_selector.h \
|
2013-10-21 16:07:51 +00:00
|
|
|
settings/settings.h threading/thread_value.h \
|
|
|
|
threading/thread.h threading/windows/thread.h \
|
2012-07-11 21:13:55 +00:00
|
|
|
threading/mutex.h threading/condvar.h threading/spinlock.h threading/semaphore.h \
|
2012-09-20 15:56:20 +00:00
|
|
|
threading/rwlock.h threading/rwlock_condvar.h threading/lock_profiler.h \
|
2012-10-16 14:17:57 +00:00
|
|
|
utils/utils.h utils/chunk.h utils/debug.h utils/enum.h utils/identification.h \
|
2012-10-16 14:03:21 +00:00
|
|
|
utils/lexparser.h utils/optionsfrom.h utils/capabilities.h utils/backtrace.h \
|
2013-09-27 15:30:17 +00:00
|
|
|
utils/leak_detective.h utils/printf_hook/printf_hook.h \
|
2013-10-11 09:06:02 +00:00
|
|
|
utils/printf_hook/printf_hook_vstr.h utils/printf_hook/printf_hook_builtin.h \
|
2013-10-11 12:45:56 +00:00
|
|
|
utils/parser_helper.h utils/test.h utils/integrity_checker.h utils/windows.h \
|
2014-03-07 16:04:01 +00:00
|
|
|
utils/utils/strerror.h
|
2012-07-11 09:16:31 +00:00
|
|
|
endif
|
2006-05-16 14:24:03 +00:00
|
|
|
|
2010-08-23 10:01:48 +00:00
|
|
|
library.lo : $(top_builddir)/config.status
|
|
|
|
|
2013-10-21 16:07:51 +00:00
|
|
|
libstrongswan_la_LIBADD = $(DLLIB) $(BTLIB) $(SOCKLIB) $(RTLIB) $(BFDLIB) $(UNWINDLIB)
|
2006-05-16 14:24:03 +00:00
|
|
|
|
2013-07-17 12:45:39 +00:00
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-I$(top_srcdir)/src/libstrongswan \
|
|
|
|
-DIPSEC_DIR=\"${ipsecdir}\" \
|
|
|
|
-DIPSEC_LIB_DIR=\"${ipseclibdir}\" \
|
|
|
|
-DPLUGINDIR=\"${plugindir}\" \
|
|
|
|
-DSTRONGSWAN_CONF=\"${strongswan_conf}\"
|
|
|
|
|
2009-04-20 20:53:38 +00:00
|
|
|
AM_CFLAGS = \
|
2013-07-17 12:45:39 +00:00
|
|
|
@COVERAGE_CFLAGS@
|
2006-05-19 14:16:58 +00:00
|
|
|
|
2013-09-04 12:25:22 +00:00
|
|
|
AM_LDFLAGS = \
|
|
|
|
-no-undefined
|
|
|
|
|
2014-03-07 16:21:19 +00:00
|
|
|
AM_YFLAGS = -v -d
|
|
|
|
|
2013-10-11 16:03:47 +00:00
|
|
|
if USE_WINDOWS
|
2014-06-05 11:14:13 +00:00
|
|
|
libstrongswan_la_LIBADD += -lws2_32 -lpsapi
|
2013-10-16 15:27:19 +00:00
|
|
|
libstrongswan_la_SOURCES += \
|
2013-10-21 16:07:51 +00:00
|
|
|
threading/windows/thread.c \
|
|
|
|
threading/windows/thread_value.c \
|
|
|
|
threading/windows/mutex.c \
|
|
|
|
threading/windows/rwlock.c \
|
|
|
|
threading/windows/spinlock.c \
|
|
|
|
threading/windows/semaphore.c \
|
2013-10-16 15:27:19 +00:00
|
|
|
utils/windows.c
|
2013-10-21 16:07:51 +00:00
|
|
|
else
|
|
|
|
libstrongswan_la_LIBADD += $(PTHREADLIB)
|
2013-10-11 16:03:47 +00:00
|
|
|
endif
|
|
|
|
|
2013-10-14 09:55:12 +00:00
|
|
|
if USE_DBGHELP
|
|
|
|
libstrongswan_la_LIBADD += -ldbghelp
|
|
|
|
AM_CPPFLAGS += -DHAVE_DBGHELP
|
|
|
|
endif
|
|
|
|
|
2006-05-23 08:00:29 +00:00
|
|
|
if USE_LEAK_DETECTIVE
|
2013-07-17 12:45:39 +00:00
|
|
|
AM_CPPFLAGS += -DLEAK_DETECTIVE
|
2012-10-02 09:38:42 +00:00
|
|
|
libstrongswan_la_SOURCES += utils/leak_detective.c
|
2008-04-04 11:38:16 +00:00
|
|
|
endif
|
|
|
|
|
2008-11-05 14:36:57 +00:00
|
|
|
if USE_LOCK_PROFILER
|
2013-07-17 12:45:39 +00:00
|
|
|
AM_CPPFLAGS += -DLOCK_PROFILER
|
2008-11-05 14:36:57 +00:00
|
|
|
endif
|
|
|
|
|
2009-06-19 15:37:08 +00:00
|
|
|
if USE_INTEGRITY_TEST
|
2013-07-17 12:45:39 +00:00
|
|
|
AM_CPPFLAGS += -DINTEGRITY_TEST
|
2012-10-16 13:39:26 +00:00
|
|
|
libstrongswan_la_SOURCES += utils/integrity_checker.c
|
2009-06-19 15:37:08 +00:00
|
|
|
endif
|
|
|
|
|
2009-03-12 18:07:32 +00:00
|
|
|
if USE_VSTR
|
2013-09-27 15:30:17 +00:00
|
|
|
libstrongswan_la_SOURCES += utils/printf_hook/printf_hook_vstr.c
|
2009-03-12 18:07:32 +00:00
|
|
|
libstrongswan_la_LIBADD += -lvstr
|
|
|
|
endif
|
|
|
|
|
2013-10-11 09:06:02 +00:00
|
|
|
if USE_BUILTIN_PRINTF
|
|
|
|
libstrongswan_la_SOURCES += utils/printf_hook/printf_hook_builtin.c
|
|
|
|
libstrongswan_la_LIBADD += -lm
|
|
|
|
endif
|
|
|
|
|
|
|
|
if !USE_BUILTIN_PRINTF
|
2013-09-27 15:30:17 +00:00
|
|
|
if !USE_VSTR
|
|
|
|
libstrongswan_la_SOURCES += utils/printf_hook/printf_hook_glibc.c
|
|
|
|
endif
|
2013-10-11 09:06:02 +00:00
|
|
|
endif
|
2013-09-27 15:30:17 +00:00
|
|
|
|
2012-07-03 11:07:24 +00:00
|
|
|
if USE_LIBCAP
|
|
|
|
libstrongswan_la_LIBADD += -lcap
|
|
|
|
endif
|
|
|
|
|
2009-05-15 20:43:48 +00:00
|
|
|
EXTRA_DIST = \
|
|
|
|
asn1/oid.txt asn1/oid.pl \
|
2012-08-24 12:56:42 +00:00
|
|
|
crypto/proposal/proposal_keywords_static.txt \
|
2010-03-03 09:18:46 +00:00
|
|
|
Android.mk AndroidConfigLocal.h
|
2009-05-15 20:43:48 +00:00
|
|
|
|
|
|
|
BUILT_SOURCES = \
|
|
|
|
$(srcdir)/asn1/oid.c $(srcdir)/asn1/oid.h \
|
2014-03-07 16:21:19 +00:00
|
|
|
$(srcdir)/crypto/proposal/proposal_keywords_static.c \
|
|
|
|
settings/settings_parser.h
|
2009-05-15 20:43:48 +00:00
|
|
|
|
|
|
|
MAINTAINERCLEANFILES = \
|
|
|
|
$(srcdir)/asn1/oid.c $(srcdir)/asn1/oid.h \
|
2012-08-24 12:56:42 +00:00
|
|
|
$(srcdir)/crypto/proposal/proposal_keywords_static.c
|
2007-08-29 00:37:10 +00:00
|
|
|
|
2009-04-30 11:37:54 +00:00
|
|
|
$(srcdir)/asn1/oid.c : $(srcdir)/asn1/oid.pl $(srcdir)/asn1/oid.txt
|
2013-04-10 12:49:29 +00:00
|
|
|
$(AM_V_GEN) \
|
2009-04-30 11:37:54 +00:00
|
|
|
(cd $(srcdir)/asn1/ && $(PERL) oid.pl)
|
2006-05-19 14:16:58 +00:00
|
|
|
|
2009-04-30 11:37:54 +00:00
|
|
|
$(srcdir)/asn1/oid.h : $(srcdir)/asn1/oid.pl $(srcdir)/asn1/oid.txt
|
2013-04-10 12:49:29 +00:00
|
|
|
$(AM_V_GEN) \
|
2009-04-30 11:37:54 +00:00
|
|
|
(cd $(srcdir)/asn1/ && $(PERL) oid.pl)
|
2007-08-29 00:37:10 +00:00
|
|
|
|
2012-08-24 12:56:42 +00:00
|
|
|
$(srcdir)/crypto/proposal/proposal_keywords_static.c: $(srcdir)/crypto/proposal/proposal_keywords_static.txt \
|
|
|
|
$(srcdir)/crypto/proposal/proposal_keywords_static.h
|
2013-04-10 12:02:53 +00:00
|
|
|
$(AM_V_GEN) \
|
2012-08-24 12:56:42 +00:00
|
|
|
$(GPERF) -N proposal_get_token_static -m 10 -C -G -c -t -D < \
|
|
|
|
$(srcdir)/crypto/proposal/proposal_keywords_static.txt > $@
|
2009-05-15 20:43:48 +00:00
|
|
|
|
2008-03-13 14:14:44 +00:00
|
|
|
|
|
|
|
# build plugins with their own Makefile
|
|
|
|
#######################################
|
|
|
|
|
2010-03-05 10:05:32 +00:00
|
|
|
if MONOLITHIC
|
2010-03-01 15:15:08 +00:00
|
|
|
SUBDIRS =
|
2010-03-05 10:05:32 +00:00
|
|
|
else
|
|
|
|
SUBDIRS = .
|
|
|
|
endif
|
2008-03-13 14:14:44 +00:00
|
|
|
|
2010-11-05 15:15:13 +00:00
|
|
|
if USE_AF_ALG
|
|
|
|
SUBDIRS += plugins/af_alg
|
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/af_alg/libstrongswan-af-alg.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2008-03-13 14:14:44 +00:00
|
|
|
if USE_AES
|
|
|
|
SUBDIRS += plugins/aes
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/aes/libstrongswan-aes.la
|
|
|
|
endif
|
2008-03-13 14:14:44 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
if USE_DES
|
|
|
|
SUBDIRS += plugins/des
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/des/libstrongswan-des.la
|
|
|
|
endif
|
2008-03-13 14:14:44 +00:00
|
|
|
endif
|
|
|
|
|
2009-05-08 22:04:15 +00:00
|
|
|
if USE_BLOWFISH
|
|
|
|
SUBDIRS += plugins/blowfish
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/blowfish/libstrongswan-blowfish.la
|
|
|
|
endif
|
2009-05-08 22:04:15 +00:00
|
|
|
endif
|
|
|
|
|
2013-04-10 17:24:09 +00:00
|
|
|
if USE_RC2
|
|
|
|
SUBDIRS += plugins/rc2
|
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/rc2/libstrongswan-rc2.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2009-02-19 10:06:58 +00:00
|
|
|
if USE_MD4
|
|
|
|
SUBDIRS += plugins/md4
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/md4/libstrongswan-md4.la
|
|
|
|
endif
|
2009-02-19 10:06:58 +00:00
|
|
|
endif
|
|
|
|
|
2008-03-13 14:14:44 +00:00
|
|
|
if USE_MD5
|
|
|
|
SUBDIRS += plugins/md5
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/md5/libstrongswan-md5.la
|
|
|
|
endif
|
2008-03-13 14:14:44 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
if USE_SHA1
|
|
|
|
SUBDIRS += plugins/sha1
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/sha1/libstrongswan-sha1.la
|
|
|
|
endif
|
2008-03-13 14:14:44 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
if USE_SHA2
|
|
|
|
SUBDIRS += plugins/sha2
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/sha2/libstrongswan-sha2.la
|
|
|
|
endif
|
2008-03-13 14:14:44 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
if USE_GMP
|
|
|
|
SUBDIRS += plugins/gmp
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/gmp/libstrongswan-gmp.la
|
|
|
|
endif
|
2008-03-13 14:14:44 +00:00
|
|
|
endif
|
|
|
|
|
2013-01-04 13:33:45 +00:00
|
|
|
if USE_RDRAND
|
|
|
|
SUBDIRS += plugins/rdrand
|
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/rdrand/libstrongswan-rdrand.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2008-04-15 05:56:35 +00:00
|
|
|
if USE_RANDOM
|
|
|
|
SUBDIRS += plugins/random
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/random/libstrongswan-random.la
|
|
|
|
endif
|
2008-04-15 05:56:35 +00:00
|
|
|
endif
|
|
|
|
|
2012-05-02 15:49:32 +00:00
|
|
|
if USE_NONCE
|
|
|
|
SUBDIRS += plugins/nonce
|
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/nonce/libstrongswan-nonce.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2008-03-13 14:14:44 +00:00
|
|
|
if USE_HMAC
|
|
|
|
SUBDIRS += plugins/hmac
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/hmac/libstrongswan-hmac.la
|
|
|
|
endif
|
2008-03-13 14:14:44 +00:00
|
|
|
endif
|
|
|
|
|
2012-04-03 08:40:47 +00:00
|
|
|
if USE_CMAC
|
|
|
|
SUBDIRS += plugins/cmac
|
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/cmac/libstrongswan-cmac.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2008-04-30 14:26:24 +00:00
|
|
|
if USE_XCBC
|
|
|
|
SUBDIRS += plugins/xcbc
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/xcbc/libstrongswan-xcbc.la
|
|
|
|
endif
|
2008-04-30 14:26:24 +00:00
|
|
|
endif
|
|
|
|
|
2008-03-13 14:14:44 +00:00
|
|
|
if USE_X509
|
|
|
|
SUBDIRS += plugins/x509
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/x509/libstrongswan-x509.la
|
|
|
|
endif
|
2008-03-13 14:14:44 +00:00
|
|
|
endif
|
|
|
|
|
2010-07-05 13:26:35 +00:00
|
|
|
if USE_REVOCATION
|
|
|
|
SUBDIRS += plugins/revocation
|
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/revocation/libstrongswan-revocation.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2010-12-09 09:41:54 +00:00
|
|
|
if USE_CONSTRAINTS
|
|
|
|
SUBDIRS += plugins/constraints
|
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/constraints/libstrongswan-constraints.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2014-02-05 15:59:55 +00:00
|
|
|
if USE_ACERT
|
|
|
|
SUBDIRS += plugins/acert
|
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/acert/libstrongswan-acert.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2008-05-08 13:16:42 +00:00
|
|
|
if USE_PUBKEY
|
|
|
|
SUBDIRS += plugins/pubkey
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/pubkey/libstrongswan-pubkey.la
|
|
|
|
endif
|
2008-05-08 13:16:42 +00:00
|
|
|
endif
|
|
|
|
|
2009-08-14 14:48:40 +00:00
|
|
|
if USE_PKCS1
|
|
|
|
SUBDIRS += plugins/pkcs1
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/pkcs1/libstrongswan-pkcs1.la
|
|
|
|
endif
|
2009-08-14 14:48:40 +00:00
|
|
|
endif
|
|
|
|
|
2012-11-26 11:06:44 +00:00
|
|
|
if USE_PKCS7
|
|
|
|
SUBDIRS += plugins/pkcs7
|
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/pkcs7/libstrongswan-pkcs7.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2012-01-18 18:12:21 +00:00
|
|
|
if USE_PKCS8
|
|
|
|
SUBDIRS += plugins/pkcs8
|
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/pkcs8/libstrongswan-pkcs8.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2013-04-12 09:59:01 +00:00
|
|
|
if USE_PKCS12
|
|
|
|
SUBDIRS += plugins/pkcs12
|
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/pkcs12/libstrongswan-pkcs12.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2009-08-17 11:46:04 +00:00
|
|
|
if USE_PGP
|
|
|
|
SUBDIRS += plugins/pgp
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/pgp/libstrongswan-pgp.la
|
|
|
|
endif
|
2009-08-17 11:46:04 +00:00
|
|
|
endif
|
|
|
|
|
2009-08-17 12:45:52 +00:00
|
|
|
if USE_DNSKEY
|
|
|
|
SUBDIRS += plugins/dnskey
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/dnskey/libstrongswan-dnskey.la
|
|
|
|
endif
|
2009-08-17 12:45:52 +00:00
|
|
|
endif
|
|
|
|
|
2013-04-01 13:20:39 +00:00
|
|
|
if USE_SSHKEY
|
|
|
|
SUBDIRS += plugins/sshkey
|
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/sshkey/libstrongswan-sshkey.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2009-08-11 14:24:01 +00:00
|
|
|
if USE_PEM
|
|
|
|
SUBDIRS += plugins/pem
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/pem/libstrongswan-pem.la
|
|
|
|
endif
|
2009-08-11 14:24:01 +00:00
|
|
|
endif
|
|
|
|
|
2008-03-13 14:14:44 +00:00
|
|
|
if USE_CURL
|
|
|
|
SUBDIRS += plugins/curl
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/curl/libstrongswan-curl.la
|
|
|
|
endif
|
2008-03-13 14:14:44 +00:00
|
|
|
endif
|
|
|
|
|
2014-01-30 13:07:53 +00:00
|
|
|
if USE_WINHTTP
|
|
|
|
SUBDIRS += plugins/winhttp
|
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/winhttp/libstrongswan-winhttp.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2012-03-27 07:22:14 +00:00
|
|
|
if USE_UNBOUND
|
|
|
|
SUBDIRS += plugins/unbound
|
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/unbound/libstrongswan-unbound.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2011-01-17 12:27:18 +00:00
|
|
|
if USE_SOUP
|
|
|
|
SUBDIRS += plugins/soup
|
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/soup/libstrongswan-soup.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2008-03-13 14:14:44 +00:00
|
|
|
if USE_LDAP
|
|
|
|
SUBDIRS += plugins/ldap
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/ldap/libstrongswan-ldap.la
|
|
|
|
endif
|
2008-03-13 14:14:44 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
if USE_MYSQL
|
|
|
|
SUBDIRS += plugins/mysql
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/mysql/libstrongswan-mysql.la
|
|
|
|
endif
|
2008-03-13 14:14:44 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
if USE_SQLITE
|
|
|
|
SUBDIRS += plugins/sqlite
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/sqlite/libstrongswan-sqlite.la
|
|
|
|
endif
|
2008-03-13 14:14:44 +00:00
|
|
|
endif
|
|
|
|
|
2008-04-22 08:44:56 +00:00
|
|
|
if USE_PADLOCK
|
|
|
|
SUBDIRS += plugins/padlock
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/padlock/libstrongswan-padlock.la
|
|
|
|
endif
|
2008-04-22 08:44:56 +00:00
|
|
|
endif
|
2008-03-13 14:14:44 +00:00
|
|
|
|
2008-04-28 14:25:19 +00:00
|
|
|
if USE_OPENSSL
|
|
|
|
SUBDIRS += plugins/openssl
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/openssl/libstrongswan-openssl.la
|
|
|
|
endif
|
2008-04-28 14:25:19 +00:00
|
|
|
endif
|
|
|
|
|
2009-06-04 12:23:39 +00:00
|
|
|
if USE_GCRYPT
|
|
|
|
SUBDIRS += plugins/gcrypt
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/gcrypt/libstrongswan-gcrypt.la
|
|
|
|
endif
|
2009-06-04 12:23:39 +00:00
|
|
|
endif
|
|
|
|
|
2010-03-08 11:40:45 +00:00
|
|
|
if USE_FIPS_PRF
|
|
|
|
SUBDIRS += plugins/fips_prf
|
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/fips_prf/libstrongswan-fips-prf.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2008-09-02 11:04:26 +00:00
|
|
|
if USE_AGENT
|
|
|
|
SUBDIRS += plugins/agent
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/agent/libstrongswan-agent.la
|
|
|
|
endif
|
2008-09-02 11:04:26 +00:00
|
|
|
endif
|
|
|
|
|
2013-04-29 09:19:57 +00:00
|
|
|
if USE_KEYCHAIN
|
|
|
|
SUBDIRS += plugins/keychain
|
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/keychain/libstrongswan-keychain.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2010-07-13 15:34:34 +00:00
|
|
|
if USE_PKCS11
|
|
|
|
SUBDIRS += plugins/pkcs11
|
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/pkcs11/libstrongswan-pkcs11.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2010-08-13 17:39:59 +00:00
|
|
|
if USE_CTR
|
|
|
|
SUBDIRS += plugins/ctr
|
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/ctr/libstrongswan-ctr.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2010-08-18 18:38:02 +00:00
|
|
|
if USE_CCM
|
|
|
|
SUBDIRS += plugins/ccm
|
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/ccm/libstrongswan-ccm.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2010-08-19 15:58:30 +00:00
|
|
|
if USE_GCM
|
|
|
|
SUBDIRS += plugins/gcm
|
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/gcm/libstrongswan-gcm.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2013-11-18 20:11:03 +00:00
|
|
|
if USE_NTRU
|
|
|
|
SUBDIRS += plugins/ntru
|
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/ntru/libstrongswan-ntru.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2009-06-11 09:09:33 +00:00
|
|
|
if USE_TEST_VECTORS
|
|
|
|
SUBDIRS += plugins/test_vectors
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libstrongswan_la_LIBADD += plugins/test_vectors/libstrongswan-test-vectors.la
|
|
|
|
endif
|
2009-06-11 09:09:33 +00:00
|
|
|
endif
|
2013-03-26 09:21:32 +00:00
|
|
|
|
|
|
|
if MONOLITHIC
|
|
|
|
SUBDIRS += .
|
|
|
|
endif
|
2013-11-04 10:26:33 +00:00
|
|
|
SUBDIRS += tests
|