xref: /titanic_50/usr/src/uts/sun4u/makaha/Makefile.targ (revision eab227978ccdaa5a7cc9fd92ace768915dae3a2b)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21#
22# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24#
25
26#
27#
28#	Common targets for sun4u MAKAHA implementation specific modules.
29#
30#
31# Platform targets
32#
33$(ROOT_MAKAHA_DIR): $(ROOT_PLAT_DIR)
34	-$(INS.dir)
35
36.KEEP_STATE:
37
38#
39# Rules for implementation subdirectories.
40#
41$(ROOT_MAKAHA_MOD_DIR): $(ROOT_MAKAHA_DIR)
42	-$(INS.dir)
43
44$(ROOT_MAKAHA_DRV_DIR_32): $(ROOT_MAKAHA_MOD_DIR)
45	-$(INS.dir)
46
47$(ROOT_MAKAHA_DRV_DIR_64): $(ROOT_MAKAHA_DRV_DIR_32)
48	-$(INS.dir)
49
50$(ROOT_MAKAHA_MISC_DIR_32): $(ROOT_MAKAHA_MOD_DIR)
51	-$(INS.dir)
52
53$(ROOT_MAKAHA_MISC_DIR_64): $(ROOT_MAKAHA_MISC_DIR_32)
54	-$(INS.dir)
55
56$(USR_MAKAHA_DIR): $(USR_PLAT_DIR)
57	-$(INS.dir)
58
59$(USR_MAKAHA_INC_DIR): $(USR_MAKAHA_DIR)
60	-$(INS.slink4)
61
62$(USR_MAKAHA_SBIN_DIR): $(USR_MAKAHA_DIR)
63	-$(INS.slink5)
64
65$(USR_MAKAHA_LIB_DIR): $(USR_MAKAHA_DIR)
66	-$(INS.dir)
67
68$(USR_MAKAHA_ISYS_DIR): $(USR_MAKAHA_DIR)
69	-$(INS.dir)
70
71$(ROOT_MAKAHA_MOD_DIR)/%: $(OBJS_DIR)/% $(ROOT_MAKAHA_MOD_DIR)
72	$(INS.file)
73
74$(ROOT_MAKAHA_MISC_DIR)/%: $(OBJS_DIR)/% $(ROOT_MAKAHA_MISC_DIR)
75	$(INS.file)
76
77$(ROOT_MAKAHA_DACF_DIR_32): $(ROOT_MAKAHA_MOD_DIR)
78	-$(INS.dir)
79
80$(ROOT_MAKAHA_DACF_DIR_64): $(ROOT_MAKAHA_DACF_DIR_32)
81	-$(INS.dir)
82
83$(ROOT_MAKAHA_DACF_DIR)/%: $(OBJS_DIR)/% $(ROOT_MAKAHA_DACF_DIR)
84	$(INS.file)
85
86$(ROOT_MAKAHA_DRV_DIR)/%: $(OBJS_DIR)/% $(ROOT_MAKAHA_DRV_DIR) FRC
87	$(INS.file)
88
89#
90# Create Sputnik platform directories
91#
92$(ROOT_SPUTNIK_DIR): $(ROOT_PLAT_DIR)
93	-$(INS.dir)
94
95$(ROOT_SPUTNIK_MOD_DIR): $(ROOT_SPUTNIK_DIR)
96	-$(INS.dir)
97
98$(ROOT_SPUTNIK_DRV_DIR_32): $(ROOT_SPUTNIK_MOD_DIR)
99	-$(INS.dir)
100
101$(ROOT_SPUTNIK_DRV_DIR_64): $(ROOT_SPUTNIK_DRV_DIR_32)
102	-$(INS.dir)
103
104$(ROOT_SPUTNIK_MISC_DIR_32): $(ROOT_SPUTNIK_MOD_DIR)
105	-$(INS.dir)
106
107$(ROOT_SPUTNIK_MISC_DIR_64): $(ROOT_SPUTNIK_MISC_DIR_32)
108	-$(INS.dir)
109
110$(USR_SPUTNIK_DIR): $(USR_PLAT_DIR)
111	-$(INS.dir)
112
113$(USR_SPUTNIK_INC_DIR): $(USR_SPUTNIK_DIR)
114	-$(INS.slink4)
115
116$(USR_SPUTNIK_SBIN_DIR): $(USR_SPUTNIK_DIR)
117	-$(INS.slink5)
118
119$(USR_SPUTNIK_LIB_DIR): $(USR_SPUTNIK_DIR)
120	-$(INS.dir)
121
122$(USR_SPUTNIK_ISYS_DIR): $(USR_SPUTNIK_DIR)
123	-$(INS.dir)
124
125$(ROOT_SPUTNIK_MOD_DIR)/%: $(OBJS_DIR)/% $(ROOT_SPUTNIK_MOD_DIR)
126	$(INS.file)
127
128$(ROOT_SPUTNIK_MISC_DIR)/%: $(OBJS_DIR)/% $(ROOT_SPUTNIK_MISC_DIR)
129	$(INS.file)
130
131$(ROOT_SPUTNIK_DRV_DIR)/%: $(OBJS_DIR)/% $(ROOT_SPUTNIK_DRV_DIR)
132	$(INS.file)
133
134$(ROOT_SPUTNIK_DACF_DIR_32): $(ROOT_SPUTNIK_MOD_DIR)
135	-$(INS.dir)
136
137$(ROOT_SPUTNIK_DACF_DIR_64): $(ROOT_SPUTNIK_DACF_DIR_32)
138	-$(INS.dir)
139
140$(ROOT_SPUTNIK_DACF_DIR)/%: $(OBJS_DIR)/% $(ROOT_SPUTNIK_DACF_DIR)
141	$(INS.file)
142
143#
144#	Include common targets.
145#
146include $(UTSBASE)/sun4u/Makefile.targ
147