xref: /titanic_41/usr/src/uts/sun4u/makaha/Makefile.targ (revision 48bc00d6814e04ff3edb32cafe7d1bc580baff68)
103831d35Sstevel#
203831d35Sstevel# CDDL HEADER START
303831d35Sstevel#
403831d35Sstevel# The contents of this file are subject to the terms of the
503831d35Sstevel# Common Development and Distribution License (the "License").
603831d35Sstevel# You may not use this file except in compliance with the License.
703831d35Sstevel#
803831d35Sstevel# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
903831d35Sstevel# or http://www.opensolaris.org/os/licensing.
1003831d35Sstevel# See the License for the specific language governing permissions
1103831d35Sstevel# and limitations under the License.
1203831d35Sstevel#
1303831d35Sstevel# When distributing Covered Code, include this CDDL HEADER in each
1403831d35Sstevel# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1503831d35Sstevel# If applicable, add the following below this CDDL HEADER, with the
1603831d35Sstevel# fields enclosed by brackets "[]" replaced with your own identifying
1703831d35Sstevel# information: Portions Copyright [yyyy] [name of copyright owner]
1803831d35Sstevel#
1903831d35Sstevel# CDDL HEADER END
2003831d35Sstevel#
2103831d35Sstevel#
22*48bc00d6Sjmcp# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
2303831d35Sstevel# Use is subject to license terms.
2403831d35Sstevel#
25*48bc00d6Sjmcp
2603831d35Sstevel#
2703831d35Sstevel#
2803831d35Sstevel#	Common targets for sun4u MAKAHA implementation specific modules.
2903831d35Sstevel#
3003831d35Sstevel#
3103831d35Sstevel# Platform targets
3203831d35Sstevel#
3303831d35Sstevel$(ROOT_MAKAHA_DIR): $(ROOT_PLAT_DIR)
34*48bc00d6Sjmcp	-$(INS.dir)
3503831d35Sstevel
3603831d35Sstevel.KEEP_STATE:
3703831d35Sstevel
3803831d35Sstevel#
3903831d35Sstevel# Rules for implementation subdirectories.
4003831d35Sstevel#
4103831d35Sstevel$(ROOT_MAKAHA_MOD_DIR): $(ROOT_MAKAHA_DIR)
42*48bc00d6Sjmcp	-$(INS.dir)
4303831d35Sstevel
4403831d35Sstevel$(ROOT_MAKAHA_DRV_DIR_32): $(ROOT_MAKAHA_MOD_DIR)
45*48bc00d6Sjmcp	-$(INS.dir)
4603831d35Sstevel
4703831d35Sstevel$(ROOT_MAKAHA_DRV_DIR_64): $(ROOT_MAKAHA_DRV_DIR_32)
48*48bc00d6Sjmcp	-$(INS.dir)
4903831d35Sstevel
5003831d35Sstevel$(ROOT_MAKAHA_MISC_DIR_32): $(ROOT_MAKAHA_MOD_DIR)
51*48bc00d6Sjmcp	-$(INS.dir)
5203831d35Sstevel
5303831d35Sstevel$(ROOT_MAKAHA_MISC_DIR_64): $(ROOT_MAKAHA_MISC_DIR_32)
54*48bc00d6Sjmcp	-$(INS.dir)
5503831d35Sstevel
5603831d35Sstevel$(USR_MAKAHA_DIR): $(USR_PLAT_DIR)
57*48bc00d6Sjmcp	-$(INS.dir)
5803831d35Sstevel
5903831d35Sstevel$(USR_MAKAHA_INC_DIR): $(USR_MAKAHA_DIR)
6003831d35Sstevel	-$(INS.slink4)
6103831d35Sstevel
6203831d35Sstevel$(USR_MAKAHA_SBIN_DIR): $(USR_MAKAHA_DIR)
6303831d35Sstevel	-$(INS.slink5)
6403831d35Sstevel
6503831d35Sstevel$(USR_MAKAHA_LIB_DIR): $(USR_MAKAHA_DIR)
66*48bc00d6Sjmcp	-$(INS.dir)
6703831d35Sstevel
6803831d35Sstevel$(USR_MAKAHA_ISYS_DIR): $(USR_MAKAHA_DIR)
69*48bc00d6Sjmcp	-$(INS.dir)
7003831d35Sstevel
7103831d35Sstevel$(ROOT_MAKAHA_MOD_DIR)/%: $(OBJS_DIR)/% $(ROOT_MAKAHA_MOD_DIR)
7203831d35Sstevel	$(INS.file)
7303831d35Sstevel
7403831d35Sstevel$(ROOT_MAKAHA_MISC_DIR)/%: $(OBJS_DIR)/% $(ROOT_MAKAHA_MISC_DIR)
7503831d35Sstevel	$(INS.file)
7603831d35Sstevel
7703831d35Sstevel$(ROOT_MAKAHA_DACF_DIR_32): $(ROOT_MAKAHA_MOD_DIR)
78*48bc00d6Sjmcp	-$(INS.dir)
7903831d35Sstevel
8003831d35Sstevel$(ROOT_MAKAHA_DACF_DIR_64): $(ROOT_MAKAHA_DACF_DIR_32)
81*48bc00d6Sjmcp	-$(INS.dir)
8203831d35Sstevel
8303831d35Sstevel$(ROOT_MAKAHA_DACF_DIR)/%: $(OBJS_DIR)/% $(ROOT_MAKAHA_DACF_DIR)
8403831d35Sstevel	$(INS.file)
8503831d35Sstevel
8603831d35Sstevel$(ROOT_MAKAHA_DRV_DIR)/%: $(OBJS_DIR)/% $(ROOT_MAKAHA_DRV_DIR) FRC
8703831d35Sstevel	$(INS.file)
8803831d35Sstevel
8903831d35Sstevel#
9003831d35Sstevel# Create Sputnik platform directories
9103831d35Sstevel#
9203831d35Sstevel$(ROOT_SPUTNIK_DIR): $(ROOT_PLAT_DIR)
93*48bc00d6Sjmcp	-$(INS.dir)
9403831d35Sstevel
9503831d35Sstevel$(ROOT_SPUTNIK_MOD_DIR): $(ROOT_SPUTNIK_DIR)
96*48bc00d6Sjmcp	-$(INS.dir)
9703831d35Sstevel
9803831d35Sstevel$(ROOT_SPUTNIK_DRV_DIR_32): $(ROOT_SPUTNIK_MOD_DIR)
99*48bc00d6Sjmcp	-$(INS.dir)
10003831d35Sstevel
10103831d35Sstevel$(ROOT_SPUTNIK_DRV_DIR_64): $(ROOT_SPUTNIK_DRV_DIR_32)
102*48bc00d6Sjmcp	-$(INS.dir)
10303831d35Sstevel
10403831d35Sstevel$(ROOT_SPUTNIK_MISC_DIR_32): $(ROOT_SPUTNIK_MOD_DIR)
105*48bc00d6Sjmcp	-$(INS.dir)
10603831d35Sstevel
10703831d35Sstevel$(ROOT_SPUTNIK_MISC_DIR_64): $(ROOT_SPUTNIK_MISC_DIR_32)
108*48bc00d6Sjmcp	-$(INS.dir)
10903831d35Sstevel
11003831d35Sstevel$(USR_SPUTNIK_DIR): $(USR_PLAT_DIR)
111*48bc00d6Sjmcp	-$(INS.dir)
11203831d35Sstevel
11303831d35Sstevel$(USR_SPUTNIK_INC_DIR): $(USR_SPUTNIK_DIR)
11403831d35Sstevel	-$(INS.slink4)
11503831d35Sstevel
11603831d35Sstevel$(USR_SPUTNIK_SBIN_DIR): $(USR_SPUTNIK_DIR)
11703831d35Sstevel	-$(INS.slink5)
11803831d35Sstevel
11903831d35Sstevel$(USR_SPUTNIK_LIB_DIR): $(USR_SPUTNIK_DIR)
120*48bc00d6Sjmcp	-$(INS.dir)
12103831d35Sstevel
12203831d35Sstevel$(USR_SPUTNIK_ISYS_DIR): $(USR_SPUTNIK_DIR)
123*48bc00d6Sjmcp	-$(INS.dir)
12403831d35Sstevel
12503831d35Sstevel$(ROOT_SPUTNIK_MOD_DIR)/%: $(OBJS_DIR)/% $(ROOT_SPUTNIK_MOD_DIR)
12603831d35Sstevel	$(INS.file)
12703831d35Sstevel
12803831d35Sstevel$(ROOT_SPUTNIK_MISC_DIR)/%: $(OBJS_DIR)/% $(ROOT_SPUTNIK_MISC_DIR)
12903831d35Sstevel	$(INS.file)
13003831d35Sstevel
13103831d35Sstevel$(ROOT_SPUTNIK_DRV_DIR)/%: $(OBJS_DIR)/% $(ROOT_SPUTNIK_DRV_DIR)
13203831d35Sstevel	$(INS.file)
13303831d35Sstevel
13403831d35Sstevel$(ROOT_SPUTNIK_DACF_DIR_32): $(ROOT_SPUTNIK_MOD_DIR)
135*48bc00d6Sjmcp	-$(INS.dir)
13603831d35Sstevel
13703831d35Sstevel$(ROOT_SPUTNIK_DACF_DIR_64): $(ROOT_SPUTNIK_DACF_DIR_32)
138*48bc00d6Sjmcp	-$(INS.dir)
13903831d35Sstevel
14003831d35Sstevel$(ROOT_SPUTNIK_DACF_DIR)/%: $(OBJS_DIR)/% $(ROOT_SPUTNIK_DACF_DIR)
14103831d35Sstevel	$(INS.file)
14203831d35Sstevel
14303831d35Sstevel#
14403831d35Sstevel#	Include common targets.
14503831d35Sstevel#
14603831d35Sstevelinclude $(UTSBASE)/sun4u/Makefile.targ
147