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