summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 659c6596490fde3d1e76ebd26e3a1cbd57e542a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
opdir		 = $(datadir)/vyatta-op/templates

xsldir          = @XSLDIR@

bin_sudo_usersdir = $(bindir)/sudo-users

xsl_DATA =

bin_sudo_users_SCRIPTS = 

xsl_DATA        += src/xsl/show_vpn_ike_sa.xsl
xsl_DATA	+= src/xsl/show_vpn_ike_secrets.xsl
xsl_DATA	+= src/xsl/show_vpn_ike_status.xsl
xsl_DATA	+= src/xsl/show_vpn_ipsec_sa_statistics.xsl
xsl_DATA	+= src/xsl/show_vpn_ipsec_sa.xsl
xsl_DATA	+= src/xsl/show_vpn_ipsec_status.xsl

sbin_PROGRAMS	= command_proc_show_vpn

sbin_SCRIPTS	= scripts/gen_local_rsa_key.pl scripts/show_vpn.pl

command_proc_show_vpn_SOURCES = src/command_proc_base.hh
command_proc_show_vpn_SOURCES += src/command_proc_show_vpn.cc
command_proc_show_vpn_SOURCES += src/command_proc_show_vpn.hh
command_proc_show_vpn_SOURCES += src/rl_str_proc.cc
command_proc_show_vpn_SOURCES += src/rl_str_proc.hh
command_proc_show_vpn_SOURCES += src/xsl_processor.cc
command_proc_show_vpn_SOURCES += src/xsl_processor.hh
command_proc_show_vpn_LDADD = -lsablot


cpiop = find  . ! -regex '\(.*~\|.*\.bak\|.*\.swp\|.*\#.*\#\)' -print0 | \
	cpio -0pd

install-exec-hook:
	mkdir -p $(DESTDIR)$(opdir)
	cd templates; $(cpiop) $(DESTDIR)$(opdir)