* replaced __thread with pthread_key_t/pthread_setspecific
[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/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/manager/libappserv.la -lsqlite3
12
13
14
15 lib_LTLIBRARIES = libappserv.la
16
17 libappserv_la_SOURCES = \
18 lib/context.h lib/dispatcher.c lib/request.h lib/session.h \
19 lib/controller.h lib/dispatcher.h lib/request.c lib/session.c \
20 lib/xml.h lib/xml.c 
21
22 libappserv_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la -lfcgi -lpthread -lneo_cgi -lneo_cs -lneo_utl ${xml_LIBS}
23
24 INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/manager/lib -I/usr/include/ClearSilver ${xml_CFLAGS}
25 AM_CFLAGS = -rdynamic -DIPSECDIR=\"${ipsecdir}\" -DIPSEC_PIDDIR=\"${piddir}\"
26
27 ipsec_DATA = manager.db
28
29 # Don't forget to add templates to EXTRA_DIST !!! How to automate?
30 ipsec_templatesdir = ${ipsecdir}/templates
31 ipsec_templates_DATA = templates/header.cs templates/footer.cs templates/error.cs
32
33 ipsec_templates_authdir = ${ipsec_templatesdir}/auth
34 ipsec_templates_auth_DATA = templates/auth/login.cs
35
36 ipsec_templates_gatewaydir = ${ipsec_templatesdir}/gateway
37 ipsec_templates_gateway_DATA = templates/gateway/list.cs
38
39 ipsec_templates_ikesadir = ${ipsec_templatesdir}/ikesa
40 ipsec_templates_ikesa_DATA = templates/ikesa/list.cs
41
42 ipsec_templates_controldir = ${ipsec_templatesdir}/control
43 ipsec_templates_control_DATA = templates/control/result.cs
44
45 ipsec_templates_configdir = ${ipsec_templatesdir}/config
46 ipsec_templates_config_DATA = templates/config/list.cs
47
48 ipsec_templates_staticdir = ${ipsec_templatesdir}/static
49 ipsec_templates_static_DATA = 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/pipe-thin-green.png templates/static/pipe-thin-left-green.png templates/static/pipe-thin-right-green.png \
53 templates/static/gateway-left.png templates/static/client-left.png templates/static/strongswan.png \
54 templates/static/router.png templates/static/gateway-right.png templates/static/client-right.png \
55 templates/static/close.png templates/static/initiate.png
56
57 EXTRA_DIST = manager.db templates/header.cs templates/footer.cs templates/error.cs \
58 templates/auth/login.cs templates/gateway/list.cs templates/ikesa/list.cs \
59 templates/config/list.cs templates/control/result.cs \
60 templates/static/style.css templates/static/script.js templates/static/jquery.js \
61 templates/static/pipe.png templates/static/pipe-good.png templates/static/pipe-bad.png \
62 templates/static/pipe-thin.png templates/static/pipe-thin-left.png templates/static/pipe-thin-right.png \
63 templates/static/pipe-thin-green.png templates/static/pipe-thin-left-green.png templates/static/pipe-thin-right-green.png \
64 templates/static/gateway-left.png templates/static/client-left.png templates/static/strongswan.png \
65 templates/static/router.png templates/static/gateway-right.png templates/static/client-right.png \
66 templates/static/close.png templates/static/initiate.png