File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / strongswan / src / libstrongswan / Makefile.am
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Mar 17 00:20:08 2021 UTC (3 years, 6 months ago) by misho
Branches: strongswan, MAIN
CVS tags: v5_9_2p0, HEAD
strongswan 5.9.2

    1: ipseclib_LTLIBRARIES = libstrongswan.la
    2: 
    3: libstrongswan_la_SOURCES = \
    4: library.c \
    5: asn1/asn1.c asn1/asn1_parser.c asn1/oid.c bio/bio_reader.c bio/bio_writer.c \
    6: collections/blocking_queue.c collections/enumerator.c collections/hashtable.c \
    7: collections/hashlist.c collections/array.c \
    8: collections/linked_list.c crypto/crypters/crypter.c \
    9: crypto/drbgs/drbg.c crypto/hashers/hasher.c \
   10: crypto/hashers/hash_algorithm_set.c crypto/proposal/proposal.c \
   11: crypto/proposal/proposal_keywords.c crypto/proposal/proposal_keywords_static.c \
   12: crypto/prfs/prf.c crypto/prfs/mac_prf.c crypto/pkcs5.c \
   13: crypto/rngs/rng.c crypto/rngs/rng_tester.c \
   14: crypto/prf_plus.c crypto/signers/signer.c \
   15: crypto/signers/mac_signer.c crypto/crypto_factory.c crypto/crypto_tester.c \
   16: crypto/diffie_hellman.c crypto/aead.c crypto/transform.c \
   17: crypto/iv/iv_gen.c crypto/iv/iv_gen_rand.c crypto/iv/iv_gen_seq.c \
   18: crypto/iv/iv_gen_null.c \
   19: crypto/xofs/xof.c crypto/xofs/xof_bitspender.c \
   20: credentials/credential_factory.c credentials/builder.c \
   21: credentials/cred_encoding.c credentials/keys/private_key.c \
   22: credentials/keys/public_key.c credentials/keys/shared_key.c \
   23: credentials/keys/signature_params.c \
   24: credentials/certificates/certificate.c credentials/certificates/crl.c \
   25: credentials/certificates/ocsp_response.c credentials/certificates/x509.c \
   26: credentials/certificates/certificate_printer.c \
   27: credentials/containers/container.c credentials/containers/pkcs12.c \
   28: credentials/credential_manager.c \
   29: credentials/sets/auth_cfg_wrapper.c credentials/sets/ocsp_response_wrapper.c \
   30: credentials/sets/cert_cache.c credentials/sets/mem_cred.c \
   31: credentials/sets/callback_cred.c credentials/auth_cfg.c database/database.c \
   32: database/database_factory.c fetcher/fetcher.c fetcher/fetcher_manager.c eap/eap.c \
   33: ipsec/ipsec_types.c \
   34: networking/host.c networking/host_resolver.c networking/packet.c \
   35: networking/tun_device.c networking/streams/stream_manager.c \
   36: networking/streams/stream.c networking/streams/stream_service.c \
   37: networking/streams/stream_tcp.c networking/streams/stream_service_tcp.c \
   38: pen/pen.c plugins/plugin_loader.c plugins/plugin_feature.c processing/jobs/job.c \
   39: processing/jobs/callback_job.c processing/processor.c processing/scheduler.c \
   40: processing/watcher.c resolver/resolver_manager.c resolver/rr_set.c \
   41: selectors/traffic_selector.c settings/settings.c settings/settings_types.c \
   42: settings/settings_parser.y settings/settings_lexer.l utils/cpu_feature.c \
   43: utils/utils.c utils/chunk.c utils/debug.c utils/enum.c utils/identification.c \
   44: utils/lexparser.c utils/optionsfrom.c utils/capabilities.c utils/backtrace.c \
   45: utils/parser_helper.c utils/test.c utils/process.c utils/utils/strerror.c \
   46: utils/utils/atomics.c utils/utils/string.c utils/utils/memory.c \
   47: utils/utils/tty.c utils/utils/path.c utils/utils/status.c utils/utils/time.c \
   48: utils/utils/align.c
   49: 
   50: if !USE_WINDOWS
   51:   libstrongswan_la_SOURCES += \
   52:     threading/thread.c \
   53:     threading/thread_value.c \
   54:     threading/mutex.c \
   55:     threading/rwlock.c \
   56:     threading/spinlock.c \
   57:     threading/semaphore.c \
   58:     networking/streams/stream_unix.c \
   59:     networking/streams/stream_service_unix.c
   60: endif
   61: 
   62: # private header files
   63: noinst_HEADERS = \
   64: settings/settings_types.h
   65: 
   66: if USE_DEV_HEADERS
   67: strongswan_includedir = ${dev_headers}
   68: nobase_strongswan_include_HEADERS = \
   69: library.h \
   70: asn1/asn1.h asn1/asn1_parser.h asn1/oid.h bio/bio_reader.h bio/bio_writer.h \
   71: collections/blocking_queue.h collections/enumerator.h collections/hashtable.h \
   72: collections/hashtable_profiler.h \
   73: collections/linked_list.h collections/array.h collections/dictionary.h \
   74: crypto/crypters/crypter.h crypto/drbgs/drbg.h crypto/hashers/hasher.h \
   75: crypto/hashers/hash_algorithm_set.h crypto/mac.h crypto/proposal/proposal.h \
   76: crypto/proposal/proposal_keywords.h crypto/proposal/proposal_keywords_static.h \
   77: crypto/rngs/rng.h crypto/rngs/rng_tester.h \
   78: crypto/prfs/prf.h crypto/prfs/mac_prf.h crypto/nonce_gen.h \
   79: crypto/prf_plus.h crypto/signers/signer.h crypto/signers/mac_signer.h \
   80: crypto/crypto_factory.h crypto/crypto_tester.h crypto/diffie_hellman.h \
   81: crypto/aead.h crypto/transform.h crypto/pkcs5.h crypto/iv/iv_gen.h \
   82: crypto/iv/iv_gen_rand.h crypto/iv/iv_gen_seq.h crypto/iv/iv_gen_null.h \
   83: crypto/xofs/xof.h crypto/xofs/xof_bitspender.h crypto/xofs/mgf1.h \
   84: credentials/credential_factory.h credentials/builder.h \
   85: credentials/cred_encoding.h credentials/keys/private_key.h \
   86: credentials/keys/public_key.h credentials/keys/shared_key.h \
   87: credentials/keys/signature_params.h \
   88: credentials/certificates/certificate.h credentials/certificates/x509.h \
   89: credentials/certificates/ac.h credentials/certificates/crl.h \
   90: credentials/certificates/pkcs10.h credentials/certificates/ocsp_request.h \
   91: credentials/certificates/ocsp_response.h \
   92: credentials/certificates/pgp_certificate.h \
   93: credentials/certificates/certificate_printer.h \
   94: credentials/containers/container.h credentials/containers/pkcs7.h \
   95: credentials/containers/pkcs12.h \
   96: credentials/credential_manager.h credentials/sets/auth_cfg_wrapper.h \
   97: credentials/sets/ocsp_response_wrapper.h credentials/sets/cert_cache.h \
   98: credentials/sets/mem_cred.h credentials/sets/callback_cred.h \
   99: credentials/auth_cfg.h credentials/credential_set.h credentials/cert_validator.h \
  100: database/database.h database/database_factory.h fetcher/fetcher.h \
  101: fetcher/fetcher_manager.h eap/eap.h pen/pen.h ipsec/ipsec_types.h \
  102: networking/host.h networking/host_resolver.h networking/packet.h \
  103: networking/tun_device.h networking/streams/stream.h \
  104: networking/streams/stream_unix.h networking/streams/stream_service_unix.h \
  105: networking/streams/stream_service_systemd.h \
  106: networking/streams/stream_tcp.h networking/streams/stream_service_tcp.h \
  107: networking/streams/stream_service.h networking/streams/stream_manager.h \
  108: resolver/resolver.h resolver/resolver_response.h resolver/rr_set.h \
  109: resolver/rr.h resolver/resolver_manager.h \
  110: plugins/plugin_loader.h plugins/plugin.h plugins/plugin_feature.h \
  111: processing/jobs/job.h processing/jobs/callback_job.h processing/processor.h \
  112: processing/scheduler.h processing/watcher.h selectors/traffic_selector.h \
  113: settings/settings.h settings/settings_parser.h threading/thread_value.h \
  114: threading/thread.h threading/windows/thread.h \
  115: threading/mutex.h threading/condvar.h threading/spinlock.h threading/semaphore.h \
  116: threading/rwlock.h threading/rwlock_condvar.h threading/lock_profiler.h \
  117: utils/utils.h utils/chunk.h utils/debug.h utils/enum.h utils/identification.h \
  118: utils/lexparser.h utils/optionsfrom.h utils/capabilities.h utils/backtrace.h \
  119: utils/cpu_feature.h utils/leak_detective.h utils/printf_hook/printf_hook.h \
  120: utils/printf_hook/printf_hook_vstr.h utils/printf_hook/printf_hook_builtin.h \
  121: utils/parser_helper.h utils/test.h utils/integrity_checker.h utils/process.h \
  122: utils/utils/strerror.h utils/compat/windows.h utils/compat/apple.h utils/compat/android.h \
  123: utils/utils/atomics.h utils/utils/types.h utils/utils/byteorder.h \
  124: utils/utils/string.h utils/utils/memory.h utils/utils/tty.h utils/utils/path.h \
  125: utils/utils/status.h utils/utils/object.h utils/utils/time.h utils/utils/align.h
  126: endif
  127: 
  128: library.lo :	$(top_builddir)/config.status
  129: 
  130: libstrongswan_la_LIBADD = \
  131: 	$(DLLIB) $(ATOMICLIB)  $(BTLIB) $(SOCKLIB) \
  132: 	$(RTLIB) $(BFDLIB) $(UNWINDLIB)
  133: 
  134: AM_CPPFLAGS = \
  135: 	-I$(top_srcdir)/src/libstrongswan \
  136: 	-DIPSEC_DIR=\"${ipsecdir}\" \
  137: 	-DIPSEC_LIB_DIR=\"${ipseclibdir}\" \
  138: 	-DPLUGINDIR=\"${plugindir}\" \
  139: 	-DSTRONGSWAN_CONF=\"${strongswan_conf}\"
  140: 
  141: AM_CFLAGS = \
  142: 	@COVERAGE_CFLAGS@
  143: 
  144: AM_LDFLAGS = \
  145: 	-no-undefined
  146: 
  147: AM_YFLAGS = -v -d
  148: 
  149: if USE_WINDOWS
  150:   libstrongswan_la_LIBADD += -lws2_32 -lpsapi
  151:   libstrongswan_la_SOURCES += \
  152:     threading/windows/thread.c \
  153:     threading/windows/thread_value.c \
  154:     threading/windows/mutex.c \
  155:     threading/windows/rwlock.c \
  156:     threading/windows/spinlock.c \
  157:     threading/windows/semaphore.c \
  158:     utils/compat/windows.c
  159: else
  160:   libstrongswan_la_LIBADD += $(PTHREADLIB)
  161: endif
  162: 
  163: if USE_DBGHELP
  164:   libstrongswan_la_LIBADD += -ldbghelp
  165:   AM_CPPFLAGS += -DHAVE_DBGHELP
  166: endif
  167: 
  168: if USE_LEAK_DETECTIVE
  169:   AM_CPPFLAGS += -DLEAK_DETECTIVE
  170:   libstrongswan_la_SOURCES += utils/leak_detective.c
  171: endif
  172: 
  173: if USE_LOCK_PROFILER
  174:   AM_CPPFLAGS += -DLOCK_PROFILER
  175: endif
  176: 
  177: if USE_INTEGRITY_TEST
  178:   AM_CPPFLAGS += -DINTEGRITY_TEST
  179:   libstrongswan_la_SOURCES += utils/integrity_checker.c
  180: endif
  181: 
  182: if USE_VSTR
  183:   libstrongswan_la_SOURCES += utils/printf_hook/printf_hook_vstr.c
  184:   libstrongswan_la_LIBADD += -lvstr
  185: endif
  186: 
  187: if USE_BUILTIN_PRINTF
  188:   libstrongswan_la_SOURCES += utils/printf_hook/printf_hook_builtin.c
  189:   libstrongswan_la_LIBADD += -lm
  190: endif
  191: 
  192: if !USE_BUILTIN_PRINTF
  193: if !USE_VSTR
  194:   libstrongswan_la_SOURCES += utils/printf_hook/printf_hook_glibc.c
  195: endif
  196: endif
  197: 
  198: if USE_LIBCAP
  199:   libstrongswan_la_LIBADD += -lcap
  200: endif
  201: 
  202: if USE_SYSTEMD
  203:   AM_CPPFLAGS += $(systemd_CFLAGS) -DUSE_SYSTEMD
  204:   libstrongswan_la_SOURCES += networking/streams/stream_service_systemd.c
  205:   libstrongswan_la_LIBADD += $(systemd_LIBS)
  206: endif
  207: 
  208: EXTRA_DIST = \
  209: asn1/oid.txt asn1/oid.pl \
  210: crypto/proposal/proposal_keywords_static.txt \
  211: crypto/proposal/proposal_keywords_static.h.in \
  212: plugins/plugin_constructors.py \
  213: Android.mk
  214: 
  215: BUILT_SOURCES = \
  216: $(srcdir)/asn1/oid.c $(srcdir)/asn1/oid.h \
  217: $(srcdir)/crypto/proposal/proposal_keywords_static.h \
  218: $(srcdir)/crypto/proposal/proposal_keywords_static.c \
  219: settings/settings_parser.h
  220: 
  221: MAINTAINERCLEANFILES = \
  222: $(srcdir)/asn1/oid.c $(srcdir)/asn1/oid.h \
  223: $(srcdir)/crypto/proposal/proposal_keywords_static.h \
  224: $(srcdir)/crypto/proposal/proposal_keywords_static.c
  225: 
  226: $(srcdir)/asn1/oid.c :	$(srcdir)/asn1/oid.pl $(srcdir)/asn1/oid.txt
  227: 		$(AM_V_GEN) \
  228: 		(cd $(srcdir)/asn1/ && $(PERL) oid.pl)
  229: 
  230: $(srcdir)/asn1/oid.h :	$(srcdir)/asn1/oid.pl $(srcdir)/asn1/oid.txt
  231: 		$(AM_V_GEN) \
  232: 		(cd $(srcdir)/asn1/ && $(PERL) oid.pl)
  233: 
  234: $(srcdir)/crypto/proposal/proposal_keywords_static.h: $(srcdir)/crypto/proposal/proposal_keywords_static.h.in
  235: 		$(AM_V_GEN) \
  236: 		sed \
  237: 		-e "s:\@GPERF_LEN_TYPE\@:$(GPERF_LEN_TYPE):" \
  238: 		$(srcdir)/crypto/proposal/proposal_keywords_static.h.in > $@
  239: 
  240: $(srcdir)/crypto/proposal/proposal_keywords_static.c:	$(srcdir)/crypto/proposal/proposal_keywords_static.txt \
  241: 														$(srcdir)/crypto/proposal/proposal_keywords_static.h
  242: 		$(AM_V_GEN) \
  243: 		$(GPERF) -N proposal_get_token_static -m 10 -C -G -c -t -D \
  244: 			--output-file=$@ $(srcdir)/crypto/proposal/proposal_keywords_static.txt
  245: 
  246: if STATIC_PLUGIN_CONSTRUCTORS
  247: BUILT_SOURCES += $(srcdir)/plugin_constructors.c
  248: CLEANFILES = $(srcdir)/plugin_constructors.c
  249: 
  250: $(srcdir)/plugin_constructors.c: $(srcdir)/plugins/plugin_constructors.py
  251: 		$(AM_V_GEN) \
  252: 		$(PYTHON) $(srcdir)/plugins/plugin_constructors.py ${s_plugins} > $@
  253: endif
  254: 
  255: if MONOLITHIC
  256: SUBDIRS =
  257: else
  258: SUBDIRS = .
  259: endif
  260: 
  261: # build libnttfft used by some plugins
  262: ######################################
  263: 
  264: if USE_LIBNTTFFT
  265:   SUBDIRS += math/libnttfft
  266: endif
  267: 
  268: # build plugins with their own Makefile
  269: #######################################
  270: 
  271: if USE_AF_ALG
  272:   SUBDIRS += plugins/af_alg
  273: if MONOLITHIC
  274:   libstrongswan_la_LIBADD += plugins/af_alg/libstrongswan-af-alg.la
  275: endif
  276: endif
  277: 
  278: if USE_AES
  279:   SUBDIRS += plugins/aes
  280: if MONOLITHIC
  281:   libstrongswan_la_LIBADD += plugins/aes/libstrongswan-aes.la
  282: endif
  283: endif
  284: 
  285: if USE_DES
  286:   SUBDIRS += plugins/des
  287: if MONOLITHIC
  288:   libstrongswan_la_LIBADD += plugins/des/libstrongswan-des.la
  289: endif
  290: endif
  291: 
  292: if USE_BLOWFISH
  293:   SUBDIRS += plugins/blowfish
  294: if MONOLITHIC
  295:   libstrongswan_la_LIBADD += plugins/blowfish/libstrongswan-blowfish.la
  296: endif
  297: endif
  298: 
  299: if USE_RC2
  300:   SUBDIRS += plugins/rc2
  301: if MONOLITHIC
  302:   libstrongswan_la_LIBADD += plugins/rc2/libstrongswan-rc2.la
  303: endif
  304: endif
  305: 
  306: if USE_MD4
  307:   SUBDIRS += plugins/md4
  308: if MONOLITHIC
  309:   libstrongswan_la_LIBADD += plugins/md4/libstrongswan-md4.la
  310: endif
  311: endif
  312: 
  313: if USE_MD5
  314:   SUBDIRS += plugins/md5
  315: if MONOLITHIC
  316:   libstrongswan_la_LIBADD += plugins/md5/libstrongswan-md5.la
  317: endif
  318: endif
  319: 
  320: if USE_SHA1
  321:   SUBDIRS += plugins/sha1
  322: if MONOLITHIC
  323:   libstrongswan_la_LIBADD += plugins/sha1/libstrongswan-sha1.la
  324: endif
  325: endif
  326: 
  327: if USE_SHA2
  328:   SUBDIRS += plugins/sha2
  329: if MONOLITHIC
  330:   libstrongswan_la_LIBADD += plugins/sha2/libstrongswan-sha2.la
  331: endif
  332: endif
  333: 
  334: if USE_SHA3
  335:   SUBDIRS += plugins/sha3
  336: if MONOLITHIC
  337:   libstrongswan_la_LIBADD += plugins/sha3/libstrongswan-sha3.la
  338: endif
  339: endif
  340: 
  341: if USE_GMP
  342:   SUBDIRS += plugins/gmp
  343: if MONOLITHIC
  344:   libstrongswan_la_LIBADD += plugins/gmp/libstrongswan-gmp.la
  345: endif
  346: endif
  347: 
  348: if USE_CURVE25519
  349:   SUBDIRS += plugins/curve25519
  350: if MONOLITHIC
  351:   libstrongswan_la_LIBADD += plugins/curve25519/libstrongswan-curve25519.la
  352: endif
  353: endif
  354: 
  355: if USE_RDRAND
  356:   SUBDIRS += plugins/rdrand
  357: if MONOLITHIC
  358:   libstrongswan_la_LIBADD += plugins/rdrand/libstrongswan-rdrand.la
  359: endif
  360: endif
  361: 
  362: if USE_AESNI
  363:   SUBDIRS += plugins/aesni
  364: if MONOLITHIC
  365:   libstrongswan_la_LIBADD += plugins/aesni/libstrongswan-aesni.la
  366: endif
  367: endif
  368: 
  369: if USE_RANDOM
  370:   SUBDIRS += plugins/random
  371: if MONOLITHIC
  372:   libstrongswan_la_LIBADD += plugins/random/libstrongswan-random.la
  373: endif
  374: endif
  375: 
  376: if USE_NONCE
  377:   SUBDIRS += plugins/nonce
  378: if MONOLITHIC
  379:   libstrongswan_la_LIBADD += plugins/nonce/libstrongswan-nonce.la
  380: endif
  381: endif
  382: 
  383: if USE_HMAC
  384:   SUBDIRS += plugins/hmac
  385: if MONOLITHIC
  386:   libstrongswan_la_LIBADD += plugins/hmac/libstrongswan-hmac.la
  387: endif
  388: endif
  389: 
  390: if USE_CMAC
  391:   SUBDIRS += plugins/cmac
  392: if MONOLITHIC
  393:   libstrongswan_la_LIBADD += plugins/cmac/libstrongswan-cmac.la
  394: endif
  395: endif
  396: 
  397: if USE_XCBC
  398:   SUBDIRS += plugins/xcbc
  399: if MONOLITHIC
  400:   libstrongswan_la_LIBADD += plugins/xcbc/libstrongswan-xcbc.la
  401: endif
  402: endif
  403: 
  404: if USE_X509
  405:   SUBDIRS += plugins/x509
  406: if MONOLITHIC
  407:   libstrongswan_la_LIBADD += plugins/x509/libstrongswan-x509.la
  408: endif
  409: endif
  410: 
  411: if USE_REVOCATION
  412:   SUBDIRS += plugins/revocation
  413: if MONOLITHIC
  414:   libstrongswan_la_LIBADD += plugins/revocation/libstrongswan-revocation.la
  415: endif
  416: endif
  417: 
  418: if USE_CONSTRAINTS
  419:   SUBDIRS += plugins/constraints
  420: if MONOLITHIC
  421:   libstrongswan_la_LIBADD += plugins/constraints/libstrongswan-constraints.la
  422: endif
  423: endif
  424: 
  425: if USE_ACERT
  426:   SUBDIRS += plugins/acert
  427: if MONOLITHIC
  428:   libstrongswan_la_LIBADD += plugins/acert/libstrongswan-acert.la
  429: endif
  430: endif
  431: 
  432: if USE_PUBKEY
  433:   SUBDIRS += plugins/pubkey
  434: if MONOLITHIC
  435:   libstrongswan_la_LIBADD += plugins/pubkey/libstrongswan-pubkey.la
  436: endif
  437: endif
  438: 
  439: if USE_PKCS1
  440:   SUBDIRS += plugins/pkcs1
  441: if MONOLITHIC
  442:   libstrongswan_la_LIBADD += plugins/pkcs1/libstrongswan-pkcs1.la
  443: endif
  444: endif
  445: 
  446: if USE_PKCS7
  447:   SUBDIRS += plugins/pkcs7
  448: if MONOLITHIC
  449:   libstrongswan_la_LIBADD += plugins/pkcs7/libstrongswan-pkcs7.la
  450: endif
  451: endif
  452: 
  453: if USE_PKCS8
  454:   SUBDIRS += plugins/pkcs8
  455: if MONOLITHIC
  456:   libstrongswan_la_LIBADD += plugins/pkcs8/libstrongswan-pkcs8.la
  457: endif
  458: endif
  459: 
  460: if USE_PKCS12
  461:   SUBDIRS += plugins/pkcs12
  462: if MONOLITHIC
  463:   libstrongswan_la_LIBADD += plugins/pkcs12/libstrongswan-pkcs12.la
  464: endif
  465: endif
  466: 
  467: if USE_PGP
  468:   SUBDIRS += plugins/pgp
  469: if MONOLITHIC
  470:   libstrongswan_la_LIBADD += plugins/pgp/libstrongswan-pgp.la
  471: endif
  472: endif
  473: 
  474: if USE_DNSKEY
  475:   SUBDIRS += plugins/dnskey
  476: if MONOLITHIC
  477:   libstrongswan_la_LIBADD += plugins/dnskey/libstrongswan-dnskey.la
  478: endif
  479: endif
  480: 
  481: if USE_SSHKEY
  482:   SUBDIRS += plugins/sshkey
  483: if MONOLITHIC
  484:   libstrongswan_la_LIBADD += plugins/sshkey/libstrongswan-sshkey.la
  485: endif
  486: endif
  487: 
  488: if USE_PEM
  489:   SUBDIRS += plugins/pem
  490: if MONOLITHIC
  491:   libstrongswan_la_LIBADD += plugins/pem/libstrongswan-pem.la
  492: endif
  493: endif
  494: 
  495: if USE_CURL
  496:   SUBDIRS += plugins/curl
  497: if MONOLITHIC
  498:   libstrongswan_la_LIBADD += plugins/curl/libstrongswan-curl.la
  499: endif
  500: endif
  501: 
  502: if USE_FILES
  503:   SUBDIRS += plugins/files
  504: if MONOLITHIC
  505:   libstrongswan_la_LIBADD += plugins/files/libstrongswan-files.la
  506: endif
  507: endif
  508: 
  509: if USE_WINHTTP
  510:   SUBDIRS += plugins/winhttp
  511: if MONOLITHIC
  512:   libstrongswan_la_LIBADD += plugins/winhttp/libstrongswan-winhttp.la
  513: endif
  514: endif
  515: 
  516: if USE_UNBOUND
  517:   SUBDIRS += plugins/unbound
  518: if MONOLITHIC
  519:   libstrongswan_la_LIBADD += plugins/unbound/libstrongswan-unbound.la
  520: endif
  521: endif
  522: 
  523: if USE_SOUP
  524:   SUBDIRS += plugins/soup
  525: if MONOLITHIC
  526:   libstrongswan_la_LIBADD += plugins/soup/libstrongswan-soup.la
  527: endif
  528: endif
  529: 
  530: if USE_LDAP
  531:   SUBDIRS += plugins/ldap
  532: if MONOLITHIC
  533:   libstrongswan_la_LIBADD += plugins/ldap/libstrongswan-ldap.la
  534: endif
  535: endif
  536: 
  537: if USE_MYSQL
  538:   SUBDIRS += plugins/mysql
  539: if MONOLITHIC
  540:   libstrongswan_la_LIBADD += plugins/mysql/libstrongswan-mysql.la
  541: endif
  542: endif
  543: 
  544: if USE_SQLITE
  545:   SUBDIRS += plugins/sqlite
  546: if MONOLITHIC
  547:   libstrongswan_la_LIBADD += plugins/sqlite/libstrongswan-sqlite.la
  548: endif
  549: endif
  550: 
  551: if USE_PADLOCK
  552:   SUBDIRS += plugins/padlock
  553: if MONOLITHIC
  554:   libstrongswan_la_LIBADD += plugins/padlock/libstrongswan-padlock.la
  555: endif
  556: endif
  557: 
  558: if USE_OPENSSL
  559:   SUBDIRS += plugins/openssl
  560: if MONOLITHIC
  561:   libstrongswan_la_LIBADD += plugins/openssl/libstrongswan-openssl.la
  562: endif
  563: endif
  564: 
  565: if USE_WOLFSSL
  566:   SUBDIRS += plugins/wolfssl
  567: if MONOLITHIC
  568:   libstrongswan_la_LIBADD += plugins/wolfssl/libstrongswan-wolfssl.la
  569: endif
  570: endif
  571: 
  572: if USE_GCRYPT
  573:   SUBDIRS += plugins/gcrypt
  574: if MONOLITHIC
  575:   libstrongswan_la_LIBADD += plugins/gcrypt/libstrongswan-gcrypt.la
  576: endif
  577: endif
  578: 
  579: if USE_BOTAN
  580:   SUBDIRS += plugins/botan
  581: if MONOLITHIC
  582:   libstrongswan_la_LIBADD += plugins/botan/libstrongswan-botan.la
  583: endif
  584: endif
  585: 
  586: if USE_FIPS_PRF
  587:   SUBDIRS += plugins/fips_prf
  588: if MONOLITHIC
  589:   libstrongswan_la_LIBADD += plugins/fips_prf/libstrongswan-fips-prf.la
  590: endif
  591: endif
  592: 
  593: if USE_AGENT
  594:   SUBDIRS += plugins/agent
  595: if MONOLITHIC
  596:   libstrongswan_la_LIBADD += plugins/agent/libstrongswan-agent.la
  597: endif
  598: endif
  599: 
  600: if USE_KEYCHAIN
  601:   SUBDIRS += plugins/keychain
  602: if MONOLITHIC
  603:   libstrongswan_la_LIBADD += plugins/keychain/libstrongswan-keychain.la
  604: endif
  605: endif
  606: 
  607: if USE_PKCS11
  608:   SUBDIRS += plugins/pkcs11
  609: if MONOLITHIC
  610:   libstrongswan_la_LIBADD += plugins/pkcs11/libstrongswan-pkcs11.la
  611: endif
  612: endif
  613: 
  614: if USE_CHAPOLY
  615:   SUBDIRS += plugins/chapoly
  616: if MONOLITHIC
  617:   libstrongswan_la_LIBADD += plugins/chapoly/libstrongswan-chapoly.la
  618: endif
  619: endif
  620: 
  621: if USE_CTR
  622:   SUBDIRS += plugins/ctr
  623: if MONOLITHIC
  624:   libstrongswan_la_LIBADD += plugins/ctr/libstrongswan-ctr.la
  625: endif
  626: endif
  627: 
  628: if USE_CCM
  629:   SUBDIRS += plugins/ccm
  630: if MONOLITHIC
  631:   libstrongswan_la_LIBADD += plugins/ccm/libstrongswan-ccm.la
  632: endif
  633: endif
  634: 
  635: if USE_GCM
  636:   SUBDIRS += plugins/gcm
  637: if MONOLITHIC
  638:   libstrongswan_la_LIBADD += plugins/gcm/libstrongswan-gcm.la
  639: endif
  640: endif
  641: 
  642: if USE_MGF1
  643:   SUBDIRS += plugins/mgf1
  644: if MONOLITHIC
  645:   libstrongswan_la_LIBADD += plugins/mgf1/libstrongswan-mgf1.la
  646: endif
  647: endif
  648: 
  649: if USE_NTRU
  650:   SUBDIRS += plugins/ntru
  651: if MONOLITHIC
  652:   libstrongswan_la_LIBADD += plugins/ntru/libstrongswan-ntru.la
  653: endif
  654: endif
  655: 
  656: if USE_BLISS
  657:   SUBDIRS += plugins/bliss
  658: if MONOLITHIC
  659:   libstrongswan_la_LIBADD += plugins/bliss/libstrongswan-bliss.la
  660: endif
  661: endif
  662: 
  663: if USE_NEWHOPE
  664:   SUBDIRS += plugins/newhope
  665: if MONOLITHIC
  666:   libstrongswan_la_LIBADD += plugins/newhope/libstrongswan-newhope.la
  667: endif
  668: endif
  669: 
  670: if USE_DRBG
  671:   SUBDIRS += plugins/drbg
  672: if MONOLITHIC
  673:   libstrongswan_la_LIBADD += plugins/drbg/libstrongswan-drbg.la
  674: endif
  675: endif
  676: 
  677: if USE_TEST_VECTORS
  678:   SUBDIRS += plugins/test_vectors
  679: if MONOLITHIC
  680:   libstrongswan_la_LIBADD += plugins/test_vectors/libstrongswan-test-vectors.la
  681: endif
  682: endif
  683: 
  684: if MONOLITHIC
  685:   SUBDIRS += .
  686: endif
  687: 
  688: # build unit tests
  689: ##################
  690: 
  691: SUBDIRS += tests
  692: 
  693: if USE_LIBNTTFFT
  694:   SUBDIRS += math/libnttfft/tests
  695: endif
  696: 
  697: if USE_BLISS
  698:   SUBDIRS += plugins/bliss/tests
  699: endif
  700: 
  701: if USE_NEWHOPE
  702:   SUBDIRS += plugins/newhope/tests
  703: endif

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>