1fd845fc0Sks34972# 2fd845fc0Sks34972# CDDL HEADER START 3fd845fc0Sks34972# 4fd845fc0Sks34972# The contents of this file are subject to the terms of the 5fd845fc0Sks34972# Common Development and Distribution License (the "License"). 6fd845fc0Sks34972# You may not use this file except in compliance with the License. 7fd845fc0Sks34972# 8fd845fc0Sks34972# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9fd845fc0Sks34972# or http://www.opensolaris.org/os/licensing. 10fd845fc0Sks34972# See the License for the specific language governing permissions 11fd845fc0Sks34972# and limitations under the License. 12fd845fc0Sks34972# 13fd845fc0Sks34972# When distributing Covered Code, include this CDDL HEADER in each 14fd845fc0Sks34972# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15fd845fc0Sks34972# If applicable, add the following below this CDDL HEADER, with the 16fd845fc0Sks34972# fields enclosed by brackets "[]" replaced with your own identifying 17fd845fc0Sks34972# information: Portions Copyright [yyyy] [name of copyright owner] 18fd845fc0Sks34972# 19fd845fc0Sks34972# CDDL HEADER END 20fd845fc0Sks34972# 2124fe0b3bSjmcp# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 22fd845fc0Sks34972# Use is subject to license terms. 23fd845fc0Sks34972# 24fd845fc0Sks34972# Common targets for sun4v platform-implementation specific modules. 25fd845fc0Sks34972# 26fd845fc0Sks34972 27fd845fc0Sks34972.KEEP_STATE: 28fd845fc0Sks34972 29fd845fc0Sks34972# 30fd845fc0Sks34972# Rules for implementation subdirectories. 31fd845fc0Sks34972# 32fd845fc0Sks34972$(ROOT_MONTOYA_DIR): $(ROOT_PLAT_DIR) 33*48bc00d6Sjmcp -$(INS.dir) 34fd845fc0Sks34972 35fd845fc0Sks34972$(ROOT_MONTOYA_MOD_DIR): $(ROOT_MONTOYA_DIR) 36*48bc00d6Sjmcp -$(INS.dir) 37fd845fc0Sks34972 38fd845fc0Sks34972$(ROOT_MONTOYA_DRV_DIR_32): $(ROOT_MONTOYA_MOD_DIR) 39*48bc00d6Sjmcp -$(INS.dir) 40fd845fc0Sks34972 41fd845fc0Sks34972$(ROOT_MONTOYA_DRV_DIR_64): $(ROOT_MONTOYA_DRV_DIR_32) 42*48bc00d6Sjmcp -$(INS.dir) 43fd845fc0Sks34972 44fd845fc0Sks34972$(ROOT_MONTOYA_LIB_DIR): $(ROOT_MONTOYA_DIR) 45fd845fc0Sks34972 -$(INS.slink2) 46fd845fc0Sks34972 47fd845fc0Sks34972$(ROOT_MONTOYA_MISC_DIR_32): $(ROOT_MONTOYA_MOD_DIR) 48*48bc00d6Sjmcp -$(INS.dir) 49fd845fc0Sks34972 50fd845fc0Sks34972$(ROOT_MONTOYA_MISC_DIR_64): $(ROOT_MONTOYA_MISC_DIR_32) 51*48bc00d6Sjmcp -$(INS.dir) 52fd845fc0Sks34972 53fd845fc0Sks34972$(ROOT_MONTOYA_MOD_DIR)/%: $(OBJS_DIR)/% $(ROOT_MONTOYA_MOD_DIR) FRC 54fd845fc0Sks34972 $(INS.file) 55fd845fc0Sks34972 56fd845fc0Sks34972$(ROOT_MONTOYA_MISC_DIR)/%: $(OBJS_DIR)/% $(ROOT_MONTOYA_MISC_DIR) FRC 57fd845fc0Sks34972 $(INS.file) 58fd845fc0Sks34972 59fd845fc0Sks34972$(ROOT_MONTOYA_DRV_DIR)/%: $(OBJS_DIR)/% $(ROOT_MONTOYA_DRV_DIR) FRC 60fd845fc0Sks34972 $(INS.file) 61fd845fc0Sks34972 62fd845fc0Sks34972$(USR_MONTOYA_DIR): $(USR_SUN4V_PLAT_DIR) 63*48bc00d6Sjmcp -$(INS.dir) 64fd845fc0Sks34972 65fd845fc0Sks34972$(USR_MONTOYA_INC_DIR): $(USR_MONTOYA_DIR) 66fd845fc0Sks34972 -$(INS.slink4) 67fd845fc0Sks34972 68fd845fc0Sks34972$(USR_MONTOYA_ISYS_DIR): $(USR_MONTOYA_INC_DIR) 69*48bc00d6Sjmcp -$(INS.dir) 70fd845fc0Sks34972 71fd845fc0Sks34972$(USR_MONTOYA_SBIN_DIR): $(USR_MONTOYA_DIR) 72*48bc00d6Sjmcp -$(INS.dir) 73fd845fc0Sks34972 74fd845fc0Sks34972$(USR_MONTOYA_LIB_DIR): $(USR_MONTOYA_DIR) 75*48bc00d6Sjmcp -$(INS.dir) 76fd845fc0Sks34972 77fd845fc0Sks34972$(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%): $(USR_PLAT_DIR) 78fd845fc0Sks34972 $(INS.slink3) 79fd845fc0Sks34972 806b288faaSmcwalter$(USR_MONTOYA_SBIN_LINKS): $(USR_MONTOYA_SBIN_DIR) 816b288faaSmcwalter $(RM) -r $@; 8224fe0b3bSjmcp $(SYMLINK) ../../$(PLATFORM)/sbin/$(@F) $@ 836b288faaSmcwalter 84fd845fc0Sks34972# 85fd845fc0Sks34972# Include common targets. 86fd845fc0Sks34972# 87fd845fc0Sks34972include $(UTSBASE)/$(PLATFORM)/montoya/Makefile.rules 88fd845fc0Sks34972include $(UTSBASE)/$(PLATFORM)/Makefile.targ 89