Makefile revision 2
0N/A#
364N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
0N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
292N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
0N/A#
0N/A# CDDL HEADER END
0N/A#
0N/A# Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
0N/A#
0N/A# lib/libpcp/sparc/Makefile
0N/A
0N/AUTSBASE= ../../../uts
0N/A
0N/APLATINCS += -I$(USR_PLAT_DIR)/sun4v/include -I$(UTSBASE)/sun4v
0N/A
0N/APLATFORM_OBJECTS= libpcp.o pcp_utils.o
0N/A
0N/A#
0N/A# platform library directory (/usr/platform/SUNW,Sun-Fire-T200/lib)
0N/A#
0N/APLATFORM=sun4v
0N/ALINKED_PLATFORMS = SUNW,Sun-Fire-T200 \
0N/A SUNW,Netra-CP3060 \
0N/A SUNW,Sun-Blade-T6300 \
0N/A SUNW,Sun-Blade-T6320 \
0N/A SUNW,SPARC-Enterprise-T5120 \
0N/A SUNW,T5140 \
0N/A SUNW,Netra-CP3260 \
0N/A SUNW,USBRDT-5240 \
0N/A SUNW,Netra-T5220 \
0N/A SUNW,Netra-T5440
0N/A
0N/A
0N/Ainclude ../Makefile.com
0N/A
0N/A#
0N/A# install rules
0N/A#
0N/A
0N/A$(PLATLIBS)/libpcp.so $(STUBPLATLIBS)/libpcp.so:
0N/A $(RM) -r $@; $(SYMLINK) libpcp.so.1 $@
0N/A
0N/A$(USR_PSM_LIB_DIR)/%: % $(USR_PSM_LIB_DIR)
0N/A $(INS.file)
0N/A
0N/A$(STUBUSR_PSM_LIB_DIR)/%: stubs/% $(STUBUSR_PSM_LIB_DIR)
0N/A $(INS.file)
0N/A
36N/A$(USR_PSM_LIB_DIR) $(STUBUSR_PSM_LIB_DIR):
0N/A $(INS.dir)
0N/A
0N/A$(LINKED_DIRS): $(USR_PLAT_DIR)
0N/A -$(INS.dir)
0N/A
0N/A$(STUBLINKED_DIRS): $(STUBUSR_PLAT_DIR)
0N/A -$(INS.dir)
0N/A
0N/A$(LINKED_LIB_DIRS): $(LINKED_DIRS)
0N/A -$(INS.dir)
0N/A
0N/A$(STUBLINKED_LIB_DIRS): $(STUBLINKED_DIRS)
0N/A -$(INS.dir)
0N/A
0N/A$(LINKED_LIBPCP_DIR): $(USR_PLAT_DIR)
0N/A -$(INS.slink7)
0N/A
0N/A$(STUBLINKED_LIBPCP_DIR): $(STUBUSR_PLAT_DIR)
0N/A -$(INS.slink7)
0N/A
0N/A$(LINKED_LIBPCP1_DIR): $(USR_PLAT_DIR)
0N/A -$(INS.slink6)
0N/A
0N/A$(STUBLINKED_LIBPCP1_DIR): $(STUBUSR_PLAT_DIR)
0N/A -$(INS.slink6)
0N/A
0N/A$(LINKED_LLIBLPCP_DIR): $(USR_PLAT_DIR)
0N/A -$(INS.slink8)
0N/A
0N/A$(STUBLINKED_LLIBLPCP_DIR): $(STUBUSR_PLAT_DIR)
0N/A -$(INS.slink8)
0N/A
0N/Ainstall: stubinstall all $(USR_PSM_LIBS) $(PLATLIBS)/libpcp.so \
0N/A $(LINKED_DIRS) $(LINKED_LIB_DIRS) \
0N/A $(LINKED_LIBPCP_DIR) $(LINKED_LIBPCP1_DIR) \
0N/A $(LINKED_LLIBLPCP_DIR)
0N/A
0N/A# LIBS includes the lint library, but we don't want to build one
0N/A# for the stub proto.
0N/A$(STUBUSR_PSM_LIB_DIR)/llib-lpcp.ln:
0N/A
0N/Astubinstall: stub $(STUBUSR_PSM_LIBS) $(STUBPLATLIBS)/libpcp.so \
0N/A $(STUBLINKED_DIRS) $(STUBLINKED_LIB_DIRS) \
0N/A $(STUBLINKED_LIBPCP_DIR) $(STUBLINKED_LIBPCP1_DIR)
0N/A