10Sstevel@tonic-gate# 20Sstevel@tonic-gate# CDDL HEADER START 30Sstevel@tonic-gate# 40Sstevel@tonic-gate# The contents of this file are subject to the terms of the 51676Sjpk# Common Development and Distribution License (the "License"). 61676Sjpk# You may not use this file except in compliance with the License. 70Sstevel@tonic-gate# 80Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 90Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 100Sstevel@tonic-gate# See the License for the specific language governing permissions 110Sstevel@tonic-gate# and limitations under the License. 120Sstevel@tonic-gate# 130Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 140Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 150Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 160Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 170Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 180Sstevel@tonic-gate# 190Sstevel@tonic-gate# CDDL HEADER END 201676Sjpk 211676Sjpk 220Sstevel@tonic-gate# 230Sstevel@tonic-gate# 240Sstevel@tonic-gate#ident "%Z%%M% %I% %E% SMI" 250Sstevel@tonic-gate# 26*5905Srie# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 271676Sjpk# Use is subject to license terms. 280Sstevel@tonic-gate# 290Sstevel@tonic-gate# lib/nsswitch/ldap/Makefile.com 300Sstevel@tonic-gate 310Sstevel@tonic-gateLIBRARY = libnss_ldap.a 320Sstevel@tonic-gateVERS = .1 330Sstevel@tonic-gate 340Sstevel@tonic-gateOBJECTS = getauthattr.o \ 350Sstevel@tonic-gate getauuser.o \ 360Sstevel@tonic-gate getbootparams.o \ 370Sstevel@tonic-gate getether.o \ 380Sstevel@tonic-gate getexecattr.o \ 390Sstevel@tonic-gate getgrent.o \ 400Sstevel@tonic-gate gethostent.o \ 410Sstevel@tonic-gate gethostent6.o \ 420Sstevel@tonic-gate getkeyent.o \ 430Sstevel@tonic-gate getnetent.o \ 440Sstevel@tonic-gate getnetgrent.o \ 450Sstevel@tonic-gate getnetmasks.o \ 460Sstevel@tonic-gate getprofattr.o \ 470Sstevel@tonic-gate getprojent.o \ 480Sstevel@tonic-gate getprotoent.o \ 490Sstevel@tonic-gate getpwnam.o \ 500Sstevel@tonic-gate getprinter.o \ 510Sstevel@tonic-gate getrpcent.o \ 520Sstevel@tonic-gate getservent.o \ 530Sstevel@tonic-gate getspent.o \ 540Sstevel@tonic-gate getuserattr.o \ 551676Sjpk tsol_getrhent.o \ 561676Sjpk tsol_gettpent.o \ 570Sstevel@tonic-gate ldap_common.o \ 580Sstevel@tonic-gate ldap_utils.o 590Sstevel@tonic-gate 600Sstevel@tonic-gate# include common nsswitch library definitions. 610Sstevel@tonic-gateinclude ../../Makefile.com 620Sstevel@tonic-gate 630Sstevel@tonic-gateCPPFLAGS += -I../../../libsldap/common 640Sstevel@tonic-gateLDLIBS += -lsldap -lnsl -lsocket -lldap 652830SdjlLINTFLAGS += -erroff=E_GLOBAL_COULD_BE_STATIC2 662830SdjlLINTFLAGS64 += -erroff=E_GLOBAL_COULD_BE_STATIC2 670Sstevel@tonic-gateDYNLIB1 = nss_ldap.so$(VERS) 68