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]
22 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
25 #cmd/ipf/examples/Makefile
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
)/%)
51 $(IPFEXSHPROG
):=FILEMODE
= 0755
53 $(SHAREIPFX
)/% : % $(SHAREIPFX
)
68 install: all $(SHAREIPF
) $(SHAREIPFX
) \
69 $(IPFEXAMPLES
) $(IPFEXSHPROG
)
73 include ..
/..
/Makefile.targ