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