1# 2# CDDL HEADER START 3# 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. 7# 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. 12# 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] 18# 19# CDDL HEADER END 20 21# 22# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 23# Use is subject to license terms. 24# 25 26LIBRARY = libnss_ldap.a 27VERS = .1 28 29OBJECTS = getauthattr.o \ 30 getauuser.o \ 31 getbootparams.o \ 32 getether.o \ 33 getexecattr.o \ 34 getgrent.o \ 35 gethostent.o \ 36 gethostent6.o \ 37 getkeyent.o \ 38 getnetent.o \ 39 getnetgrent.o \ 40 getnetmasks.o \ 41 getprofattr.o \ 42 getprojent.o \ 43 getprotoent.o \ 44 getpwnam.o \ 45 getprinter.o \ 46 getrpcent.o \ 47 getservent.o \ 48 getspent.o \ 49 getuserattr.o \ 50 tsol_getrhent.o \ 51 tsol_gettpent.o \ 52 ldap_common.o \ 53 ldap_utils.o 54 55# include common nsswitch library definitions. 56include ../../Makefile.com 57 58CPPFLAGS += -I../../../libsldap/common 59LDLIBS += -lsldap -lnsl -lldap 60DYNLIB1 = nss_ldap.so$(VERS) 61