]>
Commit | Line | Data |
---|---|---|
60d62b9e | 1 | ipseclib_LTLIBRARIES = libstrongswan.la |
f2c2d395 | 2 | |
e3b7be91 | 3 | libstrongswan_la_SOURCES = \ |
f9625952 | 4 | library.c \ |
292d8f41 | 5 | asn1/asn1.c asn1/asn1_parser.c asn1/oid.c bio/bio_reader.c bio/bio_writer.c \ |
12642a68 | 6 | collections/blocking_queue.c collections/enumerator.c collections/hashtable.c \ |
2621ff4d | 7 | collections/array.c \ |
03ba8f9e | 8 | collections/linked_list.c crypto/crypters/crypter.c crypto/hashers/hasher.c \ |
8c2ec471 | 9 | crypto/proposal/proposal_keywords.c crypto/proposal/proposal_keywords_static.c \ |
4076e3ee | 10 | crypto/prfs/prf.c crypto/prfs/mac_prf.c crypto/pkcs5.c \ |
71154485 MW |
11 | crypto/rngs/rng.c crypto/prf_plus.c crypto/signers/signer.c \ |
12 | crypto/signers/mac_signer.c crypto/crypto_factory.c crypto/crypto_tester.c \ | |
13 | crypto/diffie_hellman.c crypto/aead.c crypto/transform.c \ | |
14 | credentials/credential_factory.c credentials/builder.c \ | |
15 | credentials/cred_encoding.c credentials/keys/private_key.c \ | |
16 | credentials/keys/public_key.c credentials/keys/shared_key.c \ | |
17 | credentials/certificates/certificate.c credentials/certificates/crl.c \ | |
18 | credentials/certificates/ocsp_response.c \ | |
d41e54c6 | 19 | credentials/containers/container.c credentials/containers/pkcs12.c \ |
71154485 MW |
20 | credentials/ietf_attributes/ietf_attributes.c credentials/credential_manager.c \ |
21 | credentials/sets/auth_cfg_wrapper.c credentials/sets/ocsp_response_wrapper.c \ | |
22 | credentials/sets/cert_cache.c credentials/sets/mem_cred.c \ | |
23 | credentials/sets/callback_cred.c credentials/auth_cfg.c database/database.c \ | |
d4cf9cdf | 24 | database/database_factory.c fetcher/fetcher.c fetcher/fetcher_manager.c eap/eap.c \ |
156f7e9b | 25 | ipsec/ipsec_types.c \ |
fdee6b5f TB |
26 | networking/host.c networking/host_resolver.c networking/packet.c \ |
27 | networking/tun_device.c \ | |
d4cf9cdf | 28 | pen/pen.c plugins/plugin_loader.c plugins/plugin_feature.c processing/jobs/job.c \ |
71154485 | 29 | processing/jobs/callback_job.c processing/processor.c processing/scheduler.c \ |
62ea67e7 | 30 | resolver/resolver_manager.c resolver/rr_set.c \ |
71154485 MW |
31 | selectors/traffic_selector.c threading/thread.c threading/thread_value.c \ |
32 | threading/mutex.c threading/semaphore.c threading/rwlock.c threading/spinlock.c \ | |
bca34c37 | 33 | utils/utils.c utils/chunk.c utils/debug.c utils/enum.c utils/identification.c \ |
f05b4272 | 34 | utils/lexparser.c utils/optionsfrom.c utils/capabilities.c utils/backtrace.c \ |
f9625952 | 35 | utils/printf_hook.c utils/settings.c |
e18556e9 | 36 | |
b188f231 MW |
37 | if USE_DEV_HEADERS |
38 | strongswan_includedir = ${dev_headers} | |
71154485 | 39 | nobase_strongswan_include_HEADERS = \ |
f9625952 | 40 | library.h \ |
71154485 | 41 | asn1/asn1.h asn1/asn1_parser.h asn1/oid.h bio/bio_reader.h bio/bio_writer.h \ |
12642a68 | 42 | collections/blocking_queue.h collections/enumerator.h collections/hashtable.h \ |
2621ff4d | 43 | collections/linked_list.h collections/array.h \ |
71154485 | 44 | crypto/crypters/crypter.h crypto/hashers/hasher.h crypto/mac.h \ |
03ba8f9e | 45 | crypto/proposal/proposal_keywords.h crypto/proposal/proposal_keywords_static.h \ |
71154485 MW |
46 | crypto/prfs/prf.h crypto/prfs/mac_prf.h crypto/rngs/rng.h crypto/nonce_gen.h \ |
47 | crypto/prf_plus.h crypto/signers/signer.h crypto/signers/mac_signer.h \ | |
48 | crypto/crypto_factory.h crypto/crypto_tester.h crypto/diffie_hellman.h \ | |
4076e3ee | 49 | crypto/aead.h crypto/transform.h crypto/pkcs5.h \ |
71154485 MW |
50 | credentials/credential_factory.h credentials/builder.h \ |
51 | credentials/cred_encoding.h credentials/keys/private_key.h \ | |
52 | credentials/keys/public_key.h credentials/keys/shared_key.h \ | |
53 | credentials/certificates/certificate.h credentials/certificates/x509.h \ | |
54 | credentials/certificates/ac.h credentials/certificates/crl.h \ | |
55 | credentials/certificates/pkcs10.h credentials/certificates/ocsp_request.h \ | |
56 | credentials/certificates/ocsp_response.h \ | |
57 | credentials/certificates/pgp_certificate.h \ | |
fc67a932 | 58 | credentials/containers/container.h credentials/containers/pkcs7.h \ |
d41e54c6 | 59 | credentials/containers/pkcs12.h \ |
71154485 MW |
60 | credentials/ietf_attributes/ietf_attributes.h \ |
61 | credentials/credential_manager.h credentials/sets/auth_cfg_wrapper.h \ | |
62 | credentials/sets/ocsp_response_wrapper.h credentials/sets/cert_cache.h \ | |
63 | credentials/sets/mem_cred.h credentials/sets/callback_cred.h \ | |
64 | credentials/auth_cfg.h credentials/credential_set.h credentials/cert_validator.h \ | |
d4cf9cdf | 65 | database/database.h database/database_factory.h fetcher/fetcher.h \ |
156f7e9b | 66 | fetcher/fetcher_manager.h eap/eap.h pen/pen.h ipsec/ipsec_types.h \ |
fdee6b5f TB |
67 | networking/host.h networking/host_resolver.h networking/packet.h \ |
68 | networking/tun_device.h \ | |
ffdeeb66 | 69 | resolver/resolver.h resolver/resolver_response.h resolver/rr_set.h \ |
b1505b34 | 70 | resolver/rr.h resolver/resolver_manager.h \ |
17f806d8 AS |
71 | plugins/plugin_loader.h plugins/plugin.h plugins/plugin_feature.h \ |
72 | processing/jobs/job.h processing/jobs/callback_job.h processing/processor.h \ | |
156f7e9b TB |
73 | processing/scheduler.h selectors/traffic_selector.h \ |
74 | threading/thread.h threading/thread_value.h \ | |
d4cf9cdf | 75 | threading/mutex.h threading/condvar.h threading/spinlock.h threading/semaphore.h \ |
60dc4464 | 76 | threading/rwlock.h threading/rwlock_condvar.h threading/lock_profiler.h \ |
bca34c37 | 77 | utils/utils.h utils/chunk.h utils/debug.h utils/enum.h utils/identification.h \ |
f05b4272 | 78 | utils/lexparser.h utils/optionsfrom.h utils/capabilities.h utils/backtrace.h \ |
f9625952 | 79 | utils/leak_detective.h utils/printf_hook.h utils/settings.h utils/integrity_checker.h |
b188f231 | 80 | endif |
f2c2d395 | 81 | |
908e7522 MW |
82 | library.lo : $(top_builddir)/config.status |
83 | ||
83714577 | 84 | libstrongswan_la_LIBADD = $(PTHREADLIB) $(DLLIB) $(BTLIB) $(SOCKLIB) $(RTLIB) $(BFDLIB) $(UNWINDLIB) |
f2c2d395 MW |
85 | |
86 | INCLUDES = -I$(top_srcdir)/src/libstrongswan | |
08b2d288 AS |
87 | AM_CFLAGS = \ |
88 | -DIPSEC_DIR=\"${ipsecdir}\" \ | |
60d62b9e | 89 | -DIPSEC_LIB_DIR=\"${ipseclibdir}\" \ |
356b2b27 | 90 | -DPLUGINDIR=\"${plugindir}\" \ |
01a3ba9e TB |
91 | -DSTRONGSWAN_CONF=\"${strongswan_conf}\" \ |
92 | @COVERAGE_CFLAGS@ | |
d6c32b83 | 93 | |
4acc8989 | 94 | if USE_LEAK_DETECTIVE |
552cc11b | 95 | AM_CFLAGS += -DLEAK_DETECTIVE |
9564f9eb | 96 | libstrongswan_la_SOURCES += utils/leak_detective.c |
a9184df3 MW |
97 | endif |
98 | ||
02140125 MW |
99 | if USE_LOCK_PROFILER |
100 | AM_CFLAGS += -DLOCK_PROFILER | |
101 | endif | |
102 | ||
bef50875 MW |
103 | if USE_INTEGRITY_TEST |
104 | AM_CFLAGS += -DINTEGRITY_TEST | |
08944b68 | 105 | libstrongswan_la_SOURCES += utils/integrity_checker.c |
bef50875 MW |
106 | endif |
107 | ||
d25ce370 TB |
108 | if USE_VSTR |
109 | libstrongswan_la_LIBADD += -lvstr | |
110 | endif | |
111 | ||
0619ddfa MW |
112 | if USE_LIBCAP |
113 | libstrongswan_la_LIBADD += -lcap | |
114 | endif | |
115 | ||
433cb51b AS |
116 | EXTRA_DIST = \ |
117 | asn1/oid.txt asn1/oid.pl \ | |
8c2ec471 | 118 | crypto/proposal/proposal_keywords_static.txt \ |
1be32988 | 119 | Android.mk AndroidConfigLocal.h |
433cb51b AS |
120 | |
121 | BUILT_SOURCES = \ | |
122 | $(srcdir)/asn1/oid.c $(srcdir)/asn1/oid.h \ | |
8c2ec471 | 123 | $(srcdir)/crypto/proposal/proposal_keywords_static.c |
433cb51b AS |
124 | |
125 | MAINTAINERCLEANFILES = \ | |
126 | $(srcdir)/asn1/oid.c $(srcdir)/asn1/oid.h \ | |
8c2ec471 | 127 | $(srcdir)/crypto/proposal/proposal_keywords_static.c |
55434a1b | 128 | |
d24a74c5 | 129 | $(srcdir)/asn1/oid.c : $(srcdir)/asn1/oid.pl $(srcdir)/asn1/oid.txt |
f932677f | 130 | $(AM_V_GEN) \ |
d24a74c5 | 131 | (cd $(srcdir)/asn1/ && $(PERL) oid.pl) |
d6c32b83 | 132 | |
d24a74c5 | 133 | $(srcdir)/asn1/oid.h : $(srcdir)/asn1/oid.pl $(srcdir)/asn1/oid.txt |
f932677f | 134 | $(AM_V_GEN) \ |
d24a74c5 | 135 | (cd $(srcdir)/asn1/ && $(PERL) oid.pl) |
55434a1b | 136 | |
8c2ec471 FK |
137 | $(srcdir)/crypto/proposal/proposal_keywords_static.c: $(srcdir)/crypto/proposal/proposal_keywords_static.txt \ |
138 | $(srcdir)/crypto/proposal/proposal_keywords_static.h | |
9f1dfd88 | 139 | $(AM_V_GEN) \ |
8c2ec471 FK |
140 | $(GPERF) -N proposal_get_token_static -m 10 -C -G -c -t -D < \ |
141 | $(srcdir)/crypto/proposal/proposal_keywords_static.txt > $@ | |
433cb51b | 142 | |
552cc11b MW |
143 | |
144 | # build plugins with their own Makefile | |
145 | ####################################### | |
146 | ||
0ace3528 | 147 | if MONOLITHIC |
6ec60bb9 | 148 | SUBDIRS = |
0ace3528 TB |
149 | else |
150 | SUBDIRS = . | |
151 | endif | |
552cc11b | 152 | |
71c87e34 MW |
153 | if USE_AF_ALG |
154 | SUBDIRS += plugins/af_alg | |
155 | if MONOLITHIC | |
156 | libstrongswan_la_LIBADD += plugins/af_alg/libstrongswan-af-alg.la | |
157 | endif | |
158 | endif | |
159 | ||
552cc11b MW |
160 | if USE_AES |
161 | SUBDIRS += plugins/aes | |
6ec60bb9 TB |
162 | if MONOLITHIC |
163 | libstrongswan_la_LIBADD += plugins/aes/libstrongswan-aes.la | |
164 | endif | |
552cc11b MW |
165 | endif |
166 | ||
167 | if USE_DES | |
168 | SUBDIRS += plugins/des | |
6ec60bb9 TB |
169 | if MONOLITHIC |
170 | libstrongswan_la_LIBADD += plugins/des/libstrongswan-des.la | |
171 | endif | |
552cc11b MW |
172 | endif |
173 | ||
d36ae9e3 AS |
174 | if USE_BLOWFISH |
175 | SUBDIRS += plugins/blowfish | |
6ec60bb9 TB |
176 | if MONOLITHIC |
177 | libstrongswan_la_LIBADD += plugins/blowfish/libstrongswan-blowfish.la | |
178 | endif | |
d36ae9e3 AS |
179 | endif |
180 | ||
9d4fc867 TB |
181 | if USE_RC2 |
182 | SUBDIRS += plugins/rc2 | |
183 | if MONOLITHIC | |
184 | libstrongswan_la_LIBADD += plugins/rc2/libstrongswan-rc2.la | |
185 | endif | |
186 | endif | |
187 | ||
1e0d1ae2 AS |
188 | if USE_MD4 |
189 | SUBDIRS += plugins/md4 | |
6ec60bb9 TB |
190 | if MONOLITHIC |
191 | libstrongswan_la_LIBADD += plugins/md4/libstrongswan-md4.la | |
192 | endif | |
1e0d1ae2 AS |
193 | endif |
194 | ||
552cc11b MW |
195 | if USE_MD5 |
196 | SUBDIRS += plugins/md5 | |
6ec60bb9 TB |
197 | if MONOLITHIC |
198 | libstrongswan_la_LIBADD += plugins/md5/libstrongswan-md5.la | |
199 | endif | |
552cc11b MW |
200 | endif |
201 | ||
202 | if USE_SHA1 | |
203 | SUBDIRS += plugins/sha1 | |
6ec60bb9 TB |
204 | if MONOLITHIC |
205 | libstrongswan_la_LIBADD += plugins/sha1/libstrongswan-sha1.la | |
206 | endif | |
552cc11b MW |
207 | endif |
208 | ||
209 | if USE_SHA2 | |
210 | SUBDIRS += plugins/sha2 | |
6ec60bb9 TB |
211 | if MONOLITHIC |
212 | libstrongswan_la_LIBADD += plugins/sha2/libstrongswan-sha2.la | |
213 | endif | |
552cc11b MW |
214 | endif |
215 | ||
552cc11b MW |
216 | if USE_GMP |
217 | SUBDIRS += plugins/gmp | |
6ec60bb9 TB |
218 | if MONOLITHIC |
219 | libstrongswan_la_LIBADD += plugins/gmp/libstrongswan-gmp.la | |
220 | endif | |
552cc11b MW |
221 | endif |
222 | ||
ed8dc6f1 MW |
223 | if USE_RDRAND |
224 | SUBDIRS += plugins/rdrand | |
225 | if MONOLITHIC | |
226 | libstrongswan_la_LIBADD += plugins/rdrand/libstrongswan-rdrand.la | |
227 | endif | |
228 | endif | |
229 | ||
6a365f07 MW |
230 | if USE_RANDOM |
231 | SUBDIRS += plugins/random | |
6ec60bb9 TB |
232 | if MONOLITHIC |
233 | libstrongswan_la_LIBADD += plugins/random/libstrongswan-random.la | |
234 | endif | |
6a365f07 MW |
235 | endif |
236 | ||
04024b5d AKR |
237 | if USE_NONCE |
238 | SUBDIRS += plugins/nonce | |
239 | if MONOLITHIC | |
240 | libstrongswan_la_LIBADD += plugins/nonce/libstrongswan-nonce.la | |
241 | endif | |
242 | endif | |
243 | ||
552cc11b MW |
244 | if USE_HMAC |
245 | SUBDIRS += plugins/hmac | |
6ec60bb9 TB |
246 | if MONOLITHIC |
247 | libstrongswan_la_LIBADD += plugins/hmac/libstrongswan-hmac.la | |
248 | endif | |
552cc11b MW |
249 | endif |
250 | ||
c0d39c20 TB |
251 | if USE_CMAC |
252 | SUBDIRS += plugins/cmac | |
253 | if MONOLITHIC | |
254 | libstrongswan_la_LIBADD += plugins/cmac/libstrongswan-cmac.la | |
255 | endif | |
256 | endif | |
257 | ||
27d04e05 MW |
258 | if USE_XCBC |
259 | SUBDIRS += plugins/xcbc | |
6ec60bb9 TB |
260 | if MONOLITHIC |
261 | libstrongswan_la_LIBADD += plugins/xcbc/libstrongswan-xcbc.la | |
262 | endif | |
27d04e05 MW |
263 | endif |
264 | ||
552cc11b MW |
265 | if USE_X509 |
266 | SUBDIRS += plugins/x509 | |
6ec60bb9 TB |
267 | if MONOLITHIC |
268 | libstrongswan_la_LIBADD += plugins/x509/libstrongswan-x509.la | |
269 | endif | |
552cc11b MW |
270 | endif |
271 | ||
c2e5cee4 MW |
272 | if USE_REVOCATION |
273 | SUBDIRS += plugins/revocation | |
274 | if MONOLITHIC | |
275 | libstrongswan_la_LIBADD += plugins/revocation/libstrongswan-revocation.la | |
276 | endif | |
277 | endif | |
278 | ||
01d30381 MW |
279 | if USE_CONSTRAINTS |
280 | SUBDIRS += plugins/constraints | |
281 | if MONOLITHIC | |
282 | libstrongswan_la_LIBADD += plugins/constraints/libstrongswan-constraints.la | |
283 | endif | |
284 | endif | |
285 | ||
affd7a90 MW |
286 | if USE_PUBKEY |
287 | SUBDIRS += plugins/pubkey | |
6ec60bb9 TB |
288 | if MONOLITHIC |
289 | libstrongswan_la_LIBADD += plugins/pubkey/libstrongswan-pubkey.la | |
290 | endif | |
affd7a90 MW |
291 | endif |
292 | ||
1e0f6937 MW |
293 | if USE_PKCS1 |
294 | SUBDIRS += plugins/pkcs1 | |
6ec60bb9 TB |
295 | if MONOLITHIC |
296 | libstrongswan_la_LIBADD += plugins/pkcs1/libstrongswan-pkcs1.la | |
297 | endif | |
1e0f6937 MW |
298 | endif |
299 | ||
bd20f040 MW |
300 | if USE_PKCS7 |
301 | SUBDIRS += plugins/pkcs7 | |
302 | if MONOLITHIC | |
303 | libstrongswan_la_LIBADD += plugins/pkcs7/libstrongswan-pkcs7.la | |
304 | endif | |
305 | endif | |
306 | ||
5ec525c1 TB |
307 | if USE_PKCS8 |
308 | SUBDIRS += plugins/pkcs8 | |
309 | if MONOLITHIC | |
310 | libstrongswan_la_LIBADD += plugins/pkcs8/libstrongswan-pkcs8.la | |
311 | endif | |
312 | endif | |
313 | ||
feef6373 TB |
314 | if USE_PKCS12 |
315 | SUBDIRS += plugins/pkcs12 | |
316 | if MONOLITHIC | |
317 | libstrongswan_la_LIBADD += plugins/pkcs12/libstrongswan-pkcs12.la | |
318 | endif | |
319 | endif | |
320 | ||
9493dd2c MW |
321 | if USE_PGP |
322 | SUBDIRS += plugins/pgp | |
6ec60bb9 TB |
323 | if MONOLITHIC |
324 | libstrongswan_la_LIBADD += plugins/pgp/libstrongswan-pgp.la | |
325 | endif | |
9493dd2c MW |
326 | endif |
327 | ||
5ef478aa MW |
328 | if USE_DNSKEY |
329 | SUBDIRS += plugins/dnskey | |
6ec60bb9 TB |
330 | if MONOLITHIC |
331 | libstrongswan_la_LIBADD += plugins/dnskey/libstrongswan-dnskey.la | |
332 | endif | |
5ef478aa MW |
333 | endif |
334 | ||
584d656b TB |
335 | if USE_SSHKEY |
336 | SUBDIRS += plugins/sshkey | |
337 | if MONOLITHIC | |
338 | libstrongswan_la_LIBADD += plugins/sshkey/libstrongswan-sshkey.la | |
339 | endif | |
340 | endif | |
341 | ||
160f4c22 MW |
342 | if USE_PEM |
343 | SUBDIRS += plugins/pem | |
6ec60bb9 TB |
344 | if MONOLITHIC |
345 | libstrongswan_la_LIBADD += plugins/pem/libstrongswan-pem.la | |
346 | endif | |
160f4c22 MW |
347 | endif |
348 | ||
552cc11b MW |
349 | if USE_CURL |
350 | SUBDIRS += plugins/curl | |
6ec60bb9 TB |
351 | if MONOLITHIC |
352 | libstrongswan_la_LIBADD += plugins/curl/libstrongswan-curl.la | |
353 | endif | |
552cc11b MW |
354 | endif |
355 | ||
9f963a7c RG |
356 | if USE_UNBOUND |
357 | SUBDIRS += plugins/unbound | |
358 | if MONOLITHIC | |
359 | libstrongswan_la_LIBADD += plugins/unbound/libstrongswan-unbound.la | |
360 | endif | |
361 | endif | |
362 | ||
2ca52c80 MW |
363 | if USE_SOUP |
364 | SUBDIRS += plugins/soup | |
365 | if MONOLITHIC | |
366 | libstrongswan_la_LIBADD += plugins/soup/libstrongswan-soup.la | |
367 | endif | |
368 | endif | |
369 | ||
552cc11b MW |
370 | if USE_LDAP |
371 | SUBDIRS += plugins/ldap | |
6ec60bb9 TB |
372 | if MONOLITHIC |
373 | libstrongswan_la_LIBADD += plugins/ldap/libstrongswan-ldap.la | |
374 | endif | |
552cc11b MW |
375 | endif |
376 | ||
377 | if USE_MYSQL | |
378 | SUBDIRS += plugins/mysql | |
6ec60bb9 TB |
379 | if MONOLITHIC |
380 | libstrongswan_la_LIBADD += plugins/mysql/libstrongswan-mysql.la | |
381 | endif | |
552cc11b MW |
382 | endif |
383 | ||
384 | if USE_SQLITE | |
385 | SUBDIRS += plugins/sqlite | |
6ec60bb9 TB |
386 | if MONOLITHIC |
387 | libstrongswan_la_LIBADD += plugins/sqlite/libstrongswan-sqlite.la | |
388 | endif | |
552cc11b MW |
389 | endif |
390 | ||
36d62fac MW |
391 | if USE_PADLOCK |
392 | SUBDIRS += plugins/padlock | |
6ec60bb9 TB |
393 | if MONOLITHIC |
394 | libstrongswan_la_LIBADD += plugins/padlock/libstrongswan-padlock.la | |
395 | endif | |
36d62fac | 396 | endif |
552cc11b | 397 | |
17353034 TB |
398 | if USE_OPENSSL |
399 | SUBDIRS += plugins/openssl | |
6ec60bb9 TB |
400 | if MONOLITHIC |
401 | libstrongswan_la_LIBADD += plugins/openssl/libstrongswan-openssl.la | |
402 | endif | |
17353034 TB |
403 | endif |
404 | ||
4977018c MW |
405 | if USE_GCRYPT |
406 | SUBDIRS += plugins/gcrypt | |
6ec60bb9 TB |
407 | if MONOLITHIC |
408 | libstrongswan_la_LIBADD += plugins/gcrypt/libstrongswan-gcrypt.la | |
409 | endif | |
4977018c MW |
410 | endif |
411 | ||
40f130da MW |
412 | if USE_FIPS_PRF |
413 | SUBDIRS += plugins/fips_prf | |
414 | if MONOLITHIC | |
415 | libstrongswan_la_LIBADD += plugins/fips_prf/libstrongswan-fips-prf.la | |
416 | endif | |
417 | endif | |
418 | ||
21c95463 MW |
419 | if USE_AGENT |
420 | SUBDIRS += plugins/agent | |
6ec60bb9 TB |
421 | if MONOLITHIC |
422 | libstrongswan_la_LIBADD += plugins/agent/libstrongswan-agent.la | |
423 | endif | |
21c95463 MW |
424 | endif |
425 | ||
7b8edabd MW |
426 | if USE_KEYCHAIN |
427 | SUBDIRS += plugins/keychain | |
428 | if MONOLITHIC | |
429 | libstrongswan_la_LIBADD += plugins/keychain/libstrongswan-keychain.la | |
430 | endif | |
431 | endif | |
432 | ||
6e862e21 MW |
433 | if USE_PKCS11 |
434 | SUBDIRS += plugins/pkcs11 | |
435 | if MONOLITHIC | |
436 | libstrongswan_la_LIBADD += plugins/pkcs11/libstrongswan-pkcs11.la | |
437 | endif | |
438 | endif | |
439 | ||
272f0e1a MW |
440 | if USE_CTR |
441 | SUBDIRS += plugins/ctr | |
442 | if MONOLITHIC | |
443 | libstrongswan_la_LIBADD += plugins/ctr/libstrongswan-ctr.la | |
444 | endif | |
445 | endif | |
446 | ||
80a93a13 MW |
447 | if USE_CCM |
448 | SUBDIRS += plugins/ccm | |
449 | if MONOLITHIC | |
450 | libstrongswan_la_LIBADD += plugins/ccm/libstrongswan-ccm.la | |
451 | endif | |
452 | endif | |
453 | ||
1a649810 MW |
454 | if USE_GCM |
455 | SUBDIRS += plugins/gcm | |
456 | if MONOLITHIC | |
457 | libstrongswan_la_LIBADD += plugins/gcm/libstrongswan-gcm.la | |
458 | endif | |
459 | endif | |
460 | ||
81811a9d MW |
461 | if USE_TEST_VECTORS |
462 | SUBDIRS += plugins/test_vectors | |
6ec60bb9 TB |
463 | if MONOLITHIC |
464 | libstrongswan_la_LIBADD += plugins/test_vectors/libstrongswan-test-vectors.la | |
465 | endif | |
81811a9d | 466 | endif |
156dcbc1 TB |
467 | |
468 | if UNITTESTS | |
469 | if MONOLITHIC | |
470 | SUBDIRS += . | |
471 | endif | |
472 | SUBDIRS += tests | |
473 | endif |