1*2b4a7802SBaban Kenkre# 2*2b4a7802SBaban Kenkre# CDDL HEADER START 3*2b4a7802SBaban Kenkre# 4*2b4a7802SBaban Kenkre# The contents of this file are subject to the terms of the 5*2b4a7802SBaban Kenkre# Common Development and Distribution License (the "License"). 6*2b4a7802SBaban Kenkre# You may not use this file except in compliance with the License. 7*2b4a7802SBaban Kenkre# 8*2b4a7802SBaban Kenkre# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*2b4a7802SBaban Kenkre# or http://www.opensolaris.org/os/licensing. 10*2b4a7802SBaban Kenkre# See the License for the specific language governing permissions 11*2b4a7802SBaban Kenkre# and limitations under the License. 12*2b4a7802SBaban Kenkre# 13*2b4a7802SBaban Kenkre# When distributing Covered Code, include this CDDL HEADER in each 14*2b4a7802SBaban Kenkre# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*2b4a7802SBaban Kenkre# If applicable, add the following below this CDDL HEADER, with the 16*2b4a7802SBaban Kenkre# fields enclosed by brackets "[]" replaced with your own identifying 17*2b4a7802SBaban Kenkre# information: Portions Copyright [yyyy] [name of copyright owner] 18*2b4a7802SBaban Kenkre# 19*2b4a7802SBaban Kenkre# CDDL HEADER END 20*2b4a7802SBaban Kenkre# 21*2b4a7802SBaban Kenkre 22*2b4a7802SBaban Kenkre# 23*2b4a7802SBaban Kenkre# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 24*2b4a7802SBaban Kenkre# Use is subject to license terms. 25*2b4a7802SBaban Kenkre# 26*2b4a7802SBaban Kenkre# lib/nsswitch/ad/Makefile.com 27*2b4a7802SBaban Kenkre 28*2b4a7802SBaban KenkreLIBRARY = libnss_ad.a 29*2b4a7802SBaban KenkreVERS = .1 30*2b4a7802SBaban KenkreOBJECTS = getpwnam.o getspent.o getgrent.o ad_common.o 31*2b4a7802SBaban KenkreIDMAP_PROT_DIR = $(SRC)/head/rpcsvc 32*2b4a7802SBaban Kenkre 33*2b4a7802SBaban Kenkre# include common nsswitch library definitions. 34*2b4a7802SBaban Kenkreinclude ../../Makefile.com 35*2b4a7802SBaban Kenkre 36*2b4a7802SBaban KenkreCPPFLAGS += -I../../../libadutils/common -I../../../libidmap/common \ 37*2b4a7802SBaban Kenkre -I$(IDMAP_PROT_DIR) 38*2b4a7802SBaban KenkreLDLIBS += -ladutils -lidmap 39*2b4a7802SBaban KenkreDYNLIB1 = nss_ad.so$(VERS) 40