comm: add -Wall
[unleashed.git] / usr / src / cmd / ipf / lib / Makefile.com
blobd3f824a88bbade539628918c35646b92a760ab36
2 # CDDL HEADER START
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.
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.
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]
19 # CDDL HEADER END
22 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
23 # Use is subject to license terms.
25 #ident  "%Z%%M% %I%     %E% SMI"
27 #cmd/ipf/lib/Makefile.com
30 LIBRARY=        libipf.a
31 VERS= .1
33 OBJECTS=        addicmp.o addipopt.o bcopywrap.o \
34                 binprint.o buildopts.o checkrev.o count6bits.o \
35                 count4bits.o debug.o extras.o facpri.o flags.o \
36                 fill6bits.o genmask.o gethost.o getifname.o \
37                 getline.o getnattype.o getport.o getportproto.o \
38                 getproto.o getsumd.o hostname.o \
39                 icmpcode.o inet_addr.o initparse.o \
40                 ionames.o v6ionames.o ipoptsec.o ipf_dotuning.o \
41                 ipft_ef.o ipft_hx.o ipft_pc.o ipft_sn.o ipft_td.o \
42                 ipft_tx.o kmem.o kmemcpywrap.o kvatoname.o \
43                 load_hash.o load_pool.o load_hashnode.o \
44                 load_poolnode.o loglevel.o mutex_emul.o nametokva.o \
45                 nat_setgroupmap.o ntomask.o optname.o optprint.o \
46                 optprintv6.o optvalue.o \
47                 portname.o portnum.o ports.o print_toif.o \
48                 printactivenat.o printaps.o printbuf.o printhash.o \
49                 printhashnode.o printip.o printpool.o \
50                 printpoolnode.o printfr.o printfraginfo.o \
51                 printhostmap.o printifname.o printhostmask.o \
52                 printlog.o printlookup.o printmask.o printnat.o printpacket.o \
53                 printpacket6.o printportcmp.o printproto.o \
54                 printsbuf.o printstate.o printtunable.o ratoi.o \
55                 remove_pool.o remove_poolnode.o remove_hash.o \
56                 remove_hashnode.o resetlexer.o rwlock_emul.o \
57                 tcpflags.o var.o verbose.o \
58                 v6ionames.o v6optvalue.o printpool_live.o \
59                 printpooldata.o printhash_live.o printhashdata.o \
60                 printactiveaddr.o printactivenat.o printaddr.o
62 include $(SRC)/lib/Makefile.lib
63 include ../../Makefile.ipf
65 SRCDIR= ../common
66 SRCS=   $(OBJECTS:%.o=../common/%.c)
68 LIBS=           $(LIBRARY)
70 CPPFLAGS        += -I../../tools
72 .KEEP_STATE:
74 all:    $(LIBS)
77 include $(SRC)/lib/Makefile.targ