2011-07-28 18:56:24 +00:00
|
|
|
## Copyright (C) 2005-2011 Red Hat, Inc.
|
|
|
|
## See COPYING.LIB for the License of this software
|
2010-03-25 17:46:13 +00:00
|
|
|
|
|
|
|
FILTERS = \
|
|
|
|
allow-arp.xml \
|
|
|
|
allow-dhcp-server.xml \
|
|
|
|
allow-dhcp.xml \
|
|
|
|
allow-incoming-ipv4.xml \
|
|
|
|
allow-ipv4.xml \
|
|
|
|
clean-traffic.xml \
|
|
|
|
no-arp-spoofing.xml \
|
2011-12-02 01:34:36 +00:00
|
|
|
no-arp-ip-spoofing.xml \
|
|
|
|
no-arp-mac-spoofing.xml \
|
2010-03-25 17:46:13 +00:00
|
|
|
no-ip-multicast.xml \
|
|
|
|
no-ip-spoofing.xml \
|
|
|
|
no-mac-broadcast.xml \
|
|
|
|
no-mac-spoofing.xml \
|
2010-04-27 18:50:35 +00:00
|
|
|
no-other-l2-traffic.xml \
|
|
|
|
no-other-rarp-traffic.xml \
|
|
|
|
qemu-announce-self.xml \
|
|
|
|
qemu-announce-self-rarp.xml
|
2010-03-25 17:46:13 +00:00
|
|
|
|
2010-03-31 08:20:22 +00:00
|
|
|
EXTRA_DIST=$(FILTERS)
|
|
|
|
|
2010-03-25 17:46:13 +00:00
|
|
|
confdir = $(sysconfdir)/libvirt
|
|
|
|
|
|
|
|
NWFILTER_DIR = "$(DESTDIR)$(sysconfdir)/libvirt/nwfilter"
|
|
|
|
|
|
|
|
install-data-local:
|
|
|
|
$(MKDIR_P) "$(NWFILTER_DIR)"
|
|
|
|
for f in $(FILTERS); do \
|
2010-04-15 09:21:18 +00:00
|
|
|
$(INSTALL_DATA) $(srcdir)/$$f "$(NWFILTER_DIR)"; \
|
2010-03-25 17:46:13 +00:00
|
|
|
done
|
|
|
|
|
|
|
|
uninstall-local::
|
|
|
|
for f in $(FILTERS); do \
|
|
|
|
rm -f "$(NWFILTER_DIR)/$$f"; \
|
|
|
|
done
|
|
|
|
-test -z $(shell ls $(NWFILTER_DIR)) || rmdir $(NWFILTER_DIR)
|