xref: /titanic_41/usr/src/lib/libilb/Makefile.com (revision 3c112a2b34403220c06c3e2fcac403358cfba168)
1dbed73cbSSangeeta Misra#
2dbed73cbSSangeeta Misra# CDDL HEADER START
3dbed73cbSSangeeta Misra#
4dbed73cbSSangeeta Misra# The contents of this file are subject to the terms of the
5dbed73cbSSangeeta Misra# Common Development and Distribution License (the "License").
6dbed73cbSSangeeta Misra# You may not use this file except in compliance with the License.
7dbed73cbSSangeeta Misra#
8dbed73cbSSangeeta Misra# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9dbed73cbSSangeeta Misra# or http://www.opensolaris.org/os/licensing.
10dbed73cbSSangeeta Misra# See the License for the specific language governing permissions
11dbed73cbSSangeeta Misra# and limitations under the License.
12dbed73cbSSangeeta Misra#
13dbed73cbSSangeeta Misra# When distributing Covered Code, include this CDDL HEADER in each
14dbed73cbSSangeeta Misra# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15dbed73cbSSangeeta Misra# If applicable, add the following below this CDDL HEADER, with the
16dbed73cbSSangeeta Misra# fields enclosed by brackets "[]" replaced with your own identifying
17dbed73cbSSangeeta Misra# information: Portions Copyright [yyyy] [name of copyright owner]
18dbed73cbSSangeeta Misra#
19dbed73cbSSangeeta Misra# CDDL HEADER END
20dbed73cbSSangeeta Misra#
21dbed73cbSSangeeta Misra#
22a9cb953cSSangeeta Misra# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
23dbed73cbSSangeeta Misra#
24dbed73cbSSangeeta Misra
25dbed73cbSSangeeta MisraLIBRARY =	libilb.a
26dbed73cbSSangeeta MisraVERS =		.1
27dbed73cbSSangeeta Misra
28dbed73cbSSangeeta MisraLIB_OBJS =	ilb_sg.o ilb_comm.o ilb_subr.o ilb_rules.o
29dbed73cbSSangeeta MisraLIB_OBJS +=	ilb_hc.o ilb_nat.o
30dbed73cbSSangeeta Misra
31*3c112a2bSEric TaylorOBJECTS = 	$(LIB_OBJS)
32dbed73cbSSangeeta Misra
33dbed73cbSSangeeta Misrainclude ../../Makefile.lib
34dbed73cbSSangeeta Misra
35dbed73cbSSangeeta MisraLIB_SRCS=	$(LIB_OBJS:%.o=$(SRCDIR)/%.c)
36dbed73cbSSangeeta MisraLIBS =		$(DYNLIB) $(LINTLIB)
37dbed73cbSSangeeta MisraINCS +=		-I../common -I$(SRC)/uts/common
38dbed73cbSSangeeta MisraLDLIBS +=	-lc
39dbed73cbSSangeeta Misra
40dbed73cbSSangeeta MisraSRCDIR =	../common
41dbed73cbSSangeeta Misra$(LINTLIB) :=	SRCS = $(SRCDIR)/$(LINTSRC)
42dbed73cbSSangeeta Misra
43dbed73cbSSangeeta MisraC99MODE =	$(C99_ENABLE)
44dbed73cbSSangeeta Misra
45dbed73cbSSangeeta MisraCFLAGS +=	-mt $(CCVERBOSE)
46dbed73cbSSangeeta MisraCPPFLAGS +=	$(INCS)
47dbed73cbSSangeeta MisraLDLIBS +=	-lsocket
48dbed73cbSSangeeta Misra
49dbed73cbSSangeeta Misra.KEEP_STATE:
50dbed73cbSSangeeta Misra
51dbed73cbSSangeeta Misraall: $(LIBS)
52dbed73cbSSangeeta Misra
53dbed73cbSSangeeta Misralint: $(LIB_SRCS)
54dbed73cbSSangeeta Misra	$(LINT.c) $(LINTCHECKFLAGS) $(LIB_SRCS) $(LDLIBS)
55dbed73cbSSangeeta Misra
56dbed73cbSSangeeta Misrainclude ../../Makefile.targ
57