fixed child rekey collision
[strongswan.git] / src / charon / Makefile.am
1 # SUBDIRS = . testing
2
3 eap_LTLIBRARIES = libeapidentity.la
4
5 # always build EAP Identity module
6 libeapidentity_la_SOURCES = sa/authenticators/eap/eap_identity.h sa/authenticators/eap/eap_identity.c
7 libeapidentity_la_LDFLAGS = -module
8
9 # build optional EAP modules
10 if BUILD_EAP_SIM
11   eap_LTLIBRARIES += libeapsim.la
12   libeapsim_la_SOURCES = sa/authenticators/eap/eap_sim.h sa/authenticators/eap/eap_sim.c
13   libeapsim_la_LDFLAGS = -module
14 endif
15
16 ipsec_PROGRAMS = charon
17
18 charon_SOURCES = \
19 bus/bus.c bus/bus.h \
20 bus/listeners/sys_logger.c bus/listeners/sys_logger.h \
21 bus/listeners/file_logger.c bus/listeners/file_logger.h \
22 config/connections/connection.c config/connections/connection.h \
23 config/connections/local_connection_store.c config/connections/local_connection_store.h config/connections/connection_store.h \
24 config/policies/policy.c config/policies/policy.h \
25 config/policies/local_policy_store.c config/policies/policy_store.h config/policies/local_policy_store.h \
26 config/credentials/local_credential_store.c config/credentials/local_credential_store.h \
27 config/traffic_selector.c config/traffic_selector.h \
28 config/proposal.c config/proposal.h config/configuration.c config/configuration.h \
29 sa/authenticators/eap_authenticator.h sa/authenticators/eap_authenticator.c \
30 sa/authenticators/eap/eap_method.h sa/authenticators/eap/eap_method.c \
31 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 \
32 sa/ike_sa_id.c sa/ike_sa_id.h sa/tasks/task.c sa/tasks/task.h \
33 sa/tasks/ike_init.c sa/tasks/ike_init.h \
34 sa/tasks/ike_natd.c sa/tasks/ike_natd.h \
35 sa/tasks/ike_auth.c sa/tasks/ike_auth.h \
36 sa/tasks/ike_config.c sa/tasks/ike_config.h \
37 sa/tasks/ike_cert.c sa/tasks/ike_cert.h \
38 sa/tasks/ike_rekey.c sa/tasks/ike_rekey.h \
39 sa/tasks/ike_delete.c sa/tasks/ike_delete.h \
40 sa/tasks/ike_dpd.c sa/tasks/ike_dpd.h \
41 sa/tasks/child_create.c sa/tasks/child_create.h \
42 sa/tasks/child_delete.c sa/tasks/child_delete.h \
43 sa/tasks/child_rekey.c sa/tasks/child_rekey.h \
44 sa/authenticators/authenticator.c sa/authenticators/authenticator.h \
45 sa/authenticators/rsa_authenticator.c sa/authenticators/rsa_authenticator.h \
46 sa/authenticators/psk_authenticator.c sa/authenticators/psk_authenticator.h \
47 sa/task_manager.c sa/task_manager.h encoding/payloads/encryption_payload.c \
48 encoding/payloads/cert_payload.c encoding/payloads/payload.h encoding/payloads/traffic_selector_substructure.c \
49 encoding/payloads/configuration_attribute.h encoding/payloads/proposal_substructure.h \
50 encoding/payloads/transform_attribute.c encoding/payloads/transform_attribute.h \
51 encoding/payloads/configuration_attribute.c encoding/payloads/transform_substructure.c \
52 encoding/payloads/encryption_payload.h encoding/payloads/auth_payload.c encoding/payloads/ike_header.c \
53 encoding/payloads/transform_substructure.h encoding/payloads/nonce_payload.c encoding/payloads/cert_payload.h \
54 encoding/payloads/eap_payload.c encoding/payloads/ike_header.h encoding/payloads/auth_payload.h \
55 encoding/payloads/ts_payload.c encoding/payloads/traffic_selector_substructure.h encoding/payloads/nonce_payload.h \
56 encoding/payloads/notify_payload.c encoding/payloads/eap_payload.h encoding/payloads/notify_payload.h \
57 encoding/payloads/ts_payload.h encoding/payloads/id_payload.c encoding/payloads/ke_payload.c \
58 encoding/payloads/unknown_payload.c encoding/payloads/encodings.c encoding/payloads/id_payload.h \
59 encoding/payloads/cp_payload.c encoding/payloads/delete_payload.c encoding/payloads/sa_payload.c \
60 encoding/payloads/ke_payload.h encoding/payloads/unknown_payload.h encoding/payloads/encodings.h \
61 encoding/payloads/certreq_payload.c encoding/payloads/cp_payload.h encoding/payloads/delete_payload.h \
62 encoding/payloads/sa_payload.h encoding/payloads/vendor_id_payload.c encoding/payloads/certreq_payload.h \
63 encoding/payloads/vendor_id_payload.h encoding/payloads/proposal_substructure.c encoding/payloads/payload.c \
64 encoding/parser.h encoding/message.c encoding/generator.c encoding/message.h encoding/generator.h \
65 encoding/parser.c daemon.c daemon.h network/packet.c \
66 network/socket.c network/packet.h network/socket.h queues/jobs/job.h queues/jobs/job.c \
67 queues/jobs/retransmit_job.h queues/jobs/initiate_job.h \
68 queues/jobs/incoming_packet_job.h queues/jobs/incoming_packet_job.c \
69 queues/jobs/delete_ike_sa_job.c queues/jobs/delete_ike_sa_job.h \
70 queues/jobs/retransmit_job.c queues/jobs/initiate_job.c \
71 queues/jobs/send_keepalive_job.c queues/jobs/send_keepalive_job.h \
72 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 \
73 queues/jobs/send_dpd_job.c queues/jobs/send_dpd_job.h queues/jobs/route_job.c queues/jobs/route_job.h \
74 queues/jobs/acquire_job.c queues/jobs/acquire_job.h queues/jobs/rekey_ike_sa_job.c queues/jobs/rekey_ike_sa_job.h \
75 queues/job_queue.c queues/event_queue.c queues/send_queue.h queues/job_queue.h queues/event_queue.h \
76 queues/send_queue.c threads/kernel_interface.c threads/thread_pool.c threads/scheduler.c threads/sender.c \
77 threads/sender.h threads/kernel_interface.h threads/scheduler.h threads/receiver.c threads/stroke_interface.c \
78 threads/thread_pool.h threads/receiver.h threads/stroke_interface.h
79
80 INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/charon -I$(top_srcdir)/src/stroke
81 AM_CFLAGS = -rdynamic -DIPSEC_CONFDIR=\"${confdir}\" -DIPSEC_PIDDIR=\"${piddir}\" -DIPSEC_EAPDIR=\"${eapdir}\"
82 charon_LDADD = $(top_builddir)/src/libstrongswan/libstrongswan.la -lgmp -lpthread -lm -ldl
83
84 if USE_LIBCURL
85    charon_LDADD += -lcurl
86 endif
87