xref: /illumos-gate/usr/src/lib/nsswitch/nis/Makefile.com (revision f012ee0c3db17469b492c2cf757226f3d7b1ebbc)
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 2006 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24#
25# ident	"%Z%%M%	%I%	%E% SMI"
26#
27# lib/nsswitch/nis/Makefile.com
28
29LIBRARY =	libnss_nis.a
30VERS =		.1
31
32OBJECTS =	bootparams_getbyname.o	\
33		ether_addr.o		\
34		getauthattr.o		\
35		getauuser.o		\
36		getexecattr.o		\
37		getgrent.o		\
38		gethostent.o		\
39		gethostent6.o		\
40		getnetent.o		\
41		getnetgrent.o		\
42		getprinter.o		\
43		getprofattr.o		\
44		getprojent.o		\
45		getprotoent.o		\
46		getpwnam.o		\
47		getrpcent.o		\
48		getservent.o		\
49		getspent.o		\
50		getuserattr.o		\
51		netmasks.o		\
52		nis_common.o
53
54# include common nsswitch library definitions.
55include		../../Makefile.com
56
57# install this library in the root filesystem
58include ../../../Makefile.rootfs
59
60LINTFLAGS +=	-erroff=E_GLOBAL_COULD_BE_STATIC2
61LINTFLAGS64 +=	-erroff=E_GLOBAL_COULD_BE_STATIC2
62
63LDLIBS +=	-lnsl -lsocket
64DYNLIB1 =	nss_nis.so$(VERS)
65