shortened menu item
[strongswan.git] / src / manager / Makefile.am
1 ipsec_PROGRAMS = manager.fcgi
2
3 manager_fcgi_SOURCES = \
4 main.c manager.c manager.h gateway.h gateway.c storage.h storage.c xml.h xml.c \
5 controller/auth_controller.c controller/auth_controller.h \
6 controller/ikesa_controller.c controller/ikesa_controller.h \
7 controller/control_controller.c controller/control_controller.h \
8 controller/config_controller.c controller/config_controller.h \
9 controller/gateway_controller.c controller/gateway_controller.h
10
11 manager_fcgi_LDADD = $(top_builddir)/src/libfast/libfast.la ${xml_LIBS}
12
13 INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/libfast ${xml_CFLAGS}
14 AM_CFLAGS = -rdynamic -DIPSECDIR=\"${ipsecdir}\" -DIPSEC_PIDDIR=\"${piddir}\" \
15   -DIPSEC_PLUGINDIR=\"${plugindir}\"
16
17 ipsec_DATA = manager.db
18
19 # Don't forget to add templates to EXTRA_DIST !!! How to automate?
20 ipsec_templatesdir = ${ipsecdir}/templates
21 ipsec_templates_DATA = templates/header.cs templates/footer.cs templates/error.cs
22
23 ipsec_templates_authdir = ${ipsec_templatesdir}/auth
24 ipsec_templates_auth_DATA = templates/auth/login.cs
25
26 ipsec_templates_gatewaydir = ${ipsec_templatesdir}/gateway
27 ipsec_templates_gateway_DATA = templates/gateway/list.cs
28
29 ipsec_templates_ikesadir = ${ipsec_templatesdir}/ikesa
30 ipsec_templates_ikesa_DATA = templates/ikesa/list.cs
31
32 ipsec_templates_controldir = ${ipsec_templatesdir}/control
33 ipsec_templates_control_DATA = templates/control/result.cs
34
35 ipsec_templates_configdir = ${ipsec_templatesdir}/config
36 ipsec_templates_config_DATA = templates/config/list.cs
37
38 ipsec_templates_staticdir = ${ipsec_templatesdir}/static
39 ipsec_templates_static_DATA = templates/static/style.css templates/static/script.js templates/static/jquery.js \
40 templates/static/pipe.png templates/static/pipe-good.png templates/static/pipe-bad.png \
41 templates/static/pipe-thin.png templates/static/pipe-thin-left.png templates/static/pipe-thin-right.png \
42 templates/static/pipe-thin-green.png templates/static/pipe-thin-left-green.png templates/static/pipe-thin-right-green.png \
43 templates/static/gateway-left.png templates/static/client-left.png templates/static/strongswan.png \
44 templates/static/router.png templates/static/gateway-right.png templates/static/client-right.png \
45 templates/static/close.png templates/static/initiate.png
46
47 EXTRA_DIST = manager.db templates/header.cs templates/footer.cs templates/error.cs \
48 templates/auth/login.cs templates/gateway/list.cs templates/ikesa/list.cs \
49 templates/config/list.cs templates/control/result.cs \
50 templates/static/style.css templates/static/script.js templates/static/jquery.js \
51 templates/static/pipe.png templates/static/pipe-good.png templates/static/pipe-bad.png \
52 templates/static/pipe-thin.png templates/static/pipe-thin-left.png templates/static/pipe-thin-right.png \
53 templates/static/pipe-thin-green.png templates/static/pipe-thin-left-green.png templates/static/pipe-thin-right-green.png \
54 templates/static/gateway-left.png templates/static/client-left.png templates/static/strongswan.png \
55 templates/static/router.png templates/static/gateway-right.png templates/static/client-right.png \
56 templates/static/close.png templates/static/initiate.png