#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
#
VERS= .1
# objects are listed by source directory
# common utility code used in more than one directory
NSS= \
NSL= \
XPOL= \
WRAPPERS= \
YP= \
NIS_GEN= \
# libnsl build rules
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.c) -o $@ $<
$(COMPILE.cc) -o $@ $<
# include library definitions
include ../../Makefile.lib
# install this library in the root filesystem
include ../../Makefile.rootfs
# Override the position-independent code generation flags.
#
# These files are particularly rich with references to global things.
# Ordering is by number of got references per file of files that have
# non-performance sensitive code in them.
#
# If you need to add more files and the GOT overflows with "pic" items,
# then use the environment variable LD_OPTIONS=-Dgot,detail to have the
# linker print out the list of GOT hogs..
# Compile C++ code without exceptions to avoid a dependence on libC.
CCFLAGS += $(NOEXCEPTIONS)
CCFLAGS64 += $(NOEXCEPTIONS)
# libmd is not required for the export source product. $(ZIGNORE)
# suppresses this dependency from being recorded when the dependency
# has not been referenced.
LINTFLAGS64 += -m -DPORTMAP
# Don't lint WRAPPERS as they are explicitly unclean
# The following objects are unused. Refer to comments in Makefile.master.
UNUSEDFILES = $(UNUSEDNSSOBJS:%.o=../nss/%.c)
lint:
# include library targets
include ../../Makefile.targ