Removed backend for old Android frontend patch
[strongswan.git] / src / libcharon / Makefile.am
1 ipseclib_LTLIBRARIES = libcharon.la
2
3 libcharon_la_SOURCES = \
4 bus/bus.c bus/bus.h \
5 bus/listeners/listener.h \
6 bus/listeners/logger.h \
7 bus/listeners/file_logger.c bus/listeners/file_logger.h \
8 bus/listeners/sys_logger.c bus/listeners/sys_logger.h \
9 config/backend_manager.c config/backend_manager.h config/backend.h \
10 config/child_cfg.c config/child_cfg.h \
11 config/ike_cfg.c config/ike_cfg.h \
12 config/peer_cfg.c config/peer_cfg.h \
13 config/proposal.c config/proposal.h \
14 control/controller.c control/controller.h \
15 daemon.c daemon.h \
16 encoding/generator.c encoding/generator.h \
17 encoding/message.c encoding/message.h \
18 encoding/parser.c encoding/parser.h \
19 encoding/payloads/auth_payload.c encoding/payloads/auth_payload.h \
20 encoding/payloads/cert_payload.c encoding/payloads/cert_payload.h \
21 encoding/payloads/certreq_payload.c encoding/payloads/certreq_payload.h \
22 encoding/payloads/configuration_attribute.c encoding/payloads/configuration_attribute.h \
23 encoding/payloads/cp_payload.c encoding/payloads/cp_payload.h \
24 encoding/payloads/delete_payload.c encoding/payloads/delete_payload.h \
25 encoding/payloads/eap_payload.c encoding/payloads/eap_payload.h \
26 encoding/payloads/encodings.c encoding/payloads/encodings.h \
27 encoding/payloads/encryption_payload.c encoding/payloads/encryption_payload.h \
28 encoding/payloads/id_payload.c encoding/payloads/id_payload.h \
29 encoding/payloads/ike_header.c encoding/payloads/ike_header.h \
30 encoding/payloads/ke_payload.c  encoding/payloads/ke_payload.h \
31 encoding/payloads/nonce_payload.c encoding/payloads/nonce_payload.h \
32 encoding/payloads/notify_payload.c encoding/payloads/notify_payload.h \
33 encoding/payloads/payload.c encoding/payloads/payload.h \
34 encoding/payloads/proposal_substructure.c encoding/payloads/proposal_substructure.h \
35 encoding/payloads/sa_payload.c encoding/payloads/sa_payload.h \
36 encoding/payloads/traffic_selector_substructure.c encoding/payloads/traffic_selector_substructure.h \
37 encoding/payloads/transform_attribute.c encoding/payloads/transform_attribute.h \
38 encoding/payloads/transform_substructure.c encoding/payloads/transform_substructure.h \
39 encoding/payloads/ts_payload.c encoding/payloads/ts_payload.h \
40 encoding/payloads/unknown_payload.c encoding/payloads/unknown_payload.h \
41 encoding/payloads/vendor_id_payload.c encoding/payloads/vendor_id_payload.h \
42 encoding/payloads/hash_payload.c encoding/payloads/hash_payload.h \
43 encoding/payloads/fragment_payload.c encoding/payloads/fragment_payload.h \
44 kernel/kernel_handler.c kernel/kernel_handler.h \
45 network/receiver.c network/receiver.h network/sender.c network/sender.h \
46 network/socket.c network/socket.h \
47 network/socket_manager.c network/socket_manager.h \
48 processing/jobs/acquire_job.c processing/jobs/acquire_job.h \
49 processing/jobs/delete_child_sa_job.c processing/jobs/delete_child_sa_job.h \
50 processing/jobs/delete_ike_sa_job.c processing/jobs/delete_ike_sa_job.h \
51 processing/jobs/migrate_job.c processing/jobs/migrate_job.h \
52 processing/jobs/process_message_job.c processing/jobs/process_message_job.h \
53 processing/jobs/rekey_child_sa_job.c processing/jobs/rekey_child_sa_job.h \
54 processing/jobs/rekey_ike_sa_job.c processing/jobs/rekey_ike_sa_job.h \
55 processing/jobs/retransmit_job.c processing/jobs/retransmit_job.h \
56 processing/jobs/retry_initiate_job.c processing/jobs/retry_initiate_job.h \
57 processing/jobs/send_dpd_job.c processing/jobs/send_dpd_job.h \
58 processing/jobs/send_keepalive_job.c processing/jobs/send_keepalive_job.h \
59 processing/jobs/start_action_job.c processing/jobs/start_action_job.h \
60 processing/jobs/roam_job.c processing/jobs/roam_job.h \
61 processing/jobs/update_sa_job.c processing/jobs/update_sa_job.h \
62 processing/jobs/inactivity_job.c processing/jobs/inactivity_job.h \
63 sa/eap/eap_method.c sa/eap/eap_method.h sa/eap/eap_inner_method.h \
64 sa/eap/eap_manager.c sa/eap/eap_manager.h \
65 sa/xauth/xauth_method.c sa/xauth/xauth_method.h \
66 sa/xauth/xauth_manager.c sa/xauth/xauth_manager.h \
67 sa/authenticator.c sa/authenticator.h \
68 sa/child_sa.c sa/child_sa.h \
69 sa/ike_sa.c sa/ike_sa.h \
70 sa/ike_sa_id.c sa/ike_sa_id.h \
71 sa/keymat.h sa/keymat.c \
72 sa/ike_sa_manager.c sa/ike_sa_manager.h \
73 sa/task_manager.h sa/task_manager.c \
74 sa/shunt_manager.c sa/shunt_manager.h \
75 sa/trap_manager.c sa/trap_manager.h \
76 sa/task.c sa/task.h
77
78 if USE_IKEV2
79 libcharon_la_SOURCES += \
80 sa/ikev2/keymat_v2.c sa/ikev2/keymat_v2.h \
81 sa/ikev2/task_manager_v2.c sa/ikev2/task_manager_v2.h \
82 sa/ikev2/authenticators/eap_authenticator.c sa/ikev2/authenticators/eap_authenticator.h \
83 sa/ikev2/authenticators/psk_authenticator.c sa/ikev2/authenticators/psk_authenticator.h \
84 sa/ikev2/authenticators/pubkey_authenticator.c sa/ikev2/authenticators/pubkey_authenticator.h \
85 sa/ikev2/tasks/child_create.c sa/ikev2/tasks/child_create.h \
86 sa/ikev2/tasks/child_delete.c sa/ikev2/tasks/child_delete.h \
87 sa/ikev2/tasks/child_rekey.c sa/ikev2/tasks/child_rekey.h \
88 sa/ikev2/tasks/ike_auth.c sa/ikev2/tasks/ike_auth.h \
89 sa/ikev2/tasks/ike_cert_pre.c sa/ikev2/tasks/ike_cert_pre.h \
90 sa/ikev2/tasks/ike_cert_post.c sa/ikev2/tasks/ike_cert_post.h \
91 sa/ikev2/tasks/ike_config.c sa/ikev2/tasks/ike_config.h \
92 sa/ikev2/tasks/ike_delete.c sa/ikev2/tasks/ike_delete.h \
93 sa/ikev2/tasks/ike_dpd.c sa/ikev2/tasks/ike_dpd.h \
94 sa/ikev2/tasks/ike_init.c sa/ikev2/tasks/ike_init.h \
95 sa/ikev2/tasks/ike_natd.c sa/ikev2/tasks/ike_natd.h \
96 sa/ikev2/tasks/ike_mobike.c sa/ikev2/tasks/ike_mobike.h \
97 sa/ikev2/tasks/ike_rekey.c sa/ikev2/tasks/ike_rekey.h \
98 sa/ikev2/tasks/ike_reauth.c sa/ikev2/tasks/ike_reauth.h \
99 sa/ikev2/tasks/ike_auth_lifetime.c sa/ikev2/tasks/ike_auth_lifetime.h \
100 sa/ikev2/tasks/ike_vendor.c sa/ikev2/tasks/ike_vendor.h
101 endif
102
103 if USE_IKEV1
104 libcharon_la_SOURCES += \
105 sa/ikev1/keymat_v1.c sa/ikev1/keymat_v1.h \
106 sa/ikev1/task_manager_v1.c sa/ikev1/task_manager_v1.h \
107 sa/ikev1/authenticators/psk_v1_authenticator.c sa/ikev1/authenticators/psk_v1_authenticator.h \
108 sa/ikev1/authenticators/pubkey_v1_authenticator.c sa/ikev1/authenticators/pubkey_v1_authenticator.h \
109 sa/ikev1/authenticators/hybrid_authenticator.c sa/ikev1/authenticators/hybrid_authenticator.h \
110 sa/ikev1/phase1.c sa/ikev1/phase1.h \
111 sa/ikev1/tasks/main_mode.c sa/ikev1/tasks/main_mode.h \
112 sa/ikev1/tasks/aggressive_mode.c sa/ikev1/tasks/aggressive_mode.h \
113 sa/ikev1/tasks/informational.c sa/ikev1/tasks/informational.h \
114 sa/ikev1/tasks/isakmp_cert_pre.c sa/ikev1/tasks/isakmp_cert_pre.h \
115 sa/ikev1/tasks/isakmp_cert_post.c sa/ikev1/tasks/isakmp_cert_post.h \
116 sa/ikev1/tasks/isakmp_natd.c sa/ikev1/tasks/isakmp_natd.h \
117 sa/ikev1/tasks/isakmp_vendor.c sa/ikev1/tasks/isakmp_vendor.h \
118 sa/ikev1/tasks/isakmp_delete.c sa/ikev1/tasks/isakmp_delete.h \
119 sa/ikev1/tasks/isakmp_dpd.c sa/ikev1/tasks/isakmp_dpd.h \
120 sa/ikev1/tasks/xauth.c sa/ikev1/tasks/xauth.h \
121 sa/ikev1/tasks/quick_mode.c sa/ikev1/tasks/quick_mode.h \
122 sa/ikev1/tasks/quick_delete.c sa/ikev1/tasks/quick_delete.h \
123 sa/ikev1/tasks/mode_config.c sa/ikev1/tasks/mode_config.h \
124 processing/jobs/dpd_timeout_job.c processing/jobs/dpd_timeout_job.h \
125 processing/jobs/adopt_children_job.c processing/jobs/adopt_children_job.h
126 endif
127
128
129 daemon.lo :             $(top_builddir)/config.status
130
131 INCLUDES = \
132         -I${linux_headers} \
133         -I$(top_srcdir)/src/libstrongswan \
134         -I$(top_srcdir)/src/libhydra \
135         -I$(top_srcdir)/src/libcharon
136
137 AM_CFLAGS = \
138         -DIPSEC_DIR=\"${ipsecdir}\" \
139         -DIPSEC_PIDDIR=\"${piddir}\"
140
141 libcharon_la_LIBADD = -lm $(PTHREADLIB) $(DLLIB) $(SOCKLIB)
142
143 EXTRA_DIST = Android.mk
144
145 # compile options
146 #################
147
148 if USE_ME
149   libcharon_la_SOURCES += encoding/payloads/endpoint_notify.c encoding/payloads/endpoint_notify.h \
150     processing/jobs/initiate_mediation_job.c processing/jobs/initiate_mediation_job.h \
151     processing/jobs/mediation_job.c processing/jobs/mediation_job.h \
152     sa/ikev2/connect_manager.c sa/ikev2/connect_manager.h \
153     sa/ikev2/mediation_manager.c sa/ikev2/mediation_manager.h \
154     sa/ikev2/tasks/ike_me.c sa/ikev2/tasks/ike_me.h
155 endif
156
157 # build optional plugins
158 ########################
159
160 if MONOLITHIC
161 SUBDIRS =
162 else
163 SUBDIRS = .
164 endif
165
166 if USE_LOAD_TESTER
167   SUBDIRS += plugins/load_tester
168 if MONOLITHIC
169   libcharon_la_LIBADD += plugins/load_tester/libstrongswan-load-tester.la
170 endif
171 endif
172
173 if USE_SOCKET_DEFAULT
174   SUBDIRS += plugins/socket_default
175 if MONOLITHIC
176   libcharon_la_LIBADD += plugins/socket_default/libstrongswan-socket-default.la
177 endif
178 endif
179
180 if USE_SOCKET_DYNAMIC
181   SUBDIRS += plugins/socket_dynamic
182 if MONOLITHIC
183   libcharon_la_LIBADD += plugins/socket_dynamic/libstrongswan-socket-dynamic.la
184 endif
185 endif
186
187 if USE_FARP
188   SUBDIRS += plugins/farp
189 if MONOLITHIC
190   libcharon_la_LIBADD += plugins/farp/libstrongswan-farp.la
191 endif
192 endif
193
194 if USE_STROKE
195   SUBDIRS += plugins/stroke
196 if MONOLITHIC
197   libcharon_la_LIBADD += plugins/stroke/libstrongswan-stroke.la
198 endif
199 endif
200
201 if USE_SMP
202   SUBDIRS += plugins/smp
203 if MONOLITHIC
204   libcharon_la_LIBADD += plugins/smp/libstrongswan-smp.la
205 endif
206 endif
207
208 if USE_SQL
209   SUBDIRS += plugins/sql
210 if MONOLITHIC
211   libcharon_la_LIBADD += plugins/sql/libstrongswan-sql.la
212 endif
213 endif
214
215 if USE_IPSECKEY
216   SUBDIRS += plugins/ipseckey
217 if MONOLITHIC
218   libcharon_la_LIBADD += plugins/ipseckey/libstrongswan-ipseckey.la
219 endif
220 endif
221
222 if USE_UPDOWN
223   SUBDIRS += plugins/updown
224 if MONOLITHIC
225   libcharon_la_LIBADD += plugins/updown/libstrongswan-updown.la
226 endif
227 endif
228
229 if USE_EAP_IDENTITY
230   SUBDIRS += plugins/eap_identity
231 if MONOLITHIC
232   libcharon_la_LIBADD += plugins/eap_identity/libstrongswan-eap-identity.la
233 endif
234 endif
235
236 if USE_EAP_SIM
237   SUBDIRS += plugins/eap_sim
238 if MONOLITHIC
239   libcharon_la_LIBADD += plugins/eap_sim/libstrongswan-eap-sim.la
240 endif
241 endif
242
243 if USE_EAP_SIM_FILE
244   SUBDIRS += plugins/eap_sim_file
245 if MONOLITHIC
246   libcharon_la_LIBADD += plugins/eap_sim_file/libstrongswan-eap-sim-file.la
247 endif
248 endif
249
250 if USE_EAP_SIM_PCSC
251   SUBDIRS += plugins/eap_sim_pcsc
252 if MONOLITHIC
253   libcharon_la_LIBADD += plugins/eap_sim_pcsc/libstrongswan-eap-sim-pcsc.la
254 endif
255 endif
256
257 if USE_EAP_SIMAKA_SQL
258   SUBDIRS += plugins/eap_simaka_sql
259 if MONOLITHIC
260   libcharon_la_LIBADD += plugins/eap_simaka_sql/libstrongswan-eap-simaka-sql.la
261 endif
262 endif
263
264 if USE_EAP_SIMAKA_PSEUDONYM
265   SUBDIRS += plugins/eap_simaka_pseudonym
266 if MONOLITHIC
267   libcharon_la_LIBADD += plugins/eap_simaka_pseudonym/libstrongswan-eap-simaka-pseudonym.la
268 endif
269 endif
270
271 if USE_EAP_SIMAKA_REAUTH
272   SUBDIRS += plugins/eap_simaka_reauth
273 if MONOLITHIC
274   libcharon_la_LIBADD += plugins/eap_simaka_reauth/libstrongswan-eap-simaka-reauth.la
275 endif
276 endif
277
278 if USE_EAP_AKA
279   SUBDIRS += plugins/eap_aka
280 if MONOLITHIC
281   libcharon_la_LIBADD += plugins/eap_aka/libstrongswan-eap-aka.la
282 endif
283 endif
284
285 if USE_EAP_AKA_3GPP2
286   SUBDIRS += plugins/eap_aka_3gpp2
287 if MONOLITHIC
288   libcharon_la_LIBADD += plugins/eap_aka_3gpp2/libstrongswan-eap-aka-3gpp2.la
289 endif
290 endif
291
292 if USE_SIMAKA
293 if MONOLITHIC
294   # otherwise this library is linked to both the eap_aka and the eap_sim plugin
295   libcharon_la_LIBADD += $(top_builddir)/src/libsimaka/libsimaka.la
296 endif
297 endif
298
299 if USE_EAP_MD5
300   SUBDIRS += plugins/eap_md5
301 if MONOLITHIC
302   libcharon_la_LIBADD += plugins/eap_md5/libstrongswan-eap-md5.la
303 endif
304 endif
305
306 if USE_EAP_GTC
307   SUBDIRS += plugins/eap_gtc
308 if MONOLITHIC
309   libcharon_la_LIBADD += plugins/eap_gtc/libstrongswan-eap-gtc.la
310 endif
311 endif
312
313 if USE_EAP_MSCHAPV2
314   SUBDIRS += plugins/eap_mschapv2
315 if MONOLITHIC
316   libcharon_la_LIBADD += plugins/eap_mschapv2/libstrongswan-eap-mschapv2.la
317 endif
318 endif
319
320 if USE_EAP_DYNAMIC
321   SUBDIRS += plugins/eap_dynamic
322 if MONOLITHIC
323   libcharon_la_LIBADD += plugins/eap_dynamic/libstrongswan-eap-dynamic.la
324 endif
325 endif
326
327 if USE_EAP_RADIUS
328   SUBDIRS += plugins/eap_radius
329 if MONOLITHIC
330   libcharon_la_LIBADD += plugins/eap_radius/libstrongswan-eap-radius.la
331 endif
332 endif
333
334 if USE_EAP_TLS
335   SUBDIRS += plugins/eap_tls
336 if MONOLITHIC
337   libcharon_la_LIBADD += plugins/eap_tls/libstrongswan-eap-tls.la
338 endif
339 endif
340
341 if USE_EAP_TTLS
342   SUBDIRS += plugins/eap_ttls
343 if MONOLITHIC
344   libcharon_la_LIBADD += plugins/eap_ttls/libstrongswan-eap-ttls.la
345 endif
346 endif
347
348 if USE_EAP_PEAP
349   SUBDIRS += plugins/eap_peap
350 if MONOLITHIC
351   libcharon_la_LIBADD += plugins/eap_peap/libstrongswan-eap-peap.la
352 endif
353 endif
354
355 if USE_EAP_TNC
356   SUBDIRS += plugins/eap_tnc
357 if MONOLITHIC
358   libcharon_la_LIBADD += plugins/eap_tnc/libstrongswan-eap-tnc.la
359 endif
360 endif
361
362 if USE_TLS
363 if MONOLITHIC
364   # otherwise this library is linked to eap_tls
365   libcharon_la_LIBADD += $(top_builddir)/src/libtls/libtls.la
366 endif
367 endif
368
369 if USE_RADIUS
370 if MONOLITHIC
371   # otherwise this library is linked to eap_radius
372   libcharon_la_LIBADD += $(top_builddir)/src/libradius/libradius.la
373 endif
374 endif
375
376 if USE_TNC_IFMAP
377   SUBDIRS += plugins/tnc_ifmap
378 if MONOLITHIC
379   libcharon_la_LIBADD += plugins/tnc_ifmap/libstrongswan-tnc-ifmap.la
380 endif
381 endif
382
383 if USE_TNC_PDP
384   SUBDIRS += plugins/tnc_pdp
385 if MONOLITHIC
386   libcharon_la_LIBADD += plugins/tnc_pdp/libstrongswan-tnc-pdp.la
387 endif
388 endif
389
390 if USE_TNC_IMC
391   SUBDIRS += plugins/tnc_imc
392 if MONOLITHIC
393   libcharon_la_LIBADD += plugins/tnc_imc/libstrongswan-tnc-imc.la
394 endif
395 endif
396
397 if USE_TNC_IMV
398   SUBDIRS += plugins/tnc_imv
399 if MONOLITHIC
400   libcharon_la_LIBADD += plugins/tnc_imv/libstrongswan-tnc-imv.la
401 endif
402 endif
403
404 if USE_TNC_TNCCS
405   SUBDIRS += plugins/tnc_tnccs
406 if MONOLITHIC
407   libcharon_la_LIBADD += plugins/tnc_tnccs/libstrongswan-tnc-tnccs.la
408 endif
409 endif
410
411 if USE_TNCCS_11
412   SUBDIRS += plugins/tnccs_11
413 if MONOLITHIC
414   libcharon_la_LIBADD += plugins/tnccs_11/libstrongswan-tnccs-11.la
415 endif
416 endif
417
418 if USE_TNCCS_20
419   SUBDIRS += plugins/tnccs_20
420 if MONOLITHIC
421   libcharon_la_LIBADD += plugins/tnccs_20/libstrongswan-tnccs-20.la
422 endif
423 endif
424
425 if USE_TNCCS_DYNAMIC
426   SUBDIRS += plugins/tnccs_dynamic
427 if MONOLITHIC
428   libcharon_la_LIBADD += plugins/tnccs_dynamic/libstrongswan-tnccs-dynamic.la
429 endif
430 endif
431
432 if USE_LIBTNCCS
433 if MONOLITHIC
434   # otherwise this library is linked to the respective plugins
435   libcharon_la_LIBADD += $(top_builddir)/src/libtnccs/libtnccs.la
436 endif
437 endif
438
439 if USE_MEDSRV
440   SUBDIRS += plugins/medsrv
441 if MONOLITHIC
442   libcharon_la_LIBADD += plugins/medsrv/libstrongswan-medsrv.la
443 endif
444 endif
445
446 if USE_MEDCLI
447   SUBDIRS += plugins/medcli
448 if MONOLITHIC
449   libcharon_la_LIBADD += plugins/medcli/libstrongswan-medcli.la
450 endif
451 endif
452
453 if USE_DHCP
454   SUBDIRS += plugins/dhcp
455 if MONOLITHIC
456   libcharon_la_LIBADD += plugins/dhcp/libstrongswan-dhcp.la
457 endif
458 endif
459
460 if USE_ANDROID_DNS
461   SUBDIRS += plugins/android_dns
462 if MONOLITHIC
463   libcharon_la_LIBADD += plugins/android_dns/libstrongswan-android-dns.la
464 endif
465 endif
466
467 if USE_ANDROID_LOG
468   SUBDIRS += plugins/android_log
469 if MONOLITHIC
470   libcharon_la_LIBADD += plugins/android_log/libstrongswan-android-log.la
471 endif
472 endif
473
474 if USE_MAEMO
475   SUBDIRS += plugins/maemo
476 if MONOLITHIC
477   libcharon_la_LIBADD += plugins/maemo/libstrongswan-maemo.la
478 endif
479 endif
480
481 if USE_HA
482   SUBDIRS += plugins/ha
483 if MONOLITHIC
484   libcharon_la_LIBADD += plugins/ha/libstrongswan-ha.la
485 endif
486 endif
487
488 if USE_WHITELIST
489   SUBDIRS += plugins/whitelist
490 if MONOLITHIC
491   libcharon_la_LIBADD += plugins/whitelist/libstrongswan-whitelist.la
492 endif
493 endif
494
495 if USE_LOOKIP
496   SUBDIRS += plugins/lookip
497 if MONOLITHIC
498   libcharon_la_LIBADD += plugins/lookip/libstrongswan-lookip.la
499 endif
500 endif
501
502 if USE_ERROR_NOTIFY
503   SUBDIRS += plugins/error_notify
504 if MONOLITHIC
505   libcharon_la_LIBADD += plugins/error_notify/libstrongswan-error-notify.la
506 endif
507 endif
508
509 if USE_CERTEXPIRE
510   SUBDIRS += plugins/certexpire
511 if MONOLITHIC
512   libcharon_la_LIBADD += plugins/certexpire/libstrongswan-certexpire.la
513 endif
514 endif
515
516 if USE_SYSTIME_FIX
517   SUBDIRS += plugins/systime_fix
518 if MONOLITHIC
519   libcharon_la_LIBADD += plugins/systime_fix/libstrongswan-systime-fix.la
520 endif
521 endif
522
523 if USE_LED
524   SUBDIRS += plugins/led
525 if MONOLITHIC
526   libcharon_la_LIBADD += plugins/led/libstrongswan-led.la
527 endif
528 endif
529
530 if USE_DUPLICHECK
531   SUBDIRS += plugins/duplicheck
532 if MONOLITHIC
533   libcharon_la_LIBADD += plugins/duplicheck/libstrongswan-duplicheck.la
534 endif
535 endif
536
537 if USE_COUPLING
538   SUBDIRS += plugins/coupling
539 if MONOLITHIC
540   libcharon_la_LIBADD += plugins/coupling/libstrongswan-coupling.la
541 endif
542 endif
543
544 if USE_RADATTR
545   SUBDIRS += plugins/radattr
546 if MONOLITHIC
547   libcharon_la_LIBADD += plugins/radattr/libstrongswan-radattr.la
548 endif
549 endif
550
551 if USE_UCI
552   SUBDIRS += plugins/uci
553 if MONOLITHIC
554   libcharon_la_LIBADD += plugins/uci/libstrongswan-uci.la
555 endif
556 endif
557
558 if USE_ADDRBLOCK
559   SUBDIRS += plugins/addrblock
560 if MONOLITHIC
561   libcharon_la_LIBADD += plugins/addrblock/libstrongswan-addrblock.la
562 endif
563 endif
564
565 if USE_UNITY
566   SUBDIRS += plugins/unity
567 if MONOLITHIC
568   libcharon_la_LIBADD += plugins/unity/libstrongswan-unity.la
569 endif
570 endif
571
572 if USE_UNIT_TESTS
573   SUBDIRS += plugins/unit_tester
574 if MONOLITHIC
575   libcharon_la_LIBADD += plugins/unit_tester/libstrongswan-unit-tester.la
576 endif
577 endif
578
579 if USE_XAUTH_GENERIC
580   SUBDIRS += plugins/xauth_generic
581 if MONOLITHIC
582   libcharon_la_LIBADD += plugins/xauth_generic/libstrongswan-xauth-generic.la
583 endif
584 endif
585
586 if USE_XAUTH_EAP
587   SUBDIRS += plugins/xauth_eap
588 if MONOLITHIC
589   libcharon_la_LIBADD += plugins/xauth_eap/libstrongswan-xauth-eap.la
590 endif
591 endif
592
593 if USE_XAUTH_PAM
594   SUBDIRS += plugins/xauth_pam
595 if MONOLITHIC
596   libcharon_la_LIBADD += plugins/xauth_pam/libstrongswan-xauth-pam.la
597 endif
598 endif