1*4a6822d0Swillard# 2*4a6822d0Swillard# CDDL HEADER START 3*4a6822d0Swillard# 4*4a6822d0Swillard# The contents of this file are subject to the terms of the 5*4a6822d0Swillard# Common Development and Distribution License (the "License"). 6*4a6822d0Swillard# You may not use this file except in compliance with the License. 7*4a6822d0Swillard# 8*4a6822d0Swillard# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*4a6822d0Swillard# or http://www.opensolaris.org/os/licensing. 10*4a6822d0Swillard# See the License for the specific language governing permissions 11*4a6822d0Swillard# and limitations under the License. 12*4a6822d0Swillard# 13*4a6822d0Swillard# When distributing Covered Code, include this CDDL HEADER in each 14*4a6822d0Swillard# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*4a6822d0Swillard# If applicable, add the following below this CDDL HEADER, with the 16*4a6822d0Swillard# fields enclosed by brackets "[]" replaced with your own identifying 17*4a6822d0Swillard# information: Portions Copyright [yyyy] [name of copyright owner] 18*4a6822d0Swillard# 19*4a6822d0Swillard# CDDL HEADER END 20*4a6822d0Swillard# 21*4a6822d0Swillard# 22*4a6822d0Swillard# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 23*4a6822d0Swillard# Use is subject to license terms. 24*4a6822d0Swillard# 25*4a6822d0Swillard#ident "%Z%%M% %I% %E% SMI" 26*4a6822d0Swillard# 27*4a6822d0Swillard# lib/libtsalarm/sparc/Makefile 28*4a6822d0Swillard 29*4a6822d0SwillardUTSBASE= ../../../uts 30*4a6822d0Swillard 31*4a6822d0SwillardPLATINCS += -I$(USR_PLAT_DIR)/sun4v/include -I$(UTSBASE)/sun4v 32*4a6822d0Swillard 33*4a6822d0SwillardPLATFORM_OBJECTS= tsalarm.o 34*4a6822d0Swillard 35*4a6822d0Swillard# 36*4a6822d0Swillard# platform library directory (/usr/platform/SUNW,Sun-Fire-T200/lib) 37*4a6822d0Swillard# 38*4a6822d0SwillardPLATFORM=SUNW,Sun-Fire-T200 39*4a6822d0Swillard 40*4a6822d0Swillardinclude ../Makefile.com 41*4a6822d0Swillard 42*4a6822d0Swillard# 43*4a6822d0Swillard# install rules 44*4a6822d0Swillard# 45*4a6822d0Swillard 46*4a6822d0Swillard$(PLATLIBS)/libtsalarm.so: 47*4a6822d0Swillard $(RM) -r $@; $(SYMLINK) libtsalarm.so.1 $@ $(CHOWNLINK) $(CHGRPLINK) 48*4a6822d0Swillard 49*4a6822d0Swillard$(USR_PSM_LIB_DIR)/% := FILEMODE= 644 50*4a6822d0Swillard 51*4a6822d0Swillard$(USR_PSM_LIB_DIR)/%: % $(USR_PSM_LIB_DIR) 52*4a6822d0Swillard $(INS.file) 53*4a6822d0Swillard 54*4a6822d0Swillard$(USR_PSM_LIB_DIR): 55*4a6822d0Swillard $(INS.dir.root.sys) 56*4a6822d0Swillard 57*4a6822d0Swillard$(USR_PSM_INCL_DIR)/%: ../common/% $(USR_PSM_INCL_DIR) 58*4a6822d0Swillard $(INS.file) 59*4a6822d0Swillard 60*4a6822d0Swillard$(USR_PSM_INCL_DIR): 61*4a6822d0Swillard $(INS.dir.root.sys) 62*4a6822d0Swillard 63*4a6822d0Swillardinstall: all install_h $(USR_PSM_LIBS) $(PLATLIBS)/libtsalarm.so 64*4a6822d0Swillard 65*4a6822d0Swillardinstall_h: $(USR_PSM_INCL_DIR)/tsalarm.h 66