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