#
#	$Id: Makefile,v 1.2 1996/05/06 15:29:32 jos Exp $
#
#
#	Makefile for the ipfwadm package
#
#
#	Copyright (c) 1996 by X/OS Experts in Open Systems BV.
#	All rights reserved.
#
#	Author: Jos Vos <jos@xos.nl>
#
#		X/OS Experts in Open Systems BV
#		Kruislaan 419
#		NL-1098 VA  Amsterdam
#		The Netherlands
#
#		E-mail: info@xos.nl
#		WWW:    http://www.xos.nl/
#
#
#	This program is free software; you can redistribute it and/or modify
#	it under the terms of the GNU General Public License as published by
#	the Free Software Foundation; either version 2 of the License, or
#	(at your option) any later version.
#
#	This program is distributed in the hope that it will be useful,
#	but WITHOUT ANY WARRANTY; without even the implied warranty of
#	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#	GNU General Public License for more details.
#
#	You should have received a copy of the GNU General Public License
#	along with this program; if not, write to the Free Software
#	Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#

CC	= gcc
CFLAGS	= -Wall -O2
SBIN	= /sbin
MANDIR	= /usr/man

all:		ipfwadm

ipfwadm:	ipfwadm.c
	$(CC) $(CFLAGS) -o ipfwadm ipfwadm.c

install:	ipfwadm ipfw.4 ipfwadm.8
	-mv $(SBIN)/ipfwadm $(SBIN)/ipfwadm.old
	cp ipfwadm $(SBIN)/ipfwadm
	cp ipfw.4 $(MANDIR)/man4/ipfw.4
	cp ipfwadm.8 $(MANDIR)/man8/ipfwadm.8
