#
#	Makefile for the ipchain package: ripped straight from ipfwadm.
#	(C) 1998 All rights reserved.  Everything here is GPL.
#       EMail complaints to ipchains@wantree.com.au
#
#       See http://www.adelaide.net.au/~rustcorp/linux/ipchains
SBIN	= /sbin
MANDIR	= /usr/man
INSTALL = install

install:	ipchains ipchains.8
	@-mv $(SBIN)/ipchains $(SBIN)/ipchains.old
	$(INSTALL) -m 0755 -o root -g root ipchains $(SBIN)/
	$(INSTALL) -m 0644 -o root -g root ipchains.8 $(MANDIR)/man8/

uninstall:
	-rm -f $(SBIN)/ipchains $(MANDIR)/man8/ipchains.8
	@-mv $(SBIN)/ipchains.old $(SBIN)/ipchains && echo Restored old ipchains from $(SBIN)/ipchains.old...
