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