Makefile revision 59ac0c1669407488b67ae9e273667a340dccc611
824N/A#
824N/A# CDDL HEADER START
824N/A#
824N/A# The contents of this file are subject to the terms of the
824N/A# Common Development and Distribution License (the "License").
824N/A# You may not use this file except in compliance with the License.
824N/A#
824N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
824N/A# or http://www.opensolaris.org/os/licensing.
824N/A# See the License for the specific language governing permissions
824N/A# and limitations under the License.
824N/A#
824N/A# When distributing Covered Code, include this CDDL HEADER in each
824N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
824N/A# If applicable, add the following below this CDDL HEADER, with the
824N/A# fields enclosed by brackets "[]" replaced with your own identifying
824N/A# information: Portions Copyright [yyyy] [name of copyright owner]
824N/A#
824N/A# CDDL HEADER END
824N/A#
824N/A#
824N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
824N/A# Use is subject to license terms.
824N/A#
824N/A#ident "%Z%%M% %I% %E% SMI"
824N/A#
824N/A# lib/libpcp/sparc/Makefile
824N/A
824N/AUTSBASE= ../../../uts
824N/A
824N/APLATINCS += -I$(USR_PLAT_DIR)/sun4v/include -I$(UTSBASE)/sun4v
824N/A
824N/APLATFORM_OBJECTS= libpcp.o pcp_utils.o
824N/A
824N/A#
824N/A# platform library directory (/usr/platform/SUNW,Sun-Fire-T200/lib)
824N/A#
824N/APLATFORM=sun4v
824N/ALINKED_PLATFORMS = SUNW,Sun-Fire-T200 \
824N/A SUNW,Netra-CP3060 \
824N/A SUNW,Sun-Blade-T6300 \
824N/A SUNW,Sun-Blade-T6320 \
824N/A SUNW,SPARC-Enterprise-T5120 \
824N/A SUNW,T5140
824N/A
824N/A
824N/Ainclude ../Makefile.com
824N/A
824N/A#
824N/A# install rules
824N/A#
824N/A
824N/A$(PLATLIBS)/libpcp.so:
824N/A $(RM) -r $@; $(SYMLINK) libpcp.so.1 $@ $(CHOWNLINK) $(CHGRPLINK)
824N/A
824N/A$(USR_PSM_LIB_DIR)/%: % $(USR_PSM_LIB_DIR)
824N/A $(INS.file)
824N/A
824N/A$(USR_PSM_LIB_DIR):
824N/A $(INS.dir.root.sys)
824N/A
824N/A$(LINKED_DIRS): $(USR_PLAT_DIR)
824N/A -$(INS.dir.root.sys)
824N/A
$(LINKED_LIB_DIRS): $(LINKED_DIRS)
-$(INS.dir.root.sys)
$(LINKED_LIBPCP_DIR): $(USR_PLAT_DIR)
-$(INS.slink7)
$(LINKED_LIBPCP1_DIR): $(USR_PLAT_DIR)
-$(INS.slink6)
$(LINKED_LLIBLPCP_DIR): $(USR_PLAT_DIR)
-$(INS.slink8)
install: all $(USR_PSM_LIBS) $(PLATLIBS)/libpcp.so \
$(LINKED_DIRS) $(LINKED_LIB_DIRS) \
$(LINKED_LIBPCP_DIR) $(LINKED_LIBPCP1_DIR) \
$(LINKED_LLIBLPCP_DIR)