65e344a70f56fd883221f15408e7cda1143313d5
[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 AM_CPPFLAGS = \
132         -I${linux_headers} \
133         -I$(top_srcdir)/src/libstrongswan \
134         -I$(top_srcdir)/src/libhydra \
135         -I$(top_srcdir)/src/libcharon \
136         -DIPSEC_DIR=\"${ipsecdir}\" \
137         -DIPSEC_PIDDIR=\"${piddir}\"
138
139 libcharon_la_LIBADD = -lm $(PTHREADLIB) $(DLLIB) $(SOCKLIB)
140
141 EXTRA_DIST = Android.mk
142
143 # compile options
144 #################
145
146 if USE_ME
147   libcharon_la_SOURCES += encoding/payloads/endpoint_notify.c encoding/payloads/endpoint_notify.h \
148     processing/jobs/initiate_mediation_job.c processing/jobs/initiate_mediation_job.h \
149     processing/jobs/mediation_job.c processing/jobs/mediation_job.h \
150     sa/ikev2/connect_manager.c sa/ikev2/connect_manager.h \
151     sa/ikev2/mediation_manager.c sa/ikev2/mediation_manager.h \
152     sa/ikev2/tasks/ike_me.c sa/ikev2/tasks/ike_me.h
153 endif
154
155 # build optional plugins
156 ########################
157
158 if MONOLITHIC
159 SUBDIRS =
160 else
161 SUBDIRS = .
162 endif
163
164 if USE_LOAD_TESTER
165   SUBDIRS += plugins/load_tester
166 if MONOLITHIC
167   libcharon_la_LIBADD += plugins/load_tester/libstrongswan-load-tester.la
168 endif
169 endif
170
171 if USE_SOCKET_DEFAULT
172   SUBDIRS += plugins/socket_default
173 if MONOLITHIC
174   libcharon_la_LIBADD += plugins/socket_default/libstrongswan-socket-default.la
175 endif
176 endif
177
178 if USE_SOCKET_DYNAMIC
179   SUBDIRS += plugins/socket_dynamic
180 if MONOLITHIC
181   libcharon_la_LIBADD += plugins/socket_dynamic/libstrongswan-socket-dynamic.la
182 endif
183 endif
184
185 if USE_FARP
186   SUBDIRS += plugins/farp
187 if MONOLITHIC
188   libcharon_la_LIBADD += plugins/farp/libstrongswan-farp.la
189 endif
190 endif
191
192 if USE_STROKE
193   SUBDIRS += plugins/stroke
194 if MONOLITHIC
195   libcharon_la_LIBADD += plugins/stroke/libstrongswan-stroke.la
196 endif
197 endif
198
199 if USE_SMP
200   SUBDIRS += plugins/smp
201 if MONOLITHIC
202   libcharon_la_LIBADD += plugins/smp/libstrongswan-smp.la
203 endif
204 endif
205
206 if USE_SQL
207   SUBDIRS += plugins/sql
208 if MONOLITHIC
209   libcharon_la_LIBADD += plugins/sql/libstrongswan-sql.la
210 endif
211 endif
212
213 if USE_IPSECKEY
214   SUBDIRS += plugins/ipseckey
215 if MONOLITHIC
216   libcharon_la_LIBADD += plugins/ipseckey/libstrongswan-ipseckey.la
217 endif
218 endif
219
220 if USE_UPDOWN
221   SUBDIRS += plugins/updown
222 if MONOLITHIC
223   libcharon_la_LIBADD += plugins/updown/libstrongswan-updown.la
224 endif
225 endif
226
227 if USE_EAP_IDENTITY
228   SUBDIRS += plugins/eap_identity
229 if MONOLITHIC
230   libcharon_la_LIBADD += plugins/eap_identity/libstrongswan-eap-identity.la
231 endif
232 endif
233
234 if USE_EAP_SIM
235   SUBDIRS += plugins/eap_sim
236 if MONOLITHIC
237   libcharon_la_LIBADD += plugins/eap_sim/libstrongswan-eap-sim.la
238 endif
239 endif
240
241 if USE_EAP_SIM_FILE
242   SUBDIRS += plugins/eap_sim_file
243 if MONOLITHIC
244   libcharon_la_LIBADD += plugins/eap_sim_file/libstrongswan-eap-sim-file.la
245 endif
246 endif
247
248 if USE_EAP_SIM_PCSC
249   SUBDIRS += plugins/eap_sim_pcsc
250 if MONOLITHIC
251   libcharon_la_LIBADD += plugins/eap_sim_pcsc/libstrongswan-eap-sim-pcsc.la
252 endif
253 endif
254
255 if USE_EAP_SIMAKA_SQL
256   SUBDIRS += plugins/eap_simaka_sql
257 if MONOLITHIC
258   libcharon_la_LIBADD += plugins/eap_simaka_sql/libstrongswan-eap-simaka-sql.la
259 endif
260 endif
261
262 if USE_EAP_SIMAKA_PSEUDONYM
263   SUBDIRS += plugins/eap_simaka_pseudonym
264 if MONOLITHIC
265   libcharon_la_LIBADD += plugins/eap_simaka_pseudonym/libstrongswan-eap-simaka-pseudonym.la
266 endif
267 endif
268
269 if USE_EAP_SIMAKA_REAUTH
270   SUBDIRS += plugins/eap_simaka_reauth
271 if MONOLITHIC
272   libcharon_la_LIBADD += plugins/eap_simaka_reauth/libstrongswan-eap-simaka-reauth.la
273 endif
274 endif
275
276 if USE_EAP_AKA
277   SUBDIRS += plugins/eap_aka
278 if MONOLITHIC
279   libcharon_la_LIBADD += plugins/eap_aka/libstrongswan-eap-aka.la
280 endif
281 endif
282
283 if USE_EAP_AKA_3GPP2
284   SUBDIRS += plugins/eap_aka_3gpp2
285 if MONOLITHIC
286   libcharon_la_LIBADD += plugins/eap_aka_3gpp2/libstrongswan-eap-aka-3gpp2.la
287 endif
288 endif
289
290 if USE_SIMAKA
291 if MONOLITHIC
292   # otherwise this library is linked to both the eap_aka and the eap_sim plugin
293   libcharon_la_LIBADD += $(top_builddir)/src/libsimaka/libsimaka.la
294 endif
295 endif
296
297 if USE_EAP_MD5
298   SUBDIRS += plugins/eap_md5
299 if MONOLITHIC
300   libcharon_la_LIBADD += plugins/eap_md5/libstrongswan-eap-md5.la
301 endif
302 endif
303
304 if USE_EAP_GTC
305   SUBDIRS += plugins/eap_gtc
306 if MONOLITHIC
307   libcharon_la_LIBADD += plugins/eap_gtc/libstrongswan-eap-gtc.la
308 endif
309 endif
310
311 if USE_EAP_MSCHAPV2
312   SUBDIRS += plugins/eap_mschapv2
313 if MONOLITHIC
314   libcharon_la_LIBADD += plugins/eap_mschapv2/libstrongswan-eap-mschapv2.la
315 endif
316 endif
317
318 if USE_EAP_DYNAMIC
319   SUBDIRS += plugins/eap_dynamic
320 if MONOLITHIC
321   libcharon_la_LIBADD += plugins/eap_dynamic/libstrongswan-eap-dynamic.la
322 endif
323 endif
324
325 if USE_EAP_RADIUS
326   SUBDIRS += plugins/eap_radius
327 if MONOLITHIC
328   libcharon_la_LIBADD += plugins/eap_radius/libstrongswan-eap-radius.la
329 endif
330 endif
331
332 if USE_EAP_TLS
333   SUBDIRS += plugins/eap_tls
334 if MONOLITHIC
335   libcharon_la_LIBADD += plugins/eap_tls/libstrongswan-eap-tls.la
336 endif
337 endif
338
339 if USE_EAP_TTLS
340   SUBDIRS += plugins/eap_ttls
341 if MONOLITHIC
342   libcharon_la_LIBADD += plugins/eap_ttls/libstrongswan-eap-ttls.la
343 endif
344 endif
345
346 if USE_EAP_PEAP
347   SUBDIRS += plugins/eap_peap
348 if MONOLITHIC
349   libcharon_la_LIBADD += plugins/eap_peap/libstrongswan-eap-peap.la
350 endif
351 endif
352
353 if USE_EAP_TNC
354   SUBDIRS += plugins/eap_tnc
355 if MONOLITHIC
356   libcharon_la_LIBADD += plugins/eap_tnc/libstrongswan-eap-tnc.la
357 endif
358 endif
359
360 if USE_TLS
361 if MONOLITHIC
362   # otherwise this library is linked to eap_tls
363   libcharon_la_LIBADD += $(top_builddir)/src/libtls/libtls.la
364 endif
365 endif
366
367 if USE_RADIUS
368 if MONOLITHIC
369   # otherwise this library is linked to eap_radius
370   libcharon_la_LIBADD += $(top_builddir)/src/libradius/libradius.la
371 endif
372 endif
373
374 if USE_TNC_IFMAP
375   SUBDIRS += plugins/tnc_ifmap
376 if MONOLITHIC
377   libcharon_la_LIBADD += plugins/tnc_ifmap/libstrongswan-tnc-ifmap.la
378 endif
379 endif
380
381 if USE_TNC_PDP
382   SUBDIRS += plugins/tnc_pdp
383 if MONOLITHIC
384   libcharon_la_LIBADD += plugins/tnc_pdp/libstrongswan-tnc-pdp.la
385 endif
386 endif
387
388 if USE_TNC_IMV
389   SUBDIRS += plugins/tnc_imv
390 if MONOLITHIC
391   libcharon_la_LIBADD += plugins/tnc_imv/libstrongswan-tnc-imv.la
392 endif
393 endif
394
395 if USE_LIBTNCCS
396 if MONOLITHIC
397   # otherwise this library is linked to the respective plugins
398   libcharon_la_LIBADD += $(top_builddir)/src/libtnccs/libtnccs.la
399 endif
400 endif
401
402 if USE_MEDSRV
403   SUBDIRS += plugins/medsrv
404 if MONOLITHIC
405   libcharon_la_LIBADD += plugins/medsrv/libstrongswan-medsrv.la
406 endif
407 endif
408
409 if USE_MEDCLI
410   SUBDIRS += plugins/medcli
411 if MONOLITHIC
412   libcharon_la_LIBADD += plugins/medcli/libstrongswan-medcli.la
413 endif
414 endif
415
416 if USE_DHCP
417   SUBDIRS += plugins/dhcp
418 if MONOLITHIC
419   libcharon_la_LIBADD += plugins/dhcp/libstrongswan-dhcp.la
420 endif
421 endif
422
423 if USE_OSX_ATTR
424   SUBDIRS += plugins/osx_attr
425 if MONOLITHIC
426   libcharon_la_LIBADD += plugins/osx_attr/libstrongswan-osx-attr.la
427 endif
428 endif
429
430 if USE_ANDROID_DNS
431   SUBDIRS += plugins/android_dns
432 if MONOLITHIC
433   libcharon_la_LIBADD += plugins/android_dns/libstrongswan-android-dns.la
434 endif
435 endif
436
437 if USE_ANDROID_LOG
438   SUBDIRS += plugins/android_log
439 if MONOLITHIC
440   libcharon_la_LIBADD += plugins/android_log/libstrongswan-android-log.la
441 endif
442 endif
443
444 if USE_MAEMO
445   SUBDIRS += plugins/maemo
446 if MONOLITHIC
447   libcharon_la_LIBADD += plugins/maemo/libstrongswan-maemo.la
448 endif
449 endif
450
451 if USE_HA
452   SUBDIRS += plugins/ha
453 if MONOLITHIC
454   libcharon_la_LIBADD += plugins/ha/libstrongswan-ha.la
455 endif
456 endif
457
458 if USE_KERNEL_LIBIPSEC
459   SUBDIRS += plugins/kernel_libipsec
460 if MONOLITHIC
461   libcharon_la_LIBADD += plugins/kernel_libipsec/libstrongswan-kernel-libipsec.la
462 endif
463 endif
464
465 if USE_WHITELIST
466   SUBDIRS += plugins/whitelist
467 if MONOLITHIC
468   libcharon_la_LIBADD += plugins/whitelist/libstrongswan-whitelist.la
469 endif
470 endif
471
472 if USE_LOOKIP
473   SUBDIRS += plugins/lookip
474 if MONOLITHIC
475   libcharon_la_LIBADD += plugins/lookip/libstrongswan-lookip.la
476 endif
477 endif
478
479 if USE_ERROR_NOTIFY
480   SUBDIRS += plugins/error_notify
481 if MONOLITHIC
482   libcharon_la_LIBADD += plugins/error_notify/libstrongswan-error-notify.la
483 endif
484 endif
485
486 if USE_CERTEXPIRE
487   SUBDIRS += plugins/certexpire
488 if MONOLITHIC
489   libcharon_la_LIBADD += plugins/certexpire/libstrongswan-certexpire.la
490 endif
491 endif
492
493 if USE_SYSTIME_FIX
494   SUBDIRS += plugins/systime_fix
495 if MONOLITHIC
496   libcharon_la_LIBADD += plugins/systime_fix/libstrongswan-systime-fix.la
497 endif
498 endif
499
500 if USE_LED
501   SUBDIRS += plugins/led
502 if MONOLITHIC
503   libcharon_la_LIBADD += plugins/led/libstrongswan-led.la
504 endif
505 endif
506
507 if USE_DUPLICHECK
508   SUBDIRS += plugins/duplicheck
509 if MONOLITHIC
510   libcharon_la_LIBADD += plugins/duplicheck/libstrongswan-duplicheck.la
511 endif
512 endif
513
514 if USE_COUPLING
515   SUBDIRS += plugins/coupling
516 if MONOLITHIC
517   libcharon_la_LIBADD += plugins/coupling/libstrongswan-coupling.la
518 endif
519 endif
520
521 if USE_RADATTR
522   SUBDIRS += plugins/radattr
523 if MONOLITHIC
524   libcharon_la_LIBADD += plugins/radattr/libstrongswan-radattr.la
525 endif
526 endif
527
528 if USE_UCI
529   SUBDIRS += plugins/uci
530 if MONOLITHIC
531   libcharon_la_LIBADD += plugins/uci/libstrongswan-uci.la
532 endif
533 endif
534
535 if USE_ADDRBLOCK
536   SUBDIRS += plugins/addrblock
537 if MONOLITHIC
538   libcharon_la_LIBADD += plugins/addrblock/libstrongswan-addrblock.la
539 endif
540 endif
541
542 if USE_UNITY
543   SUBDIRS += plugins/unity
544 if MONOLITHIC
545   libcharon_la_LIBADD += plugins/unity/libstrongswan-unity.la
546 endif
547 endif
548
549 if USE_UNIT_TESTS
550   SUBDIRS += plugins/unit_tester
551 if MONOLITHIC
552   libcharon_la_LIBADD += plugins/unit_tester/libstrongswan-unit-tester.la
553 endif
554 endif
555
556 if USE_XAUTH_GENERIC
557   SUBDIRS += plugins/xauth_generic
558 if MONOLITHIC
559   libcharon_la_LIBADD += plugins/xauth_generic/libstrongswan-xauth-generic.la
560 endif
561 endif
562
563 if USE_XAUTH_EAP
564   SUBDIRS += plugins/xauth_eap
565 if MONOLITHIC
566   libcharon_la_LIBADD += plugins/xauth_eap/libstrongswan-xauth-eap.la
567 endif
568 endif
569
570 if USE_XAUTH_PAM
571   SUBDIRS += plugins/xauth_pam
572 if MONOLITHIC
573   libcharon_la_LIBADD += plugins/xauth_pam/libstrongswan-xauth-pam.la
574 endif
575 endif
576
577 if USE_XAUTH_NOAUTH
578   SUBDIRS += plugins/xauth_noauth
579 if MONOLITHIC
580   libcharon_la_LIBADD += plugins/xauth_noauth/libstrongswan-xauth-noauth.la
581 endif
582 endif