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 2009 Sun Microsystems, Inc. All rights reserved. 23# Use is subject to license terms. 24# 25 26LIBRARY= libipf.a 27VERS= .1 28 29OBJECTS= addicmp.o addipopt.o bcopywrap.o \ 30 binprint.o buildopts.o checkrev.o count6bits.o \ 31 count4bits.o debug.o extras.o facpri.o flags.o \ 32 fill6bits.o genmask.o gethost.o getifname.o \ 33 getline.o getnattype.o getport.o getportproto.o \ 34 getproto.o getsumd.o hostname.o \ 35 icmpcode.o inet_addr.o initparse.o \ 36 ionames.o v6ionames.o ipoptsec.o ipf_dotuning.o \ 37 ipft_ef.o ipft_hx.o ipft_pc.o ipft_sn.o ipft_td.o \ 38 ipft_tx.o kmem.o kmemcpywrap.o kvatoname.o \ 39 load_hash.o load_pool.o load_hashnode.o \ 40 load_poolnode.o loglevel.o mutex_emul.o nametokva.o \ 41 nat_setgroupmap.o ntomask.o optname.o optprint.o \ 42 optprintv6.o optvalue.o \ 43 portname.o portnum.o ports.o print_toif.o \ 44 printactivenat.o printaps.o printbuf.o printhash.o \ 45 printhashnode.o printip.o printpool.o \ 46 printpoolnode.o printfr.o printfraginfo.o \ 47 printhostmap.o printifname.o printhostmask.o \ 48 printlog.o printlookup.o printmask.o printnat.o printpacket.o \ 49 printpacket6.o printportcmp.o printproto.o \ 50 printsbuf.o printstate.o printtunable.o ratoi.o \ 51 remove_pool.o remove_poolnode.o remove_hash.o \ 52 remove_hashnode.o resetlexer.o rwlock_emul.o \ 53 tcpflags.o var.o verbose.o \ 54 v6ionames.o v6optvalue.o printpool_live.o \ 55 printpooldata.o printhash_live.o printhashdata.o \ 56 printactiveaddr.o printactivenat.o printaddr.o 57 58include $(SRC)/lib/Makefile.lib 59include $(SRC)/lib/Makefile.lib.64 60include ../Makefile.ipf 61 62LIBS= $(LIBRARY) 63 64CPPFLAGS += -I../tools 65 66.KEEP_STATE: 67 68all: $(LIBS) 69 70install: all 71 72include $(SRC)/lib/Makefile.targ 73