comparison usr/src/cmd/ipf/lib/Makefile.com @ 0:c9caec207d52 b86

Initial porting based on b86
author Koji Uno <koji.uno@sun.com>
date Tue, 02 Jun 2009 18:56:50 +0900
parents
children 1a15d5aaf794
comparison
equal deleted inserted replaced
-1:000000000000 0:c9caec207d52
1 #
2 # CDDL HEADER START
3 #
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.
7 #
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.
12 #
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]
18 #
19 # CDDL HEADER END
20 #
21 #
22 # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
24 #
25 #ident "@(#)Makefile.com 1.7 07/01/19 SMI"
26 #
27 #cmd/ipf/lib/Makefile.com
28 #
29
30 LIBRARY= libipf.a
31 VERS= .1
32
33 OBJECTS= addicmp.o addipopt.o bcopywrap.o \
34 binprint.o buildopts.o checkrev.o count6bits.o \
35 count4bits.o debug.o extras.o facpri.o flags.o \
36 fill6bits.o genmask.o gethost.o getifname.o \
37 getline.o getnattype.o getport.o getportproto.o \
38 getproto.o getsumd.o hostname.o \
39 icmpcode.o inet_addr.o initparse.o \
40 ionames.o v6ionames.o ipoptsec.o ipf_dotuning.o \
41 ipft_ef.o ipft_hx.o ipft_pc.o ipft_sn.o ipft_td.o \
42 ipft_tx.o kmem.o kmemcpywrap.o kvatoname.o \
43 load_hash.o load_pool.o load_hashnode.o \
44 load_poolnode.o loglevel.o mutex_emul.o nametokva.o \
45 nat_setgroupmap.o ntomask.o optname.o optprint.o \
46 optprintv6.o optvalue.o \
47 portname.o portnum.o ports.o print_toif.o \
48 printactivenat.o printaps.o printbuf.o printhash.o \
49 printhashnode.o printip.o printpool.o \
50 printpoolnode.o printfr.o printfraginfo.o \
51 printhostmap.o printifname.o printhostmask.o \
52 printlog.o printmask.o printnat.o printpacket.o \
53 printpacket6.o printportcmp.o printproto.o \
54 printsbuf.o printstate.o printtunable.o ratoi.o \
55 remove_pool.o remove_poolnode.o remove_hash.o \
56 remove_hashnode.o resetlexer.o rwlock_emul.o \
57 tcpflags.o var.o verbose.o \
58 v6ionames.o v6optvalue.o printpool_live.o \
59 printpooldata.o printhash_live.o printhashdata.o \
60 printactivenat.o
61
62 include $(SRC)/lib/Makefile.lib
63 include ../../Makefile.ipf
64
65 SRCDIR= ../common
66 SRCS= $(OBJECTS:%.o=../common/%.c)
67
68 LIBS= $(LIBRARY)
69
70 CPPFLAGS += -I../../tools
71
72 .KEEP_STATE:
73
74 all: $(LIBS)
75
76 lint: lintcheck
77
78 include $(SRC)/lib/Makefile.targ