Makefile revision 48bc00d6814e04ff3edb32cafe7d1bc580baff68
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg#
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg# CDDL HEADER START
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg#
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg# The contents of this file are subject to the terms of the
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg# Common Development and Distribution License (the "License").
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg# You may not use this file except in compliance with the License.
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg#
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg# or http://www.opensolaris.org/os/licensing.
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg# See the License for the specific language governing permissions
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg# and limitations under the License.
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg#
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg# When distributing Covered Code, include this CDDL HEADER in each
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0662ed52e814f8f08ef0e09956413a792584eddffuankg# If applicable, add the following below this CDDL HEADER, with the
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg# fields enclosed by brackets "[]" replaced with your own identifying
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg# information: Portions Copyright [yyyy] [name of copyright owner]
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg#
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg# CDDL HEADER END
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg#
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg#
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
4fbd71b56ec5cc48f64b6bea20154bfcce857944fuankg# Use is subject to license terms.
4fbd71b56ec5cc48f64b6bea20154bfcce857944fuankg#
4fbd71b56ec5cc48f64b6bea20154bfcce857944fuankg
4fbd71b56ec5cc48f64b6bea20154bfcce857944fuankg#
4fbd71b56ec5cc48f64b6bea20154bfcce857944fuankg# Platform specific Makefile for libc_psr_hwcap2.
4fbd71b56ec5cc48f64b6bea20154bfcce857944fuankg#
4fbd71b56ec5cc48f64b6bea20154bfcce857944fuankg
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgPLATFORM = sun4u-us3
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgALT_PLAT = sun4u_hwcap2
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgCOMPAT_PLAT = sun4u
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgCLASS = 64
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgOBJECTS = memcpy.o memset.o memcmp.o
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankginclude ../Makefile.com
16b55a35cff91315d261d1baa776138af465c4e4fuankg
16b55a35cff91315d261d1baa776138af465c4e4fuankgASDEFS += -D__sparcv9
44f575c8cb19a7a5cd61664a7848be6bc197df02fuankgASFLAGS += -xarch=v9b
44f575c8cb19a7a5cd61664a7848be6bc197df02fuankg
44f575c8cb19a7a5cd61664a7848be6bc197df02fuankginclude $(SRC)/Makefile.master.64
44f575c8cb19a7a5cd61664a7848be6bc197df02fuankg
16b55a35cff91315d261d1baa776138af465c4e4fuankg# Redefine shared object build rule to use $(LD) directly (this avoids .init
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg# and .fini sections being added).
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgBUILD.SO= $(LD) -o $@ -G $(DYNFLAGS) $(PICS) $(LDLIBS)
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg.KEEP_STATE:
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgMODULE = libc_psr_hwcap2.so.1
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgLIBC_PSR64_DIR = $(ROOT_PSM_LIB_DIR)/$(MACH64)/libc_psr
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgLIBC_PSR64_LIB = $(LIBC_PSR64_DIR)/$(MODULE)
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgINS.libc.64 = $(RM) -r $@; $(INS) -f $(@D) $(MODULE)
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg$(LIBC_PSR64_DIR):
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg -$(INS.dir)
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg$(LIBC_PSR64_LIB): $(LIBC_PSR64_DIR) $(MODULE)
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg -$(INS.libc.64)
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankgall: $(LIBS)
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankginstall: all $(LIBC_PSR64_LIB)
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankginclude ../../Makefile.targ
fc1365b60fa715841c959c6b91c7ed83884ba3fcfuankg