summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: c18efd9aef89d4c2f655f2272f884cefbfdad38e (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
40
opdir		 = $(datadir)/vyatta-op/templates

xsldir          = @XSLDIR@

bin_sudo_usersdir = $(bindir)/sudo-users

xsl_DATA =

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

bin_sudo_users_PROGRAMS	= command_proc_show_vpn

bin_sudo_users_SCRIPTS = scripts/gen_local_rsa_key.pl
bin_sudo_users_SCRIPTS += scripts/vyatta-show-vpn.pl
bin_sudo_users_SCRIPTS += scripts/vyatta-vpn-op.pl
bin_sudo_users_SCRIPTS += scripts/vyatta-show-ipsec-status.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)