implemented IKE/CHILD_SA close through manager
[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 database.h database.c \
5 controller/auth_controller.c controller/auth_controller.h \
6 controller/status_controller.c controller/status_controller.h \
7 controller/control_controller.c controller/control_controller.h \
8 controller/gateway_controller.c controller/gateway_controller.h
9
10 manager_fcgi_LDADD = $(top_builddir)/src/manager/libappserv.la -lsqlite3
11
12
13
14 lib_LTLIBRARIES = libappserv.la
15
16 libappserv_la_SOURCES = \
17 lib/context.h lib/dispatcher.c lib/request.h lib/session.h \
18 lib/controller.h lib/dispatcher.h lib/request.c lib/session.c \
19 lib/xml.h lib/xml.c 
20
21 libappserv_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la -lfcgi -lpthread -lneo_cgi -lneo_cs -lneo_utl ${xml_LIBS}
22
23 INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/manager/lib -I/usr/include/ClearSilver ${xml_CFLAGS}
24 AM_CFLAGS = -rdynamic -DIPSECDIR=\"${ipsecdir}\" -DIPSEC_PIDDIR=\"${piddir}\"
25
26 ipsec_DATA = manager.db
27
28 # Don't forget to add templates to EXTRA_DIST !!! How to automate?
29 ipsec_templatesdir = ${ipsecdir}/templates
30 ipsec_templates_DATA = templates/header.cs templates/footer.cs templates/error.cs
31
32 ipsec_templates_authdir = ${ipsec_templatesdir}/auth
33 ipsec_templates_auth_DATA = templates/auth/login.cs
34
35 ipsec_templates_gatewaydir = ${ipsec_templatesdir}/gateway
36 ipsec_templates_gateway_DATA = templates/gateway/list.cs
37
38 ipsec_templates_statusdir = ${ipsec_templatesdir}/status
39 ipsec_templates_status_DATA = templates/status/ikesalist.cs
40
41 ipsec_templates_staticdir = ${ipsec_templatesdir}/static
42 ipsec_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/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
48
49 EXTRA_DIST = manager.db templates/header.cs templates/footer.cs templates/error.cs \
50 templates/auth/login.cs templates/gateway/list.cs templates/status/ikesalist.cs \
51 templates/static/style.css templates/static/script.js templates/static/jquery.js \
52 templates/static/pipe.png templates/static/pipe-good.png templates/static/pipe-bad.png \
53 templates/static/pipe-thin.png templates/static/pipe-thin-left.png templates/static/pipe-thin-right.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