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