removed %M printf handler, five more to go
[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/file_logger.c bus/listeners/file_logger.h \
21 bus/listeners/sys_logger.c bus/listeners/sys_logger.h \
22 config/backends/backend.h \
23 config/backends/local_backend.c config/backends/local_backend.h \
24 config/cfg_store.c config/cfg_store.h \
25 config/child_cfg.c config/child_cfg.h \
26 config/credentials/local_credential_store.c config/credentials/local_credential_store.h \
27 config/ike_cfg.c config/ike_cfg.h \
28 config/peer_cfg.c config/peer_cfg.h \
29 config/proposal.c config/proposal.h \
30 config/traffic_selector.c config/traffic_selector.h \
31 control/controller.c control/controller.h \
32 control/stroke_interface.c control/stroke_interface.h \
33 daemon.c daemon.h \
34 encoding/generator.c encoding/generator.h \
35 encoding/message.c encoding/message.h \
36 encoding/parser.c encoding/parser.h \
37 encoding/payloads/auth_payload.c encoding/payloads/auth_payload.h \
38 encoding/payloads/cert_payload.c encoding/payloads/cert_payload.h \
39 encoding/payloads/certreq_payload.c encoding/payloads/certreq_payload.h \
40 encoding/payloads/configuration_attribute.c encoding/payloads/configuration_attribute.h \
41 encoding/payloads/cp_payload.c encoding/payloads/cp_payload.h \
42 encoding/payloads/delete_payload.c encoding/payloads/delete_payload.h \
43 encoding/payloads/eap_payload.c encoding/payloads/eap_payload.h \
44 encoding/payloads/encodings.c encoding/payloads/encodings.h \
45 encoding/payloads/encryption_payload.c encoding/payloads/encryption_payload.h \
46 encoding/payloads/id_payload.c encoding/payloads/id_payload.h \
47 encoding/payloads/ike_header.c encoding/payloads/ike_header.h \
48 encoding/payloads/ke_payload.c  encoding/payloads/ke_payload.h \
49 encoding/payloads/nonce_payload.c encoding/payloads/nonce_payload.h \
50 encoding/payloads/notify_payload.c encoding/payloads/notify_payload.h \
51 encoding/payloads/payload.c encoding/payloads/payload.h \
52 encoding/payloads/proposal_substructure.c encoding/payloads/proposal_substructure.h \
53 encoding/payloads/sa_payload.c encoding/payloads/sa_payload.h \
54 encoding/payloads/traffic_selector_substructure.c encoding/payloads/traffic_selector_substructure.h \
55 encoding/payloads/transform_attribute.c encoding/payloads/transform_attribute.h \
56 encoding/payloads/transform_substructure.c encoding/payloads/transform_substructure.h \
57 encoding/payloads/ts_payload.c encoding/payloads/ts_payload.h \
58 encoding/payloads/unknown_payload.c encoding/payloads/unknown_payload.h \
59 encoding/payloads/vendor_id_payload.c encoding/payloads/vendor_id_payload.h \
60 kernel/kernel_interface.c kernel/kernel_interface.h \
61 network/packet.c network/packet.h \
62 network/receiver.c network/receiver.h \
63 network/sender.c network/sender.h \
64 network/socket.c network/socket.h \
65 processing/event_queue.c processing/event_queue.h \
66 processing/job_queue.c processing/job_queue.h \
67 processing/jobs/acquire_job.c processing/jobs/acquire_job.h \
68 processing/jobs/delete_child_sa_job.c processing/jobs/delete_child_sa_job.h \
69 processing/jobs/delete_ike_sa_job.c processing/jobs/delete_ike_sa_job.h \
70 processing/jobs/initiate_job.c processing/jobs/initiate_job.h \
71 processing/jobs/job.c processing/jobs/job.h \
72 processing/jobs/process_message_job.c processing/jobs/process_message_job.h \
73 processing/jobs/rekey_child_sa_job.c processing/jobs/rekey_child_sa_job.h \
74 processing/jobs/rekey_ike_sa_job.c processing/jobs/rekey_ike_sa_job.h \
75 processing/jobs/retransmit_job.c processing/jobs/retransmit_job.h \
76 processing/jobs/route_job.c processing/jobs/route_job.h \
77 processing/jobs/send_dpd_job.c processing/jobs/send_dpd_job.h \
78 processing/jobs/send_keepalive_job.c processing/jobs/send_keepalive_job.h \
79 processing/scheduler.c processing/scheduler.h \
80 processing/thread_pool.c processing/thread_pool.h  \
81 sa/authenticators/authenticator.c sa/authenticators/authenticator.h \
82 sa/authenticators/eap_authenticator.c sa/authenticators/eap_authenticator.h \
83 sa/authenticators/eap/eap_method.c sa/authenticators/eap/eap_method.h \
84 sa/authenticators/psk_authenticator.c sa/authenticators/psk_authenticator.h \
85 sa/authenticators/rsa_authenticator.c sa/authenticators/rsa_authenticator.h \
86 sa/child_sa.c sa/child_sa.h \
87 sa/ike_sa.c sa/ike_sa.h \
88 sa/ike_sa_id.c sa/ike_sa_id.h \
89 sa/ike_sa_manager.c sa/ike_sa_manager.h \
90 sa/task_manager.c sa/task_manager.h \
91 sa/tasks/child_create.c sa/tasks/child_create.h \
92 sa/tasks/child_delete.c sa/tasks/child_delete.h \
93 sa/tasks/child_rekey.c sa/tasks/child_rekey.h \
94 sa/tasks/ike_auth.c sa/tasks/ike_auth.h \
95 sa/tasks/ike_cert.c sa/tasks/ike_cert.h \
96 sa/tasks/ike_config.c sa/tasks/ike_config.h \
97 sa/tasks/ike_delete.c sa/tasks/ike_delete.h \
98 sa/tasks/ike_dpd.c sa/tasks/ike_dpd.h \
99 sa/tasks/ike_init.c sa/tasks/ike_init.h \
100 sa/tasks/ike_natd.c sa/tasks/ike_natd.h \
101 sa/tasks/ike_rekey.c sa/tasks/ike_rekey.h \
102 sa/tasks/task.c sa/tasks/task.h
103
104 INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/charon -I$(top_srcdir)/src/stroke
105 AM_CFLAGS = -rdynamic -DIPSEC_CONFDIR=\"${confdir}\" -DIPSEC_PIDDIR=\"${piddir}\" -DIPSEC_EAPDIR=\"${eapdir}\"
106 charon_LDADD = $(top_builddir)/src/libstrongswan/libstrongswan.la -lgmp -lpthread -lm -ldl
107
108 if USE_LIBCURL
109    charon_LDADD += -lcurl
110 endif
111