Mercurial > illumos > onarm
annotate usr/src/cmd/ipf/tools/Makefile @ 4:1a15d5aaf794
synchronized with onnv_86 (6202) in onnv-gate
author | Koji Uno <koji.uno@sun.com> |
---|---|
date | Mon, 31 Aug 2009 14:38:03 +0900 |
parents | c9caec207d52 |
children |
rev | line source |
---|---|
0 | 1 # |
2 # Copyright 2003 Sun Microsystems, Inc. All rights reserved. | |
3 # Use is subject to license terms. | |
4 # | |
4
1a15d5aaf794
synchronized with onnv_86 (6202) in onnv-gate
Koji Uno <koji.uno@sun.com>
parents:
0
diff
changeset
|
5 #ident "%Z%%M% %I% %E% SMI" |
0 | 6 # |
7 # cmd/ipf/tools/Makefile | |
8 # | |
9 # | |
10 | |
11 LICENCE= IPFILTER.LICENCE | |
12 | |
13 include ../../Makefile.cmd | |
14 | |
15 $(64ONLY)SUBDIRS= $(MACH) | |
16 $(BUILD64)SUBDIRS += $(MACH64) | |
17 | |
18 USRLIBIPF= $(ROOTLIB)/ipf | |
19 USRLIBIPFLICENCE= $(LICENCE:%=$(USRLIBIPF)/%) | |
20 | |
21 FILEMODE= 0755 | |
22 OWNER= root | |
23 GROUP= sys | |
24 | |
25 $(USRLIBIPFLICENCE):=FILEMODE= 0644 | |
26 $(USRLIBIPFLICENCE):=GROUP= bin | |
27 | |
28 all:= TARGET= all | |
29 install:= TARGET= install | |
30 clean:= TARGET= clean | |
31 clobber:= TARGET= clobber | |
32 lint:= TARGET= lint | |
33 | |
34 $(USRLIBIPF): | |
35 $(INS.dir) | |
36 | |
37 $(USRLIBIPF)/% : % | |
38 $(INS.file) | |
39 | |
40 .KEEP_STATE: | |
41 | |
42 all: $(SUBDIRS) | |
43 | |
44 clean clobber lint: $(SUBDIRS) | |
45 | |
46 install: all $(SUBDIRS) $(USRLIBIPF) \ | |
47 $(USRLIBIPFLICENCE) | |
48 | |
49 $(SUBDIRS): FRC | |
50 @cd $@; pwd; $(MAKE) $(MFLAGS) $(TARGET) | |
51 | |
52 | |
53 FRC: | |
54 | |
55 include ../../Makefile.targ |