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