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