8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / cmd / ipf / examples / Makefile
blob078c7eef533bc8a66d805f5596c68e875016e3a3
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
22 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
25 #cmd/ipf/examples/Makefile
28 SHPROG= mkfilters
29 EXAMPLES= BASIC.NAT BASIC_1.FW BASIC_2.FW \
30 example.1 example.2 example.3 example.4 \
31 example.5 example.6 example.7 example.8 \
32 example.9 example.10 example.11 example.12 \
33 example.13 example.sr firewall ftp-proxy \
34 ftppxy ip_rules nat-setup nat.eg \
35 pool.conf server tcpstate
37 SHSRCS= $(SHPROG:%=%.sh)
39 include ../../Makefile.cmd
41 CLOBBERFILES = $(SHPROG)
43 SHAREIPF= $(ROOT)/usr/share/ipfilter
44 SHAREIPFX= $(SHAREIPF)/examples
46 IPFEXAMPLES= $(EXAMPLES:%=$(SHAREIPFX)/%)
47 IPFEXSHPROG= $(SHPROG:%=$(SHAREIPFX)/%)
49 FILEMODE= 0644
51 $(IPFEXSHPROG):=FILEMODE= 0755
53 $(SHAREIPFX)/% : % $(SHAREIPFX)
54 $(INS.file)
56 $(SHAREIPF):
57 $(INS.dir)
59 $(SHAREIPFX):
60 $(INS.dir)
62 .KEEP_STATE:
64 all: $(SHPROG)
66 clean:
68 install: all $(SHAREIPF) $(SHAREIPFX) \
69 $(IPFEXAMPLES) $(IPFEXSHPROG)
71 lint:
73 include ../../Makefile.targ
75 .PARALLEL: