Makefile revision 25cf1a301a396c38e8adf52c15f537b80d2483f7
32N/A#
32N/A# CDDL HEADER START
1549N/A#
32N/A# The contents of this file are subject to the terms of the
32N/A# Common Development and Distribution License (the "License").
919N/A# You may not use this file except in compliance with the License.
919N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A#
919N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
32N/A# Use is subject to license terms.
32N/A#
32N/A# ident "%Z%%M% %I% %E% SMI"
32N/A#
493N/A# Platform specific Makefile for libc_psr.
32N/A#
32N/APLATFORM = SUNW,SPARC-Enterprise
1549N/AALT_PLAT = sun4u-opl
32N/ACOMPAT_PLAT = sun4u-us3
911N/ACLASS = 64
1549N/A
1549N/AOBJECTS = memcpy.o memset.o memcmp.o
1549N/A
911N/Ainclude ../Makefile.com
32N/A
851N/AMAPDIR= ../../spec/$(ALT_PLAT)/$(MACH64)
32N/AMAPFILE= $(MAPDIR)/mapfile-$(MACH64)
1124N/AMAPFILES= $(MAPFILE) $(MAPFILE-FLTR)
1124N/AMAPOPTS= $(MAPFILES:%=-M %)
1124N/ADYNFLAGS += $(MAPOPTS)
1124N/ACLOBBERFILES += $(MAPFILE)
1356N/A
1356N/AASDEFS += -D__sparcv9
1356N/AASFLAGS += -xarch=v9b
32N/A
32N/Ainclude $(SRC)/Makefile.master.64
# Redefine shared object build rule to use $(LD) directly (this avoids .init
# and .fini sections being added).
BUILD.SO= $(LD) -o $@ -G $(DYNFLAGS) $(PICS) $(LDLIBS)
$(DYNLIB): $(MAPFILES)
$(MAPFILE):
@cd $(MAPDIR); $(MAKE) `basename $@`
.KEEP_STATE:
MODULE = libc_psr.so.1
LIBC_PSR64_DIR = $(ROOT_PSM_LIB_DIR)/$(MACH64)
LIBC_PSR64_LIB = $(LIBC_PSR64_DIR)/$(MODULE)
$(LIBC_PSR64_DIRS):
-$(INS.dir.root.bin)
all: $(LIBS)
install: all $(LIBC_PSR64_DIR) $(ROOT_PSM_LIB64_DIR)/$(LIBS)
include ../../Makefile.targ