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