xref: /titanic_50/usr/src/cmd/ipf/lib/Makefile.com (revision 292f4c1c373bd6e2c3c0b6e199a87392f265291f)
1#
2# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
3# Use is subject to license terms.
4#
5#ident	"%Z%%M%	%I%	%E% SMI"
6#
7#cmd/ipf/lib/Makefile.com
8#
9
10LIBRARY=	libipf.a
11VERS= .1
12
13OBJECTS=	addicmp.o addipopt.o bcopywrap.o \
14		binprint.o buildopts.o checkrev.o count6bits.o \
15		count4bits.o debug.o extras.o facpri.o flags.o \
16		fill6bits.o genmask.o gethost.o getifname.o \
17		getline.o getnattype.o getport.o getportproto.o \
18		getproto.o getsumd.o hostname.o \
19		icmpcode.o inet_addr.o initparse.o \
20		ionames.o v6ionames.o ipoptsec.o ipf_dotuning.o \
21		ipft_ef.o ipft_hx.o ipft_pc.o ipft_sn.o ipft_td.o \
22		ipft_tx.o kmem.o kmemcpywrap.o kvatoname.o \
23		load_hash.o load_pool.o load_hashnode.o \
24		load_poolnode.o loglevel.o mutex_emul.o nametokva.o \
25		nat_setgroupmap.o ntomask.o optname.o optprint.o \
26		optprintv6.o optvalue.o \
27		portname.o portnum.o ports.o print_toif.o \
28		printactivenat.o printaps.o printbuf.o printhash.o \
29		printhashnode.o printip.o printpool.o \
30		printpoolnode.o printfr.o printfraginfo.o \
31		printhostmap.o printifname.o printhostmask.o \
32		printlog.o printmask.o printnat.o printpacket.o \
33		printpacket6.o printportcmp.o printproto.o \
34		printsbuf.o printstate.o printtunable.o ratoi.o \
35		remove_pool.o remove_poolnode.o remove_hash.o \
36		remove_hashnode.o resetlexer.o rwlock_emul.o \
37		tcpflags.o var.o verbose.o \
38		v6ionames.o v6optvalue.o
39
40include $(SRC)/lib/Makefile.lib
41include ../../Makefile.ipf
42
43SRCDIR= ../common
44SRCS=	$(OBJECTS:%.o=../common/%.c)
45
46LIBS=		$(LIBRARY)
47
48CPPFLAGS	+= -I../../tools
49
50.KEEP_STATE:
51
52all:    $(LIBS)
53
54lint:	lintcheck
55
56include $(SRC)/lib/Makefile.targ
57