-
Notifications
You must be signed in to change notification settings - Fork 13
/
Makefile.am
44 lines (35 loc) · 1.68 KB
/
Makefile.am
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
41
42
43
44
cfgdir = $(datadir)/vyatta-cfg/templates
opdir = $(datadir)/vyatta-op/templates
share_perl5dir = $(datarootdir)/perl5/Vyatta/Conntrack
ipt_share_perl5dir = $(datarootdir)/perl5/Vyatta/IpTables
modprobedir = /etc/modprobe.d
vprefix = /opt/vyatta
vsbindir = $(vprefix)/sbin
vsbin_PROGRAMS = src/vyatta-conntrack-logging
vyatta_conntrack_logging_SOURCES = vyatta-conntrack-logging.c
checkparamsonrebootdir = $(bindir)/sudo-users/check-params-on-reboot.d
checkparamsonreboot_SCRIPTS =
checkparamsonreboot_SCRIPTS += scripts/check-params-on-reboot.d/conntrack-hash-size
share_perl5_DATA = lib/Vyatta/Conntrack/Config.pm
share_perl5_DATA += lib/Vyatta/Conntrack/ConntrackUtil.pm
share_perl5_DATA += lib/Vyatta/Conntrack/RuleCT.pm
share_perl5_DATA += lib/Vyatta/Conntrack/RuleIgnore.pm
ipt_share_perl5_DATA = lib/Vyatta/IpTables/Rule.pm
ipt_share_perl5_DATA += lib/Vyatta/IpTables/AddressFilter.pm
ipt_share_perl5_DATA += lib/Vyatta/IpTables/IpSet.pm
ipt_share_perl5_DATA += lib/Vyatta/IpTables/Mgr.pm
sbin_SCRIPTS = scripts/vyatta-update-conntrack-log.pl
bin_sudo_usersdir = $(bindir)/sudo-users
bin_sudo_users_SCRIPTS = scripts/vyatta-show-conntrack.pl
bin_sudo_users_SCRIPTS += scripts/vyatta-delete-conntrack.pl
bin_sudo_users_SCRIPTS += scripts/vyatta-conntrack-timeouts.pl
bin_sudo_users_SCRIPTS += scripts/vyatta-conntrack-ignore.pl
bin_sudo_users_SCRIPTS += scripts/vyatta-show-ignore.pl
modprobe_DATA = etc/modprobe.d/vyatta_nf_conntrack.conf
cpiop = find . ! -regex '\(.*~\|.*\.bak\|.*\.swp\|.*\#.*\#\)' -print0 | \
cpio -0pd
install-exec-hook:
mkdir -p $(DESTDIR)$(cfgdir)
cd templates-cfg; $(cpiop) $(DESTDIR)$(cfgdir)
mkdir -p $(DESTDIR)$(opdir)
cd templates-op; $(cpiop) $(DESTDIR)$(opdir)