File: Makefile

package info (click to toggle)
ipfwadm 2.3.0-4
  • links: PTS
  • area: main
  • in suites: sarge, woody
  • size: 176 kB
  • ctags: 234
  • sloc: ansic: 1,669; makefile: 58; sh: 30
file content (61 lines) | stat: -rw-r--r-- 1,607 bytes parent folder | download
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#
#	$Id: Makefile,v 1.3 1996/06/17 10:29:53 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
COPTS   = -O2 -Idebian
CFLAGS	= -Wall $(COPTS)
SBIN	= $(BASEDIR)/sbin
MANDIR	= $(BASEDIR)/usr/share/man
INSTALL = install

all:		ipfwadm ipfw.4 ipfwadm.8

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

install:	ipfwadm ipfw.4 ipfwadm.8
#	-mv $(SBIN)/ipfwadm $(SBIN)/ipfwadm.old
	$(INSTALL) -m 0755 -o root -g root -s ipfwadm $(SBIN)/
	$(INSTALL) -m 0644 -o root -g root ipfw.4 $(MANDIR)/man4/ipfw_adm.4
	$(INSTALL) -m 0644 -o root -g root ipfwadm.8 $(MANDIR)/man8/ipfwadm.real.8

clean:
	rm -f ipfwadm *.o core

ipfw.4:

ipfwadm.8: