xref: /onnv-gate/usr/src/cmd/ipf/lib/Makefile.com (revision 7176:101cc5da1498)
10Sstevel@tonic-gate#
23448Sdh155122# CDDL HEADER START
33448Sdh155122#
43448Sdh155122# The contents of this file are subject to the terms of the
53448Sdh155122# Common Development and Distribution License (the "License").
63448Sdh155122# You may not use this file except in compliance with the License.
73448Sdh155122#
83448Sdh155122# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
93448Sdh155122# or http://www.opensolaris.org/os/licensing.
103448Sdh155122# See the License for the specific language governing permissions
113448Sdh155122# and limitations under the License.
123448Sdh155122#
133448Sdh155122# When distributing Covered Code, include this CDDL HEADER in each
143448Sdh155122# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
153448Sdh155122# If applicable, add the following below this CDDL HEADER, with the
163448Sdh155122# fields enclosed by brackets "[]" replaced with your own identifying
173448Sdh155122# information: Portions Copyright [yyyy] [name of copyright owner]
183448Sdh155122#
193448Sdh155122# CDDL HEADER END
203448Sdh155122#
213448Sdh155122#
22*7176Syx160601# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
230Sstevel@tonic-gate# Use is subject to license terms.
240Sstevel@tonic-gate#
250Sstevel@tonic-gate#ident	"%Z%%M%	%I%	%E% SMI"
260Sstevel@tonic-gate#
270Sstevel@tonic-gate#cmd/ipf/lib/Makefile.com
280Sstevel@tonic-gate#
290Sstevel@tonic-gate
300Sstevel@tonic-gateLIBRARY=	libipf.a
310Sstevel@tonic-gateVERS= .1
320Sstevel@tonic-gate
330Sstevel@tonic-gateOBJECTS=	addicmp.o addipopt.o bcopywrap.o \
340Sstevel@tonic-gate		binprint.o buildopts.o checkrev.o count6bits.o \
350Sstevel@tonic-gate		count4bits.o debug.o extras.o facpri.o flags.o \
360Sstevel@tonic-gate		fill6bits.o genmask.o gethost.o getifname.o \
370Sstevel@tonic-gate		getline.o getnattype.o getport.o getportproto.o \
382609Sjojemann		getproto.o getsumd.o hostname.o \
392609Sjojemann		icmpcode.o inet_addr.o initparse.o \
402393Syz155240		ionames.o v6ionames.o ipoptsec.o ipf_dotuning.o \
412393Syz155240		ipft_ef.o ipft_hx.o ipft_pc.o ipft_sn.o ipft_td.o \
422393Syz155240		ipft_tx.o kmem.o kmemcpywrap.o kvatoname.o \
432393Syz155240		load_hash.o load_pool.o load_hashnode.o \
442393Syz155240		load_poolnode.o loglevel.o mutex_emul.o nametokva.o \
452609Sjojemann		nat_setgroupmap.o ntomask.o optname.o optprint.o \
462393Syz155240		optprintv6.o optvalue.o \
470Sstevel@tonic-gate		portname.o portnum.o ports.o print_toif.o \
482393Syz155240		printactivenat.o printaps.o printbuf.o printhash.o \
492393Syz155240		printhashnode.o printip.o printpool.o \
502393Syz155240		printpoolnode.o printfr.o printfraginfo.o \
510Sstevel@tonic-gate		printhostmap.o printifname.o printhostmask.o \
52*7176Syx160601		printlog.o printlookup.o printmask.o printnat.o printpacket.o \
532393Syz155240		printpacket6.o printportcmp.o printproto.o \
542393Syz155240		printsbuf.o printstate.o printtunable.o ratoi.o \
550Sstevel@tonic-gate		remove_pool.o remove_poolnode.o remove_hash.o \
560Sstevel@tonic-gate		remove_hashnode.o resetlexer.o rwlock_emul.o \
572609Sjojemann		tcpflags.o var.o verbose.o \
583448Sdh155122		v6ionames.o v6optvalue.o printpool_live.o \
593448Sdh155122		printpooldata.o printhash_live.o printhashdata.o \
60*7176Syx160601		printactiveaddr.o printactivenat.o printaddr.o
610Sstevel@tonic-gate
620Sstevel@tonic-gateinclude $(SRC)/lib/Makefile.lib
630Sstevel@tonic-gateinclude ../../Makefile.ipf
640Sstevel@tonic-gate
650Sstevel@tonic-gateSRCDIR= ../common
660Sstevel@tonic-gateSRCS=	$(OBJECTS:%.o=../common/%.c)
670Sstevel@tonic-gate
680Sstevel@tonic-gateLIBS=		$(LIBRARY)
690Sstevel@tonic-gate
700Sstevel@tonic-gateCPPFLAGS	+= -I../../tools
710Sstevel@tonic-gate
720Sstevel@tonic-gate.KEEP_STATE:
730Sstevel@tonic-gate
740Sstevel@tonic-gateall:    $(LIBS)
750Sstevel@tonic-gate
760Sstevel@tonic-gatelint:	lintcheck
770Sstevel@tonic-gate
780Sstevel@tonic-gateinclude $(SRC)/lib/Makefile.targ
79