Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# CDDL HEADER START
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# The contents of this file are subject to the terms of the
55434c770c89aa1b84474f2559a106803511aba0ek# Common Development and Distribution License (the "License").
55434c770c89aa1b84474f2559a106803511aba0ek# You may not use this file except in compliance with the License.
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fa9e4066f08beec538e775443c5be79dd423fcabahrens# or http://www.opensolaris.org/os/licensing.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# See the License for the specific language governing permissions
fa9e4066f08beec538e775443c5be79dd423fcabahrens# and limitations under the License.
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# When distributing Covered Code, include this CDDL HEADER in each
fa9e4066f08beec538e775443c5be79dd423fcabahrens# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# If applicable, add the following below this CDDL HEADER, with the
fa9e4066f08beec538e775443c5be79dd423fcabahrens# fields enclosed by brackets "[]" replaced with your own identifying
fa9e4066f08beec538e775443c5be79dd423fcabahrens# information: Portions Copyright [yyyy] [name of copyright owner]
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# CDDL HEADER END
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
e14bb3258d05c1b1077e2db7cf77088924e56919Jeff Bonwick# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Use is subject to license terms.
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# lib/libtsalarm/sparc/Makefile
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrensUTSBASE= ../../../uts
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrensPLATINCS += -I$(USR_PLAT_DIR)/sun4v/include -I$(UTSBASE)/sun4v
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrensPLATFORM_OBJECTS= tsalarm.o
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# platform library directory (/usr/platform/sun4v/lib)
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrensPLATFORM=sun4v
fa9e4066f08beec538e775443c5be79dd423fcabahrensLINKED_PLATFORMS = SUNW,Netra-T5220
fa9e4066f08beec538e775443c5be79dd423fcabahrensLINKED_PLATFORMS += SUNW,Netra-T5440
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrensinclude ../Makefile.com
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# install rules
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrens$(PLATLIBS)/libtsalarm.so:
55434c770c89aa1b84474f2559a106803511aba0ek $(RM) -r $@; $(SYMLINK) libtsalarm.so.1 $@
88b7b0f29b20b808b9e06071885b1d6a3ddb6328Matthew Ahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrens$(USR_PSM_LIB_DIR)/% := FILEMODE= 755
e05725b117836db173257fae43fb0746eb857fb5bonwick
$(USR_PSM_LIB_DIR)/%: % $(USR_PSM_LIB_DIR)
$(INS.file)
$(USR_PSM_LIB_DIR):
$(INS.dir)
$(USR_PSM_INCL_DIR)/%: ../common/% $(USR_PSM_INCL_DIR)
$(INS.file)
$(USR_PSM_INCL_DIR):
$(INS.dir)
$(LINKED_DIRS): $(USR_PLAT_DIR)
-$(INS.dir)
$(LINKED_LIB_DIRS): $(LINKED_DIRS)
-$(INS.dir)
$(LINKED_LIBTSALARM_DIR): $(USR_PLAT_DIR)
-$(INS.slink7)
$(LINKED_LIBTSALARM1_DIR): $(USR_PLAT_DIR)
-$(INS.slink6)
$(LINKED_INCL_DIRS): $(LINKED_DIRS)
-$(INS.slink8)
install: all install_h $(USR_PSM_LIBS) $(PLATLIBS)/libtsalarm.so \
$(LINKED_DIRS) $(LINKED_LIB_DIRS) \
$(LINKED_LIBTSALARM_DIR) $(LINKED_LIBTSALARM1_DIR) \
$(LINKED_INCL_DIRS)
install_h: $(USR_PSM_INCL_DIR)/tsalarm.h