Merge remote-tracking branch 'origin/master'
[unleashed/lotheac.git] / usr / src / lib / nsswitch / ldap / Makefile.com
bloba8658c296fa6230b84ec6c74e7a1df740ad17686
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
24 #ident  "%Z%%M% %I%     %E% SMI"
26 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
27 # Use is subject to license terms.
29 # lib/nsswitch/ldap/Makefile.com
31 LIBRARY =       libnss_ldap.a
32 VERS =          .1
34 OBJECTS =       getauthattr.o   \
35                 getbootparams.o \
36                 getether.o      \
37                 getexecattr.o   \
38                 getgrent.o      \
39                 gethostent.o    \
40                 gethostent6.o   \
41                 getkeyent.o     \
42                 getnetent.o     \
43                 getnetgrent.o   \
44                 getnetmasks.o   \
45                 getprofattr.o   \
46                 getprojent.o    \
47                 getprotoent.o   \
48                 getpwnam.o      \
49                 getprinter.o    \
50                 getrpcent.o     \
51                 getservent.o    \
52                 getspent.o      \
53                 getuserattr.o   \
54                 ldap_common.o   \
55                 ldap_utils.o
57 # include common nsswitch library definitions.
58 include         ../../Makefile.com
60 CPPFLAGS +=     -I../../../libsldap/common
61 LDLIBS +=       -lsldap -lldap
62 DYNLIB1 =       nss_ldap.so$(VERS)