xref: /titanic_50/usr/src/cmd/ipf/lib/Makefile.com (revision 694c35faa87b858ecdadfe4fc592615f4eefbb07)
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 2008 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24#
25#ident	"%Z%%M%	%I%	%E% SMI"
26#
27#cmd/ipf/lib/Makefile.com
28#
29
30LIBRARY=	libipf.a
31VERS= .1
32
33OBJECTS=	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 printlookup.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		printactiveaddr.o printactivenat.o printaddr.o
61
62include $(SRC)/lib/Makefile.lib
63include ../../Makefile.ipf
64
65SRCDIR= ../common
66SRCS=	$(OBJECTS:%.o=../common/%.c)
67
68LIBS=		$(LIBRARY)
69
70CPPFLAGS	+= -I../../tools
71
72.KEEP_STATE:
73
74all:    $(LIBS)
75
76lint:	lintcheck
77
78include $(SRC)/lib/Makefile.targ
79