xref: /titanic_50/usr/src/cmd/ipf/lib/Makefile.com (revision 6d9a41ff63273acce102bfb2d51423ed920e6dcd)
1#
2# Copyright 2005 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 hostmask.o hostname.o \
19		hostnum.o icmpcode.o inet_addr.o initparse.o \
20		ionames.o ipoptsec.o ipft_ef.o ipft_hx.o \
21		ipft_pc.o ipft_sn.o ipft_td.o ipft_tx.o kmem.o \
22		kmemcpywrap.o kvatoname.o load_hash.o load_pool.o \
23 		load_hashnode.o load_poolnode.o loglevel.o \
24		mutex_emul.o nametokva.o natparse.o ntomask.o \
25		optname.o optprint.o optprintv6.o optvalue.o \
26		portname.o portnum.o ports.o print_toif.o \
27		printaps.o printbuf.o printhash.o printhashnode.o \
28		printip.o printpool.o printpoolnode.o printfr.o \
29		printhostmap.o printifname.o printhostmask.o \
30		printlog.o printmask.o printnat.o printportcmp.o \
31		printpacket.o printpacket6.o printsbuf.o \
32		printstate.o ratoi.o \
33		remove_pool.o remove_poolnode.o remove_hash.o \
34		remove_hashnode.o resetlexer.o rwlock_emul.o \
35		tcpflags.o to_interface.o var.o verbose.o \
36		v6ionames.o v6optvalue.o
37
38include $(SRC)/lib/Makefile.lib
39include ../../Makefile.ipf
40
41SRCDIR= ../common
42SRCS=	$(OBJECTS:%.o=../common/%.c)
43
44LIBS=		$(LIBRARY)
45
46CPPFLAGS	+= -I../../tools
47
48.KEEP_STATE:
49
50all:    $(LIBS)
51
52lint:	lintcheck
53
54include $(SRC)/lib/Makefile.targ
55