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-07-03 15:27:46 +00:00
|
|
|
library.c chunk.c debug.c enum.c settings.c printf_hook.c asn1/asn1.c \
|
|
|
|
asn1/asn1_parser.c asn1/oid.c bio/bio_reader.c bio/bio_writer.c \
|
|
|
|
crypto/crypters/crypter.c crypto/hashers/hasher.c crypto/pkcs7.c crypto/pkcs9.c \
|
|
|
|
crypto/proposal/proposal_keywords.c crypto/prfs/prf.c crypto/prfs/mac_prf.c \
|
|
|
|
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 \
|
|
|
|
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 \
|
|
|
|
credentials/ietf_attributes/ietf_attributes.c credentials/credential_manager.c \
|
|
|
|
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 \
|
|
|
|
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 \
|
|
|
|
selectors/traffic_selector.c threading/thread.c threading/thread_value.c \
|
|
|
|
threading/mutex.c threading/semaphore.c threading/rwlock.c threading/spinlock.c \
|
|
|
|
utils.c utils/host.c utils/identification.c utils/lexparser.c \
|
|
|
|
utils/linked_list.c utils/hashtable.c utils/enumerator.c utils/optionsfrom.c \
|
|
|
|
utils/capabilities.c utils/backtrace.c
|
2010-07-15 12:26:19 +00:00
|
|
|
|
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 = \
|
|
|
|
library.h chunk.h debug.h enum.h settings.h printf_hook.h \
|
|
|
|
asn1/asn1.h asn1/asn1_parser.h asn1/oid.h bio/bio_reader.h bio/bio_writer.h \
|
|
|
|
crypto/crypters/crypter.h crypto/hashers/hasher.h crypto/mac.h \
|
|
|
|
crypto/pkcs7.h crypto/pkcs9.h crypto/proposal/proposal_keywords.h \
|
|
|
|
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 \
|
|
|
|
crypto/aead.h crypto/transform.h \
|
|
|
|
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 \
|
|
|
|
credentials/ietf_attributes/ietf_attributes.h \
|
|
|
|
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 \
|
|
|
|
fetcher/fetcher_manager.h eap/eap.h pen/pen.h plugins/plugin_loader.h \
|
|
|
|
plugins/plugin.h plugins/plugin_feature.h processing/jobs/job.h \
|
|
|
|
processing/jobs/callback_job.h processing/processor.h processing/scheduler.h \
|
|
|
|
selectors/traffic_selector.h threading/thread.h threading/thread_value.h \
|
|
|
|
threading/mutex.h threading/condvar.h threading/spinlock.h threading/semaphore.h \
|
|
|
|
threading/rwlock.h threading/lock_profiler.h utils.h utils/host.h \
|
|
|
|
utils/identification.h utils/lexparser.h utils/linked_list.h utils/hashtable.h \
|
|
|
|
utils/enumerator.h utils/optionsfrom.h utils/capabilities.h utils/backtrace.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
|
|
|
|
|
2009-12-10 10:08:01 +00:00
|
|
|
libstrongswan_la_LIBADD = $(PTHREADLIB) $(DLLIB) $(BTLIB) $(SOCKLIB) $(RTLIB)
|
2006-05-16 14:24:03 +00:00
|
|
|
|
|
|
|
INCLUDES = -I$(top_srcdir)/src/libstrongswan
|
2009-04-20 20:53:38 +00:00
|
|
|
AM_CFLAGS = \
|
|
|
|
-DIPSEC_DIR=\"${ipsecdir}\" \
|
2011-06-08 13:49:15 +00:00
|
|
|
-DIPSEC_LIB_DIR=\"${ipseclibdir}\" \
|
2009-09-08 18:01:13 +00:00
|
|
|
-DPLUGINDIR=\"${plugindir}\" \
|
|
|
|
-DSTRONGSWAN_CONF=\"${strongswan_conf}\"
|
2006-05-19 14:16:58 +00:00
|
|
|
|
2006-05-23 08:00:29 +00:00
|
|
|
if USE_LEAK_DETECTIVE
|
2008-03-13 14:14:44 +00:00
|
|
|
AM_CFLAGS += -DLEAK_DETECTIVE
|
2009-04-18 14:50:31 +00:00
|
|
|
libstrongswan_la_SOURCES += \
|
|
|
|
utils/leak_detective.c utils/leak_detective.h
|
2008-04-04 11:38:16 +00:00
|
|
|
endif
|
|
|
|
|
2008-11-05 14:36:57 +00:00
|
|
|
if USE_LOCK_PROFILER
|
|
|
|
AM_CFLAGS += -DLOCK_PROFILER
|
|
|
|
endif
|
|
|
|
|
2009-06-19 15:37:08 +00:00
|
|
|
if USE_INTEGRITY_TEST
|
|
|
|
AM_CFLAGS += -DINTEGRITY_TEST
|
|
|
|
libstrongswan_la_SOURCES += \
|
|
|
|
integrity_checker.c integrity_checker.h
|
|
|
|
endif
|
|
|
|
|
2009-03-12 18:07:32 +00:00
|
|
|
if USE_VSTR
|
|
|
|
libstrongswan_la_LIBADD += -lvstr
|
|
|
|
endif
|
|
|
|
|
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 \
|
2010-03-03 09:18:46 +00:00
|
|
|
crypto/proposal/proposal_keywords.txt \
|
|
|
|
Android.mk AndroidConfigLocal.h
|
2009-05-15 20:43:48 +00:00
|
|
|
|
|
|
|
BUILT_SOURCES = \
|
|
|
|
$(srcdir)/asn1/oid.c $(srcdir)/asn1/oid.h \
|
|
|
|
$(srcdir)/crypto/proposal/proposal_keywords.c
|
|
|
|
|
|
|
|
MAINTAINERCLEANFILES = \
|
|
|
|
$(srcdir)/asn1/oid.c $(srcdir)/asn1/oid.h \
|
|
|
|
$(srcdir)/crypto/proposal/proposal_keywords.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
|
|
|
|
(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
|
|
|
|
(cd $(srcdir)/asn1/ && $(PERL) oid.pl)
|
2007-08-29 00:37:10 +00:00
|
|
|
|
2009-05-15 20:43:48 +00:00
|
|
|
$(srcdir)/crypto/proposal/proposal_keywords.c: $(srcdir)/crypto/proposal/proposal_keywords.txt \
|
|
|
|
$(srcdir)/crypto/proposal/proposal_keywords.h
|
2009-07-16 08:09:23 +00:00
|
|
|
$(GPERF) -N proposal_get_token -m 10 -C -G -c -t -D < \
|
2009-05-15 20:43:48 +00:00
|
|
|
$(srcdir)/crypto/proposal/proposal_keywords.txt > $@
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
|
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-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
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
|
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
|