xref: /illumos-gate/usr/src/cmd/ipf/lib/Makefile (revision f3ac6781)
17c478bd9Sstevel@tonic-gate#
233f2fefdSDarren Reed# CDDL HEADER START
333f2fefdSDarren Reed#
433f2fefdSDarren Reed# The contents of this file are subject to the terms of the
533f2fefdSDarren Reed# Common Development and Distribution License (the "License").
633f2fefdSDarren Reed# You may not use this file except in compliance with the License.
733f2fefdSDarren Reed#
833f2fefdSDarren Reed# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
933f2fefdSDarren Reed# or http://www.opensolaris.org/os/licensing.
1033f2fefdSDarren Reed# See the License for the specific language governing permissions
1133f2fefdSDarren Reed# and limitations under the License.
1233f2fefdSDarren Reed#
1333f2fefdSDarren Reed# When distributing Covered Code, include this CDDL HEADER in each
1433f2fefdSDarren Reed# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1533f2fefdSDarren Reed# If applicable, add the following below this CDDL HEADER, with the
1633f2fefdSDarren Reed# fields enclosed by brackets "[]" replaced with your own identifying
1733f2fefdSDarren Reed# information: Portions Copyright [yyyy] [name of copyright owner]
187c478bd9Sstevel@tonic-gate#
1933f2fefdSDarren Reed# CDDL HEADER END
2033f2fefdSDarren Reed#
2133f2fefdSDarren Reed#
2233f2fefdSDarren Reed# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
2333f2fefdSDarren Reed# Use is subject to license terms.
247c478bd9Sstevel@tonic-gate#
257c478bd9Sstevel@tonic-gate
26*f3ac6781SToomas SoomeLIBRARY=	libipf.a
27*f3ac6781SToomas SoomeVERS= .1
287c478bd9Sstevel@tonic-gate
29*f3ac6781SToomas SoomeOBJECTS=	addicmp.o addipopt.o bcopywrap.o \
30*f3ac6781SToomas Soome		binprint.o buildopts.o checkrev.o count6bits.o \
31*f3ac6781SToomas Soome		count4bits.o debug.o extras.o facpri.o flags.o \
32*f3ac6781SToomas Soome		fill6bits.o genmask.o gethost.o getifname.o \
33*f3ac6781SToomas Soome		getline.o getnattype.o getport.o getportproto.o \
34*f3ac6781SToomas Soome		getproto.o getsumd.o hostname.o \
35*f3ac6781SToomas Soome		icmpcode.o inet_addr.o initparse.o \
36*f3ac6781SToomas Soome		ionames.o v6ionames.o ipoptsec.o ipf_dotuning.o \
37*f3ac6781SToomas Soome		ipft_ef.o ipft_hx.o ipft_pc.o ipft_sn.o ipft_td.o \
38*f3ac6781SToomas Soome		ipft_tx.o kmem.o kmemcpywrap.o kvatoname.o \
39*f3ac6781SToomas Soome		load_hash.o load_pool.o load_hashnode.o \
40*f3ac6781SToomas Soome		load_poolnode.o loglevel.o mutex_emul.o nametokva.o \
41*f3ac6781SToomas Soome		nat_setgroupmap.o ntomask.o optname.o optprint.o \
42*f3ac6781SToomas Soome		optprintv6.o optvalue.o \
43*f3ac6781SToomas Soome		portname.o portnum.o ports.o print_toif.o \
44*f3ac6781SToomas Soome		printactivenat.o printaps.o printbuf.o printhash.o \
45*f3ac6781SToomas Soome		printhashnode.o printip.o printpool.o \
46*f3ac6781SToomas Soome		printpoolnode.o printfr.o printfraginfo.o \
47*f3ac6781SToomas Soome		printhostmap.o printifname.o printhostmask.o \
48*f3ac6781SToomas Soome		printlog.o printlookup.o printmask.o printnat.o printpacket.o \
49*f3ac6781SToomas Soome		printpacket6.o printportcmp.o printproto.o \
50*f3ac6781SToomas Soome		printsbuf.o printstate.o printtunable.o ratoi.o \
51*f3ac6781SToomas Soome		remove_pool.o remove_poolnode.o remove_hash.o \
52*f3ac6781SToomas Soome		remove_hashnode.o resetlexer.o rwlock_emul.o \
53*f3ac6781SToomas Soome		tcpflags.o var.o verbose.o \
54*f3ac6781SToomas Soome		v6ionames.o v6optvalue.o printpool_live.o \
55*f3ac6781SToomas Soome		printpooldata.o printhash_live.o printhashdata.o \
56*f3ac6781SToomas Soome		printactiveaddr.o printactivenat.o printaddr.o
577c478bd9Sstevel@tonic-gate
58*f3ac6781SToomas Soomeinclude $(SRC)/lib/Makefile.lib
59*f3ac6781SToomas Soomeinclude $(SRC)/lib/Makefile.lib.64
60*f3ac6781SToomas Soomeinclude ../Makefile.ipf
617c478bd9Sstevel@tonic-gate
62*f3ac6781SToomas SoomeLIBS=		$(LIBRARY)
637c478bd9Sstevel@tonic-gate
64*f3ac6781SToomas SoomeCPPFLAGS	+= -I../tools
657c478bd9Sstevel@tonic-gate
66*f3ac6781SToomas Soome.KEEP_STATE:
677c478bd9Sstevel@tonic-gate
68*f3ac6781SToomas Soomeall:    $(LIBS)
697c478bd9Sstevel@tonic-gate
70*f3ac6781SToomas Soomeinstall: all
717c478bd9Sstevel@tonic-gate
727c478bd9Sstevel@tonic-gateinclude $(SRC)/lib/Makefile.targ
73