Makefile revision 0bb073995ac5a95bd35f2dd790df1ea3d8c2d507
486N/A#
486N/A# CDDL HEADER START
486N/A#
486N/A# The contents of this file are subject to the terms of the
486N/A# Common Development and Distribution License (the "License").
486N/A# You may not use this file except in compliance with the License.
486N/A#
486N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
486N/A# or http://www.opensolaris.org/os/licensing.
486N/A# See the License for the specific language governing permissions
486N/A# and limitations under the License.
486N/A#
486N/A# When distributing Covered Code, include this CDDL HEADER in each
486N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
486N/A# If applicable, add the following below this CDDL HEADER, with the
486N/A# fields enclosed by brackets "[]" replaced with your own identifying
486N/A# information: Portions Copyright [yyyy] [name of copyright owner]
486N/A#
486N/A# CDDL HEADER END
873N/A#
486N/A#
486N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
486N/A# Use is subject to license terms.
486N/A#
486N/A#
3233N/A# Platform specific Makefile for libc_psr.
486N/A#
486N/A
619N/APLATFORM = sun4v
619N/ACLASS = 64
619N/A
619N/AOBJECTS = memcpy.o memset.o
619N/A
3488N/Ainclude ../Makefile.com
619N/A
619N/AASDEFS += -D__sparcv9
619N/AASFLAGS += -xarch=v9a
619N/A
619N/Ainclude $(SRC)/Makefile.master.64
619N/A
619N/A# Redefine shared object build rule to use $(LD) directly (this avoids .init
619N/A# and .fini sections being added).
486N/A
486N/ABUILD.SO = $(LD) -o $@ -G $(DYNFLAGS) $(PICS) $(LDLIBS)
486N/A
486N/A.KEEP_STATE:
486N/A
486N/AMODULE = libc_psr_hwcap2.so.1
486N/ALIBC_PSR64_DIR = $(ROOT_PSM_LIB_DIR)/$(MACH64)/libc_psr
486N/ALIBC_PSR64_LIB = $(LIBC_PSR64_DIR)/$(MODULE)
536N/AINS.libc.64 = $(RM) -r $@; $(INS) -m $(FILEMODE) -f $(@D) $(MODULE)
2976N/A
2976N/A$(LIBC_PSR64_DIR):
536N/A -$(INS.dir.root.bin)
2976N/A
2976N/A$(LIBC_PSR64_LIB): $(LIBC_PSR64_DIR) $(MODULE)
2976N/A -$(INS.libc.64)
2976N/A
2976N/Aall: $(LIBS)
2976N/A
1181N/Ainstall: all $(LIBC_PSR64_LIB)
2976N/A
1181N/Ainclude ../../Makefile.targ
536N/A