17c478bd9Sstevel@tonic-gate# 2f4b3ec61Sdh155122# CDDL HEADER START 3f4b3ec61Sdh155122# 4f4b3ec61Sdh155122# The contents of this file are subject to the terms of the 5f4b3ec61Sdh155122# Common Development and Distribution License (the "License"). 6f4b3ec61Sdh155122# You may not use this file except in compliance with the License. 7f4b3ec61Sdh155122# 8f4b3ec61Sdh155122# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9f4b3ec61Sdh155122# or http://www.opensolaris.org/os/licensing. 10f4b3ec61Sdh155122# See the License for the specific language governing permissions 11f4b3ec61Sdh155122# and limitations under the License. 12f4b3ec61Sdh155122# 13f4b3ec61Sdh155122# When distributing Covered Code, include this CDDL HEADER in each 14f4b3ec61Sdh155122# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15f4b3ec61Sdh155122# If applicable, add the following below this CDDL HEADER, with the 16f4b3ec61Sdh155122# fields enclosed by brackets "[]" replaced with your own identifying 17f4b3ec61Sdh155122# information: Portions Copyright [yyyy] [name of copyright owner] 18f4b3ec61Sdh155122# 19f4b3ec61Sdh155122# CDDL HEADER END 20f4b3ec61Sdh155122# 21f4b3ec61Sdh155122# 22*d6c23f6fSyx160601# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 237c478bd9Sstevel@tonic-gate# Use is subject to license terms. 247c478bd9Sstevel@tonic-gate# 257c478bd9Sstevel@tonic-gate#ident "%Z%%M% %I% %E% SMI" 267c478bd9Sstevel@tonic-gate# 277c478bd9Sstevel@tonic-gate#cmd/ipf/lib/Makefile.com 287c478bd9Sstevel@tonic-gate# 297c478bd9Sstevel@tonic-gate 307c478bd9Sstevel@tonic-gateLIBRARY= libipf.a 317c478bd9Sstevel@tonic-gateVERS= .1 327c478bd9Sstevel@tonic-gate 337c478bd9Sstevel@tonic-gateOBJECTS= addicmp.o addipopt.o bcopywrap.o \ 347c478bd9Sstevel@tonic-gate binprint.o buildopts.o checkrev.o count6bits.o \ 357c478bd9Sstevel@tonic-gate count4bits.o debug.o extras.o facpri.o flags.o \ 367c478bd9Sstevel@tonic-gate fill6bits.o genmask.o gethost.o getifname.o \ 377c478bd9Sstevel@tonic-gate getline.o getnattype.o getport.o getportproto.o \ 389b4c7145Sjojemann getproto.o getsumd.o hostname.o \ 399b4c7145Sjojemann icmpcode.o inet_addr.o initparse.o \ 40ab25eeb5Syz155240 ionames.o v6ionames.o ipoptsec.o ipf_dotuning.o \ 41ab25eeb5Syz155240 ipft_ef.o ipft_hx.o ipft_pc.o ipft_sn.o ipft_td.o \ 42ab25eeb5Syz155240 ipft_tx.o kmem.o kmemcpywrap.o kvatoname.o \ 43ab25eeb5Syz155240 load_hash.o load_pool.o load_hashnode.o \ 44ab25eeb5Syz155240 load_poolnode.o loglevel.o mutex_emul.o nametokva.o \ 459b4c7145Sjojemann nat_setgroupmap.o ntomask.o optname.o optprint.o \ 46ab25eeb5Syz155240 optprintv6.o optvalue.o \ 477c478bd9Sstevel@tonic-gate portname.o portnum.o ports.o print_toif.o \ 48ab25eeb5Syz155240 printactivenat.o printaps.o printbuf.o printhash.o \ 49ab25eeb5Syz155240 printhashnode.o printip.o printpool.o \ 50ab25eeb5Syz155240 printpoolnode.o printfr.o printfraginfo.o \ 517c478bd9Sstevel@tonic-gate printhostmap.o printifname.o printhostmask.o \ 52*d6c23f6fSyx160601 printlog.o printlookup.o printmask.o printnat.o printpacket.o \ 53ab25eeb5Syz155240 printpacket6.o printportcmp.o printproto.o \ 54ab25eeb5Syz155240 printsbuf.o printstate.o printtunable.o ratoi.o \ 557c478bd9Sstevel@tonic-gate remove_pool.o remove_poolnode.o remove_hash.o \ 567c478bd9Sstevel@tonic-gate remove_hashnode.o resetlexer.o rwlock_emul.o \ 579b4c7145Sjojemann tcpflags.o var.o verbose.o \ 58f4b3ec61Sdh155122 v6ionames.o v6optvalue.o printpool_live.o \ 59f4b3ec61Sdh155122 printpooldata.o printhash_live.o printhashdata.o \ 60*d6c23f6fSyx160601 printactiveaddr.o printactivenat.o printaddr.o 617c478bd9Sstevel@tonic-gate 627c478bd9Sstevel@tonic-gateinclude $(SRC)/lib/Makefile.lib 637c478bd9Sstevel@tonic-gateinclude ../../Makefile.ipf 647c478bd9Sstevel@tonic-gate 657c478bd9Sstevel@tonic-gateSRCDIR= ../common 667c478bd9Sstevel@tonic-gateSRCS= $(OBJECTS:%.o=../common/%.c) 677c478bd9Sstevel@tonic-gate 687c478bd9Sstevel@tonic-gateLIBS= $(LIBRARY) 697c478bd9Sstevel@tonic-gate 707c478bd9Sstevel@tonic-gateCPPFLAGS += -I../../tools 717c478bd9Sstevel@tonic-gate 727c478bd9Sstevel@tonic-gate.KEEP_STATE: 737c478bd9Sstevel@tonic-gate 747c478bd9Sstevel@tonic-gateall: $(LIBS) 757c478bd9Sstevel@tonic-gate 767c478bd9Sstevel@tonic-gatelint: lintcheck 777c478bd9Sstevel@tonic-gate 787c478bd9Sstevel@tonic-gateinclude $(SRC)/lib/Makefile.targ 79