xref: /titanic_52/usr/src/uts/sun4v/ontario/Makefile.targ (revision 48bc00d6814e04ff3edb32cafe7d1bc580baff68)
17c478bd9Sstevel@tonic-gate#
27c478bd9Sstevel@tonic-gate# CDDL HEADER START
37c478bd9Sstevel@tonic-gate#
47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
57a53f9f8Ssaisai# Common Development and Distribution License (the "License").
67a53f9f8Ssaisai# You may not use this file except in compliance with the License.
77c478bd9Sstevel@tonic-gate#
87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
117c478bd9Sstevel@tonic-gate# and limitations under the License.
127c478bd9Sstevel@tonic-gate#
137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
187c478bd9Sstevel@tonic-gate#
197c478bd9Sstevel@tonic-gate# CDDL HEADER END
207c478bd9Sstevel@tonic-gate#
21*48bc00d6Sjmcp# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
227c478bd9Sstevel@tonic-gate# Use is subject to license terms.
237c478bd9Sstevel@tonic-gate#
247c478bd9Sstevel@tonic-gate#	Common targets for sun4v platform-implementation specific modules.
257c478bd9Sstevel@tonic-gate#
267c478bd9Sstevel@tonic-gate
277c478bd9Sstevel@tonic-gate.KEEP_STATE:
287c478bd9Sstevel@tonic-gate
297c478bd9Sstevel@tonic-gate#
307c478bd9Sstevel@tonic-gate# Rules for implementation subdirectories.
317c478bd9Sstevel@tonic-gate#
327c478bd9Sstevel@tonic-gate$(ROOT_ONTARIO_DIR): $(ROOT_PLAT_DIR)
33*48bc00d6Sjmcp	-$(INS.dir)
347c478bd9Sstevel@tonic-gate
357c478bd9Sstevel@tonic-gate$(ROOT_ONTARIO_MOD_DIR): $(ROOT_ONTARIO_DIR)
36*48bc00d6Sjmcp	-$(INS.dir)
377c478bd9Sstevel@tonic-gate
387c478bd9Sstevel@tonic-gate$(ROOT_ONTARIO_DRV_DIR_32): $(ROOT_ONTARIO_MOD_DIR)
39*48bc00d6Sjmcp	-$(INS.dir)
407c478bd9Sstevel@tonic-gate
417c478bd9Sstevel@tonic-gate$(ROOT_ONTARIO_DRV_DIR_64): $(ROOT_ONTARIO_DRV_DIR_32)
42*48bc00d6Sjmcp	-$(INS.dir)
437c478bd9Sstevel@tonic-gate
44b7f45089Sdf157793$(ROOT_ONTARIO_LIB_DIR): $(ROOT_ONTARIO_DIR)
45b7f45089Sdf157793	-$(INS.slink2)
46b7f45089Sdf157793
477c478bd9Sstevel@tonic-gate$(ROOT_ONTARIO_MISC_DIR_32): $(ROOT_ONTARIO_MOD_DIR)
48*48bc00d6Sjmcp	-$(INS.dir)
497c478bd9Sstevel@tonic-gate
507c478bd9Sstevel@tonic-gate$(ROOT_ONTARIO_MISC_DIR_64): $(ROOT_ONTARIO_MISC_DIR_32)
51*48bc00d6Sjmcp	-$(INS.dir)
527c478bd9Sstevel@tonic-gate
537c478bd9Sstevel@tonic-gate$(ROOT_ONTARIO_MOD_DIR)/%: $(OBJS_DIR)/% $(ROOT_ONTARIO_MOD_DIR) FRC
547c478bd9Sstevel@tonic-gate	$(INS.file)
557c478bd9Sstevel@tonic-gate
567c478bd9Sstevel@tonic-gate$(ROOT_ONTARIO_MISC_DIR)/%: $(OBJS_DIR)/% $(ROOT_ONTARIO_MISC_DIR) FRC
577c478bd9Sstevel@tonic-gate	$(INS.file)
587c478bd9Sstevel@tonic-gate
597c478bd9Sstevel@tonic-gate$(ROOT_ONTARIO_DRV_DIR)/%: $(OBJS_DIR)/% $(ROOT_ONTARIO_DRV_DIR) FRC
607c478bd9Sstevel@tonic-gate	$(INS.file)
617c478bd9Sstevel@tonic-gate
627c478bd9Sstevel@tonic-gate$(USR_ONTARIO_DIR):	$(USR_SUN4V_PLAT_DIR)
63*48bc00d6Sjmcp	-$(INS.dir)
647c478bd9Sstevel@tonic-gate
657c478bd9Sstevel@tonic-gate$(USR_ONTARIO_INC_DIR):	$(USR_ONTARIO_DIR)
667c478bd9Sstevel@tonic-gate	-$(INS.slink4)
677c478bd9Sstevel@tonic-gate
687c478bd9Sstevel@tonic-gate$(USR_ONTARIO_ISYS_DIR):	$(USR_ONTARIO_INC_DIR)
69*48bc00d6Sjmcp	-$(INS.dir)
707c478bd9Sstevel@tonic-gate
717c478bd9Sstevel@tonic-gate$(USR_ONTARIO_SBIN_DIR):	$(USR_ONTARIO_DIR)
727c478bd9Sstevel@tonic-gate	-$(INS.slink5)
737c478bd9Sstevel@tonic-gate
74d2872760Smvgr$(USR_ONTARIO_LIB_DIR):	$(USR_ONTARIO_DIR)
75*48bc00d6Sjmcp	-$(INS.dir)
76d2872760Smvgr
77b7f45089Sdf157793$(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%): $(USR_PLAT_DIR)
78b7f45089Sdf157793	$(INS.slink3)
797a53f9f8Ssaisai$(PPLINKED_PLATFORMS:%=$(ROOT_PLAT_DIR)/%): $(ROOT_PLAT_DIR)
807a53f9f8Ssaisai	$(INS.slink3)
81b7f45089Sdf157793
827c478bd9Sstevel@tonic-gate#
837c478bd9Sstevel@tonic-gate#	Include common targets.
847c478bd9Sstevel@tonic-gate#
85b7f45089Sdf157793include $(UTSBASE)/$(PLATFORM)/ontario/Makefile.rules
867c478bd9Sstevel@tonic-gateinclude $(UTSBASE)/$(PLATFORM)/Makefile.targ
87