e6733567387a981d8897761e715c766ebfa561da
[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/libstrongswan/libstrongswan.la $(top_builddir)/src/libfast/libfast.la ${xml_LIBS}
14 main.o :        $(top_builddir)/config.status
15
16 INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/libfast ${xml_CFLAGS}
17 AM_CFLAGS = -rdynamic \
18   -DIPSECDIR=\"${ipsecdir}\" \
19   -DIPSEC_PIDDIR=\"${piddir}\" \
20   -DPLUGINS=\""${libstrongswan_plugins}\""
21
22 # Don't forget to add templates to EXTRA_DIST !!! How to automate?
23 manager_templatesdir = ${managerdir}/templates
24 manager_templates_DATA = templates/header.cs templates/footer.cs templates/error.cs
25
26 manager_templates_authdir = ${manager_templatesdir}/auth
27 manager_templates_auth_DATA = templates/auth/login.cs
28
29 manager_templates_gatewaydir = ${manager_templatesdir}/gateway
30 manager_templates_gateway_DATA = templates/gateway/list.cs
31
32 manager_templates_ikesadir = ${manager_templatesdir}/ikesa
33 manager_templates_ikesa_DATA = templates/ikesa/list.cs
34
35 manager_templates_controldir = ${manager_templatesdir}/control
36 manager_templates_control_DATA = templates/control/result.cs
37
38 manager_templates_configdir = ${manager_templatesdir}/config
39 manager_templates_config_DATA = templates/config/list.cs
40
41 manager_templates_staticdir = ${manager_templatesdir}/static
42 manager_templates_static_DATA = templates/static/style.css templates/static/script.js templates/static/jquery.js \
43 templates/static/pipe.png templates/static/pipe-good.png templates/static/pipe-bad.png \
44 templates/static/pipe-thin.png templates/static/pipe-thin-left.png templates/static/pipe-thin-right.png \
45 templates/static/pipe-thin-green.png templates/static/pipe-thin-left-green.png templates/static/pipe-thin-right-green.png \
46 templates/static/gateway-left.png templates/static/client-left.png templates/static/strongswan.png \
47 templates/static/router.png templates/static/gateway-right.png templates/static/client-right.png \
48 templates/static/close.png templates/static/initiate.png
49
50 EXTRA_DIST = templates/header.cs templates/footer.cs templates/error.cs \
51 templates/auth/login.cs templates/gateway/list.cs templates/ikesa/list.cs \
52 templates/config/list.cs templates/control/result.cs \
53 templates/static/style.css templates/static/script.js templates/static/jquery.js \
54 templates/static/pipe.png templates/static/pipe-good.png templates/static/pipe-bad.png \
55 templates/static/pipe-thin.png templates/static/pipe-thin-left.png templates/static/pipe-thin-right.png \
56 templates/static/pipe-thin-green.png templates/static/pipe-thin-left-green.png templates/static/pipe-thin-right-green.png \
57 templates/static/gateway-left.png templates/static/client-left.png templates/static/strongswan.png \
58 templates/static/router.png templates/static/gateway-right.png templates/static/client-right.png \
59 templates/static/close.png templates/static/initiate.png