Makefile revision 75ce41a57ff334bd8fe2cb9ed51eea835892f944
220a21d38f675eb835f5758e3d23e896573aa5eaLennart Poettering# CDDL HEADER START
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering# The contents of this file are subject to the terms of the
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering# Common Development and Distribution License (the "License").
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering# You may not use this file except in compliance with the License.
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering# or http://www.opensolaris.org/os/licensing.
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering# See the License for the specific language governing permissions
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering# and limitations under the License.
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering# When distributing Covered Code, include this CDDL HEADER in each
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering# If applicable, add the following below this CDDL HEADER, with the
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering# fields enclosed by brackets "[]" replaced with your own identifying
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering# information: Portions Copyright [yyyy] [name of copyright owner]
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering# CDDL HEADER END
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering# Use is subject to license terms.
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering# Platform specific Makefile for libc_psr.
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering# Redefine shared object build rule to use $(LD) directly (this avoids .init
35911459410714a0e9108b35da78f96919b65ee7Lennart Poettering# and .fini sections being added).
35911459410714a0e9108b35da78f96919b65ee7Lennart PoetteringBUILD.SO = $(LD) -o $@ -G $(DYNFLAGS) $(PICS) $(LDLIBS)
35911459410714a0e9108b35da78f96919b65ee7Lennart PoetteringLIBC_PSR64_DIR = $(ROOT_PSM_LIB_DIR)/$(MACH64)/libc_psr
35911459410714a0e9108b35da78f96919b65ee7Lennart PoetteringLIBC_PSR64_LIB = $(LIBC_PSR64_DIR)/$(MODULE)
35911459410714a0e9108b35da78f96919b65ee7Lennart PoetteringINS.libc.64 = $(RM) -r $@; $(INS) -m $(FILEMODE) -f $(@D) $(MODULE)