0700c050255ebfda6f1e2523dc1f7019c458fc10
[strongswan.git] / src / medsrv / Makefile.am
1 medsrvdir = ${ipsecdir}/medsrv
2
3 medsrv_PROGRAMS = medsrv.fcgi
4
5 medsrv_fcgi_SOURCES = user.h user.c \
6 main.c filter/auth_filter.c filter/auth_filter.h \
7 controller/user_controller.c controller/user_controller.h \
8 controller/peer_controller.c controller/peer_controller.h
9
10 medsrv_fcgi_LDADD = $(top_srcdir)/src/libstrongswan/libstrongswan.la $(top_builddir)/src/libfast/libfast.la
11
12 INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/libfast
13 AM_CFLAGS = -rdynamic \
14   -DIPSECDIR=\"${ipsecdir}\" \
15   -DIPSEC_PIDDIR=\"${piddir}\" \
16   -DPLUGINS=\""${libstrongswan_plugins}\""
17
18 # Don't forget to add templates to EXTRA_DIST !!! How to automate?
19 medsrv_templatesdir = ${medsrvdir}/templates
20 medsrv_templates_DATA = templates/header.cs templates/footer.cs
21
22 medsrv_templates_userdir = ${medsrv_templatesdir}/user
23 medsrv_templates_user_DATA = templates/user/add.cs templates/user/edit.cs \
24 templates/user/login.cs templates/user/help.cs
25
26 medsrv_templates_peerdir = ${medsrv_templatesdir}/peer
27 medsrv_templates_peer_DATA = templates/peer/add.cs templates/peer/edit.cs \
28 templates/peer/list.cs
29
30 medsrv_templates_staticdir = ${medsrv_templatesdir}/static
31 medsrv_templates_static_DATA = templates/header.cs templates/footer.cs \
32 templates/static/style.css templates/static/strongswan.png \
33 templates/static/favicon.ico templates/static/mootools.js templates/static/script.js
34
35 EXTRA_DIST = templates/header.cs templates/footer.cs \
36 templates/static/style.css templates/static/strongswan.png \
37 templates/static/favicon.ico templates/static/mootools.js templates/static/script.js \
38 templates/peer/add.cs templates/peer/edit.cs templates/peer/list.cs \
39 templates/user/login.cs templates/user/add.cs templates/user/edit.cs \
40 templates/user/help.cs