xref: /titanic_53/usr/src/lib/libadutils/Makefile.com (revision 9b214d32697277d03ed2e5d98c4a7bfef16dcf4d)
12b4a7802SBaban Kenkre#
22b4a7802SBaban Kenkre# CDDL HEADER START
32b4a7802SBaban Kenkre#
42b4a7802SBaban Kenkre# The contents of this file are subject to the terms of the
52b4a7802SBaban Kenkre# Common Development and Distribution License (the "License").
62b4a7802SBaban Kenkre# You may not use this file except in compliance with the License.
72b4a7802SBaban Kenkre#
82b4a7802SBaban Kenkre# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
92b4a7802SBaban Kenkre# or http://www.opensolaris.org/os/licensing.
102b4a7802SBaban Kenkre# See the License for the specific language governing permissions
112b4a7802SBaban Kenkre# and limitations under the License.
122b4a7802SBaban Kenkre#
132b4a7802SBaban Kenkre# When distributing Covered Code, include this CDDL HEADER in each
142b4a7802SBaban Kenkre# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
152b4a7802SBaban Kenkre# If applicable, add the following below this CDDL HEADER, with the
162b4a7802SBaban Kenkre# fields enclosed by brackets "[]" replaced with your own identifying
172b4a7802SBaban Kenkre# information: Portions Copyright [yyyy] [name of copyright owner]
182b4a7802SBaban Kenkre#
192b4a7802SBaban Kenkre# CDDL HEADER END
202b4a7802SBaban Kenkre#
212b4a7802SBaban Kenkre#
227a8a68f5SJulian Pullen# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
232b4a7802SBaban Kenkre# Use is subject to license terms.
242b4a7802SBaban Kenkre#
252b4a7802SBaban Kenkre
262b4a7802SBaban KenkreLIBRARY =	libadutils.a
272b4a7802SBaban KenkreVERS =		.1
287a8a68f5SJulian PullenOBJECTS =	adutils.o addisc.o
297a8a68f5SJulian PullenLINT_OBJECTS =	adutils.o addisc.o
302b4a7802SBaban Kenkre
312b4a7802SBaban Kenkreinclude ../../Makefile.lib
322b4a7802SBaban Kenkre
332b4a7802SBaban KenkreLIBS =		$(DYNLIB) $(LINTLIB)
347a8a68f5SJulian PullenLDLIBS +=	-lc -lldap -lresolv -lsocket -lnsl
352b4a7802SBaban KenkreSRCDIR =	../common
362b4a7802SBaban Kenkre$(LINTLIB):=	SRCS = $(SRCDIR)/$(LINTSRC)
377a8a68f5SJulian Pullen
382b4a7802SBaban KenkreCFLAGS +=	$(CCVERBOSE)
39*9b214d32SJordan BrownCPPFLAGS +=	-D_REENTRANT -I$(SRCDIR)
402b4a7802SBaban Kenkre
412b4a7802SBaban Kenkrelint := OBJECTS = $(LINT_OBJECTS)
422b4a7802SBaban Kenkre
432b4a7802SBaban Kenkre.KEEP_STATE:
442b4a7802SBaban Kenkre
45*9b214d32SJordan Brownall: $(LIBS)
462b4a7802SBaban Kenkre
472b4a7802SBaban Kenkrelint: lintcheck
482b4a7802SBaban Kenkre
497a8a68f5SJulian PullenLINTFLAGS += -erroff=E_CONSTANT_CONDITION
507a8a68f5SJulian PullenLINTFLAGS64 += -erroff=E_CONSTANT_CONDITION
517a8a68f5SJulian Pullen
522b4a7802SBaban Kenkreinclude ../../Makefile.targ
53