xref: /titanic_44/usr/src/cmd/ipf/etc/Makefile (revision 7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fe)
1#
2# Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
3# Use is subject to license terms.
4#
5#ident	"%Z%%M%	%I%	%E% SMI"
6#
7#cmd/ipf/etc/Makefile
8#
9
10PFILAP=		pfil.ap
11IPFCONF=	ipf.conf
12IPFPROG=	$(PFILAP) $(IPFCONF)
13
14include ../../Makefile.cmd
15
16
17ETCIPF= $(ROOTETC)/ipf
18
19DIRS=  $(ETCIPF)
20
21ETCIPFPROG=	$(IPFPROG:%=$(ETCIPF)/%)
22
23$(ETCIPFPROG):=	FILEMODE= 0644
24OWNER= root
25GROUP= sys
26
27.KEEP_STATE:
28
29all: $(IPFPROG) $(DIRS) $(ETCIPFPROG)
30
31install: all $(DIRS)
32
33$(PFILAP):
34	$(SH) $@.sh
35
36$(ETCIPF)/% : % $(ETCIPF)
37	$(INS.file)
38
39$(DIRS):
40	$(INS.dir)
41
42clean:
43
44clobber:
45
46lint:
47
48.PARALLEL:
49