xref: /titanic_41/usr/src/cmd/ipf/tools/Makefile (revision 7c478bd95313f5f23a4c958a745db2134aa03244)
1*7c478bd9Sstevel@tonic-gate#
2*7c478bd9Sstevel@tonic-gate# Copyright 2003 Sun Microsystems, Inc.  All rights reserved.
3*7c478bd9Sstevel@tonic-gate# Use is subject to license terms.
4*7c478bd9Sstevel@tonic-gate#
5*7c478bd9Sstevel@tonic-gate#ident	"%Z%%M%	%I%	%E% SMI"
6*7c478bd9Sstevel@tonic-gate#
7*7c478bd9Sstevel@tonic-gate# cmd/ipf/tools/Makefile
8*7c478bd9Sstevel@tonic-gate#
9*7c478bd9Sstevel@tonic-gate#
10*7c478bd9Sstevel@tonic-gate
11*7c478bd9Sstevel@tonic-gateLICENCE= IPFILTER.LICENCE
12*7c478bd9Sstevel@tonic-gate
13*7c478bd9Sstevel@tonic-gateinclude ../../Makefile.cmd
14*7c478bd9Sstevel@tonic-gate
15*7c478bd9Sstevel@tonic-gate$(64ONLY)SUBDIRS= $(MACH)
16*7c478bd9Sstevel@tonic-gate$(BUILD64)SUBDIRS += $(MACH64)
17*7c478bd9Sstevel@tonic-gate
18*7c478bd9Sstevel@tonic-gateUSRLIBIPF=		$(ROOTLIB)/ipf
19*7c478bd9Sstevel@tonic-gateUSRLIBIPFLICENCE=	$(LICENCE:%=$(USRLIBIPF)/%)
20*7c478bd9Sstevel@tonic-gate
21*7c478bd9Sstevel@tonic-gateFILEMODE= 0755
22*7c478bd9Sstevel@tonic-gateOWNER= root
23*7c478bd9Sstevel@tonic-gateGROUP= sys
24*7c478bd9Sstevel@tonic-gate
25*7c478bd9Sstevel@tonic-gate$(USRLIBIPFLICENCE):=FILEMODE= 0644
26*7c478bd9Sstevel@tonic-gate$(USRLIBIPFLICENCE):=GROUP= bin
27*7c478bd9Sstevel@tonic-gate
28*7c478bd9Sstevel@tonic-gateall:=           TARGET= all
29*7c478bd9Sstevel@tonic-gateinstall:=       TARGET= install
30*7c478bd9Sstevel@tonic-gateclean:=         TARGET= clean
31*7c478bd9Sstevel@tonic-gateclobber:=       TARGET= clobber
32*7c478bd9Sstevel@tonic-gatelint:=          TARGET= lint
33*7c478bd9Sstevel@tonic-gate
34*7c478bd9Sstevel@tonic-gate$(USRLIBIPF):
35*7c478bd9Sstevel@tonic-gate	$(INS.dir)
36*7c478bd9Sstevel@tonic-gate
37*7c478bd9Sstevel@tonic-gate$(USRLIBIPF)/% : %
38*7c478bd9Sstevel@tonic-gate	$(INS.file)
39*7c478bd9Sstevel@tonic-gate
40*7c478bd9Sstevel@tonic-gate.KEEP_STATE:
41*7c478bd9Sstevel@tonic-gate
42*7c478bd9Sstevel@tonic-gateall:		$(SUBDIRS)
43*7c478bd9Sstevel@tonic-gate
44*7c478bd9Sstevel@tonic-gateclean clobber lint: $(SUBDIRS)
45*7c478bd9Sstevel@tonic-gate
46*7c478bd9Sstevel@tonic-gateinstall:	all $(SUBDIRS) $(USRLIBIPF) \
47*7c478bd9Sstevel@tonic-gate		$(USRLIBIPFLICENCE)
48*7c478bd9Sstevel@tonic-gate
49*7c478bd9Sstevel@tonic-gate$(SUBDIRS): FRC
50*7c478bd9Sstevel@tonic-gate	@cd $@; pwd; $(MAKE) $(MFLAGS) $(TARGET)
51*7c478bd9Sstevel@tonic-gate
52*7c478bd9Sstevel@tonic-gate
53*7c478bd9Sstevel@tonic-gateFRC:
54*7c478bd9Sstevel@tonic-gate
55*7c478bd9Sstevel@tonic-gateinclude ../../Makefile.targ
56