Merge remote-tracking branch 'origin/master'
[unleashed/lotheac.git] / usr / src / lib / libadutils / Makefile.com
blob2eae41a896eb4f8e14f46e30099e2f208d204786
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 2009 Sun Microsystems, Inc.  All rights reserved.
23 # Use is subject to license terms.
25 # Copyright 2014 Nexenta Systems, Inc.  All rights reserved.
27 # Copyright (c) 2018, Joyent, Inc.
29 LIBRARY =       libadutils.a
30 VERS =          .1
31 OBJECTS =       adutils.o addisc.o adutils_threadfuncs.o \
32                 ldap_ping.o srv_query.o
34 include ../../Makefile.lib
36 CSTD=   $(CSTD_GNU99)
38 LIBS =          $(DYNLIB)
39 LDLIBS +=       -lldap -lresolv -lc
40 SRCDIR =        ../common
42 CPPFLAGS +=     -I$(SRCDIR)
43 CPPFLAGS +=     -I$(SRC)/lib/libldap5/include/ldap
45 CERRWARN +=     -Wno-type-limits
46 CERRWARN +=     -Wno-uninitialized
48 # not linted
49 SMATCH=off
51 .KEEP_STATE:
53 all: $(LIBS)
55 include ../../Makefile.targ