Annotation of embedaddon/strongswan/src/libstrongswan/Makefile.am, revision 1.1.1.1

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

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