xref: /titanic_50/usr/src/uts/sun4u/seattle/Makefile.rules (revision d58fda4376e4bf67072ce2e69f6f47036f9dbb68)
1#
2# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
3# Use is subject to license terms.
4#
5#ident	"%Z%%M%	%I%	%E% SMI"
6#
7
8#
9#	This Makefile defines the build rules for the directory
10#	uts/sun4u/seattle.
11#
12#	The following two-level ordering must be maintained in this file.
13#	  Lines are sorted first in order of decreasing specificity based on
14#	  the first directory component.  That is, sun4u rules come before
15#	  sparc rules come before common rules.
16#
17#	  Lines whose initial directory components are equal are sorted
18#	  alphabetically by the remaining components.
19
20#
21#	Section 1a: C object build rules
22#
23
24$(OBJS_DIR)/%.o:	$(UTSBASE)/sun4u/seattle/os/%.c
25	$(COMPILE.c) -o $@ $<
26	$(CTFCONVERT_O)
27
28#
29#	Section 1b: Lint `object' build rules
30#
31
32$(LINTS_DIR)/%.ln:	$(UTSBASE)/sun4u/seattle/os/%.c
33	@($(LHEAD) $(LINT.c) $< $(LTAIL))
34