Makefile.com revision 7b1b42816975f5b0069dff7932115ba672ad125c
#
# 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
#
#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
VERS= .1
# objects are listed by source directory
# common utility code used in more than one directory
NSS= \
NSL= \
WRAPPERS= \
RPC= \
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.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)
# Make string literals read-only to save memory.
LINTFLAGS64 += -m -DPORTMAP
# Don't lint WRAPPERS as they are explicitly unclean
lint:
# include library targets
include ../../Makefile.targ