Build dedicated plugin lists for each strongSwan component
[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 main.o :        $(top_builddir)/config.status
12
13 INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/libfast
14 AM_CFLAGS = -rdynamic \
15   -DIPSECDIR=\"${ipsecdir}\" \
16   -DIPSEC_PIDDIR=\"${piddir}\" \
17   -DPLUGINS=\""${medsrv_plugins}\""
18
19 # Don't forget to add templates to EXTRA_DIST !!! How to automate?
20 medsrv_templatesdir = ${medsrvdir}/templates
21 medsrv_templates_DATA = templates/header.cs templates/footer.cs
22
23 medsrv_templates_userdir = ${medsrv_templatesdir}/user
24 medsrv_templates_user_DATA = templates/user/add.cs templates/user/edit.cs \
25 templates/user/login.cs templates/user/help.cs
26
27 medsrv_templates_peerdir = ${medsrv_templatesdir}/peer
28 medsrv_templates_peer_DATA = templates/peer/add.cs templates/peer/edit.cs \
29 templates/peer/list.cs
30
31 medsrv_templates_staticdir = ${medsrv_templatesdir}/static
32 medsrv_templates_static_DATA = templates/header.cs templates/footer.cs \
33 templates/static/style.css templates/static/strongswan.png \
34 templates/static/favicon.ico templates/static/mootools.js templates/static/script.js
35
36 EXTRA_DIST = templates/header.cs templates/footer.cs \
37 templates/static/style.css templates/static/strongswan.png \
38 templates/static/favicon.ico templates/static/mootools.js templates/static/script.js \
39 templates/peer/add.cs templates/peer/edit.cs templates/peer/list.cs \
40 templates/user/login.cs templates/user/add.cs templates/user/edit.cs \
41 templates/user/help.cs