6811333 Remove prom_printf() message in emlxs driver
[opensolaris.git] / usr / src / uts / sun4 / Makefile.rules
blob48f9f83fcd729a0d58d4645bc00351a106a6f328
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
23 # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
24 # Use is subject to license terms.
26 # ident "%Z%%M% %I%     %E% SMI"
28 #       This Makefile defines the build rules for the directory uts/sun4
29 #       and its children. These are the source files which are generic
30 #       to the sun4* machine classes.
32 #       The following ordering must be maintained in this file.
33 #         Lines whose initial directory components are equal are sorted
34 #         alphabetically by the remaining components.
37 #       Section 1a: C object build rules
39 SUN4_BASE=$(UTSBASE)/sun4
41 $(OBJS_DIR)/%.o:                $(SUN4_BASE)/conf/%.c
42         $(COMPILE.c) -o $@ $<
43         $(CTFCONVERT_O)
45 $(OBJS_DIR)/%.o:                $(SUN4_BASE)/conf/%.s
46         $(COMPILE.s) -o $@ $<
48 $(OBJS_DIR)/%.o:                $(SUN4_BASE)/cpu/%.c
49         $(COMPILE.c) -o $@ $<
50         $(CTFCONVERT_O)
52 $(OBJS_DIR)/%.o:                $(SUN4_BASE)/cpu/%.s
53         $(COMPILE.s) -o $@ $<
55 $(OBJS_DIR)/%.o:                $(SUN4_BASE)/io/%.c
56         $(COMPILE.c) -o $@ $<
57         $(CTFCONVERT_O)
59 $(OBJS_DIR)/%.o:                $(SUN4_BASE)/io/efcode/%.c
60         $(COMPILE.c) -o $@ $<
61         $(CTFCONVERT_O)
63 $(OBJS_DIR)/%.o:                $(SUN4_BASE)/io/pci/%.c
64         $(COMPILE.c) -o $@ $<
65         $(CTFCONVERT_O)
67 $(OBJS_DIR)/%.o:                $(SUN4_BASE)/io/px/%.c
68         $(COMPILE.c) -o $@ $<
69         $(CTFCONVERT_O)
71 $(OBJS_DIR)/%.o:                $(SUN4_BASE)/io/fpc/%.c
72         $(COMPILE.c) -o $@ $<
73         $(CTFCONVERT_O)
75 $(OBJS_DIR)/%.o:                $(SUN4_BASE)/ml/%.s
76         $(COMPILE.s) -o $@ $<
78 $(OBJS_DIR)/%.o:                $(SUN4_BASE)/os/%.c
79         $(COMPILE.c) -o $@ $<
80         $(CTFCONVERT_O)
82 $(OBJS_DIR)/%.o:                $(SUN4_BASE)/vm/%.c
83         $(COMPILE.c) -o $@ $<
84         $(CTFCONVERT_O)
86 $(OBJS_DIR)/%.o:                $(SUN4_BASE)/ebus/%.c
87         $(COMPILE.c) -o $@ $<
88         $(CTFCONVERT_O)
91 #       Section 1b: Lint `object' build rules
93 $(LINTS_DIR)/%.ln:              $(SUN4_BASE)/conf/%.c
94         @($(LHEAD) $(LINT.c) $< $(LTAIL))
96 $(LINTS_DIR)/%.ln:              $(SUN4_BASE)/conf/%.s
97         @($(LHEAD) $(LINT.s) $< $(LTAIL))
99 $(LINTS_DIR)/%.ln:              $(SUN4_BASE)/cpu/%.c
100         @($(LHEAD) $(LINT.c) $< $(LTAIL))
102 $(LINTS_DIR)/%.ln:              $(SUN4_BASE)/cpu/%.s
103         @($(LHEAD) $(LINT.c) $< $(LTAIL))
105 $(LINTS_DIR)/%.ln:              $(SUN4_BASE)/io/%.c
106         @($(LHEAD) $(LINT.c) $< $(LTAIL))
108 $(LINTS_DIR)/%.ln:              $(SUN4_BASE)/io/efcode/%.c
109         @($(LHEAD) $(LINT.c) $< $(LTAIL))
111 $(LINTS_DIR)/%.ln:              $(SUN4_BASE)/io/pci/%.c
112         @($(LHEAD) $(LINT.c) $< $(LTAIL))
114 $(LINTS_DIR)/%.ln:              $(SUN4_BASE)/io/px/%.c
115         @($(LHEAD) $(LINT.c) $< $(LTAIL))
117 $(LINTS_DIR)/%.ln:              $(SUN4_BASE)/io/fpc/%.c
118         @($(LHEAD) $(LINT.c) $< $(LTAIL))
120 $(LINTS_DIR)/%.ln:              $(SUN4_BASE)/ml/%.s
121         @($(LHEAD) $(LINT.s) $< $(LTAIL))
123 $(LINTS_DIR)/%.ln:              $(SUN4_BASE)/os/%.c
124         @($(LHEAD) $(LINT.c) $< $(LTAIL))
126 $(LINTS_DIR)/%.ln:              $(SUN4_BASE)/vm/%.c
127         @($(LHEAD) $(LINT.c) $< $(LTAIL))
129 $(LINTS_DIR)/%.ln:              $(SUN4_BASE)/ebus/%.c
130         @($(LHEAD) $(LINT.c) $< $(LTAIL))