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