xref: /illumos-gate/usr/src/lib/libadutils/Makefile.com (revision 241c90a06e8d1708235651863df515a2d522a03a)
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#
25b3700b07SGordon Ross# Copyright 2014 Nexenta Systems, Inc.  All rights reserved.
26b3700b07SGordon Ross#
2705ede3dbSJohn Levon# Copyright (c) 2018, Joyent, Inc.
282b4a7802SBaban Kenkre
292b4a7802SBaban KenkreLIBRARY =	libadutils.a
302b4a7802SBaban KenkreVERS =		.1
31b3700b07SGordon RossOBJECTS =	adutils.o addisc.o adutils_threadfuncs.o \
32b3700b07SGordon Ross		ldap_ping.o srv_query.o
332b4a7802SBaban Kenkre
342b4a7802SBaban Kenkreinclude ../../Makefile.lib
352b4a7802SBaban Kenkre
36bd0ce624SYuri PankovCSTD=	$(CSTD_GNU99)
37bd428526SJulian Pullen
38*241c90a0SRichard LoweLIBS =		$(DYNLIB)
39b3700b07SGordon RossLDLIBS +=	-lldap -lresolv -lsocket -lnsl -lc
402b4a7802SBaban KenkreSRCDIR =	../common
417a8a68f5SJulian Pullen
422b4a7802SBaban KenkreCFLAGS +=	$(CCVERBOSE)
43b3700b07SGordon RossCPPFLAGS +=	-D_REENTRANT -I$(SRCDIR)
44b3700b07SGordon RossCPPFLAGS +=	-I$(SRC)/lib/libldap5/include/ldap
452b4a7802SBaban Kenkre
467014882cSRichard LoweCERRWARN +=	-_gcc=-Wno-type-limits
47d3b5f563SJohn LevonCERRWARN +=	$(CNOWARN_UNINIT)
487014882cSRichard Lowe
4905ede3dbSJohn Levon# not linted
5005ede3dbSJohn LevonSMATCH=off
5105ede3dbSJohn Levon
522b4a7802SBaban Kenkre.KEEP_STATE:
532b4a7802SBaban Kenkre
549b214d32SJordan Brownall: $(LIBS)
552b4a7802SBaban Kenkre
562b4a7802SBaban Kenkre
577a8a68f5SJulian Pullen
582b4a7802SBaban Kenkreinclude ../../Makefile.targ
59