e6c31e9b48396a4a4cfe59e31b028951de735307
[strongswan.git] / src / manager / Makefile.am
1 managerdir = ${ipsecdir}/manager
2
3 manager_PROGRAMS = manager.fcgi
4
5 manager_fcgi_SOURCES = \
6 main.c manager.c manager.h gateway.h gateway.c storage.h storage.c xml.h xml.c \
7 controller/auth_controller.c controller/auth_controller.h \
8 controller/ikesa_controller.c controller/ikesa_controller.h \
9 controller/control_controller.c controller/control_controller.h \
10 controller/config_controller.c controller/config_controller.h \
11 controller/gateway_controller.c controller/gateway_controller.h
12
13 manager_fcgi_LDADD = $(top_builddir)/src/libfast/libfast.la ${xml_LIBS}
14
15 INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/libfast ${xml_CFLAGS}
16 AM_CFLAGS = -rdynamic \
17   -DIPSECDIR=\"${ipsecdir}\" \
18   -DIPSEC_PIDDIR=\"${piddir}\" \
19   -DPLUGINS=\""${libstrongswan_plugins}\""
20
21 # Don't forget to add templates to EXTRA_DIST !!! How to automate?
22 manager_templatesdir = ${managerdir}/templates
23 manager_templates_DATA = templates/header.cs templates/footer.cs templates/error.cs
24
25 manager_templates_authdir = ${manager_templatesdir}/auth
26 manager_templates_auth_DATA = templates/auth/login.cs
27
28 manager_templates_gatewaydir = ${manager_templatesdir}/gateway
29 manager_templates_gateway_DATA = templates/gateway/list.cs
30
31 manager_templates_ikesadir = ${manager_templatesdir}/ikesa
32 manager_templates_ikesa_DATA = templates/ikesa/list.cs
33
34 manager_templates_controldir = ${manager_templatesdir}/control
35 manager_templates_control_DATA = templates/control/result.cs
36
37 manager_templates_configdir = ${manager_templatesdir}/config
38 manager_templates_config_DATA = templates/config/list.cs
39
40 manager_templates_staticdir = ${manager_templatesdir}/static
41 manager_templates_static_DATA = templates/static/style.css templates/static/script.js templates/static/jquery.js \
42 templates/static/pipe.png templates/static/pipe-good.png templates/static/pipe-bad.png \
43 templates/static/pipe-thin.png templates/static/pipe-thin-left.png templates/static/pipe-thin-right.png \
44 templates/static/pipe-thin-green.png templates/static/pipe-thin-left-green.png templates/static/pipe-thin-right-green.png \
45 templates/static/gateway-left.png templates/static/client-left.png templates/static/strongswan.png \
46 templates/static/router.png templates/static/gateway-right.png templates/static/client-right.png \
47 templates/static/close.png templates/static/initiate.png
48
49 EXTRA_DIST = templates/header.cs templates/footer.cs templates/error.cs \
50 templates/auth/login.cs templates/gateway/list.cs templates/ikesa/list.cs \
51 templates/config/list.cs templates/control/result.cs \
52 templates/static/style.css templates/static/script.js templates/static/jquery.js \
53 templates/static/pipe.png templates/static/pipe-good.png templates/static/pipe-bad.png \
54 templates/static/pipe-thin.png templates/static/pipe-thin-left.png templates/static/pipe-thin-right.png \
55 templates/static/pipe-thin-green.png templates/static/pipe-thin-left-green.png templates/static/pipe-thin-right-green.png \
56 templates/static/gateway-left.png templates/static/client-left.png templates/static/strongswan.png \
57 templates/static/router.png templates/static/gateway-right.png templates/static/client-right.png \
58 templates/static/close.png templates/static/initiate.png