]> git.ipfire.org Git - people/ms/strongswan.git/blame - src/libstrongswan/Makefile.am
string: Move string related utility functions to separate files
[people/ms/strongswan.git] / src / libstrongswan / Makefile.am
CommitLineData
60d62b9e 1ipseclib_LTLIBRARIES = libstrongswan.la
f2c2d395 2
e3b7be91 3libstrongswan_la_SOURCES = \
f9625952 4library.c \
292d8f41 5asn1/asn1.c asn1/asn1_parser.c asn1/oid.c bio/bio_reader.c bio/bio_writer.c \
12642a68 6collections/blocking_queue.c collections/enumerator.c collections/hashtable.c \
2621ff4d 7collections/array.c \
03ba8f9e 8collections/linked_list.c crypto/crypters/crypter.c crypto/hashers/hasher.c \
1d384bf8 9crypto/hashers/hash_algorithm_set.c \
8c2ec471 10crypto/proposal/proposal_keywords.c crypto/proposal/proposal_keywords_static.c \
4076e3ee 11crypto/prfs/prf.c crypto/prfs/mac_prf.c crypto/pkcs5.c \
71154485
MW
12crypto/rngs/rng.c crypto/prf_plus.c crypto/signers/signer.c \
13crypto/signers/mac_signer.c crypto/crypto_factory.c crypto/crypto_tester.c \
14crypto/diffie_hellman.c crypto/aead.c crypto/transform.c \
a4549e55 15crypto/iv/iv_gen.c crypto/iv/iv_gen_rand.c crypto/iv/iv_gen_seq.c \
988d4771 16crypto/mgf1/mgf1.c crypto/mgf1/mgf1_bitspender.c \
71154485
MW
17credentials/credential_factory.c credentials/builder.c \
18credentials/cred_encoding.c credentials/keys/private_key.c \
19credentials/keys/public_key.c credentials/keys/shared_key.c \
20credentials/certificates/certificate.c credentials/certificates/crl.c \
21credentials/certificates/ocsp_response.c \
d41e54c6 22credentials/containers/container.c credentials/containers/pkcs12.c \
a17598bc 23credentials/credential_manager.c \
71154485
MW
24credentials/sets/auth_cfg_wrapper.c credentials/sets/ocsp_response_wrapper.c \
25credentials/sets/cert_cache.c credentials/sets/mem_cred.c \
26credentials/sets/callback_cred.c credentials/auth_cfg.c database/database.c \
d4cf9cdf 27database/database_factory.c fetcher/fetcher.c fetcher/fetcher_manager.c eap/eap.c \
156f7e9b 28ipsec/ipsec_types.c \
fdee6b5f 29networking/host.c networking/host_resolver.c networking/packet.c \
aa5b49c0
MW
30networking/tun_device.c networking/streams/stream_manager.c \
31networking/streams/stream.c networking/streams/stream_service.c \
32networking/streams/stream_tcp.c networking/streams/stream_service_tcp.c \
d4cf9cdf 33pen/pen.c plugins/plugin_loader.c plugins/plugin_feature.c processing/jobs/job.c \
71154485 34processing/jobs/callback_job.c processing/processor.c processing/scheduler.c \
32b2a5e0 35processing/watcher.c resolver/resolver_manager.c resolver/rr_set.c \
f99d1f7b 36selectors/traffic_selector.c settings/settings.c settings/settings_types.c \
f155880e 37settings/settings_parser.y settings/settings_lexer.l utils/cpu_feature.c \
bca34c37 38utils/utils.c utils/chunk.c utils/debug.c utils/enum.c utils/identification.c \
f05b4272 39utils/lexparser.c utils/optionsfrom.c utils/capabilities.c utils/backtrace.c \
717313c5 40utils/parser_helper.c utils/test.c utils/process.c utils/utils/strerror.c \
bbfe7a80 41utils/utils/atomics.c utils/utils/string.c
e18556e9 42
aa5b49c0
MW
43if !USE_WINDOWS
44 libstrongswan_la_SOURCES += \
0fa9c958
MW
45 threading/thread.c \
46 threading/thread_value.c \
47 threading/mutex.c \
48 threading/rwlock.c \
49 threading/spinlock.c \
50 threading/semaphore.c \
aa5b49c0
MW
51 networking/streams/stream_unix.c \
52 networking/streams/stream_service_unix.c
53endif
54
f99d1f7b
TB
55# private header files
56noinst_HEADERS = \
57settings/settings_types.h
58
b188f231
MW
59if USE_DEV_HEADERS
60strongswan_includedir = ${dev_headers}
71154485 61nobase_strongswan_include_HEADERS = \
f9625952 62library.h \
71154485 63asn1/asn1.h asn1/asn1_parser.h asn1/oid.h bio/bio_reader.h bio/bio_writer.h \
12642a68 64collections/blocking_queue.h collections/enumerator.h collections/hashtable.h \
9dbf2019 65collections/linked_list.h collections/array.h collections/dictionary.h \
1d384bf8
TB
66crypto/crypters/crypter.h crypto/hashers/hasher.h \
67crypto/hashers/hash_algorithm_set.h crypto/mac.h \
03ba8f9e 68crypto/proposal/proposal_keywords.h crypto/proposal/proposal_keywords_static.h \
71154485
MW
69crypto/prfs/prf.h crypto/prfs/mac_prf.h crypto/rngs/rng.h crypto/nonce_gen.h \
70crypto/prf_plus.h crypto/signers/signer.h crypto/signers/mac_signer.h \
71crypto/crypto_factory.h crypto/crypto_tester.h crypto/diffie_hellman.h \
403057aa 72crypto/aead.h crypto/transform.h crypto/pkcs5.h crypto/iv/iv_gen.h \
988d4771
AS
73crypto/iv/iv_gen_rand.h crypto/iv/iv_gen_seq.h \
74crypto/mgf1/mgf1.h crypto/mgf1/mgf1_bitspender.h \
71154485
MW
75credentials/credential_factory.h credentials/builder.h \
76credentials/cred_encoding.h credentials/keys/private_key.h \
77credentials/keys/public_key.h credentials/keys/shared_key.h \
78credentials/certificates/certificate.h credentials/certificates/x509.h \
79credentials/certificates/ac.h credentials/certificates/crl.h \
80credentials/certificates/pkcs10.h credentials/certificates/ocsp_request.h \
81credentials/certificates/ocsp_response.h \
82credentials/certificates/pgp_certificate.h \
fc67a932 83credentials/containers/container.h credentials/containers/pkcs7.h \
d41e54c6 84credentials/containers/pkcs12.h \
71154485
MW
85credentials/credential_manager.h credentials/sets/auth_cfg_wrapper.h \
86credentials/sets/ocsp_response_wrapper.h credentials/sets/cert_cache.h \
87credentials/sets/mem_cred.h credentials/sets/callback_cred.h \
88credentials/auth_cfg.h credentials/credential_set.h credentials/cert_validator.h \
d4cf9cdf 89database/database.h database/database_factory.h fetcher/fetcher.h \
156f7e9b 90fetcher/fetcher_manager.h eap/eap.h pen/pen.h ipsec/ipsec_types.h \
fdee6b5f 91networking/host.h networking/host_resolver.h networking/packet.h \
b6b94000 92networking/tun_device.h networking/streams/stream.h \
aa5b49c0
MW
93networking/streams/stream_unix.h networking/streams/stream_service_unix.h \
94networking/streams/stream_tcp.h networking/streams/stream_service_tcp.h \
d6ff5394 95networking/streams/stream_service.h networking/streams/stream_manager.h \
ffdeeb66 96resolver/resolver.h resolver/resolver_response.h resolver/rr_set.h \
b1505b34 97resolver/rr.h resolver/resolver_manager.h \
17f806d8
AS
98plugins/plugin_loader.h plugins/plugin.h plugins/plugin_feature.h \
99processing/jobs/job.h processing/jobs/callback_job.h processing/processor.h \
32b2a5e0 100processing/scheduler.h processing/watcher.h selectors/traffic_selector.h \
0fa9c958
MW
101settings/settings.h threading/thread_value.h \
102threading/thread.h threading/windows/thread.h \
d4cf9cdf 103threading/mutex.h threading/condvar.h threading/spinlock.h threading/semaphore.h \
60dc4464 104threading/rwlock.h threading/rwlock_condvar.h threading/lock_profiler.h \
bca34c37 105utils/utils.h utils/chunk.h utils/debug.h utils/enum.h utils/identification.h \
f05b4272 106utils/lexparser.h utils/optionsfrom.h utils/capabilities.h utils/backtrace.h \
f155880e 107utils/cpu_feature.h utils/leak_detective.h utils/printf_hook/printf_hook.h \
cabe5c0f 108utils/printf_hook/printf_hook_vstr.h utils/printf_hook/printf_hook_builtin.h \
89f19ef8 109utils/parser_helper.h utils/test.h utils/integrity_checker.h utils/process.h \
717313c5 110utils/utils/strerror.h utils/compat/windows.h utils/compat/apple.h \
bbfe7a80
MW
111utils/utils/atomics.h utils/utils/types.h utils/utils/byteorder.h \
112utils/utils/string.h
b188f231 113endif
f2c2d395 114
908e7522
MW
115library.lo : $(top_builddir)/config.status
116
0fa9c958 117libstrongswan_la_LIBADD = $(DLLIB) $(BTLIB) $(SOCKLIB) $(RTLIB) $(BFDLIB) $(UNWINDLIB)
f2c2d395 118
19cb07b8
MW
119AM_CPPFLAGS = \
120 -I$(top_srcdir)/src/libstrongswan \
121 -DIPSEC_DIR=\"${ipsecdir}\" \
122 -DIPSEC_LIB_DIR=\"${ipseclibdir}\" \
123 -DPLUGINDIR=\"${plugindir}\" \
124 -DSTRONGSWAN_CONF=\"${strongswan_conf}\"
125
08b2d288 126AM_CFLAGS = \
19cb07b8 127 @COVERAGE_CFLAGS@
d6c32b83 128
9af44ef5
TB
129AM_LDFLAGS = \
130 -no-undefined
131
1f669078
TB
132AM_YFLAGS = -v -d
133
71bf82d4 134if USE_WINDOWS
9c62511c 135 libstrongswan_la_LIBADD += -lws2_32 -lpsapi
87a79e6a 136 libstrongswan_la_SOURCES += \
0fa9c958
MW
137 threading/windows/thread.c \
138 threading/windows/thread_value.c \
139 threading/windows/mutex.c \
140 threading/windows/rwlock.c \
141 threading/windows/spinlock.c \
142 threading/windows/semaphore.c \
89f19ef8 143 utils/compat/windows.c
0fa9c958
MW
144else
145 libstrongswan_la_LIBADD += $(PTHREADLIB)
71bf82d4
MW
146endif
147
a7e943a6
MW
148if USE_DBGHELP
149 libstrongswan_la_LIBADD += -ldbghelp
150 AM_CPPFLAGS += -DHAVE_DBGHELP
151endif
152
4acc8989 153if USE_LEAK_DETECTIVE
19cb07b8 154 AM_CPPFLAGS += -DLEAK_DETECTIVE
9564f9eb 155 libstrongswan_la_SOURCES += utils/leak_detective.c
a9184df3
MW
156endif
157
02140125 158if USE_LOCK_PROFILER
19cb07b8 159 AM_CPPFLAGS += -DLOCK_PROFILER
02140125
MW
160endif
161
bef50875 162if USE_INTEGRITY_TEST
19cb07b8 163 AM_CPPFLAGS += -DINTEGRITY_TEST
08944b68 164 libstrongswan_la_SOURCES += utils/integrity_checker.c
bef50875
MW
165endif
166
d25ce370 167if USE_VSTR
24304824 168 libstrongswan_la_SOURCES += utils/printf_hook/printf_hook_vstr.c
d25ce370
TB
169 libstrongswan_la_LIBADD += -lvstr
170endif
171
cabe5c0f
MW
172if USE_BUILTIN_PRINTF
173 libstrongswan_la_SOURCES += utils/printf_hook/printf_hook_builtin.c
174 libstrongswan_la_LIBADD += -lm
175endif
176
177if !USE_BUILTIN_PRINTF
24304824
MW
178if !USE_VSTR
179 libstrongswan_la_SOURCES += utils/printf_hook/printf_hook_glibc.c
180endif
cabe5c0f 181endif
24304824 182
0619ddfa
MW
183if USE_LIBCAP
184 libstrongswan_la_LIBADD += -lcap
185endif
186
433cb51b
AS
187EXTRA_DIST = \
188asn1/oid.txt asn1/oid.pl \
8c2ec471 189crypto/proposal/proposal_keywords_static.txt \
1be32988 190Android.mk AndroidConfigLocal.h
433cb51b
AS
191
192BUILT_SOURCES = \
193$(srcdir)/asn1/oid.c $(srcdir)/asn1/oid.h \
1f669078
TB
194$(srcdir)/crypto/proposal/proposal_keywords_static.c \
195settings/settings_parser.h
433cb51b
AS
196
197MAINTAINERCLEANFILES = \
198$(srcdir)/asn1/oid.c $(srcdir)/asn1/oid.h \
8c2ec471 199$(srcdir)/crypto/proposal/proposal_keywords_static.c
55434a1b 200
d24a74c5 201$(srcdir)/asn1/oid.c : $(srcdir)/asn1/oid.pl $(srcdir)/asn1/oid.txt
f932677f 202 $(AM_V_GEN) \
d24a74c5 203 (cd $(srcdir)/asn1/ && $(PERL) oid.pl)
d6c32b83 204
d24a74c5 205$(srcdir)/asn1/oid.h : $(srcdir)/asn1/oid.pl $(srcdir)/asn1/oid.txt
f932677f 206 $(AM_V_GEN) \
d24a74c5 207 (cd $(srcdir)/asn1/ && $(PERL) oid.pl)
55434a1b 208
8c2ec471
FK
209$(srcdir)/crypto/proposal/proposal_keywords_static.c: $(srcdir)/crypto/proposal/proposal_keywords_static.txt \
210 $(srcdir)/crypto/proposal/proposal_keywords_static.h
9f1dfd88 211 $(AM_V_GEN) \
8c2ec471
FK
212 $(GPERF) -N proposal_get_token_static -m 10 -C -G -c -t -D < \
213 $(srcdir)/crypto/proposal/proposal_keywords_static.txt > $@
433cb51b 214
552cc11b
MW
215
216# build plugins with their own Makefile
217#######################################
218
0ace3528 219if MONOLITHIC
6ec60bb9 220SUBDIRS =
0ace3528
TB
221else
222SUBDIRS = .
223endif
552cc11b 224
71c87e34
MW
225if USE_AF_ALG
226 SUBDIRS += plugins/af_alg
227if MONOLITHIC
228 libstrongswan_la_LIBADD += plugins/af_alg/libstrongswan-af-alg.la
229endif
230endif
231
552cc11b
MW
232if USE_AES
233 SUBDIRS += plugins/aes
6ec60bb9
TB
234if MONOLITHIC
235 libstrongswan_la_LIBADD += plugins/aes/libstrongswan-aes.la
236endif
552cc11b
MW
237endif
238
239if USE_DES
240 SUBDIRS += plugins/des
6ec60bb9
TB
241if MONOLITHIC
242 libstrongswan_la_LIBADD += plugins/des/libstrongswan-des.la
243endif
552cc11b
MW
244endif
245
d36ae9e3
AS
246if USE_BLOWFISH
247 SUBDIRS += plugins/blowfish
6ec60bb9
TB
248if MONOLITHIC
249 libstrongswan_la_LIBADD += plugins/blowfish/libstrongswan-blowfish.la
250endif
d36ae9e3
AS
251endif
252
9d4fc867
TB
253if USE_RC2
254 SUBDIRS += plugins/rc2
255if MONOLITHIC
256 libstrongswan_la_LIBADD += plugins/rc2/libstrongswan-rc2.la
257endif
258endif
259
1e0d1ae2
AS
260if USE_MD4
261 SUBDIRS += plugins/md4
6ec60bb9
TB
262if MONOLITHIC
263 libstrongswan_la_LIBADD += plugins/md4/libstrongswan-md4.la
264endif
1e0d1ae2
AS
265endif
266
552cc11b
MW
267if USE_MD5
268 SUBDIRS += plugins/md5
6ec60bb9
TB
269if MONOLITHIC
270 libstrongswan_la_LIBADD += plugins/md5/libstrongswan-md5.la
271endif
552cc11b
MW
272endif
273
274if USE_SHA1
275 SUBDIRS += plugins/sha1
6ec60bb9
TB
276if MONOLITHIC
277 libstrongswan_la_LIBADD += plugins/sha1/libstrongswan-sha1.la
278endif
552cc11b
MW
279endif
280
281if USE_SHA2
282 SUBDIRS += plugins/sha2
6ec60bb9
TB
283if MONOLITHIC
284 libstrongswan_la_LIBADD += plugins/sha2/libstrongswan-sha2.la
285endif
552cc11b
MW
286endif
287
552cc11b
MW
288if USE_GMP
289 SUBDIRS += plugins/gmp
6ec60bb9
TB
290if MONOLITHIC
291 libstrongswan_la_LIBADD += plugins/gmp/libstrongswan-gmp.la
292endif
552cc11b
MW
293endif
294
ed8dc6f1
MW
295if USE_RDRAND
296 SUBDIRS += plugins/rdrand
297if MONOLITHIC
298 libstrongswan_la_LIBADD += plugins/rdrand/libstrongswan-rdrand.la
299endif
300endif
301
78c04b5d
MW
302if USE_AESNI
303 SUBDIRS += plugins/aesni
304if MONOLITHIC
305 libstrongswan_la_LIBADD += plugins/aesni/libstrongswan-aesni.la
306endif
307endif
308
6a365f07
MW
309if USE_RANDOM
310 SUBDIRS += plugins/random
6ec60bb9
TB
311if MONOLITHIC
312 libstrongswan_la_LIBADD += plugins/random/libstrongswan-random.la
313endif
6a365f07
MW
314endif
315
04024b5d
AKR
316if USE_NONCE
317 SUBDIRS += plugins/nonce
318if MONOLITHIC
319 libstrongswan_la_LIBADD += plugins/nonce/libstrongswan-nonce.la
320endif
321endif
322
552cc11b
MW
323if USE_HMAC
324 SUBDIRS += plugins/hmac
6ec60bb9
TB
325if MONOLITHIC
326 libstrongswan_la_LIBADD += plugins/hmac/libstrongswan-hmac.la
327endif
552cc11b
MW
328endif
329
c0d39c20
TB
330if USE_CMAC
331 SUBDIRS += plugins/cmac
332if MONOLITHIC
333 libstrongswan_la_LIBADD += plugins/cmac/libstrongswan-cmac.la
334endif
335endif
336
27d04e05
MW
337if USE_XCBC
338 SUBDIRS += plugins/xcbc
6ec60bb9
TB
339if MONOLITHIC
340 libstrongswan_la_LIBADD += plugins/xcbc/libstrongswan-xcbc.la
341endif
27d04e05
MW
342endif
343
552cc11b
MW
344if USE_X509
345 SUBDIRS += plugins/x509
6ec60bb9
TB
346if MONOLITHIC
347 libstrongswan_la_LIBADD += plugins/x509/libstrongswan-x509.la
348endif
552cc11b
MW
349endif
350
c2e5cee4
MW
351if USE_REVOCATION
352 SUBDIRS += plugins/revocation
353if MONOLITHIC
354 libstrongswan_la_LIBADD += plugins/revocation/libstrongswan-revocation.la
355endif
356endif
357
01d30381
MW
358if USE_CONSTRAINTS
359 SUBDIRS += plugins/constraints
360if MONOLITHIC
361 libstrongswan_la_LIBADD += plugins/constraints/libstrongswan-constraints.la
362endif
363endif
364
5ac0e668
MW
365if USE_ACERT
366 SUBDIRS += plugins/acert
367if MONOLITHIC
368 libstrongswan_la_LIBADD += plugins/acert/libstrongswan-acert.la
369endif
370endif
371
affd7a90
MW
372if USE_PUBKEY
373 SUBDIRS += plugins/pubkey
6ec60bb9
TB
374if MONOLITHIC
375 libstrongswan_la_LIBADD += plugins/pubkey/libstrongswan-pubkey.la
376endif
affd7a90
MW
377endif
378
1e0f6937
MW
379if USE_PKCS1
380 SUBDIRS += plugins/pkcs1
6ec60bb9
TB
381if MONOLITHIC
382 libstrongswan_la_LIBADD += plugins/pkcs1/libstrongswan-pkcs1.la
383endif
1e0f6937
MW
384endif
385
bd20f040
MW
386if USE_PKCS7
387 SUBDIRS += plugins/pkcs7
388if MONOLITHIC
389 libstrongswan_la_LIBADD += plugins/pkcs7/libstrongswan-pkcs7.la
390endif
391endif
392
5ec525c1
TB
393if USE_PKCS8
394 SUBDIRS += plugins/pkcs8
395if MONOLITHIC
396 libstrongswan_la_LIBADD += plugins/pkcs8/libstrongswan-pkcs8.la
397endif
398endif
399
feef6373
TB
400if USE_PKCS12
401 SUBDIRS += plugins/pkcs12
402if MONOLITHIC
403 libstrongswan_la_LIBADD += plugins/pkcs12/libstrongswan-pkcs12.la
404endif
405endif
406
9493dd2c
MW
407if USE_PGP
408 SUBDIRS += plugins/pgp
6ec60bb9
TB
409if MONOLITHIC
410 libstrongswan_la_LIBADD += plugins/pgp/libstrongswan-pgp.la
411endif
9493dd2c
MW
412endif
413
5ef478aa
MW
414if USE_DNSKEY
415 SUBDIRS += plugins/dnskey
6ec60bb9
TB
416if MONOLITHIC
417 libstrongswan_la_LIBADD += plugins/dnskey/libstrongswan-dnskey.la
418endif
5ef478aa
MW
419endif
420
584d656b
TB
421if USE_SSHKEY
422 SUBDIRS += plugins/sshkey
423if MONOLITHIC
424 libstrongswan_la_LIBADD += plugins/sshkey/libstrongswan-sshkey.la
425endif
426endif
427
160f4c22
MW
428if USE_PEM
429 SUBDIRS += plugins/pem
6ec60bb9
TB
430if MONOLITHIC
431 libstrongswan_la_LIBADD += plugins/pem/libstrongswan-pem.la
432endif
160f4c22
MW
433endif
434
552cc11b
MW
435if USE_CURL
436 SUBDIRS += plugins/curl
6ec60bb9
TB
437if MONOLITHIC
438 libstrongswan_la_LIBADD += plugins/curl/libstrongswan-curl.la
439endif
552cc11b
MW
440endif
441
1735d80f
TB
442if USE_FILES
443 SUBDIRS += plugins/files
444if MONOLITHIC
445 libstrongswan_la_LIBADD += plugins/files/libstrongswan-files.la
446endif
447endif
448
6f90fc80
MW
449if USE_WINHTTP
450 SUBDIRS += plugins/winhttp
451if MONOLITHIC
452 libstrongswan_la_LIBADD += plugins/winhttp/libstrongswan-winhttp.la
453endif
454endif
455
9f963a7c
RG
456if USE_UNBOUND
457 SUBDIRS += plugins/unbound
458if MONOLITHIC
459 libstrongswan_la_LIBADD += plugins/unbound/libstrongswan-unbound.la
460endif
461endif
462
2ca52c80
MW
463if USE_SOUP
464 SUBDIRS += plugins/soup
465if MONOLITHIC
466 libstrongswan_la_LIBADD += plugins/soup/libstrongswan-soup.la
467endif
468endif
469
552cc11b
MW
470if USE_LDAP
471 SUBDIRS += plugins/ldap
6ec60bb9
TB
472if MONOLITHIC
473 libstrongswan_la_LIBADD += plugins/ldap/libstrongswan-ldap.la
474endif
552cc11b
MW
475endif
476
477if USE_MYSQL
478 SUBDIRS += plugins/mysql
6ec60bb9
TB
479if MONOLITHIC
480 libstrongswan_la_LIBADD += plugins/mysql/libstrongswan-mysql.la
481endif
552cc11b
MW
482endif
483
484if USE_SQLITE
485 SUBDIRS += plugins/sqlite
6ec60bb9
TB
486if MONOLITHIC
487 libstrongswan_la_LIBADD += plugins/sqlite/libstrongswan-sqlite.la
488endif
552cc11b
MW
489endif
490
36d62fac
MW
491if USE_PADLOCK
492 SUBDIRS += plugins/padlock
6ec60bb9
TB
493if MONOLITHIC
494 libstrongswan_la_LIBADD += plugins/padlock/libstrongswan-padlock.la
495endif
36d62fac 496endif
552cc11b 497
17353034
TB
498if USE_OPENSSL
499 SUBDIRS += plugins/openssl
6ec60bb9
TB
500if MONOLITHIC
501 libstrongswan_la_LIBADD += plugins/openssl/libstrongswan-openssl.la
502endif
17353034
TB
503endif
504
4977018c
MW
505if USE_GCRYPT
506 SUBDIRS += plugins/gcrypt
6ec60bb9
TB
507if MONOLITHIC
508 libstrongswan_la_LIBADD += plugins/gcrypt/libstrongswan-gcrypt.la
509endif
4977018c
MW
510endif
511
40f130da
MW
512if USE_FIPS_PRF
513 SUBDIRS += plugins/fips_prf
514if MONOLITHIC
515 libstrongswan_la_LIBADD += plugins/fips_prf/libstrongswan-fips-prf.la
516endif
517endif
518
21c95463
MW
519if USE_AGENT
520 SUBDIRS += plugins/agent
6ec60bb9
TB
521if MONOLITHIC
522 libstrongswan_la_LIBADD += plugins/agent/libstrongswan-agent.la
523endif
21c95463
MW
524endif
525
7b8edabd
MW
526if USE_KEYCHAIN
527 SUBDIRS += plugins/keychain
528if MONOLITHIC
529 libstrongswan_la_LIBADD += plugins/keychain/libstrongswan-keychain.la
530endif
531endif
532
6e862e21
MW
533if USE_PKCS11
534 SUBDIRS += plugins/pkcs11
535if MONOLITHIC
536 libstrongswan_la_LIBADD += plugins/pkcs11/libstrongswan-pkcs11.la
537endif
538endif
539
272f0e1a
MW
540if USE_CTR
541 SUBDIRS += plugins/ctr
542if MONOLITHIC
543 libstrongswan_la_LIBADD += plugins/ctr/libstrongswan-ctr.la
544endif
545endif
546
80a93a13
MW
547if USE_CCM
548 SUBDIRS += plugins/ccm
549if MONOLITHIC
550 libstrongswan_la_LIBADD += plugins/ccm/libstrongswan-ccm.la
551endif
552endif
553
1a649810
MW
554if USE_GCM
555 SUBDIRS += plugins/gcm
556if MONOLITHIC
557 libstrongswan_la_LIBADD += plugins/gcm/libstrongswan-gcm.la
558endif
559endif
560
146ad86b
AS
561if USE_NTRU
562 SUBDIRS += plugins/ntru
563if MONOLITHIC
564 libstrongswan_la_LIBADD += plugins/ntru/libstrongswan-ntru.la
565endif
566endif
567
700df238
TB
568if USE_BLISS
569 SUBDIRS += plugins/bliss
570if MONOLITHIC
571 libstrongswan_la_LIBADD += plugins/bliss/libstrongswan-bliss.la
572endif
573endif
574
81811a9d
MW
575if USE_TEST_VECTORS
576 SUBDIRS += plugins/test_vectors
6ec60bb9
TB
577if MONOLITHIC
578 libstrongswan_la_LIBADD += plugins/test_vectors/libstrongswan-test-vectors.la
579endif
81811a9d 580endif
156dcbc1 581
156dcbc1
TB
582if MONOLITHIC
583 SUBDIRS += .
584endif
a5860cdd 585SUBDIRS += tests
37bfe443 586if USE_BLISS
700df238 587 SUBDIRS += plugins/bliss/tests
37bfe443 588endif