xref: /titanic_50/usr/src/uts/sun4u/starfire/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
5*48bc00d6Sjmcp# Common Development and Distribution License (the "License").
6*48bc00d6Sjmcp# 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
227c478bd9Sstevel@tonic-gate#
23*48bc00d6Sjmcp# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
247c478bd9Sstevel@tonic-gate# Use is subject to license terms.
257c478bd9Sstevel@tonic-gate#
267c478bd9Sstevel@tonic-gate#	Common targets for sun4u starfire implementation specific modules.
277c478bd9Sstevel@tonic-gate#
287c478bd9Sstevel@tonic-gate
297c478bd9Sstevel@tonic-gate.KEEP_STATE:
307c478bd9Sstevel@tonic-gate
317c478bd9Sstevel@tonic-gate#
327c478bd9Sstevel@tonic-gate# Rules for implementation subdirectories.
337c478bd9Sstevel@tonic-gate#
347c478bd9Sstevel@tonic-gate$(ROOT_STARFIRE_DIR): $(ROOT_PLAT_DIR)
35*48bc00d6Sjmcp	-$(INS.dir)
367c478bd9Sstevel@tonic-gate
377c478bd9Sstevel@tonic-gate$(ROOT_STARFIRE_MOD_DIR): $(ROOT_STARFIRE_DIR)
38*48bc00d6Sjmcp	-$(INS.dir)
397c478bd9Sstevel@tonic-gate
407c478bd9Sstevel@tonic-gate$(ROOT_STARFIRE_KERN_DIR): $(ROOT_STARFIRE_MOD_DIR)
41*48bc00d6Sjmcp	-$(INS.dir)
427c478bd9Sstevel@tonic-gate
437c478bd9Sstevel@tonic-gate$(ROOT_STARFIRE_DRV_DIR_32): $(ROOT_STARFIRE_MOD_DIR)
44*48bc00d6Sjmcp	-$(INS.dir)
457c478bd9Sstevel@tonic-gate
467c478bd9Sstevel@tonic-gate$(ROOT_STARFIRE_DRV_DIR_64): $(ROOT_STARFIRE_DRV_DIR_32)
47*48bc00d6Sjmcp	-$(INS.dir)
487c478bd9Sstevel@tonic-gate
497c478bd9Sstevel@tonic-gate$(ROOT_STARFIRE_CPU_DIR_32): $(ROOT_STARFIRE_MOD_DIR)
50*48bc00d6Sjmcp	-$(INS.dir)
517c478bd9Sstevel@tonic-gate
527c478bd9Sstevel@tonic-gate$(ROOT_STARFIRE_CPU_DIR_64): $(ROOT_STARFIRE_CPU_DIR_32)
53*48bc00d6Sjmcp	-$(INS.dir)
547c478bd9Sstevel@tonic-gate
557c478bd9Sstevel@tonic-gate$(ROOT_STARFIRE_MISC_DIR_32): $(ROOT_STARFIRE_MOD_DIR)
56*48bc00d6Sjmcp	-$(INS.dir)
577c478bd9Sstevel@tonic-gate
587c478bd9Sstevel@tonic-gate$(ROOT_STARFIRE_MISC_DIR_64): $(ROOT_STARFIRE_MISC_DIR_32)
59*48bc00d6Sjmcp	-$(INS.dir)
607c478bd9Sstevel@tonic-gate
617c478bd9Sstevel@tonic-gate$(USR_STARFIRE_DIR): $(USR_PLAT_DIR)
62*48bc00d6Sjmcp	-$(INS.dir)
637c478bd9Sstevel@tonic-gate
647c478bd9Sstevel@tonic-gate$(USR_STARFIRE_INC_DIR): $(USR_STARFIRE_DIR) $(USR_PSM_INCL_DIR)
657c478bd9Sstevel@tonic-gate	$(INS.slink4)
667c478bd9Sstevel@tonic-gate
677c478bd9Sstevel@tonic-gate$(USR_STARFIRE_SBIN_DIR):	$(USR_STARFIRE_DIR) $(USR_PSM_SBIN_DIR)
687c478bd9Sstevel@tonic-gate	-$(INS.slink5)
697c478bd9Sstevel@tonic-gate
707c478bd9Sstevel@tonic-gate$(USR_STARFIRE_LIB_DIR):	$(USR_STARFIRE_DIR) $(USR_PSM_LIB_DIR)
71*48bc00d6Sjmcp	-$(INS.dir)
727c478bd9Sstevel@tonic-gate
737c478bd9Sstevel@tonic-gate$(USR_STARFIRE_ISYS_DIR): $(USR_STARFIRE_INC_DIR)
74*48bc00d6Sjmcp	$(INS.dir)
757c478bd9Sstevel@tonic-gate
767c478bd9Sstevel@tonic-gate$(ROOT_STARFIRE_KERN_DIR)/%: $(OBJS_DIR)/% $(ROOT_STARFIRE_KERN_DIR) FRC
777c478bd9Sstevel@tonic-gate	$(INS.file)
787c478bd9Sstevel@tonic-gate
797c478bd9Sstevel@tonic-gate$(ROOT_STARFIRE_DRV_DIR)/%: $(OBJS_DIR)/% $(ROOT_STARFIRE_DRV_DIR) FRC
807c478bd9Sstevel@tonic-gate	$(INS.file)
817c478bd9Sstevel@tonic-gate
827c478bd9Sstevel@tonic-gate$(ROOT_STARFIRE_CPU_DIR)/%: $(OBJS_DIR)/% $(ROOT_STARFIRE_CPU_DIR) FRC
837c478bd9Sstevel@tonic-gate	$(INS.file)
847c478bd9Sstevel@tonic-gate
857c478bd9Sstevel@tonic-gate$(ROOT_STARFIRE_MISC_DIR)/%: $(OBJS_DIR)/% $(ROOT_STARFIRE_MISC_DIR) FRC
867c478bd9Sstevel@tonic-gate	$(INS.file)
877c478bd9Sstevel@tonic-gate
887c478bd9Sstevel@tonic-gate#
897c478bd9Sstevel@tonic-gate#	Include common targets.
907c478bd9Sstevel@tonic-gate#
917c478bd9Sstevel@tonic-gateinclude $(UTSBASE)/sun4u/ngdr/Makefile.rules
927c478bd9Sstevel@tonic-gateinclude $(UTSBASE)/sun4u/starfire/Makefile.rules
937c478bd9Sstevel@tonic-gateinclude $(UTSBASE)/sun4u/Makefile.targ
94