xref: /titanic_44/usr/src/lib/nsswitch/ldap/Makefile.com (revision b4625e144349c1ef903a75b1ba2cead8d2bb5d7e)
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#
23#
24#ident	"%Z%%M%	%I%	%E% SMI"
25#
26# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
27# Use is subject to license terms.
28#
29# lib/nsswitch/ldap/Makefile.com
30
31LIBRARY =	libnss_ldap.a
32VERS =		.1
33
34OBJECTS =	getauthattr.o	\
35		getauuser.o	\
36		getbootparams.o	\
37		getether.o	\
38		getexecattr.o	\
39		getgrent.o	\
40		gethostent.o	\
41		gethostent6.o	\
42		getkeyent.o	\
43		getnetent.o	\
44		getnetgrent.o	\
45		getnetmasks.o	\
46		getprofattr.o	\
47		getprojent.o	\
48		getprotoent.o	\
49		getpwnam.o	\
50		getprinter.o	\
51		getrpcent.o	\
52		getservent.o	\
53		getspent.o	\
54		getuserattr.o	\
55		tsol_getrhent.o	\
56		tsol_gettpent.o	\
57		ldap_common.o	\
58		ldap_utils.o
59
60# include common nsswitch library definitions.
61include		../../Makefile.com
62
63CPPFLAGS +=	-I../../../libsldap/common
64DYNFLAGS +=	$(BDIRECT)
65LDLIBS +=	-lsldap -lnsl -lsocket -lldap
66LINTFLAGS +=	-erroff=E_GLOBAL_COULD_BE_STATIC2
67LINTFLAGS64 +=	-erroff=E_GLOBAL_COULD_BE_STATIC2
68DYNLIB1 =	nss_ldap.so$(VERS)
69