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