Makefile revision 24da5b34f49324ed742a340010ed5bd3d4e06625
eed2a23d9b5986937f1e2b1c120be97744508a72nd#
b51bf223f42d43ca6b1b33c95124edcfa5a871a4nd# CDDL HEADER START
9963f91528694fb21e93da8584c31f226c6de97akess#
eed2a23d9b5986937f1e2b1c120be97744508a72nd# The contents of this file are subject to the terms of the
eed2a23d9b5986937f1e2b1c120be97744508a72nd# Common Development and Distribution License (the "License").
031b91a62d25106ae69d4693475c79618dd5e884fielding# You may not use this file except in compliance with the License.
031b91a62d25106ae69d4693475c79618dd5e884fielding#
031b91a62d25106ae69d4693475c79618dd5e884fielding# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
031b91a62d25106ae69d4693475c79618dd5e884fielding# or http://www.opensolaris.org/os/licensing.
031b91a62d25106ae69d4693475c79618dd5e884fielding# See the License for the specific language governing permissions
031b91a62d25106ae69d4693475c79618dd5e884fielding# and limitations under the License.
eed2a23d9b5986937f1e2b1c120be97744508a72nd#
eed2a23d9b5986937f1e2b1c120be97744508a72nd# When distributing Covered Code, include this CDDL HEADER in each
eed2a23d9b5986937f1e2b1c120be97744508a72nd# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
eed2a23d9b5986937f1e2b1c120be97744508a72nd# If applicable, add the following below this CDDL HEADER, with the
eed2a23d9b5986937f1e2b1c120be97744508a72nd# fields enclosed by brackets "[]" replaced with your own identifying
eed2a23d9b5986937f1e2b1c120be97744508a72nd# information: Portions Copyright [yyyy] [name of copyright owner]
eed2a23d9b5986937f1e2b1c120be97744508a72nd#
eed2a23d9b5986937f1e2b1c120be97744508a72nd# CDDL HEADER END
eed2a23d9b5986937f1e2b1c120be97744508a72nd#
eed2a23d9b5986937f1e2b1c120be97744508a72nd#
eed2a23d9b5986937f1e2b1c120be97744508a72nd# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
eed2a23d9b5986937f1e2b1c120be97744508a72nd# Use is subject to license terms.
eed2a23d9b5986937f1e2b1c120be97744508a72nd#
eed2a23d9b5986937f1e2b1c120be97744508a72nd# ident "%Z%%M% %I% %E% SMI"
eed2a23d9b5986937f1e2b1c120be97744508a72nd#
54c42060da90b1e584f6af6a349f964d44c6c740nd
54c42060da90b1e584f6af6a349f964d44c6c740nd#
54c42060da90b1e584f6af6a349f964d44c6c740nd# Platform specific Makefile for libc_psr.
54c42060da90b1e584f6af6a349f964d44c6c740nd#
54c42060da90b1e584f6af6a349f964d44c6c740nd
54c42060da90b1e584f6af6a349f964d44c6c740ndPLATFORM = sun4v
54c42060da90b1e584f6af6a349f964d44c6c740ndALT_PLAT = sun4v_hwcap1
61d237f7e3a54089a7514227d663fac296d7d8f0bnicholesCLASS = 32
0ee353fc9305065b15fb5064c5357f47380c0b6and
61d237f7e3a54089a7514227d663fac296d7d8f0bnicholesOBJECTS = memcpy.o memset.o
61d237f7e3a54089a7514227d663fac296d7d8f0bnicholes
61d237f7e3a54089a7514227d663fac296d7d8f0bnicholesinclude ../Makefile.com
61d237f7e3a54089a7514227d663fac296d7d8f0bnicholes
61d237f7e3a54089a7514227d663fac296d7d8f0bnicholesASFLAGS += -xarch=v8plus
61d237f7e3a54089a7514227d663fac296d7d8f0bnicholes
61d237f7e3a54089a7514227d663fac296d7d8f0bnicholes# Redefine shared object build rule to use $(LD) directly (this avoids .init
61d237f7e3a54089a7514227d663fac296d7d8f0bnicholes# and .fini sections being added).
61d237f7e3a54089a7514227d663fac296d7d8f0bnicholes
61d237f7e3a54089a7514227d663fac296d7d8f0bnicholesBUILD.SO= $(LD) -o $@ -G $(DYNFLAGS) $(PICS) $(LDLIBS)
61d237f7e3a54089a7514227d663fac296d7d8f0bnicholes
61d237f7e3a54089a7514227d663fac296d7d8f0bnicholes.KEEP_STATE:
61d237f7e3a54089a7514227d663fac296d7d8f0bnicholes
61d237f7e3a54089a7514227d663fac296d7d8f0bnicholesMODULE = libc_psr_hwcap1.so.1
61d237f7e3a54089a7514227d663fac296d7d8f0bnicholesLIBC_PSR_DIR = $(ROOT_PSM_LIB_DIR)/libc_psr
61d237f7e3a54089a7514227d663fac296d7d8f0bnicholesLIBC_PSR_LIB = $(LIBC_PSR_DIR)/$(MODULE)
61d237f7e3a54089a7514227d663fac296d7d8f0bnicholesINS.libc = $(RM) -r $@; $(INS) -s -m $(FILEMODE) -f $(@D) $(MODULE)
2253eb4c6e7a037e78c84e13658e23632b46ed9dlgentis
61d237f7e3a54089a7514227d663fac296d7d8f0bnicholes$(LIBC_PSR_DIR):
2253eb4c6e7a037e78c84e13658e23632b46ed9dlgentis -$(INS.dir.root.bin)
61d237f7e3a54089a7514227d663fac296d7d8f0bnicholes
61d237f7e3a54089a7514227d663fac296d7d8f0bnicholes$(LIBC_PSR_LIB): $(LIBC_PSR_DIR) $(MODULE)
61d237f7e3a54089a7514227d663fac296d7d8f0bnicholes -$(INS.libc)
61d237f7e3a54089a7514227d663fac296d7d8f0bnicholes
61d237f7e3a54089a7514227d663fac296d7d8f0bnicholesall: $(LIBS)
61d237f7e3a54089a7514227d663fac296d7d8f0bnicholes
2253eb4c6e7a037e78c84e13658e23632b46ed9dlgentisinstall: all $(LIBC_PSR_LIB)
61d237f7e3a54089a7514227d663fac296d7d8f0bnicholes
61d237f7e3a54089a7514227d663fac296d7d8f0bnicholesinclude ../../Makefile.targ
61d237f7e3a54089a7514227d663fac296d7d8f0bnicholes