xref: /illumos-gate/usr/src/cmd/ipf/etc/Makefile (revision 24fe0b3b)
17c478bd9Sstevel@tonic-gate#
2381a2a9aSdr# CDDL HEADER START
3381a2a9aSdr#
4381a2a9aSdr# The contents of this file are subject to the terms of the
5381a2a9aSdr# Common Development and Distribution License (the "License").
6381a2a9aSdr# You may not use this file except in compliance with the License.
7381a2a9aSdr#
8381a2a9aSdr# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9381a2a9aSdr# or http://www.opensolaris.org/os/licensing.
10381a2a9aSdr# See the License for the specific language governing permissions
11381a2a9aSdr# and limitations under the License.
12381a2a9aSdr#
13381a2a9aSdr# When distributing Covered Code, include this CDDL HEADER in each
14381a2a9aSdr# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15381a2a9aSdr# If applicable, add the following below this CDDL HEADER, with the
16381a2a9aSdr# fields enclosed by brackets "[]" replaced with your own identifying
17381a2a9aSdr# information: Portions Copyright [yyyy] [name of copyright owner]
18381a2a9aSdr#
19381a2a9aSdr# CDDL HEADER END
20381a2a9aSdr#
21381a2a9aSdr#
22*24fe0b3bSjmcp# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
237c478bd9Sstevel@tonic-gate# Use is subject to license terms.
247c478bd9Sstevel@tonic-gate#
257c478bd9Sstevel@tonic-gate#cmd/ipf/etc/Makefile
267c478bd9Sstevel@tonic-gate#
277c478bd9Sstevel@tonic-gate
287c478bd9Sstevel@tonic-gateIPFCONF=	ipf.conf
29381a2a9aSdrIPFPROG=	$(IPFCONF)
307c478bd9Sstevel@tonic-gate
317c478bd9Sstevel@tonic-gateinclude ../../Makefile.cmd
327c478bd9Sstevel@tonic-gate
337c478bd9Sstevel@tonic-gate
347c478bd9Sstevel@tonic-gateETCIPF= $(ROOTETC)/ipf
357c478bd9Sstevel@tonic-gate
367c478bd9Sstevel@tonic-gateDIRS=  $(ETCIPF)
377c478bd9Sstevel@tonic-gate
387c478bd9Sstevel@tonic-gateETCIPFPROG=	$(IPFPROG:%=$(ETCIPF)/%)
397c478bd9Sstevel@tonic-gate
407c478bd9Sstevel@tonic-gate$(ETCIPFPROG):=	FILEMODE= 0644
417c478bd9Sstevel@tonic-gate
427c478bd9Sstevel@tonic-gate.KEEP_STATE:
437c478bd9Sstevel@tonic-gate
447c478bd9Sstevel@tonic-gateall: $(IPFPROG) $(DIRS) $(ETCIPFPROG)
457c478bd9Sstevel@tonic-gate
467c478bd9Sstevel@tonic-gateinstall: all $(DIRS)
477c478bd9Sstevel@tonic-gate
487c478bd9Sstevel@tonic-gate$(PFILAP):
497c478bd9Sstevel@tonic-gate	$(SH) $@.sh
507c478bd9Sstevel@tonic-gate
517c478bd9Sstevel@tonic-gate$(ETCIPF)/% : % $(ETCIPF)
527c478bd9Sstevel@tonic-gate	$(INS.file)
537c478bd9Sstevel@tonic-gate
547c478bd9Sstevel@tonic-gate$(DIRS):
557c478bd9Sstevel@tonic-gate	$(INS.dir)
567c478bd9Sstevel@tonic-gate
577c478bd9Sstevel@tonic-gateclean:
587c478bd9Sstevel@tonic-gate
597c478bd9Sstevel@tonic-gateclobber:
607c478bd9Sstevel@tonic-gate
617c478bd9Sstevel@tonic-gatelint:
627c478bd9Sstevel@tonic-gate
637c478bd9Sstevel@tonic-gate.PARALLEL:
64