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