Makefile revision 48bc00d6814e04ff3edb32cafe7d1bc580baff68
ea3aa401bc74d34560af190a4009d436054d1bfaMark Andrews#
ea3aa401bc74d34560af190a4009d436054d1bfaMark Andrews# CDDL HEADER START
ea3aa401bc74d34560af190a4009d436054d1bfaMark Andrews#
ea3aa401bc74d34560af190a4009d436054d1bfaMark Andrews# The contents of this file are subject to the terms of the
ea3aa401bc74d34560af190a4009d436054d1bfaMark Andrews# Common Development and Distribution License (the "License").
6444de08d1aacf7396663b7a82d62eedf534c3d7Mark Andrews# You may not use this file except in compliance with the License.
6444de08d1aacf7396663b7a82d62eedf534c3d7Mark Andrews#
6444de08d1aacf7396663b7a82d62eedf534c3d7Mark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont# or http://www.opensolaris.org/os/licensing.
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont# See the License for the specific language governing permissions
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont# and limitations under the License.
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont#
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont# When distributing Covered Code, include this CDDL HEADER in each
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont# If applicable, add the following below this CDDL HEADER, with the
fc63119c8b7aa8827fad9e3e45e50c69bc2630e8Francis Dupont# fields enclosed by brackets "[]" replaced with your own identifying
fc63119c8b7aa8827fad9e3e45e50c69bc2630e8Francis Dupont# information: Portions Copyright [yyyy] [name of copyright owner]
fc63119c8b7aa8827fad9e3e45e50c69bc2630e8Francis Dupont#
fc63119c8b7aa8827fad9e3e45e50c69bc2630e8Francis Dupont# CDDL HEADER END
d040fa2f1c9c3045420ee25933b699290ab19250Mark Andrews#
d040fa2f1c9c3045420ee25933b699290ab19250Mark Andrews#
0155ecba77787bc625ef926cdc856829fc22133cTinderbox User# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont# Use is subject to license terms.
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont#
092d3b76db6b93b8029bd7d083e74fc80fb41858Mark Andrews
92384667ff3bc059237849b3afd4c715c9164435Evan Hunt#
92384667ff3bc059237849b3afd4c715c9164435Evan Hunt# Platform specific Makefile for libc_psr_hwcap2.
13fe015cbfab3019ded0def054a1b09159bb3101Evan Hunt#
13fe015cbfab3019ded0def054a1b09159bb3101Evan Hunt
64d715c22acbed195703bb9b96aac2b938a83de2Mark AndrewsPLATFORM = sun4u-us3
64d715c22acbed195703bb9b96aac2b938a83de2Mark AndrewsALT_PLAT = sun4u_hwcap2
3230429e175dcaafe9c59967124d44c02ca0ccadEvan HuntCOMPAT_PLAT = sun4u
3230429e175dcaafe9c59967124d44c02ca0ccadEvan HuntCLASS = 32
3230429e175dcaafe9c59967124d44c02ca0ccadEvan Hunt
3230429e175dcaafe9c59967124d44c02ca0ccadEvan HuntOBJECTS = memcpy.o memset.o memcmp.o
3230429e175dcaafe9c59967124d44c02ca0ccadEvan Hunt
3230429e175dcaafe9c59967124d44c02ca0ccadEvan Huntinclude ../Makefile.com
3230429e175dcaafe9c59967124d44c02ca0ccadEvan Hunt
3230429e175dcaafe9c59967124d44c02ca0ccadEvan HuntASFLAGS += -xarch=v8plusb
3230429e175dcaafe9c59967124d44c02ca0ccadEvan Hunt
c4f54e5bd1cd09f601252627b5b26768ab797742Evan Hunt# Redefine shared object build rule to use $(LD) directly (this avoids .init
4ccffa13aa1f87d8d3dbdf7a74cf29b1c323ad52Tinderbox User# and .fini sections being added).
3230429e175dcaafe9c59967124d44c02ca0ccadEvan Hunt
e32d354f754a5d7847a0862bcd6302827ea225bfEvan HuntBUILD.SO= $(LD) -o $@ -G $(DYNFLAGS) $(PICS) $(LDLIBS)
e32d354f754a5d7847a0862bcd6302827ea225bfEvan Hunt
e32d354f754a5d7847a0862bcd6302827ea225bfEvan Hunt.KEEP_STATE:
e32d354f754a5d7847a0862bcd6302827ea225bfEvan Hunt
aee6c351d3b517f3e6a4ddf770606617fd42015bTinderbox UserMODULE = libc_psr_hwcap2.so.1
e32d354f754a5d7847a0862bcd6302827ea225bfEvan HuntLIBC_PSR_DIR = $(ROOT_PSM_LIB_DIR)/libc_psr
e32d354f754a5d7847a0862bcd6302827ea225bfEvan HuntLIBC_PSR_LIB = $(LIBC_PSR_DIR)/$(MODULE)
c4abb197160a74f7cd4ad23ebc63fbe0194010abEvan HuntINS.libc = $(RM) -r $@; $(INS) -s -f $(@D) $(MODULE)
c4abb197160a74f7cd4ad23ebc63fbe0194010abEvan Hunt
c4abb197160a74f7cd4ad23ebc63fbe0194010abEvan Hunt$(LIBC_PSR_DIR):
c4abb197160a74f7cd4ad23ebc63fbe0194010abEvan Hunt -$(INS.dir)
a0b4f6d952cc6adde281948cf995868b44f366e8Evan Hunt
a0b4f6d952cc6adde281948cf995868b44f366e8Evan Hunt$(LIBC_PSR_LIB): $(LIBC_PSR_DIR) $(MODULE)
a0b4f6d952cc6adde281948cf995868b44f366e8Evan Hunt -$(INS.libc)
a0b4f6d952cc6adde281948cf995868b44f366e8Evan Hunt
90fc237a1fdf1680ef254f16b497f90ac759f71bEvan Huntall: $(LIBS)
0c3f2ff9738efe01c4e9cf62592516f27774b9d4Evan Hunt
a0b4f6d952cc6adde281948cf995868b44f366e8Evan Huntinstall: all $(LIBC_PSR_LIB)
90fc237a1fdf1680ef254f16b497f90ac759f71bEvan Hunt
90fc237a1fdf1680ef254f16b497f90ac759f71bEvan Huntinclude ../../Makefile.targ
0c3f2ff9738efe01c4e9cf62592516f27774b9d4Evan Hunt