1d58fda43Sjbeloro# 206e46062Sjbeloro# CDDL HEADER START 306e46062Sjbeloro# 406e46062Sjbeloro# The contents of this file are subject to the terms of the 506e46062Sjbeloro# Common Development and Distribution License (the "License"). 606e46062Sjbeloro# You may not use this file except in compliance with the License. 706e46062Sjbeloro# 806e46062Sjbeloro# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 906e46062Sjbeloro# or http://www.opensolaris.org/os/licensing. 1006e46062Sjbeloro# See the License for the specific language governing permissions 1106e46062Sjbeloro# and limitations under the License. 1206e46062Sjbeloro# 1306e46062Sjbeloro# When distributing Covered Code, include this CDDL HEADER in each 1406e46062Sjbeloro# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 1506e46062Sjbeloro# If applicable, add the following below this CDDL HEADER, with the 1606e46062Sjbeloro# fields enclosed by brackets "[]" replaced with your own identifying 1706e46062Sjbeloro# information: Portions Copyright [yyyy] [name of copyright owner] 1806e46062Sjbeloro# 1906e46062Sjbeloro# CDDL HEADER END 2006e46062Sjbeloro# 2106e46062Sjbeloro 2206e46062Sjbeloro# 2324fe0b3bSjmcp# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 24d58fda43Sjbeloro# Use is subject to license terms. 25d58fda43Sjbeloro# 26d58fda43Sjbeloro# Common targets for sun4u implementation specific modules. 27d58fda43Sjbeloro# 28d58fda43Sjbeloro 29d58fda43Sjbeloro.KEEP_STATE: 30d58fda43Sjbeloro 31d58fda43SjbeloroIMPLEMENTED_PLATFORM = SUNW,Sun-Fire-V215 32d58fda43Sjbeloro# 33d58fda43Sjbeloro# Rules for implementation subdirectories. 34d58fda43Sjbeloro# 35d58fda43Sjbeloro$(ROOT_SEATTLE_DIR): $(ROOT_PLAT_DIR) 36*48bc00d6Sjmcp -$(INS.dir) 37d58fda43Sjbeloro 38d58fda43Sjbeloro$(ROOT_SEATTLE_MOD_DIR): $(ROOT_SEATTLE_DIR) 39*48bc00d6Sjmcp -$(INS.dir) 40d58fda43Sjbeloro 41d58fda43Sjbeloro$(ROOT_SEATTLE_MISC_DIR_32): $(ROOT_SEATTLE_MOD_DIR) 42*48bc00d6Sjmcp -$(INS.dir) 43d58fda43Sjbeloro 44d58fda43Sjbeloro$(ROOT_SEATTLE_MISC_DIR_64): $(ROOT_SEATTLE_MISC_DIR_32) 45*48bc00d6Sjmcp -$(INS.dir) 46d58fda43Sjbeloro 47d58fda43Sjbeloro$(ROOT_SEATTLE_DRV_DIR_32): $(ROOT_SEATTLE_MOD_DIR) 48*48bc00d6Sjmcp -$(INS.dir) 49d58fda43Sjbeloro 50d58fda43Sjbeloro$(ROOT_SEATTLE_DRV_DIR_64): $(ROOT_SEATTLE_DRV_DIR_32) 51*48bc00d6Sjmcp -$(INS.dir) 52d58fda43Sjbeloro 53d58fda43Sjbeloro$(ROOT_SEATTLE_CRYPTO_DIR_32): $(ROOT_SEATTLE_MOD_DIR) 54*48bc00d6Sjmcp -$(INS.dir) 55d58fda43Sjbeloro 56d58fda43Sjbeloro$(ROOT_SEATTLE_CRYPTO_DIR_64): $(ROOT_SEATTLE_CRYPTO_DIR_32) 57*48bc00d6Sjmcp -$(INS.dir) 58d58fda43Sjbeloro 59d58fda43Sjbeloro$(USR_SEATTLE_DIR): $(USR_PLAT_DIR) 60*48bc00d6Sjmcp -$(INS.dir) 61d58fda43Sjbeloro 62d58fda43Sjbeloro$(USR_SEATTLE_INC_DIR): $(USR_SEATTLE_DIR) 63d58fda43Sjbeloro -$(INS.slink4) 64d58fda43Sjbeloro 65d58fda43Sjbeloro$(USR_SEATTLE_SBIN_DIR): $(USR_SEATTLE_DIR) 66*48bc00d6Sjmcp $(INS.dir) 67d58fda43Sjbeloro 68d58fda43Sjbeloro$(USR_SEATTLE_SBIN_PRTDIAG): $(USR_SEATTLE_SBIN_DIR) 6924fe0b3bSjmcp $(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/sbin/prtdiag $@ 70d58fda43Sjbeloro 71d58fda43Sjbeloro$(USR_SEATTLE_SBIN_TRAPSTAT): $(USR_SEATTLE_SBIN_DIR) 7224fe0b3bSjmcp $(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/sbin/trapstat $@ 73d58fda43Sjbeloro 7406e46062Sjbeloro$(USR_SEATTLE_SBIN_FRUADM): $(USR_SEATTLE_SBIN_DIR) 7524fe0b3bSjmcp $(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/sbin/fruadm $@ 7606e46062Sjbeloro 77d58fda43Sjbeloro$(LINKED_PLATFORMS:%=$(ROOT_PLAT_DIR)/%): $(ROOT_PLAT_DIR) 78d58fda43Sjbeloro $(INS.slink3) 79d58fda43Sjbeloro 80d58fda43Sjbeloro$(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%): $(USR_PLAT_DIR) 81d58fda43Sjbeloro $(INS.slink3) 82d58fda43Sjbeloro 83d58fda43Sjbeloro$(USR_SEATTLE_LIB_DIR): $(USR_SEATTLE_DIR) 84*48bc00d6Sjmcp -$(INS.dir) 85d58fda43Sjbeloro 86d58fda43Sjbeloro$(USR_SEATTLE_ISYS_DIR): $(USR_SEATTLE_INC_DIR) 87*48bc00d6Sjmcp $(INS.dir) 88d58fda43Sjbeloro 89d58fda43Sjbeloro$(ROOT_SEATTLE_MOD_DIR)/%: $(OBJS_DIR)/% $(ROOT_SEATTLE_MOD_DIR) 90d58fda43Sjbeloro $(INS.file) 91d58fda43Sjbeloro 92d58fda43Sjbeloro$(ROOT_SEATTLE_MISC_DIR)/%: $(OBJS_DIR)/% $(ROOT_SEATTLE_MISC_DIR) 93d58fda43Sjbeloro $(INS.file) 94d58fda43Sjbeloro 95d58fda43Sjbeloro$(ROOT_SEATTLE_DRV_DIR)/%: $(OBJS_DIR)/% $(ROOT_SEATTLE_DRV_DIR) 96d58fda43Sjbeloro $(INS.file) 97d58fda43Sjbeloro 98d58fda43Sjbeloro# 99d58fda43Sjbeloro# Include common targets. 100d58fda43Sjbeloro# 101d58fda43Sjbeloroinclude $(UTSBASE)/sun4u/seattle/Makefile.rules 102d58fda43Sjbeloroinclude $(UTSBASE)/sun4u/Makefile.targ 103