xref: /titanic_44/usr/src/uts/sun4u/lw2plus/Makefile.rules (revision 3db86aab554edbb4244c8d1a1c90f152eee768af)
1*3db86aabSstevel#
2*3db86aabSstevel# CDDL HEADER START
3*3db86aabSstevel#
4*3db86aabSstevel# The contents of this file are subject to the terms of the
5*3db86aabSstevel# Common Development and Distribution License (the "License").
6*3db86aabSstevel# You may not use this file except in compliance with the License.
7*3db86aabSstevel#
8*3db86aabSstevel# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*3db86aabSstevel# or http://www.opensolaris.org/os/licensing.
10*3db86aabSstevel# See the License for the specific language governing permissions
11*3db86aabSstevel# and limitations under the License.
12*3db86aabSstevel#
13*3db86aabSstevel# When distributing Covered Code, include this CDDL HEADER in each
14*3db86aabSstevel# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*3db86aabSstevel# If applicable, add the following below this CDDL HEADER, with the
16*3db86aabSstevel# fields enclosed by brackets "[]" replaced with your own identifying
17*3db86aabSstevel# information: Portions Copyright [yyyy] [name of copyright owner]
18*3db86aabSstevel#
19*3db86aabSstevel# CDDL HEADER END
20*3db86aabSstevel#
21*3db86aabSstevel#
22*3db86aabSstevel# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
23*3db86aabSstevel# Use is subject to license terms.
24*3db86aabSstevel#
25*3db86aabSstevel#ident	"%Z%%M%	%I%	%E% SMI"
26*3db86aabSstevel#
27*3db86aabSstevel
28*3db86aabSstevel#
29*3db86aabSstevel#	This Makefile defines the build rules for the directory
30*3db86aabSstevel#	uts/sun4u/lw2plus.
31*3db86aabSstevel#
32*3db86aabSstevel#	The following two-level ordering must be maintained in this file.
33*3db86aabSstevel#	  Lines are sorted first in order of decreasing specificity based on
34*3db86aabSstevel#	  the first directory component.  That is, sun4u rules come before
35*3db86aabSstevel#	  sparc rules come before common rules.
36*3db86aabSstevel#
37*3db86aabSstevel#	  Lines whose initial directory components are equal are sorted
38*3db86aabSstevel#	  alphabetically by the remaining components.
39*3db86aabSstevel
40*3db86aabSstevel#
41*3db86aabSstevel#	Section 1a: C object build rules.  For some reason $< doesn't
42*3db86aabSstevel#	work here, so we explicitly list the sourcefile.
43*3db86aabSstevel#
44*3db86aabSstevel$(OBJS_DIR)/lombus.o:		$(UTSBASE)/sun4u/lw2plus/io/lombus.c
45*3db86aabSstevel	$(COMPILE.c) -o $@ $(UTSBASE)/sun4u/lw2plus/io/lombus.c
46*3db86aabSstevel	$(CTFCONVERT_O)
47*3db86aabSstevel
48*3db86aabSstevel#
49*3db86aabSstevel#	Section 1b: Lint `object' build rules
50*3db86aabSstevel#
51*3db86aabSstevel$(LINTS_DIR)/lombus.ln:		$(UTSBASE)/sun4u/lw2plus/io/lombus.c
52*3db86aabSstevel	@($(LHEAD) $(LINT.c) $(UTSBASE)/sun4u/lw2plus/io/lombus.c $(LTAIL))
53