xref: /titanic_41/usr/src/uts/sun4u/seattle/Makefile.targ (revision 1e49577a7fcde812700ded04431b49d67cc57d6d)
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#
23*1e49577aSRod Evans# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
24d58fda43Sjbeloro#
25d58fda43Sjbeloro#	Common targets for sun4u implementation specific modules.
26d58fda43Sjbeloro#
27d58fda43Sjbeloro
28d58fda43Sjbeloro.KEEP_STATE:
29d58fda43Sjbeloro
30d58fda43SjbeloroIMPLEMENTED_PLATFORM   = SUNW,Sun-Fire-V215
31d58fda43Sjbeloro#
32d58fda43Sjbeloro# Rules for implementation subdirectories.
33d58fda43Sjbeloro#
34d58fda43Sjbeloro$(ROOT_SEATTLE_DIR): $(ROOT_PLAT_DIR)
3548bc00d6Sjmcp	-$(INS.dir)
36d58fda43Sjbeloro
37d58fda43Sjbeloro$(ROOT_SEATTLE_MOD_DIR): $(ROOT_SEATTLE_DIR)
3848bc00d6Sjmcp	-$(INS.dir)
39d58fda43Sjbeloro
40d58fda43Sjbeloro$(ROOT_SEATTLE_MISC_DIR_32): $(ROOT_SEATTLE_MOD_DIR)
4148bc00d6Sjmcp	-$(INS.dir)
42d58fda43Sjbeloro
43d58fda43Sjbeloro$(ROOT_SEATTLE_MISC_DIR_64): $(ROOT_SEATTLE_MISC_DIR_32)
4448bc00d6Sjmcp	-$(INS.dir)
45d58fda43Sjbeloro
46d58fda43Sjbeloro$(ROOT_SEATTLE_DRV_DIR_32): $(ROOT_SEATTLE_MOD_DIR)
4748bc00d6Sjmcp	-$(INS.dir)
48d58fda43Sjbeloro
49d58fda43Sjbeloro$(ROOT_SEATTLE_DRV_DIR_64): $(ROOT_SEATTLE_DRV_DIR_32)
5048bc00d6Sjmcp	-$(INS.dir)
51d58fda43Sjbeloro
52d58fda43Sjbeloro$(ROOT_SEATTLE_CRYPTO_DIR_32): $(ROOT_SEATTLE_MOD_DIR)
5348bc00d6Sjmcp	-$(INS.dir)
54d58fda43Sjbeloro
55d58fda43Sjbeloro$(ROOT_SEATTLE_CRYPTO_DIR_64): $(ROOT_SEATTLE_CRYPTO_DIR_32)
5648bc00d6Sjmcp	-$(INS.dir)
57d58fda43Sjbeloro
58d58fda43Sjbeloro$(USR_SEATTLE_DIR): $(USR_PLAT_DIR)
5948bc00d6Sjmcp	-$(INS.dir)
60d58fda43Sjbeloro
61d58fda43Sjbeloro$(USR_SEATTLE_INC_DIR): $(USR_SEATTLE_DIR)
62d58fda43Sjbeloro	-$(INS.slink4)
63d58fda43Sjbeloro
64d58fda43Sjbeloro$(USR_SEATTLE_SBIN_DIR): $(USR_SEATTLE_DIR)
6548bc00d6Sjmcp	$(INS.dir)
66d58fda43Sjbeloro
67d58fda43Sjbeloro$(USR_SEATTLE_SBIN_PRTDIAG): $(USR_SEATTLE_SBIN_DIR)
6824fe0b3bSjmcp	$(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/sbin/prtdiag $@
69d58fda43Sjbeloro
7006e46062Sjbeloro$(USR_SEATTLE_SBIN_FRUADM): $(USR_SEATTLE_SBIN_DIR)
7124fe0b3bSjmcp	$(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/sbin/fruadm $@
7206e46062Sjbeloro
73d58fda43Sjbeloro$(LINKED_PLATFORMS:%=$(ROOT_PLAT_DIR)/%): $(ROOT_PLAT_DIR)
74d58fda43Sjbeloro	$(INS.slink3)
75d58fda43Sjbeloro
76d58fda43Sjbeloro$(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%): $(USR_PLAT_DIR)
77d58fda43Sjbeloro	$(INS.slink3)
78d58fda43Sjbeloro
79d58fda43Sjbeloro$(USR_SEATTLE_LIB_DIR): $(USR_SEATTLE_DIR)
8048bc00d6Sjmcp	-$(INS.dir)
81d58fda43Sjbeloro
82d58fda43Sjbeloro$(USR_SEATTLE_ISYS_DIR): $(USR_SEATTLE_INC_DIR)
8348bc00d6Sjmcp	$(INS.dir)
84d58fda43Sjbeloro
85d58fda43Sjbeloro$(ROOT_SEATTLE_MOD_DIR)/%: $(OBJS_DIR)/% $(ROOT_SEATTLE_MOD_DIR)
86d58fda43Sjbeloro	$(INS.file)
87d58fda43Sjbeloro
88d58fda43Sjbeloro$(ROOT_SEATTLE_MISC_DIR)/%: $(OBJS_DIR)/% $(ROOT_SEATTLE_MISC_DIR)
89d58fda43Sjbeloro	$(INS.file)
90d58fda43Sjbeloro
91d58fda43Sjbeloro$(ROOT_SEATTLE_DRV_DIR)/%: $(OBJS_DIR)/% $(ROOT_SEATTLE_DRV_DIR)
92d58fda43Sjbeloro	$(INS.file)
93d58fda43Sjbeloro
94d58fda43Sjbeloro#
95d58fda43Sjbeloro#	Include common targets.
96d58fda43Sjbeloro#
97d58fda43Sjbeloroinclude $(UTSBASE)/sun4u/seattle/Makefile.rules
98d58fda43Sjbeloroinclude $(UTSBASE)/sun4u/Makefile.targ
99