diff options
Diffstat (limited to 'src/charon/Makefile.am')
-rw-r--r-- | src/charon/Makefile.am | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/src/charon/Makefile.am b/src/charon/Makefile.am new file mode 100644 index 000000000..9522b6e6d --- /dev/null +++ b/src/charon/Makefile.am @@ -0,0 +1,87 @@ +# SUBDIRS = . testing + +eap_LTLIBRARIES = libeapidentity.la + +# always build EAP Identity module +libeapidentity_la_SOURCES = sa/authenticators/eap/eap_identity.h sa/authenticators/eap/eap_identity.c +libeapidentity_la_LDFLAGS = -module + +# build optional EAP modules +if BUILD_EAP_SIM + eap_LTLIBRARIES += libeapsim.la + libeapsim_la_SOURCES = sa/authenticators/eap/eap_sim.h sa/authenticators/eap/eap_sim.c + libeapsim_la_LDFLAGS = -module +endif + +ipsec_PROGRAMS = charon + +charon_SOURCES = \ +bus/bus.c bus/bus.h \ +bus/listeners/sys_logger.c bus/listeners/sys_logger.h \ +bus/listeners/file_logger.c bus/listeners/file_logger.h \ +config/connections/connection.c config/connections/connection.h \ +config/connections/local_connection_store.c config/connections/local_connection_store.h config/connections/connection_store.h \ +config/policies/policy.c config/policies/policy.h \ +config/policies/local_policy_store.c config/policies/policy_store.h config/policies/local_policy_store.h \ +config/credentials/local_credential_store.c config/credentials/local_credential_store.h \ +config/traffic_selector.c config/traffic_selector.h \ +config/proposal.c config/proposal.h config/configuration.c config/configuration.h \ +sa/authenticators/eap_authenticator.h sa/authenticators/eap_authenticator.c \ +sa/authenticators/eap/eap_method.h sa/authenticators/eap/eap_method.c \ +sa/child_sa.c sa/child_sa.h sa/ike_sa.c sa/ike_sa.h sa/ike_sa_manager.c sa/ike_sa_manager.h \ +sa/ike_sa_id.c sa/ike_sa_id.h sa/tasks/task.c sa/tasks/task.h \ +sa/tasks/ike_init.c sa/tasks/ike_init.h \ +sa/tasks/ike_natd.c sa/tasks/ike_natd.h \ +sa/tasks/ike_auth.c sa/tasks/ike_auth.h \ +sa/tasks/ike_config.c sa/tasks/ike_config.h \ +sa/tasks/ike_cert.c sa/tasks/ike_cert.h \ +sa/tasks/ike_rekey.c sa/tasks/ike_rekey.h \ +sa/tasks/ike_delete.c sa/tasks/ike_delete.h \ +sa/tasks/ike_dpd.c sa/tasks/ike_dpd.h \ +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 \ +sa/authenticators/authenticator.c sa/authenticators/authenticator.h \ +sa/authenticators/rsa_authenticator.c sa/authenticators/rsa_authenticator.h \ +sa/authenticators/psk_authenticator.c sa/authenticators/psk_authenticator.h \ +sa/task_manager.c sa/task_manager.h encoding/payloads/encryption_payload.c \ +encoding/payloads/cert_payload.c encoding/payloads/payload.h encoding/payloads/traffic_selector_substructure.c \ +encoding/payloads/configuration_attribute.h encoding/payloads/proposal_substructure.h \ +encoding/payloads/transform_attribute.c encoding/payloads/transform_attribute.h \ +encoding/payloads/configuration_attribute.c encoding/payloads/transform_substructure.c \ +encoding/payloads/encryption_payload.h encoding/payloads/auth_payload.c encoding/payloads/ike_header.c \ +encoding/payloads/transform_substructure.h encoding/payloads/nonce_payload.c encoding/payloads/cert_payload.h \ +encoding/payloads/eap_payload.c encoding/payloads/ike_header.h encoding/payloads/auth_payload.h \ +encoding/payloads/ts_payload.c encoding/payloads/traffic_selector_substructure.h encoding/payloads/nonce_payload.h \ +encoding/payloads/notify_payload.c encoding/payloads/eap_payload.h encoding/payloads/notify_payload.h \ +encoding/payloads/ts_payload.h encoding/payloads/id_payload.c encoding/payloads/ke_payload.c \ +encoding/payloads/unknown_payload.c encoding/payloads/encodings.c encoding/payloads/id_payload.h \ +encoding/payloads/cp_payload.c encoding/payloads/delete_payload.c encoding/payloads/sa_payload.c \ +encoding/payloads/ke_payload.h encoding/payloads/unknown_payload.h encoding/payloads/encodings.h \ +encoding/payloads/certreq_payload.c encoding/payloads/cp_payload.h encoding/payloads/delete_payload.h \ +encoding/payloads/sa_payload.h encoding/payloads/vendor_id_payload.c encoding/payloads/certreq_payload.h \ +encoding/payloads/vendor_id_payload.h encoding/payloads/proposal_substructure.c encoding/payloads/payload.c \ +encoding/parser.h encoding/message.c encoding/generator.c encoding/message.h encoding/generator.h \ +encoding/parser.c daemon.c daemon.h network/packet.c \ +network/socket.c network/packet.h network/socket.h queues/jobs/job.h queues/jobs/job.c \ +queues/jobs/retransmit_job.h queues/jobs/initiate_job.h \ +queues/jobs/process_message_job.h queues/jobs/process_message_job.c \ +queues/jobs/delete_ike_sa_job.c queues/jobs/delete_ike_sa_job.h \ +queues/jobs/retransmit_job.c queues/jobs/initiate_job.c \ +queues/jobs/send_keepalive_job.c queues/jobs/send_keepalive_job.h \ +queues/jobs/rekey_child_sa_job.c queues/jobs/rekey_child_sa_job.h queues/jobs/delete_child_sa_job.c queues/jobs/delete_child_sa_job.h \ +queues/jobs/send_dpd_job.c queues/jobs/send_dpd_job.h queues/jobs/route_job.c queues/jobs/route_job.h \ +queues/jobs/acquire_job.c queues/jobs/acquire_job.h queues/jobs/rekey_ike_sa_job.c queues/jobs/rekey_ike_sa_job.h \ +queues/job_queue.c queues/event_queue.c queues/job_queue.h queues/event_queue.h \ +threads/kernel_interface.c threads/thread_pool.c threads/scheduler.c threads/sender.c \ +threads/sender.h threads/kernel_interface.h threads/scheduler.h threads/receiver.c threads/stroke_interface.c \ +threads/thread_pool.h threads/receiver.h threads/stroke_interface.h + +INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/charon -I$(top_srcdir)/src/stroke +AM_CFLAGS = -rdynamic -DIPSEC_CONFDIR=\"${confdir}\" -DIPSEC_PIDDIR=\"${piddir}\" -DIPSEC_EAPDIR=\"${eapdir}\" +charon_LDADD = $(top_builddir)/src/libstrongswan/libstrongswan.la -lgmp -lpthread -lm -ldl + +if USE_LIBCURL + charon_LDADD += -lcurl +endif + |