Makefile revision f808c858fa61e7769218966759510a8b1190dfcf
3333N/A#
1710N/A# CDDL HEADER START
1710N/A#
1710N/A# The contents of this file are subject to the terms of the
1710N/A# Common Development and Distribution License (the "License").
1710N/A# You may not use this file except in compliance with the License.
1710N/A#
1710N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1710N/A# or http://www.opensolaris.org/os/licensing.
1710N/A# See the License for the specific language governing permissions
1710N/A# and limitations under the License.
1710N/A#
1710N/A# When distributing Covered Code, include this CDDL HEADER in each
1710N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1710N/A# If applicable, add the following below this CDDL HEADER, with the
1710N/A# fields enclosed by brackets "[]" replaced with your own identifying
1710N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1710N/A#
1710N/A# CDDL HEADER END
1710N/A#
3333N/A#
1710N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
3333N/A# Use is subject to license terms.
1710N/A#
1710N/A# ident "%Z%%M% %I% %E% SMI"
3333N/A#
1710N/A
3333N/Ainclude $(SRC)/lib/Makefile.lib
1710N/Ainclude $(SRC)/Makefile.psm
3333N/A
3333N/APLATFORM = sun4u-us3
3333N/A
1710N/Aall := TARGET= all
1710N/Ainstall := TARGET= install
3333N/Aclean := TARGET= clean
3333N/Aclobber := TARGET= clobber
3333N/A
3333N/ATOUCH = /usr/bin/touch
3333N/A
3333N/AMODULE = libc_psr.so.1
1710N/ALIBC_PSR_DIRS = $(LINKED_PLATFORMS:%=$(ROOT_PLAT_DIR)/%/lib)
1710N/ALIBC_PSR_LINKS = $(LINKED_PLATFORMS:%=$(ROOT_PLAT_DIR)/%/lib/$(MODULE))
3333N/AINS.slink6 = $(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/lib/$(MODULE) $@ $(CHOWNLINK) $(CHGRPLINK)
3333N/ALIBC_PSR64_DIRS = $(LINKED_PLATFORMS:%=$(ROOT_PLAT_DIR)/%/lib/$(MACH64))
3333N/ALIBC_PSR64_LINKS = $(LINKED_PLATFORMS:%=$(ROOT_PLAT_DIR)/%/lib/$(MACH64)/$(MODULE))
1710N/AINS.slink7 = $(RM) -r $@; $(SYMLINK) ../../../$(PLATFORM)/lib/$(MACH64)/$(MODULE) $@ $(CHOWNLINK) $(CHGRPLINK)
1710N/A
2140N/A#
1710N/A# Used when building links in /platform/$(PLATFORM)/lib
2140N/A#
1710N/ALINKED_PLATFORMS = SUNW,Sun-Blade-1000
1710N/ALINKED_PLATFORMS += SUNW,Sun-Blade-1500
1710N/ALINKED_PLATFORMS += SUNW,Sun-Blade-2500
1710N/ALINKED_PLATFORMS += SUNW,A70
3333N/ALINKED_PLATFORMS += SUNW,Sun-Fire
1710N/ALINKED_PLATFORMS += SUNW,Sun-Fire-V240
1710N/ALINKED_PLATFORMS += SUNW,Sun-Fire-V250
1710N/ALINKED_PLATFORMS += SUNW,Sun-Fire-V440
1710N/ALINKED_PLATFORMS += SUNW,Sun-Fire-280R
LINKED_PLATFORMS += SUNW,Sun-Fire-15000
LINKED_PLATFORMS += SUNW,Sun-Fire-880
LINKED_PLATFORMS += SUNW,Sun-Fire-480R
LINKED_PLATFORMS += SUNW,Sun-Fire-V890
LINKED_PLATFORMS += SUNW,Sun-Fire-V490
LINKED_PLATFORMS += SUNW,Netra-T12
LINKED_PLATFORMS += SUNW,Netra-T4
LINKED_PLATFORMS += SUNW,Netra-CP3010
LINKED_PLATFORMS += SUNW,Sun-Fire-V215
LINKED_PLATFORMS += SUNW,Sun-Fire-V445
$(ROOT_PSM_LIB_DIR):
-$(INS.dir.root.bin)
$(ROOT_PSM_LIB_DIR)/$(MODULE): $(ROOT_PSM_LIB_DIR) $(MODULE)
$(RM) -r $@; $(INS) -s -f $(@D) $(MODULE)
$(ROOT_PSM_LIB64_DIR):
-$(INS.dir.root.bin)
$(ROOT_PSM_LIB64_DIR)/$(MODULE): $(ROOT_PSM_LIB64_DIR) $(MODULE)
$(RM) -r $@; $(INS) -s -f $(@D) $(MODULE)
$(LIBC_PSR_DIRS):
-$(INS.dir.root.bin)
$(LIBC_PSR_LINKS): $(LIBC_PSR_DIRS)
-$(INS.slink6)
$(LIBC_PSR64_DIRS):
-$(INS.dir.root.bin)
$(LIBC_PSR64_LINKS): $(LIBC_PSR64_DIRS)
-$(INS.slink7)
all: FRC
@$(TOUCH) $(MODULE)
install: all $(ROOT_PSM_LIB_DIR)/$(MODULE) $(ROOT_PSM_LIB64_DIR)/$(MODULE) $(LIBC_PSR_LINKS) $(LIBC_PSR64_LINKS)
clean clobber : FRC
$(RM) $(MODULE)
lint:
@ $(ECHO) "Nothing to lint here: skipping"
FRC: