14a6822d0Swillard# 24a6822d0Swillard# CDDL HEADER START 34a6822d0Swillard# 44a6822d0Swillard# The contents of this file are subject to the terms of the 54a6822d0Swillard# Common Development and Distribution License (the "License"). 64a6822d0Swillard# You may not use this file except in compliance with the License. 74a6822d0Swillard# 84a6822d0Swillard# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 94a6822d0Swillard# or http://www.opensolaris.org/os/licensing. 104a6822d0Swillard# See the License for the specific language governing permissions 114a6822d0Swillard# and limitations under the License. 124a6822d0Swillard# 134a6822d0Swillard# When distributing Covered Code, include this CDDL HEADER in each 144a6822d0Swillard# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 154a6822d0Swillard# If applicable, add the following below this CDDL HEADER, with the 164a6822d0Swillard# fields enclosed by brackets "[]" replaced with your own identifying 174a6822d0Swillard# information: Portions Copyright [yyyy] [name of copyright owner] 184a6822d0Swillard# 194a6822d0Swillard# CDDL HEADER END 204a6822d0Swillard# 214a6822d0Swillard# 2224fe0b3bSjmcp# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 234a6822d0Swillard# Use is subject to license terms. 244a6822d0Swillard# 254a6822d0Swillard# lib/libtsalarm/sparc/Makefile 264a6822d0Swillard 274a6822d0SwillardUTSBASE= ../../../uts 284a6822d0Swillard 294a6822d0SwillardPLATINCS += -I$(USR_PLAT_DIR)/sun4v/include -I$(UTSBASE)/sun4v 304a6822d0Swillard 314a6822d0SwillardPLATFORM_OBJECTS= tsalarm.o 324a6822d0Swillard 334a6822d0Swillard# 348696d418Sky115808# platform library directory (/usr/platform/sun4v/lib) 354a6822d0Swillard# 368696d418Sky115808PLATFORM=sun4v 378696d418Sky115808LINKED_PLATFORMS = SUNW,Netra-T5220 388696d418Sky115808LINKED_PLATFORMS += SUNW,Netra-T5440 394a6822d0Swillard 404a6822d0Swillardinclude ../Makefile.com 414a6822d0Swillard 424a6822d0Swillard# 434a6822d0Swillard# install rules 444a6822d0Swillard# 454a6822d0Swillard 464a6822d0Swillard$(PLATLIBS)/libtsalarm.so: 4724fe0b3bSjmcp $(RM) -r $@; $(SYMLINK) libtsalarm.so.1 $@ 484a6822d0Swillard 4975ce41a5SAli Bahrami$(USR_PSM_LIB_DIR)/% := FILEMODE= 755 504a6822d0Swillard 514a6822d0Swillard$(USR_PSM_LIB_DIR)/%: % $(USR_PSM_LIB_DIR) 524a6822d0Swillard $(INS.file) 534a6822d0Swillard 544a6822d0Swillard$(USR_PSM_LIB_DIR): 55*48bc00d6Sjmcp $(INS.dir) 564a6822d0Swillard 574a6822d0Swillard$(USR_PSM_INCL_DIR)/%: ../common/% $(USR_PSM_INCL_DIR) 584a6822d0Swillard $(INS.file) 594a6822d0Swillard 604a6822d0Swillard$(USR_PSM_INCL_DIR): 61*48bc00d6Sjmcp $(INS.dir) 624a6822d0Swillard 638696d418Sky115808$(LINKED_DIRS): $(USR_PLAT_DIR) 64*48bc00d6Sjmcp -$(INS.dir) 658696d418Sky115808 668696d418Sky115808$(LINKED_LIB_DIRS): $(LINKED_DIRS) 67*48bc00d6Sjmcp -$(INS.dir) 688696d418Sky115808 698696d418Sky115808$(LINKED_LIBTSALARM_DIR): $(USR_PLAT_DIR) 708696d418Sky115808 -$(INS.slink7) 718696d418Sky115808 728696d418Sky115808$(LINKED_LIBTSALARM1_DIR): $(USR_PLAT_DIR) 738696d418Sky115808 -$(INS.slink6) 748696d418Sky115808 758696d418Sky115808$(LINKED_INCL_DIRS): $(LINKED_DIRS) 768696d418Sky115808 -$(INS.slink8) 778696d418Sky115808 788696d418Sky115808install: all install_h $(USR_PSM_LIBS) $(PLATLIBS)/libtsalarm.so \ 798696d418Sky115808 $(LINKED_DIRS) $(LINKED_LIB_DIRS) \ 808696d418Sky115808 $(LINKED_LIBTSALARM_DIR) $(LINKED_LIBTSALARM1_DIR) \ 818696d418Sky115808 $(LINKED_INCL_DIRS) 824a6822d0Swillard 834a6822d0Swillardinstall_h: $(USR_PSM_INCL_DIR)/tsalarm.h 84