xref: /illumos-gate/usr/src/cmd/ipf/etc/Makefile (revision 381a2a9a)
17c478bd9Sstevel@tonic-gate#
2*381a2a9aSdr# CDDL HEADER START
3*381a2a9aSdr#
4*381a2a9aSdr# The contents of this file are subject to the terms of the
5*381a2a9aSdr# Common Development and Distribution License (the "License").
6*381a2a9aSdr# You may not use this file except in compliance with the License.
7*381a2a9aSdr#
8*381a2a9aSdr# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*381a2a9aSdr# or http://www.opensolaris.org/os/licensing.
10*381a2a9aSdr# See the License for the specific language governing permissions
11*381a2a9aSdr# and limitations under the License.
12*381a2a9aSdr#
13*381a2a9aSdr# When distributing Covered Code, include this CDDL HEADER in each
14*381a2a9aSdr# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*381a2a9aSdr# If applicable, add the following below this CDDL HEADER, with the
16*381a2a9aSdr# fields enclosed by brackets "[]" replaced with your own identifying
17*381a2a9aSdr# information: Portions Copyright [yyyy] [name of copyright owner]
18*381a2a9aSdr#
19*381a2a9aSdr# CDDL HEADER END
20*381a2a9aSdr#
21*381a2a9aSdr#
22*381a2a9aSdr# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
237c478bd9Sstevel@tonic-gate# Use is subject to license terms.
247c478bd9Sstevel@tonic-gate#
257c478bd9Sstevel@tonic-gate#ident	"%Z%%M%	%I%	%E% SMI"
267c478bd9Sstevel@tonic-gate#
277c478bd9Sstevel@tonic-gate#cmd/ipf/etc/Makefile
287c478bd9Sstevel@tonic-gate#
297c478bd9Sstevel@tonic-gate
307c478bd9Sstevel@tonic-gateIPFCONF=	ipf.conf
31*381a2a9aSdrIPFPROG=	$(IPFCONF)
327c478bd9Sstevel@tonic-gate
337c478bd9Sstevel@tonic-gateinclude ../../Makefile.cmd
347c478bd9Sstevel@tonic-gate
357c478bd9Sstevel@tonic-gate
367c478bd9Sstevel@tonic-gateETCIPF= $(ROOTETC)/ipf
377c478bd9Sstevel@tonic-gate
387c478bd9Sstevel@tonic-gateDIRS=  $(ETCIPF)
397c478bd9Sstevel@tonic-gate
407c478bd9Sstevel@tonic-gateETCIPFPROG=	$(IPFPROG:%=$(ETCIPF)/%)
417c478bd9Sstevel@tonic-gate
427c478bd9Sstevel@tonic-gate$(ETCIPFPROG):=	FILEMODE= 0644
437c478bd9Sstevel@tonic-gateOWNER= root
447c478bd9Sstevel@tonic-gateGROUP= sys
457c478bd9Sstevel@tonic-gate
467c478bd9Sstevel@tonic-gate.KEEP_STATE:
477c478bd9Sstevel@tonic-gate
487c478bd9Sstevel@tonic-gateall: $(IPFPROG) $(DIRS) $(ETCIPFPROG)
497c478bd9Sstevel@tonic-gate
507c478bd9Sstevel@tonic-gateinstall: all $(DIRS)
517c478bd9Sstevel@tonic-gate
527c478bd9Sstevel@tonic-gate$(PFILAP):
537c478bd9Sstevel@tonic-gate	$(SH) $@.sh
547c478bd9Sstevel@tonic-gate
557c478bd9Sstevel@tonic-gate$(ETCIPF)/% : % $(ETCIPF)
567c478bd9Sstevel@tonic-gate	$(INS.file)
577c478bd9Sstevel@tonic-gate
587c478bd9Sstevel@tonic-gate$(DIRS):
597c478bd9Sstevel@tonic-gate	$(INS.dir)
607c478bd9Sstevel@tonic-gate
617c478bd9Sstevel@tonic-gateclean:
627c478bd9Sstevel@tonic-gate
637c478bd9Sstevel@tonic-gateclobber:
647c478bd9Sstevel@tonic-gate
657c478bd9Sstevel@tonic-gatelint:
667c478bd9Sstevel@tonic-gate
677c478bd9Sstevel@tonic-gate.PARALLEL:
68