]>
Commit | Line | Data |
---|---|---|
60d62b9e | 1 | ipseclib_LTLIBRARIES = libcharon.la |
f2c2d395 | 2 | |
bd3f8ea3 | 3 | libcharon_la_SOURCES = \ |
47f50278 | 4 | bus/bus.c bus/bus.h \ |
a3ee331b | 5 | bus/listeners/listener.h \ |
0e474f91 | 6 | bus/listeners/logger.h \ |
47f50278 | 7 | bus/listeners/file_logger.c bus/listeners/file_logger.h \ |
e0fe7651 | 8 | bus/listeners/sys_logger.c bus/listeners/sys_logger.h \ |
552cc11b | 9 | config/backend_manager.c config/backend_manager.h config/backend.h \ |
e0fe7651 | 10 | config/child_cfg.c config/child_cfg.h \ |
e0fe7651 MW |
11 | config/ike_cfg.c config/ike_cfg.h \ |
12 | config/peer_cfg.c config/peer_cfg.h \ | |
433cb51b | 13 | config/proposal.c config/proposal.h \ |
552cc11b | 14 | control/controller.c control/controller.h \ |
e0fe7651 MW |
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 \ | |
ee50a293 | 42 | encoding/payloads/hash_payload.c encoding/payloads/hash_payload.h \ |
09ae31f1 | 43 | kernel/kernel_handler.c kernel/kernel_handler.h \ |
8b6881cf MW |
44 | network/receiver.c network/receiver.h network/sender.c network/sender.h \ |
45 | network/packet.c network/packet.h network/socket.c network/socket.h \ | |
46 | network/socket_manager.c network/socket_manager.h \ | |
e0fe7651 MW |
47 | processing/jobs/acquire_job.c processing/jobs/acquire_job.h \ |
48 | processing/jobs/delete_child_sa_job.c processing/jobs/delete_child_sa_job.h \ | |
49 | processing/jobs/delete_ike_sa_job.c processing/jobs/delete_ike_sa_job.h \ | |
ef6d339c | 50 | processing/jobs/migrate_job.c processing/jobs/migrate_job.h \ |
e0fe7651 MW |
51 | processing/jobs/process_message_job.c processing/jobs/process_message_job.h \ |
52 | processing/jobs/rekey_child_sa_job.c processing/jobs/rekey_child_sa_job.h \ | |
53 | processing/jobs/rekey_ike_sa_job.c processing/jobs/rekey_ike_sa_job.h \ | |
54 | processing/jobs/retransmit_job.c processing/jobs/retransmit_job.h \ | |
eac9d770 | 55 | processing/jobs/retry_initiate_job.c processing/jobs/retry_initiate_job.h \ |
e0fe7651 MW |
56 | processing/jobs/send_dpd_job.c processing/jobs/send_dpd_job.h \ |
57 | processing/jobs/send_keepalive_job.c processing/jobs/send_keepalive_job.h \ | |
f04d1c2d | 58 | processing/jobs/start_action_job.c processing/jobs/start_action_job.h \ |
17d92e97 | 59 | processing/jobs/roam_job.c processing/jobs/roam_job.h \ |
aa9a3006 | 60 | processing/jobs/update_sa_job.c processing/jobs/update_sa_job.h \ |
aa9eeb5d | 61 | processing/jobs/inactivity_job.c processing/jobs/inactivity_job.h \ |
326a9423 MW |
62 | sa/eap/eap_method.c sa/eap/eap_method.h \ |
63 | sa/eap/eap_manager.c sa/eap/eap_manager.h \ | |
64 | sa/xauth/xauth_method.c sa/xauth/xauth_method.h \ | |
65 | sa/xauth/xauth_manager.c sa/xauth/xauth_manager.h \ | |
15a682f4 | 66 | sa/authenticator.c sa/authenticator.h \ |
e0fe7651 MW |
67 | sa/child_sa.c sa/child_sa.h \ |
68 | sa/ike_sa.c sa/ike_sa.h \ | |
69 | sa/ike_sa_id.c sa/ike_sa_id.h \ | |
15a682f4 | 70 | sa/keymat.h sa/keymat.c \ |
e0fe7651 | 71 | sa/ike_sa_manager.c sa/ike_sa_manager.h \ |
15a682f4 | 72 | sa/task_manager.h sa/task_manager.c \ |
f8799170 | 73 | sa/shunt_manager.c sa/shunt_manager.h \ |
eb8ed130 | 74 | sa/trap_manager.c sa/trap_manager.h \ |
7d788af0 MW |
75 | sa/task.c sa/task.h |
76 | ||
77 | if USE_IKEV2 | |
78 | libcharon_la_SOURCES += \ | |
15a682f4 MW |
79 | sa/ikev2/keymat_v2.c sa/ikev2/keymat_v2.h \ |
80 | sa/ikev2/task_manager_v2.c sa/ikev2/task_manager_v2.h \ | |
81 | sa/ikev2/authenticators/eap_authenticator.c sa/ikev2/authenticators/eap_authenticator.h \ | |
15a682f4 MW |
82 | sa/ikev2/authenticators/psk_authenticator.c sa/ikev2/authenticators/psk_authenticator.h \ |
83 | sa/ikev2/authenticators/pubkey_authenticator.c sa/ikev2/authenticators/pubkey_authenticator.h \ | |
84 | sa/ikev2/tasks/child_create.c sa/ikev2/tasks/child_create.h \ | |
85 | sa/ikev2/tasks/child_delete.c sa/ikev2/tasks/child_delete.h \ | |
86 | sa/ikev2/tasks/child_rekey.c sa/ikev2/tasks/child_rekey.h \ | |
87 | sa/ikev2/tasks/ike_auth.c sa/ikev2/tasks/ike_auth.h \ | |
88 | sa/ikev2/tasks/ike_cert_pre.c sa/ikev2/tasks/ike_cert_pre.h \ | |
89 | sa/ikev2/tasks/ike_cert_post.c sa/ikev2/tasks/ike_cert_post.h \ | |
90 | sa/ikev2/tasks/ike_config.c sa/ikev2/tasks/ike_config.h \ | |
91 | sa/ikev2/tasks/ike_delete.c sa/ikev2/tasks/ike_delete.h \ | |
92 | sa/ikev2/tasks/ike_dpd.c sa/ikev2/tasks/ike_dpd.h \ | |
93 | sa/ikev2/tasks/ike_init.c sa/ikev2/tasks/ike_init.h \ | |
94 | sa/ikev2/tasks/ike_natd.c sa/ikev2/tasks/ike_natd.h \ | |
95 | sa/ikev2/tasks/ike_mobike.c sa/ikev2/tasks/ike_mobike.h \ | |
96 | sa/ikev2/tasks/ike_rekey.c sa/ikev2/tasks/ike_rekey.h \ | |
97 | sa/ikev2/tasks/ike_reauth.c sa/ikev2/tasks/ike_reauth.h \ | |
98 | sa/ikev2/tasks/ike_auth_lifetime.c sa/ikev2/tasks/ike_auth_lifetime.h \ | |
7d788af0 MW |
99 | sa/ikev2/tasks/ike_vendor.c sa/ikev2/tasks/ike_vendor.h |
100 | endif | |
101 | ||
102 | if USE_IKEV1 | |
103 | libcharon_la_SOURCES += \ | |
15a682f4 MW |
104 | sa/ikev1/keymat_v1.c sa/ikev1/keymat_v1.h \ |
105 | sa/ikev1/task_manager_v1.c sa/ikev1/task_manager_v1.h \ | |
106 | sa/ikev1/authenticators/psk_v1_authenticator.c sa/ikev1/authenticators/psk_v1_authenticator.h \ | |
107 | sa/ikev1/authenticators/pubkey_v1_authenticator.c sa/ikev1/authenticators/pubkey_v1_authenticator.h \ | |
108 | sa/ikev1/authenticators/hybrid_authenticator.c sa/ikev1/authenticators/hybrid_authenticator.h \ | |
c29a89b8 | 109 | sa/ikev1/phase1.c sa/ikev1/phase1.h \ |
15a682f4 | 110 | sa/ikev1/tasks/main_mode.c sa/ikev1/tasks/main_mode.h \ |
ee325b55 | 111 | sa/ikev1/tasks/aggressive_mode.c sa/ikev1/tasks/aggressive_mode.h \ |
15a682f4 MW |
112 | sa/ikev1/tasks/informational.c sa/ikev1/tasks/informational.h \ |
113 | sa/ikev1/tasks/isakmp_cert_pre.c sa/ikev1/tasks/isakmp_cert_pre.h \ | |
114 | sa/ikev1/tasks/isakmp_cert_post.c sa/ikev1/tasks/isakmp_cert_post.h \ | |
115 | sa/ikev1/tasks/isakmp_natd.c sa/ikev1/tasks/isakmp_natd.h \ | |
116 | sa/ikev1/tasks/isakmp_vendor.c sa/ikev1/tasks/isakmp_vendor.h \ | |
117 | sa/ikev1/tasks/isakmp_delete.c sa/ikev1/tasks/isakmp_delete.h \ | |
3e6b7403 | 118 | sa/ikev1/tasks/isakmp_dpd.c sa/ikev1/tasks/isakmp_dpd.h \ |
15a682f4 MW |
119 | sa/ikev1/tasks/xauth.c sa/ikev1/tasks/xauth.h \ |
120 | sa/ikev1/tasks/quick_mode.c sa/ikev1/tasks/quick_mode.h \ | |
121 | sa/ikev1/tasks/quick_delete.c sa/ikev1/tasks/quick_delete.h \ | |
b147679a | 122 | sa/ikev1/tasks/mode_config.c sa/ikev1/tasks/mode_config.h \ |
4b38c22c | 123 | processing/jobs/dpd_timeout_job.c processing/jobs/dpd_timeout_job.h \ |
b147679a | 124 | processing/jobs/adopt_children_job.c processing/jobs/adopt_children_job.h |
7d788af0 | 125 | endif |
1cc4ec46 | 126 | |
f2c2d395 | 127 | |
257e27df | 128 | daemon.lo : $(top_builddir)/config.status |
b0e78903 | 129 | |
58f86d0f TB |
130 | INCLUDES = \ |
131 | -I${linux_headers} \ | |
132 | -I$(top_srcdir)/src/libstrongswan \ | |
133 | -I$(top_srcdir)/src/libhydra \ | |
f0a8bf47 | 134 | -I$(top_srcdir)/src/libcharon |
58f86d0f | 135 | |
bd3f8ea3 | 136 | AM_CFLAGS = \ |
58f86d0f | 137 | -DIPSEC_DIR=\"${ipsecdir}\" \ |
94b48e07 | 138 | -DIPSEC_PIDDIR=\"${piddir}\" |
58f86d0f | 139 | |
78060ba0 | 140 | libcharon_la_LIBADD = -lm $(PTHREADLIB) $(DLLIB) $(SOCKLIB) |
6b9290ff | 141 | |
1be32988 TB |
142 | EXTRA_DIST = Android.mk |
143 | ||
6b9290ff MW |
144 | # compile options |
145 | ################# | |
146 | ||
dc04b7c7 | 147 | if USE_ME |
bd3f8ea3 | 148 | libcharon_la_SOURCES += encoding/payloads/endpoint_notify.c encoding/payloads/endpoint_notify.h \ |
d5cc1758 TB |
149 | processing/jobs/initiate_mediation_job.c processing/jobs/initiate_mediation_job.h \ |
150 | processing/jobs/mediation_job.c processing/jobs/mediation_job.h \ | |
15a682f4 MW |
151 | sa/ikev2/connect_manager.c sa/ikev2/connect_manager.h \ |
152 | sa/ikev2/mediation_manager.c sa/ikev2/mediation_manager.h \ | |
153 | sa/ikev2/tasks/ike_me.c sa/ikev2/tasks/ike_me.h | |
d5cc1758 | 154 | endif |
04a7b6d8 | 155 | |
552cc11b MW |
156 | # build optional plugins |
157 | ######################## | |
a84fb01b | 158 | |
bd3f8ea3 | 159 | if MONOLITHIC |
6ec60bb9 | 160 | SUBDIRS = |
bd3f8ea3 TB |
161 | else |
162 | SUBDIRS = . | |
163 | endif | |
164 | ||
b76b867c | 165 | if USE_LOAD_TESTER |
0fd6e955 | 166 | SUBDIRS += plugins/load_tester |
6ec60bb9 TB |
167 | if MONOLITHIC |
168 | libcharon_la_LIBADD += plugins/load_tester/libstrongswan-load-tester.la | |
169 | endif | |
0fd6e955 MW |
170 | endif |
171 | ||
dab05604 MW |
172 | if USE_SOCKET_DEFAULT |
173 | SUBDIRS += plugins/socket_default | |
6ec60bb9 TB |
174 | if MONOLITHIC |
175 | libcharon_la_LIBADD += plugins/socket_default/libstrongswan-socket-default.la | |
176 | endif | |
dab05604 MW |
177 | endif |
178 | ||
179 | if USE_SOCKET_RAW | |
180 | SUBDIRS += plugins/socket_raw | |
6ec60bb9 TB |
181 | if MONOLITHIC |
182 | libcharon_la_LIBADD += plugins/socket_raw/libstrongswan-socket-raw.la | |
183 | endif | |
dab05604 MW |
184 | endif |
185 | ||
9ed1bb48 MW |
186 | if USE_SOCKET_DYNAMIC |
187 | SUBDIRS += plugins/socket_dynamic | |
6ec60bb9 TB |
188 | if MONOLITHIC |
189 | libcharon_la_LIBADD += plugins/socket_dynamic/libstrongswan-socket-dynamic.la | |
190 | endif | |
9ed1bb48 MW |
191 | endif |
192 | ||
0d7b48a3 MW |
193 | if USE_FARP |
194 | SUBDIRS += plugins/farp | |
0d7b48a3 MW |
195 | if MONOLITHIC |
196 | libcharon_la_LIBADD += plugins/farp/libstrongswan-farp.la | |
197 | endif | |
198 | endif | |
199 | ||
552cc11b MW |
200 | if USE_STROKE |
201 | SUBDIRS += plugins/stroke | |
6ec60bb9 TB |
202 | if MONOLITHIC |
203 | libcharon_la_LIBADD += plugins/stroke/libstrongswan-stroke.la | |
204 | endif | |
a84fb01b MW |
205 | endif |
206 | ||
6b9290ff MW |
207 | if USE_SMP |
208 | SUBDIRS += plugins/smp | |
6ec60bb9 TB |
209 | if MONOLITHIC |
210 | libcharon_la_LIBADD += plugins/smp/libstrongswan-smp.la | |
211 | endif | |
4b403e76 MW |
212 | endif |
213 | ||
552cc11b MW |
214 | if USE_SQL |
215 | SUBDIRS += plugins/sql | |
6ec60bb9 TB |
216 | if MONOLITHIC |
217 | libcharon_la_LIBADD += plugins/sql/libstrongswan-sql.la | |
218 | endif | |
cbfb2aff | 219 | endif |
a84fb01b | 220 | |
ad3af574 MW |
221 | if USE_UPDOWN |
222 | SUBDIRS += plugins/updown | |
6ec60bb9 TB |
223 | if MONOLITHIC |
224 | libcharon_la_LIBADD += plugins/updown/libstrongswan-updown.la | |
225 | endif | |
ad3af574 MW |
226 | endif |
227 | ||
552cc11b MW |
228 | if USE_EAP_IDENTITY |
229 | SUBDIRS += plugins/eap_identity | |
6ec60bb9 TB |
230 | if MONOLITHIC |
231 | libcharon_la_LIBADD += plugins/eap_identity/libstrongswan-eap-identity.la | |
232 | endif | |
8f561d44 MW |
233 | endif |
234 | ||
552cc11b MW |
235 | if USE_EAP_SIM |
236 | SUBDIRS += plugins/eap_sim | |
6ec60bb9 TB |
237 | if MONOLITHIC |
238 | libcharon_la_LIBADD += plugins/eap_sim/libstrongswan-eap-sim.la | |
239 | endif | |
552cc11b | 240 | endif |
a84fb01b | 241 | |
79a87846 MW |
242 | if USE_EAP_SIM_FILE |
243 | SUBDIRS += plugins/eap_sim_file | |
6ec60bb9 TB |
244 | if MONOLITHIC |
245 | libcharon_la_LIBADD += plugins/eap_sim_file/libstrongswan-eap-sim-file.la | |
246 | endif | |
79a87846 MW |
247 | endif |
248 | ||
80dca77a DS |
249 | if USE_EAP_SIM_PCSC |
250 | SUBDIRS += plugins/eap_sim_pcsc | |
251 | if MONOLITHIC | |
252 | libcharon_la_LIBADD += plugins/eap_sim_pcsc/libstrongswan-eap-sim-pcsc.la | |
253 | endif | |
254 | endif | |
255 | ||
d2c35874 MW |
256 | if USE_EAP_SIMAKA_SQL |
257 | SUBDIRS += plugins/eap_simaka_sql | |
d2c35874 MW |
258 | if MONOLITHIC |
259 | libcharon_la_LIBADD += plugins/eap_simaka_sql/libstrongswan-eap-simaka-sql.la | |
260 | endif | |
261 | endif | |
262 | ||
edcb2dd3 MW |
263 | if USE_EAP_SIMAKA_PSEUDONYM |
264 | SUBDIRS += plugins/eap_simaka_pseudonym | |
6ec60bb9 TB |
265 | if MONOLITHIC |
266 | libcharon_la_LIBADD += plugins/eap_simaka_pseudonym/libstrongswan-eap-simaka-pseudonym.la | |
267 | endif | |
edcb2dd3 MW |
268 | endif |
269 | ||
270 | if USE_EAP_SIMAKA_REAUTH | |
271 | SUBDIRS += plugins/eap_simaka_reauth | |
6ec60bb9 TB |
272 | if MONOLITHIC |
273 | libcharon_la_LIBADD += plugins/eap_simaka_reauth/libstrongswan-eap-simaka-reauth.la | |
edcb2dd3 | 274 | endif |
1caa265c MW |
275 | endif |
276 | ||
552cc11b MW |
277 | if USE_EAP_AKA |
278 | SUBDIRS += plugins/eap_aka | |
6ec60bb9 TB |
279 | if MONOLITHIC |
280 | libcharon_la_LIBADD += plugins/eap_aka/libstrongswan-eap-aka.la | |
281 | endif | |
a84fb01b MW |
282 | endif |
283 | ||
47208157 MW |
284 | if USE_EAP_AKA_3GPP2 |
285 | SUBDIRS += plugins/eap_aka_3gpp2 | |
6ec60bb9 TB |
286 | if MONOLITHIC |
287 | libcharon_la_LIBADD += plugins/eap_aka_3gpp2/libstrongswan-eap-aka-3gpp2.la | |
288 | endif | |
289 | endif | |
290 | ||
291 | if USE_SIMAKA | |
292 | if MONOLITHIC | |
293 | # otherwise this library is linked to both the eap_aka and the eap_sim plugin | |
294 | libcharon_la_LIBADD += $(top_builddir)/src/libsimaka/libsimaka.la | |
295 | endif | |
296 | endif | |
297 | ||
298 | if USE_EAP_MD5 | |
299 | SUBDIRS += plugins/eap_md5 | |
6ec60bb9 TB |
300 | if MONOLITHIC |
301 | libcharon_la_LIBADD += plugins/eap_md5/libstrongswan-eap-md5.la | |
302 | endif | |
303 | endif | |
304 | ||
305 | if USE_EAP_GTC | |
306 | SUBDIRS += plugins/eap_gtc | |
6ec60bb9 TB |
307 | if MONOLITHIC |
308 | libcharon_la_LIBADD += plugins/eap_gtc/libstrongswan-eap-gtc.la | |
309 | endif | |
47208157 MW |
310 | endif |
311 | ||
f98cdf7a TB |
312 | if USE_EAP_MSCHAPV2 |
313 | SUBDIRS += plugins/eap_mschapv2 | |
6ec60bb9 TB |
314 | if MONOLITHIC |
315 | libcharon_la_LIBADD += plugins/eap_mschapv2/libstrongswan-eap-mschapv2.la | |
316 | endif | |
f98cdf7a TB |
317 | endif |
318 | ||
4a6b84a9 MW |
319 | if USE_EAP_RADIUS |
320 | SUBDIRS += plugins/eap_radius | |
6ec60bb9 TB |
321 | if MONOLITHIC |
322 | libcharon_la_LIBADD += plugins/eap_radius/libstrongswan-eap-radius.la | |
323 | endif | |
4a6b84a9 MW |
324 | endif |
325 | ||
0b71bc7a MW |
326 | if USE_EAP_TLS |
327 | SUBDIRS += plugins/eap_tls | |
0b71bc7a MW |
328 | if MONOLITHIC |
329 | libcharon_la_LIBADD += plugins/eap_tls/libstrongswan-eap-tls.la | |
330 | endif | |
331 | endif | |
332 | ||
26eb9b2d AS |
333 | if USE_EAP_TTLS |
334 | SUBDIRS += plugins/eap_ttls | |
26eb9b2d AS |
335 | if MONOLITHIC |
336 | libcharon_la_LIBADD += plugins/eap_ttls/libstrongswan-eap-ttls.la | |
337 | endif | |
338 | endif | |
339 | ||
1be296df AS |
340 | if USE_EAP_PEAP |
341 | SUBDIRS += plugins/eap_peap | |
342 | if MONOLITHIC | |
343 | libcharon_la_LIBADD += plugins/eap_peap/libstrongswan-eap-peap.la | |
344 | endif | |
345 | endif | |
346 | ||
d93e2e54 AS |
347 | if USE_EAP_TNC |
348 | SUBDIRS += plugins/eap_tnc | |
349 | if MONOLITHIC | |
350 | libcharon_la_LIBADD += plugins/eap_tnc/libstrongswan-eap-tnc.la | |
351 | endif | |
352 | endif | |
353 | ||
0f82a470 MW |
354 | if USE_TLS |
355 | if MONOLITHIC | |
356 | # otherwise this library is linked to eap_tls | |
357 | libcharon_la_LIBADD += $(top_builddir)/src/libtls/libtls.la | |
358 | endif | |
359 | endif | |
360 | ||
f0f94e2c MW |
361 | if USE_RADIUS |
362 | if MONOLITHIC | |
363 | # otherwise this library is linked to eap_radius | |
364 | libcharon_la_LIBADD += $(top_builddir)/src/libradius/libradius.la | |
365 | endif | |
366 | endif | |
367 | ||
c77af768 AS |
368 | if USE_TNC_IFMAP |
369 | SUBDIRS += plugins/tnc_ifmap | |
370 | if MONOLITHIC | |
371 | libcharon_la_LIBADD += plugins/tnc_ifmap/libstrongswan-tnc-ifmap.la | |
372 | endif | |
373 | endif | |
374 | ||
70fd2d1a AS |
375 | if USE_TNC_PDP |
376 | SUBDIRS += plugins/tnc_pdp | |
377 | if MONOLITHIC | |
378 | libcharon_la_LIBADD += plugins/tnc_pdp/libstrongswan-tnc-pdp.la | |
379 | endif | |
380 | endif | |
381 | ||
8dcc56dc AS |
382 | if USE_TNC_IMC |
383 | SUBDIRS += plugins/tnc_imc | |
384 | if MONOLITHIC | |
caf20266 | 385 | libcharon_la_LIBADD += plugins/tnc_imc/libstrongswan-tnc-imc.la |
8dcc56dc AS |
386 | endif |
387 | endif | |
388 | ||
389 | if USE_TNC_IMV | |
390 | SUBDIRS += plugins/tnc_imv | |
391 | if MONOLITHIC | |
caf20266 | 392 | libcharon_la_LIBADD += plugins/tnc_imv/libstrongswan-tnc-imv.la |
8dcc56dc AS |
393 | endif |
394 | endif | |
395 | ||
f0a8bf47 AS |
396 | if USE_TNC_TNCCS |
397 | SUBDIRS += plugins/tnc_tnccs | |
398 | if MONOLITHIC | |
59c5f048 | 399 | libcharon_la_LIBADD += plugins/tnc_tnccs/libstrongswan-tnc-tnccs.la |
f0a8bf47 AS |
400 | endif |
401 | endif | |
402 | ||
4e8e74fc AS |
403 | if USE_TNCCS_11 |
404 | SUBDIRS += plugins/tnccs_11 | |
405 | if MONOLITHIC | |
8dcc56dc | 406 | libcharon_la_LIBADD += plugins/tnccs_11/libstrongswan-tnccs-11.la |
4e8e74fc AS |
407 | endif |
408 | endif | |
409 | ||
6d0e9cf0 AS |
410 | if USE_TNCCS_20 |
411 | SUBDIRS += plugins/tnccs_20 | |
412 | if MONOLITHIC | |
8dcc56dc | 413 | libcharon_la_LIBADD += plugins/tnccs_20/libstrongswan-tnccs-20.la |
6d0e9cf0 AS |
414 | endif |
415 | endif | |
416 | ||
f652995b AS |
417 | if USE_TNCCS_DYNAMIC |
418 | SUBDIRS += plugins/tnccs_dynamic | |
419 | if MONOLITHIC | |
420 | libcharon_la_LIBADD += plugins/tnccs_dynamic/libstrongswan-tnccs-dynamic.la | |
421 | endif | |
422 | endif | |
423 | ||
856baca2 TB |
424 | if USE_LIBTNCCS |
425 | if MONOLITHIC | |
426 | # otherwise this library is linked to the respective plugins | |
427 | libcharon_la_LIBADD += $(top_builddir)/src/libtnccs/libtnccs.la | |
428 | endif | |
429 | endif | |
430 | ||
5b7ec6d4 MW |
431 | if USE_MEDSRV |
432 | SUBDIRS += plugins/medsrv | |
6ec60bb9 TB |
433 | if MONOLITHIC |
434 | libcharon_la_LIBADD += plugins/medsrv/libstrongswan-medsrv.la | |
435 | endif | |
78703918 AS |
436 | endif |
437 | ||
782db7ed MW |
438 | if USE_MEDCLI |
439 | SUBDIRS += plugins/medcli | |
6ec60bb9 TB |
440 | if MONOLITHIC |
441 | libcharon_la_LIBADD += plugins/medcli/libstrongswan-medcli.la | |
442 | endif | |
782db7ed MW |
443 | endif |
444 | ||
beaa048e MW |
445 | if USE_DHCP |
446 | SUBDIRS += plugins/dhcp | |
beaa048e MW |
447 | if MONOLITHIC |
448 | libcharon_la_LIBADD += plugins/dhcp/libstrongswan-dhcp.la | |
449 | endif | |
450 | endif | |
451 | ||
55699f03 MW |
452 | if USE_ANDROID |
453 | SUBDIRS += plugins/android | |
6ec60bb9 TB |
454 | if MONOLITHIC |
455 | libcharon_la_LIBADD += plugins/android/libstrongswan-android.la | |
456 | endif | |
55699f03 MW |
457 | endif |
458 | ||
f79161e8 TB |
459 | if USE_MAEMO |
460 | SUBDIRS += plugins/maemo | |
461 | if MONOLITHIC | |
462 | libcharon_la_LIBADD += plugins/maemo/libstrongswan-maemo.la | |
463 | endif | |
464 | endif | |
465 | ||
29a46aac MW |
466 | if USE_HA |
467 | SUBDIRS += plugins/ha | |
29a46aac MW |
468 | if MONOLITHIC |
469 | libcharon_la_LIBADD += plugins/ha/libstrongswan-ha.la | |
470 | endif | |
471 | endif | |
472 | ||
5e603aba MW |
473 | if USE_WHITELIST |
474 | SUBDIRS += plugins/whitelist | |
475 | if MONOLITHIC | |
476 | libcharon_la_LIBADD += plugins/whitelist/libstrongswan-whitelist.la | |
477 | endif | |
478 | endif | |
479 | ||
ba2201ed MW |
480 | if USE_CERTEXPIRE |
481 | SUBDIRS += plugins/certexpire | |
482 | if MONOLITHIC | |
483 | libcharon_la_LIBADD += plugins/certexpire/libstrongswan-certexpire.la | |
484 | endif | |
485 | endif | |
486 | ||
30cd31fb MW |
487 | if USE_LED |
488 | SUBDIRS += plugins/led | |
489 | if MONOLITHIC | |
490 | libcharon_la_LIBADD += plugins/led/libstrongswan-led.la | |
491 | endif | |
492 | endif | |
493 | ||
3e74ebbe MW |
494 | if USE_DUPLICHECK |
495 | SUBDIRS += plugins/duplicheck | |
496 | if MONOLITHIC | |
497 | libcharon_la_LIBADD += plugins/duplicheck/libstrongswan-duplicheck.la | |
498 | endif | |
499 | endif | |
500 | ||
007c4708 MW |
501 | if USE_COUPLING |
502 | SUBDIRS += plugins/coupling | |
503 | if MONOLITHIC | |
504 | libcharon_la_LIBADD += plugins/coupling/libstrongswan-coupling.la | |
505 | endif | |
506 | endif | |
507 | ||
caf4b88e MW |
508 | if USE_RADATTR |
509 | SUBDIRS += plugins/radattr | |
510 | if MONOLITHIC | |
511 | libcharon_la_LIBADD += plugins/radattr/libstrongswan-radattr.la | |
512 | endif | |
513 | endif | |
514 | ||
61c46386 | 515 | if USE_UCI |
364fca2c | 516 | SUBDIRS += plugins/uci |
6ec60bb9 TB |
517 | if MONOLITHIC |
518 | libcharon_la_LIBADD += plugins/uci/libstrongswan-uci.la | |
519 | endif | |
61c46386 MW |
520 | endif |
521 | ||
1c8c9246 MW |
522 | if USE_ADDRBLOCK |
523 | SUBDIRS += plugins/addrblock | |
1c8c9246 | 524 | if MONOLITHIC |
f02a3055 | 525 | libcharon_la_LIBADD += plugins/addrblock/libstrongswan-addrblock.la |
1c8c9246 MW |
526 | endif |
527 | endif | |
528 | ||
6b64fe26 MW |
529 | if USE_UNIT_TESTS |
530 | SUBDIRS += plugins/unit_tester | |
6ec60bb9 TB |
531 | if MONOLITHIC |
532 | libcharon_la_LIBADD += plugins/unit_tester/libstrongswan-unit-tester.la | |
533 | endif | |
6b64fe26 MW |
534 | endif |
535 | ||
3d44d735 TB |
536 | if USE_XAUTH_GENERIC |
537 | SUBDIRS += plugins/xauth_generic | |
538 | if MONOLITHIC | |
539 | libcharon_la_LIBADD += plugins/xauth_generic/libstrongswan-xauth-generic.la | |
540 | endif | |
541 | endif | |
41e1e435 | 542 | |
85fc1eb6 MW |
543 | if USE_XAUTH_EAP |
544 | SUBDIRS += plugins/xauth_eap | |
545 | if MONOLITHIC | |
546 | libcharon_la_LIBADD += plugins/xauth_eap/libstrongswan-xauth-eap.la | |
547 | endif | |
548 | endif |