xref: /illumos-gate/usr/src/uts/sun4u/opl/Makefile.targ (revision 2063d9c0)
1*2063d9c0SJosef 'Jeff' Sipek#
225cf1a30Sjl# CDDL HEADER START
325cf1a30Sjl#
425cf1a30Sjl# The contents of this file are subject to the terms of the
525cf1a30Sjl# Common Development and Distribution License (the "License").
625cf1a30Sjl# You may not use this file except in compliance with the License.
725cf1a30Sjl#
825cf1a30Sjl# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
925cf1a30Sjl# or http://www.opensolaris.org/os/licensing.
1025cf1a30Sjl# See the License for the specific language governing permissions
1125cf1a30Sjl# and limitations under the License.
1225cf1a30Sjl#
1325cf1a30Sjl# When distributing Covered Code, include this CDDL HEADER in each
1425cf1a30Sjl# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1525cf1a30Sjl# If applicable, add the following below this CDDL HEADER, with the
1625cf1a30Sjl# fields enclosed by brackets "[]" replaced with your own identifying
1725cf1a30Sjl# information: Portions Copyright [yyyy] [name of copyright owner]
1825cf1a30Sjl#
1925cf1a30Sjl# CDDL HEADER END
2025cf1a30Sjl#
2125cf1a30Sjl#
22*2063d9c0SJosef 'Jeff' Sipek# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
23*2063d9c0SJosef 'Jeff' Sipek#
24*2063d9c0SJosef 'Jeff' Sipek#	Common targets for sun4u opl implementation specific modules.
25*2063d9c0SJosef 'Jeff' Sipek#
26*2063d9c0SJosef 'Jeff' Sipek# uts/sun4u/opl/Makefile.targ
27*2063d9c0SJosef 'Jeff' Sipek#
28*2063d9c0SJosef 'Jeff' Sipek
29*2063d9c0SJosef 'Jeff' Sipek.KEEP_STATE:
30*2063d9c0SJosef 'Jeff' Sipek
31*2063d9c0SJosef 'Jeff' Sipek#
32*2063d9c0SJosef 'Jeff' Sipek# Rules for implementation subdirectories.
3325cf1a30Sjl#
34*2063d9c0SJosef 'Jeff' Sipek$(ROOT_OPL_DIR): $(ROOT_PLAT_DIR)
35*2063d9c0SJosef 'Jeff' Sipek	-$(INS.dir)
36*2063d9c0SJosef 'Jeff' Sipek
37*2063d9c0SJosef 'Jeff' Sipek$(ROOT_OPL_MOD_DIR): $(ROOT_OPL_DIR)
38*2063d9c0SJosef 'Jeff' Sipek	-$(INS.dir)
39*2063d9c0SJosef 'Jeff' Sipek
40*2063d9c0SJosef 'Jeff' Sipek$(ROOT_OPL_DRV_DIR_32): $(ROOT_OPL_MOD_DIR)
41*2063d9c0SJosef 'Jeff' Sipek	-$(INS.dir)
42*2063d9c0SJosef 'Jeff' Sipek
43*2063d9c0SJosef 'Jeff' Sipek$(ROOT_OPL_DRV_DIR_64): $(ROOT_OPL_DRV_DIR_32)
44*2063d9c0SJosef 'Jeff' Sipek	-$(INS.dir)
45*2063d9c0SJosef 'Jeff' Sipek
46*2063d9c0SJosef 'Jeff' Sipek$(ROOT_OPL_CPU_DIR_32): $(ROOT_OPL_MOD_DIR)
47*2063d9c0SJosef 'Jeff' Sipek	-$(INS.dir)
48*2063d9c0SJosef 'Jeff' Sipek
49*2063d9c0SJosef 'Jeff' Sipek$(ROOT_OPL_CPU_DIR_64): $(ROOT_OPL_CPU_DIR_32)
50*2063d9c0SJosef 'Jeff' Sipek	-$(INS.dir)
51*2063d9c0SJosef 'Jeff' Sipek
52*2063d9c0SJosef 'Jeff' Sipek$(ROOT_OPL_MISC_DIR_32): $(ROOT_OPL_MOD_DIR)
53*2063d9c0SJosef 'Jeff' Sipek	-$(INS.dir)
54*2063d9c0SJosef 'Jeff' Sipek
55*2063d9c0SJosef 'Jeff' Sipek$(ROOT_OPL_MISC_DIR_64): $(ROOT_OPL_MISC_DIR_32)
56*2063d9c0SJosef 'Jeff' Sipek	-$(INS.dir)
5725cf1a30Sjl
58*2063d9c0SJosef 'Jeff' Sipek$(ROOT_OPL_CRYPTO_DIR_32): $(ROOT_OPL_MOD_DIR)
59*2063d9c0SJosef 'Jeff' Sipek	-$(INS.dir)
6025cf1a30Sjl
61*2063d9c0SJosef 'Jeff' Sipek$(ROOT_OPL_CRYPTO_DIR_64): $(ROOT_OPL_CRYPTO_DIR_32)
62*2063d9c0SJosef 'Jeff' Sipek	-$(INS.dir)
63*2063d9c0SJosef 'Jeff' Sipek
64*2063d9c0SJosef 'Jeff' Sipek$(USR_OPL_DIR): $(USR_PLAT_DIR)
65*2063d9c0SJosef 'Jeff' Sipek	-$(INS.dir)
66*2063d9c0SJosef 'Jeff' Sipek
67*2063d9c0SJosef 'Jeff' Sipek$(USR_OPL_INC_DIR): $(USR_OPL_DIR) $(USR_PSM_INCL_DIR)
68*2063d9c0SJosef 'Jeff' Sipek	$(INS.slink4)
69*2063d9c0SJosef 'Jeff' Sipek
70*2063d9c0SJosef 'Jeff' Sipek$(USR_OPL_SBIN_DIR):	$(USR_OPL_DIR) $(USR_PSM_SBIN_DIR)
71*2063d9c0SJosef 'Jeff' Sipek	$(INS.dir)
72*2063d9c0SJosef 'Jeff' Sipek
73*2063d9c0SJosef 'Jeff' Sipek$(USR_OPL_SBIN_PRTDIAG): $(USR_OPL_SBIN_DIR)
74*2063d9c0SJosef 'Jeff' Sipek	$(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/sbin/prtdiag $@
75*2063d9c0SJosef 'Jeff' Sipek
76*2063d9c0SJosef 'Jeff' Sipek$(USR_OPL_SBIN_FRUADM): $(USR_OPL_SBIN_DIR)
77*2063d9c0SJosef 'Jeff' Sipek	$(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/sbin/fruadm $@
78*2063d9c0SJosef 'Jeff' Sipek
79*2063d9c0SJosef 'Jeff' Sipek$(USR_OPL_LIB_DIR):	$(USR_OPL_DIR) $(USR_PSM_LIB_DIR)
80*2063d9c0SJosef 'Jeff' Sipek	-$(INS.dir)
81*2063d9c0SJosef 'Jeff' Sipek
82*2063d9c0SJosef 'Jeff' Sipek$(USR_OPL_ISYS_DIR): $(USR_OPL_INC_DIR)
83*2063d9c0SJosef 'Jeff' Sipek	$(INS.dir)
84*2063d9c0SJosef 'Jeff' Sipek
85*2063d9c0SJosef 'Jeff' Sipek$(ROOT_OPL_KERN_DIR)/%: $(OBJS_DIR)/% $(ROOT_OPL_KERN_DIR) FRC
86*2063d9c0SJosef 'Jeff' Sipek	$(INS.file)
87*2063d9c0SJosef 'Jeff' Sipek
88*2063d9c0SJosef 'Jeff' Sipek$(ROOT_OPL_DRV_DIR)/%: $(OBJS_DIR)/% $(ROOT_OPL_DRV_DIR) FRC
89*2063d9c0SJosef 'Jeff' Sipek	$(INS.file)
90*2063d9c0SJosef 'Jeff' Sipek
91*2063d9c0SJosef 'Jeff' Sipek$(ROOT_OPL_CPU_DIR)/%: $(OBJS_DIR)/% $(ROOT_OPL_CPU_DIR) FRC
92*2063d9c0SJosef 'Jeff' Sipek	$(INS.file)
93*2063d9c0SJosef 'Jeff' Sipek
94*2063d9c0SJosef 'Jeff' Sipek$(ROOT_OPL_MISC_DIR)/%: $(OBJS_DIR)/% $(ROOT_OPL_MISC_DIR) FRC
95*2063d9c0SJosef 'Jeff' Sipek	$(INS.file)
96*2063d9c0SJosef 'Jeff' Sipek
97*2063d9c0SJosef 'Jeff' Sipek#
98*2063d9c0SJosef 'Jeff' Sipek#	Include common targets.
99*2063d9c0SJosef 'Jeff' Sipek#
100*2063d9c0SJosef 'Jeff' Sipekinclude $(UTSBASE)/sun4u/opl/Makefile.rules
101*2063d9c0SJosef 'Jeff' Sipekinclude $(UTSBASE)/sun4u/Makefile.targ
102