Makefile revision 24da5b34f49324ed742a340010ed5bd3d4e06625
1N/A#
1N/A# CDDL HEADER START
1N/A#
1N/A# The contents of this file are subject to the terms of the
1N/A# Common Development and Distribution License (the "License").
1N/A# You may not use this file except in compliance with the License.
1N/A#
1N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1N/A# or http://www.opensolaris.org/os/licensing.
1N/A# See the License for the specific language governing permissions
1N/A# and limitations under the License.
1N/A#
1N/A# When distributing Covered Code, include this CDDL HEADER in each
1N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1N/A# If applicable, add the following below this CDDL HEADER, with the
1N/A# fields enclosed by brackets "[]" replaced with your own identifying
1N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1N/A#
1N/A# CDDL HEADER END
1N/A#
1N/A#
1N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
1N/A# Use is subject to license terms.
1N/A#
1N/A# ident "%Z%%M% %I% %E% SMI"
1N/A#
1N/A
1N/A#
1N/A# Platform specific Makefile for libc_psr.
1N/A#
1N/A
1N/ACLASS = 32
1N/APLATFORM = sun4u
1N/A
1N/AOBJECTS = memcpy.o memset.o memcmp.o
1N/A
1N/Ainclude ../Makefile.com
1N/A
1N/AASFLAGS += -xarch=v8plusa -warn
1N/A
1N/A# Redefine shared object build rule to use $(LD) directly (this avoids .init
1N/A# and .fini sections being added).
1N/A
1N/ABUILD.SO= $(LD) -o $@ -G $(DYNFLAGS) $(PICS) $(LDLIBS)
1N/A
1N/A.KEEP_STATE:
1N/A
1N/AMODULE = libc_psr.so.1
1N/ALIBC_PSR_DIRS = $(LINKED_PLATFORMS:%=$(ROOT_PLAT_DIR)/%/lib)
1N/ALIBC_PSR_LINKS = $(LINKED_PLATFORMS:%=$(ROOT_PLAT_DIR)/%/lib/$(MODULE))
1N/AINS.slink6 = $(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/lib/$(MODULE) $@ $(CHOWNLINK) $(CHGRPLINK)
1N/A
1N/A$(LIBC_PSR_DIRS):
1N/A -$(INS.dir.root.bin)
1N/A
1N/A$(LIBC_PSR_LINKS): $(LIBC_PSR_DIRS)
1N/A -$(INS.slink6)
1N/A
1N/Aall: $(LIBS)
1N/A
1N/Ainstall: all $(LIBC_PSR_LINKS) $(ROOT_PSM_LIBS)
1N/A
1N/Ainclude ../../Makefile.targ
1N/A