xref: /titanic_54/usr/src/lib/libadutils/Makefile.com (revision 2b4a78020b9c38d1b95e2f3fefa6d6e4be382d1f)
1*2b4a7802SBaban Kenkre#
2*2b4a7802SBaban Kenkre# CDDL HEADER START
3*2b4a7802SBaban Kenkre#
4*2b4a7802SBaban Kenkre# The contents of this file are subject to the terms of the
5*2b4a7802SBaban Kenkre# Common Development and Distribution License (the "License").
6*2b4a7802SBaban Kenkre# You may not use this file except in compliance with the License.
7*2b4a7802SBaban Kenkre#
8*2b4a7802SBaban Kenkre# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*2b4a7802SBaban Kenkre# or http://www.opensolaris.org/os/licensing.
10*2b4a7802SBaban Kenkre# See the License for the specific language governing permissions
11*2b4a7802SBaban Kenkre# and limitations under the License.
12*2b4a7802SBaban Kenkre#
13*2b4a7802SBaban Kenkre# When distributing Covered Code, include this CDDL HEADER in each
14*2b4a7802SBaban Kenkre# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*2b4a7802SBaban Kenkre# If applicable, add the following below this CDDL HEADER, with the
16*2b4a7802SBaban Kenkre# fields enclosed by brackets "[]" replaced with your own identifying
17*2b4a7802SBaban Kenkre# information: Portions Copyright [yyyy] [name of copyright owner]
18*2b4a7802SBaban Kenkre#
19*2b4a7802SBaban Kenkre# CDDL HEADER END
20*2b4a7802SBaban Kenkre#
21*2b4a7802SBaban Kenkre#
22*2b4a7802SBaban Kenkre# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
23*2b4a7802SBaban Kenkre# Use is subject to license terms.
24*2b4a7802SBaban Kenkre#
25*2b4a7802SBaban Kenkre
26*2b4a7802SBaban KenkreLIBRARY =	libadutils.a
27*2b4a7802SBaban KenkreVERS =		.1
28*2b4a7802SBaban KenkreOBJECTS =	adutils.o
29*2b4a7802SBaban KenkreLINT_OBJECTS =	adutils.o
30*2b4a7802SBaban Kenkre
31*2b4a7802SBaban Kenkreinclude ../../Makefile.lib
32*2b4a7802SBaban Kenkre
33*2b4a7802SBaban KenkreLIBS =		$(DYNLIB) $(LINTLIB)
34*2b4a7802SBaban KenkreLDLIBS +=	-lc -lldap -lidmap
35*2b4a7802SBaban KenkreSRCDIR =	../common
36*2b4a7802SBaban Kenkre$(LINTLIB):=	SRCS = $(SRCDIR)/$(LINTSRC)
37*2b4a7802SBaban KenkreIDMAP_PROT_DIR =	$(SRC)/head/rpcsvc
38*2b4a7802SBaban KenkreCFLAGS +=	$(CCVERBOSE)
39*2b4a7802SBaban KenkreCPPFLAGS +=	-D_REENTRANT -I$(SRCDIR) -I$(SRC)/lib/libidmap/common \
40*2b4a7802SBaban Kenkre		-I$(IDMAP_PROT_DIR)
41*2b4a7802SBaban Kenkre
42*2b4a7802SBaban Kenkrelint := OBJECTS = $(LINT_OBJECTS)
43*2b4a7802SBaban Kenkre
44*2b4a7802SBaban Kenkre.KEEP_STATE:
45*2b4a7802SBaban Kenkre
46*2b4a7802SBaban Kenkreall: $(LIBS)
47*2b4a7802SBaban Kenkre
48*2b4a7802SBaban Kenkrelint: lintcheck
49*2b4a7802SBaban Kenkre
50*2b4a7802SBaban Kenkreinclude ../../Makefile.targ
51