2010-03-12 15:56:54 +00:00
|
|
|
lib_LTLIBRARIES = libcharon.la
|
2006-05-16 14:24:03 +00:00
|
|
|
|
2010-03-12 15:56:54 +00:00
|
|
|
libcharon_la_SOURCES = \
|
2006-09-27 14:14:44 +00:00
|
|
|
bus/bus.c bus/bus.h \
|
2009-07-10 19:43:21 +00:00
|
|
|
bus/listeners/listener.h \
|
2006-09-27 14:14:44 +00:00
|
|
|
bus/listeners/file_logger.c bus/listeners/file_logger.h \
|
2007-04-10 06:01:03 +00:00
|
|
|
bus/listeners/sys_logger.c bus/listeners/sys_logger.h \
|
2008-03-13 14:14:44 +00:00
|
|
|
config/backend_manager.c config/backend_manager.h config/backend.h \
|
2007-04-10 06:01:03 +00:00
|
|
|
config/child_cfg.c config/child_cfg.h \
|
|
|
|
config/ike_cfg.c config/ike_cfg.h \
|
|
|
|
config/peer_cfg.c config/peer_cfg.h \
|
2009-05-15 20:43:48 +00:00
|
|
|
config/proposal.c config/proposal.h \
|
2008-03-13 14:14:44 +00:00
|
|
|
control/controller.c control/controller.h \
|
2007-04-10 06:01:03 +00:00
|
|
|
daemon.c daemon.h \
|
|
|
|
encoding/generator.c encoding/generator.h \
|
|
|
|
encoding/message.c encoding/message.h \
|
|
|
|
encoding/parser.c encoding/parser.h \
|
|
|
|
encoding/payloads/auth_payload.c encoding/payloads/auth_payload.h \
|
|
|
|
encoding/payloads/cert_payload.c encoding/payloads/cert_payload.h \
|
|
|
|
encoding/payloads/certreq_payload.c encoding/payloads/certreq_payload.h \
|
|
|
|
encoding/payloads/configuration_attribute.c encoding/payloads/configuration_attribute.h \
|
|
|
|
encoding/payloads/cp_payload.c encoding/payloads/cp_payload.h \
|
|
|
|
encoding/payloads/delete_payload.c encoding/payloads/delete_payload.h \
|
|
|
|
encoding/payloads/eap_payload.c encoding/payloads/eap_payload.h \
|
|
|
|
encoding/payloads/encodings.c encoding/payloads/encodings.h \
|
|
|
|
encoding/payloads/encryption_payload.c encoding/payloads/encryption_payload.h \
|
|
|
|
encoding/payloads/id_payload.c encoding/payloads/id_payload.h \
|
|
|
|
encoding/payloads/ike_header.c encoding/payloads/ike_header.h \
|
|
|
|
encoding/payloads/ke_payload.c encoding/payloads/ke_payload.h \
|
|
|
|
encoding/payloads/nonce_payload.c encoding/payloads/nonce_payload.h \
|
|
|
|
encoding/payloads/notify_payload.c encoding/payloads/notify_payload.h \
|
|
|
|
encoding/payloads/payload.c encoding/payloads/payload.h \
|
|
|
|
encoding/payloads/proposal_substructure.c encoding/payloads/proposal_substructure.h \
|
|
|
|
encoding/payloads/sa_payload.c encoding/payloads/sa_payload.h \
|
|
|
|
encoding/payloads/traffic_selector_substructure.c encoding/payloads/traffic_selector_substructure.h \
|
|
|
|
encoding/payloads/transform_attribute.c encoding/payloads/transform_attribute.h \
|
|
|
|
encoding/payloads/transform_substructure.c encoding/payloads/transform_substructure.h \
|
|
|
|
encoding/payloads/ts_payload.c encoding/payloads/ts_payload.h \
|
|
|
|
encoding/payloads/unknown_payload.c encoding/payloads/unknown_payload.h \
|
|
|
|
encoding/payloads/vendor_id_payload.c encoding/payloads/vendor_id_payload.h \
|
2010-07-06 09:36:58 +00:00
|
|
|
kernel/kernel_handler.c kernel/kernel_handler.h \
|
2007-04-10 06:01:03 +00:00
|
|
|
network/packet.c network/packet.h \
|
|
|
|
network/receiver.c network/receiver.h \
|
|
|
|
network/sender.c network/sender.h \
|
2010-02-22 13:56:35 +00:00
|
|
|
network/socket_manager.c network/socket_manager.h network/socket.h \
|
2007-04-10 06:01:03 +00:00
|
|
|
processing/jobs/acquire_job.c processing/jobs/acquire_job.h \
|
|
|
|
processing/jobs/delete_child_sa_job.c processing/jobs/delete_child_sa_job.h \
|
|
|
|
processing/jobs/delete_ike_sa_job.c processing/jobs/delete_ike_sa_job.h \
|
2008-11-03 02:05:41 +00:00
|
|
|
processing/jobs/migrate_job.c processing/jobs/migrate_job.h \
|
2007-04-10 06:01:03 +00:00
|
|
|
processing/jobs/process_message_job.c processing/jobs/process_message_job.h \
|
|
|
|
processing/jobs/rekey_child_sa_job.c processing/jobs/rekey_child_sa_job.h \
|
|
|
|
processing/jobs/rekey_ike_sa_job.c processing/jobs/rekey_ike_sa_job.h \
|
|
|
|
processing/jobs/retransmit_job.c processing/jobs/retransmit_job.h \
|
|
|
|
processing/jobs/send_dpd_job.c processing/jobs/send_dpd_job.h \
|
|
|
|
processing/jobs/send_keepalive_job.c processing/jobs/send_keepalive_job.h \
|
2011-02-09 21:27:04 +00:00
|
|
|
processing/jobs/start_action_job.c processing/jobs/start_action_job.h \
|
2007-06-21 15:25:28 +00:00
|
|
|
processing/jobs/roam_job.c processing/jobs/roam_job.h \
|
2008-10-07 07:55:28 +00:00
|
|
|
processing/jobs/update_sa_job.c processing/jobs/update_sa_job.h \
|
2010-01-12 09:16:34 +00:00
|
|
|
processing/jobs/inactivity_job.c processing/jobs/inactivity_job.h \
|
2007-04-10 06:01:03 +00:00
|
|
|
sa/authenticators/authenticator.c sa/authenticators/authenticator.h \
|
|
|
|
sa/authenticators/eap_authenticator.c sa/authenticators/eap_authenticator.h \
|
|
|
|
sa/authenticators/eap/eap_method.c sa/authenticators/eap/eap_method.h \
|
2008-03-13 14:14:44 +00:00
|
|
|
sa/authenticators/eap/eap_manager.c sa/authenticators/eap/eap_manager.h \
|
2008-10-10 08:36:01 +00:00
|
|
|
sa/authenticators/eap/sim_manager.c sa/authenticators/eap/sim_manager.h \
|
2011-03-08 13:17:53 +00:00
|
|
|
sa/authenticators/eap/sim_card.h sa/authenticators/eap/sim_provider.h \
|
|
|
|
sa/authenticators/eap/sim_hooks.h \
|
2007-04-10 06:01:03 +00:00
|
|
|
sa/authenticators/psk_authenticator.c sa/authenticators/psk_authenticator.h \
|
2008-06-10 09:08:27 +00:00
|
|
|
sa/authenticators/pubkey_authenticator.c sa/authenticators/pubkey_authenticator.h \
|
2007-04-10 06:01:03 +00:00
|
|
|
sa/child_sa.c sa/child_sa.h \
|
|
|
|
sa/ike_sa.c sa/ike_sa.h \
|
|
|
|
sa/ike_sa_id.c sa/ike_sa_id.h \
|
|
|
|
sa/ike_sa_manager.c sa/ike_sa_manager.h \
|
|
|
|
sa/task_manager.c sa/task_manager.h \
|
2008-10-28 16:07:06 +00:00
|
|
|
sa/keymat.c sa/keymat.h \
|
2011-06-28 17:42:54 +00:00
|
|
|
sa/shunt_manager.c sa/shunt_manager.h \
|
2009-05-06 17:45:11 +00:00
|
|
|
sa/trap_manager.c sa/trap_manager.h \
|
2007-04-10 06:01:03 +00:00
|
|
|
sa/tasks/child_create.c sa/tasks/child_create.h \
|
|
|
|
sa/tasks/child_delete.c sa/tasks/child_delete.h \
|
|
|
|
sa/tasks/child_rekey.c sa/tasks/child_rekey.h \
|
2007-02-28 14:04:36 +00:00
|
|
|
sa/tasks/ike_auth.c sa/tasks/ike_auth.h \
|
2008-03-13 14:14:44 +00:00
|
|
|
sa/tasks/ike_cert_pre.c sa/tasks/ike_cert_pre.h \
|
|
|
|
sa/tasks/ike_cert_post.c sa/tasks/ike_cert_post.h \
|
2007-04-10 06:01:03 +00:00
|
|
|
sa/tasks/ike_config.c sa/tasks/ike_config.h \
|
2007-02-28 14:04:36 +00:00
|
|
|
sa/tasks/ike_delete.c sa/tasks/ike_delete.h \
|
|
|
|
sa/tasks/ike_dpd.c sa/tasks/ike_dpd.h \
|
2007-04-10 06:01:03 +00:00
|
|
|
sa/tasks/ike_init.c sa/tasks/ike_init.h \
|
|
|
|
sa/tasks/ike_natd.c sa/tasks/ike_natd.h \
|
2007-06-21 15:25:28 +00:00
|
|
|
sa/tasks/ike_mobike.c sa/tasks/ike_mobike.h \
|
2007-04-10 06:01:03 +00:00
|
|
|
sa/tasks/ike_rekey.c sa/tasks/ike_rekey.h \
|
2007-06-14 08:13:05 +00:00
|
|
|
sa/tasks/ike_reauth.c sa/tasks/ike_reauth.h \
|
2007-12-03 10:52:18 +00:00
|
|
|
sa/tasks/ike_auth_lifetime.c sa/tasks/ike_auth_lifetime.h \
|
2010-01-07 09:26:58 +00:00
|
|
|
sa/tasks/ike_vendor.c sa/tasks/ike_vendor.h \
|
2010-09-28 21:34:04 +00:00
|
|
|
sa/tasks/task.c sa/tasks/task.h \
|
2010-11-05 23:54:10 +00:00
|
|
|
tnc/imc/imc.h tnc/imc/imc_manager.h \
|
2010-11-14 10:23:47 +00:00
|
|
|
tnc/imv/imv.h tnc/imv/imv_manager.h \
|
|
|
|
tnc/imv/imv_recommendations.c tnc/imv/imv_recommendations.h \
|
2010-11-04 13:56:34 +00:00
|
|
|
tnc/tnccs/tnccs.c tnc/tnccs/tnccs.h \
|
2010-11-05 23:54:10 +00:00
|
|
|
tnc/tnccs/tnccs_manager.c tnc/tnccs/tnccs_manager.h
|
2006-05-16 14:24:03 +00:00
|
|
|
|
2010-04-29 11:29:53 +00:00
|
|
|
daemon.lo : $(top_builddir)/config.status
|
2010-04-29 09:28:27 +00:00
|
|
|
|
2010-03-24 16:46:29 +00:00
|
|
|
INCLUDES = \
|
|
|
|
-I${linux_headers} \
|
|
|
|
-I$(top_srcdir)/src/libstrongswan \
|
|
|
|
-I$(top_srcdir)/src/libhydra \
|
2011-06-01 14:32:01 +00:00
|
|
|
-I$(top_srcdir)/src/libcharon \
|
|
|
|
-I$(top_srcdir)/src/libtncif
|
2010-03-24 16:46:29 +00:00
|
|
|
|
2010-03-12 15:56:54 +00:00
|
|
|
AM_CFLAGS = \
|
2010-03-24 16:46:29 +00:00
|
|
|
-DIPSEC_DIR=\"${ipsecdir}\" \
|
2010-08-12 12:37:45 +00:00
|
|
|
-DIPSEC_PIDDIR=\"${piddir}\" \
|
|
|
|
-DPLUGINS=\""${libcharon_plugins}\""
|
2010-03-24 16:46:29 +00:00
|
|
|
|
2010-03-16 10:06:39 +00:00
|
|
|
libcharon_la_LIBADD = -lm $(PTHREADLIB) $(DLLIB) $(SOCKLIB)
|
2008-03-28 12:44:01 +00:00
|
|
|
|
2010-03-03 09:18:46 +00:00
|
|
|
EXTRA_DIST = Android.mk
|
|
|
|
|
2008-03-28 12:44:01 +00:00
|
|
|
# compile options
|
|
|
|
#################
|
|
|
|
|
2008-03-26 18:40:19 +00:00
|
|
|
if USE_ME
|
2010-03-12 15:56:54 +00:00
|
|
|
libcharon_la_SOURCES += encoding/payloads/endpoint_notify.c encoding/payloads/endpoint_notify.h \
|
2007-10-03 15:10:41 +00:00
|
|
|
processing/jobs/initiate_mediation_job.c processing/jobs/initiate_mediation_job.h \
|
|
|
|
processing/jobs/mediation_job.c processing/jobs/mediation_job.h \
|
|
|
|
sa/connect_manager.c sa/connect_manager.h \
|
|
|
|
sa/mediation_manager.c sa/mediation_manager.h \
|
2008-03-26 18:40:19 +00:00
|
|
|
sa/tasks/ike_me.c sa/tasks/ike_me.h
|
2007-10-03 15:10:41 +00:00
|
|
|
endif
|
2007-04-19 08:59:36 +00:00
|
|
|
|
2010-06-15 17:10:23 +00:00
|
|
|
if USE_LIBCAP
|
2010-03-12 15:56:54 +00:00
|
|
|
libcharon_la_LIBADD += -lcap
|
2010-03-01 15:15:08 +00:00
|
|
|
endif
|
2008-08-29 09:24:14 +00:00
|
|
|
|
2008-03-13 14:14:44 +00:00
|
|
|
# build optional plugins
|
|
|
|
########################
|
2007-04-27 14:25:08 +00:00
|
|
|
|
2010-03-12 15:56:54 +00:00
|
|
|
if MONOLITHIC
|
2010-03-01 15:15:08 +00:00
|
|
|
SUBDIRS =
|
2010-03-12 15:56:54 +00:00
|
|
|
else
|
|
|
|
SUBDIRS = .
|
|
|
|
endif
|
|
|
|
|
2009-10-15 08:34:49 +00:00
|
|
|
if USE_LOAD_TESTER
|
2008-10-21 13:00:38 +00:00
|
|
|
SUBDIRS += plugins/load_tester
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/load_tester/libstrongswan-load-tester.la
|
|
|
|
endif
|
2008-10-21 13:00:38 +00:00
|
|
|
endif
|
|
|
|
|
2010-02-22 13:56:35 +00:00
|
|
|
if USE_SOCKET_DEFAULT
|
|
|
|
SUBDIRS += plugins/socket_default
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/socket_default/libstrongswan-socket-default.la
|
|
|
|
endif
|
2010-02-22 13:56:35 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
if USE_SOCKET_RAW
|
|
|
|
SUBDIRS += plugins/socket_raw
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/socket_raw/libstrongswan-socket-raw.la
|
|
|
|
endif
|
2010-02-22 13:56:35 +00:00
|
|
|
endif
|
|
|
|
|
2010-02-24 09:58:23 +00:00
|
|
|
if USE_SOCKET_DYNAMIC
|
|
|
|
SUBDIRS += plugins/socket_dynamic
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/socket_dynamic/libstrongswan-socket-dynamic.la
|
|
|
|
endif
|
2010-02-24 09:58:23 +00:00
|
|
|
endif
|
|
|
|
|
2010-03-19 11:08:41 +00:00
|
|
|
if USE_FARP
|
|
|
|
SUBDIRS += plugins/farp
|
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/farp/libstrongswan-farp.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2008-03-13 14:14:44 +00:00
|
|
|
if USE_STROKE
|
|
|
|
SUBDIRS += plugins/stroke
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/stroke/libstrongswan-stroke.la
|
|
|
|
endif
|
2007-04-27 14:25:08 +00:00
|
|
|
endif
|
|
|
|
|
2008-03-28 12:44:01 +00:00
|
|
|
if USE_SMP
|
|
|
|
SUBDIRS += plugins/smp
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/smp/libstrongswan-smp.la
|
|
|
|
endif
|
2007-12-12 14:29:10 +00:00
|
|
|
endif
|
|
|
|
|
2008-03-13 14:14:44 +00:00
|
|
|
if USE_SQL
|
|
|
|
SUBDIRS += plugins/sql
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/sql/libstrongswan-sql.la
|
|
|
|
endif
|
2007-12-03 14:47:15 +00:00
|
|
|
endif
|
2007-04-27 14:25:08 +00:00
|
|
|
|
2008-10-16 11:48:18 +00:00
|
|
|
if USE_UPDOWN
|
|
|
|
SUBDIRS += plugins/updown
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/updown/libstrongswan-updown.la
|
|
|
|
endif
|
2008-10-16 11:48:18 +00:00
|
|
|
endif
|
|
|
|
|
2008-03-13 14:14:44 +00:00
|
|
|
if USE_EAP_IDENTITY
|
|
|
|
SUBDIRS += plugins/eap_identity
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/eap_identity/libstrongswan-eap-identity.la
|
|
|
|
endif
|
2007-09-18 07:12:21 +00:00
|
|
|
endif
|
|
|
|
|
2008-03-13 14:14:44 +00:00
|
|
|
if USE_EAP_SIM
|
|
|
|
SUBDIRS += plugins/eap_sim
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/eap_sim/libstrongswan-eap-sim.la
|
|
|
|
endif
|
2008-03-13 14:14:44 +00:00
|
|
|
endif
|
2007-04-27 14:25:08 +00:00
|
|
|
|
2008-10-10 08:36:01 +00:00
|
|
|
if USE_EAP_SIM_FILE
|
|
|
|
SUBDIRS += plugins/eap_sim_file
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/eap_sim_file/libstrongswan-eap-sim-file.la
|
|
|
|
endif
|
2008-10-10 08:36:01 +00:00
|
|
|
endif
|
|
|
|
|
2011-04-04 06:51:50 +00:00
|
|
|
if USE_EAP_SIM_PCSC
|
|
|
|
SUBDIRS += plugins/eap_sim_pcsc
|
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/eap_sim_pcsc/libstrongswan-eap-sim-pcsc.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2010-06-02 13:55:58 +00:00
|
|
|
if USE_EAP_SIMAKA_SQL
|
|
|
|
SUBDIRS += plugins/eap_simaka_sql
|
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/eap_simaka_sql/libstrongswan-eap-simaka-sql.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2009-10-28 14:34:05 +00:00
|
|
|
if USE_EAP_SIMAKA_PSEUDONYM
|
|
|
|
SUBDIRS += plugins/eap_simaka_pseudonym
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/eap_simaka_pseudonym/libstrongswan-eap-simaka-pseudonym.la
|
|
|
|
endif
|
2009-10-28 14:34:05 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
if USE_EAP_SIMAKA_REAUTH
|
|
|
|
SUBDIRS += plugins/eap_simaka_reauth
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/eap_simaka_reauth/libstrongswan-eap-simaka-reauth.la
|
2009-10-28 14:34:05 +00:00
|
|
|
endif
|
2008-08-21 12:10:07 +00:00
|
|
|
endif
|
|
|
|
|
2008-03-13 14:14:44 +00:00
|
|
|
if USE_EAP_AKA
|
|
|
|
SUBDIRS += plugins/eap_aka
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/eap_aka/libstrongswan-eap-aka.la
|
|
|
|
endif
|
2007-04-27 14:25:08 +00:00
|
|
|
endif
|
|
|
|
|
2009-10-08 08:29:43 +00:00
|
|
|
if USE_EAP_AKA_3GPP2
|
|
|
|
SUBDIRS += plugins/eap_aka_3gpp2
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/eap_aka_3gpp2/libstrongswan-eap-aka-3gpp2.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
if USE_SIMAKA
|
|
|
|
if MONOLITHIC
|
|
|
|
# otherwise this library is linked to both the eap_aka and the eap_sim plugin
|
|
|
|
libcharon_la_LIBADD += $(top_builddir)/src/libsimaka/libsimaka.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
if USE_EAP_MD5
|
|
|
|
SUBDIRS += plugins/eap_md5
|
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/eap_md5/libstrongswan-eap-md5.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
if USE_EAP_GTC
|
|
|
|
SUBDIRS += plugins/eap_gtc
|
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/eap_gtc/libstrongswan-eap-gtc.la
|
|
|
|
endif
|
2009-10-08 08:29:43 +00:00
|
|
|
endif
|
|
|
|
|
2009-02-18 19:57:15 +00:00
|
|
|
if USE_EAP_MSCHAPV2
|
|
|
|
SUBDIRS += plugins/eap_mschapv2
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/eap_mschapv2/libstrongswan-eap-mschapv2.la
|
|
|
|
endif
|
2009-02-18 19:57:15 +00:00
|
|
|
endif
|
|
|
|
|
2009-03-24 10:24:58 +00:00
|
|
|
if USE_EAP_RADIUS
|
|
|
|
SUBDIRS += plugins/eap_radius
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/eap_radius/libstrongswan-eap-radius.la
|
|
|
|
endif
|
2009-03-24 10:24:58 +00:00
|
|
|
endif
|
|
|
|
|
2010-03-19 17:55:23 +00:00
|
|
|
if USE_EAP_TLS
|
|
|
|
SUBDIRS += plugins/eap_tls
|
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/eap_tls/libstrongswan-eap-tls.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2010-08-06 05:45:03 +00:00
|
|
|
if USE_EAP_TTLS
|
|
|
|
SUBDIRS += plugins/eap_ttls
|
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/eap_ttls/libstrongswan-eap-ttls.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2011-04-06 12:42:02 +00:00
|
|
|
if USE_EAP_PEAP
|
|
|
|
SUBDIRS += plugins/eap_peap
|
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/eap_peap/libstrongswan-eap-peap.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2010-08-30 13:36:24 +00:00
|
|
|
if USE_EAP_TNC
|
|
|
|
SUBDIRS += plugins/eap_tnc
|
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/eap_tnc/libstrongswan-eap-tnc.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2010-08-03 13:17:40 +00:00
|
|
|
if USE_TLS
|
|
|
|
if MONOLITHIC
|
|
|
|
# otherwise this library is linked to eap_tls
|
|
|
|
libcharon_la_LIBADD += $(top_builddir)/src/libtls/libtls.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2010-10-07 21:31:23 +00:00
|
|
|
if USE_TNC_IMC
|
|
|
|
SUBDIRS += plugins/tnc_imc
|
|
|
|
if MONOLITHIC
|
2011-02-08 10:22:02 +00:00
|
|
|
libcharon_la_LIBADD += plugins/tnc_imc/libstrongswan-tnc-imc.la
|
2010-10-07 21:31:23 +00:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
if USE_TNC_IMV
|
|
|
|
SUBDIRS += plugins/tnc_imv
|
|
|
|
if MONOLITHIC
|
2011-02-08 10:22:02 +00:00
|
|
|
libcharon_la_LIBADD += plugins/tnc_imv/libstrongswan-tnc-imv.la
|
2010-10-07 21:31:23 +00:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2010-09-28 21:34:04 +00:00
|
|
|
if USE_TNCCS_11
|
|
|
|
SUBDIRS += plugins/tnccs_11
|
|
|
|
if MONOLITHIC
|
2010-10-07 21:31:23 +00:00
|
|
|
libcharon_la_LIBADD += plugins/tnccs_11/libstrongswan-tnccs-11.la
|
2010-09-28 21:34:04 +00:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2010-10-05 19:15:24 +00:00
|
|
|
if USE_TNCCS_20
|
|
|
|
SUBDIRS += plugins/tnccs_20
|
|
|
|
if MONOLITHIC
|
2010-10-07 21:31:23 +00:00
|
|
|
libcharon_la_LIBADD += plugins/tnccs_20/libstrongswan-tnccs-20.la
|
2010-10-05 19:15:24 +00:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2011-01-30 23:59:01 +00:00
|
|
|
if USE_TNCCS_DYNAMIC
|
|
|
|
SUBDIRS += plugins/tnccs_dynamic
|
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/tnccs_dynamic/libstrongswan-tnccs-dynamic.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2008-05-08 12:11:30 +00:00
|
|
|
if USE_MEDSRV
|
|
|
|
SUBDIRS += plugins/medsrv
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/medsrv/libstrongswan-medsrv.la
|
|
|
|
endif
|
2007-03-07 19:28:03 +00:00
|
|
|
endif
|
|
|
|
|
2008-05-14 07:26:19 +00:00
|
|
|
if USE_MEDCLI
|
|
|
|
SUBDIRS += plugins/medcli
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/medcli/libstrongswan-medcli.la
|
|
|
|
endif
|
2008-05-14 07:26:19 +00:00
|
|
|
endif
|
|
|
|
|
2008-07-31 11:16:14 +00:00
|
|
|
if USE_NM
|
|
|
|
SUBDIRS += plugins/nm
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/nm/libstrongswan-nm.la
|
|
|
|
endif
|
2008-07-31 11:16:14 +00:00
|
|
|
endif
|
|
|
|
|
2010-03-22 13:39:33 +00:00
|
|
|
if USE_DHCP
|
|
|
|
SUBDIRS += plugins/dhcp
|
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/dhcp/libstrongswan-dhcp.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2010-02-17 09:41:55 +00:00
|
|
|
if USE_ANDROID
|
|
|
|
SUBDIRS += plugins/android
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/android/libstrongswan-android.la
|
|
|
|
endif
|
2010-02-17 09:41:55 +00:00
|
|
|
endif
|
|
|
|
|
2010-09-20 15:36:42 +00:00
|
|
|
if USE_MAEMO
|
|
|
|
SUBDIRS += plugins/maemo
|
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/maemo/libstrongswan-maemo.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2010-03-19 18:03:46 +00:00
|
|
|
if USE_HA
|
|
|
|
SUBDIRS += plugins/ha
|
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/ha/libstrongswan-ha.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2011-02-03 12:38:13 +00:00
|
|
|
if USE_WHITELIST
|
|
|
|
SUBDIRS += plugins/whitelist
|
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/whitelist/libstrongswan-whitelist.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2010-09-08 09:59:00 +00:00
|
|
|
if USE_LED
|
|
|
|
SUBDIRS += plugins/led
|
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/led/libstrongswan-led.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2011-02-09 14:04:21 +00:00
|
|
|
if USE_DUPLICHECK
|
|
|
|
SUBDIRS += plugins/duplicheck
|
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/duplicheck/libstrongswan-duplicheck.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2011-02-21 13:05:21 +00:00
|
|
|
if USE_COUPLING
|
|
|
|
SUBDIRS += plugins/coupling
|
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/coupling/libstrongswan-coupling.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2008-06-17 14:17:51 +00:00
|
|
|
if USE_UCI
|
2008-06-19 11:50:13 +00:00
|
|
|
SUBDIRS += plugins/uci
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/uci/libstrongswan-uci.la
|
|
|
|
endif
|
2008-06-17 14:17:51 +00:00
|
|
|
endif
|
|
|
|
|
2010-07-12 13:57:25 +00:00
|
|
|
if USE_ADDRBLOCK
|
|
|
|
SUBDIRS += plugins/addrblock
|
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/uci/libstrongswan-addrblock.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2008-07-21 11:16:07 +00:00
|
|
|
if USE_UNIT_TESTS
|
|
|
|
SUBDIRS += plugins/unit_tester
|
2010-03-01 15:15:08 +00:00
|
|
|
if MONOLITHIC
|
|
|
|
libcharon_la_LIBADD += plugins/unit_tester/libstrongswan-unit-tester.la
|
|
|
|
endif
|
2008-07-21 11:16:07 +00:00
|
|
|
endif
|
|
|
|
|