Makefile.rules revision 1cb6af97c6f66f456d4f726ef056e1ebc0f73305
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson#
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson# CDDL HEADER START
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson#
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson# The contents of this file are subject to the terms of the
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson# Common Development and Distribution License, Version 1.0 only
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson# (the "License"). You may not use this file except in compliance
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson# with the License.
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson#
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson# or http://www.opensolaris.org/os/licensing.
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson# See the License for the specific language governing permissions
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson# and limitations under the License.
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson#
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson# When distributing Covered Code, include this CDDL HEADER in each
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson# If applicable, add the following below this CDDL HEADER, with the
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson# fields enclosed by brackets "[]" replaced with your own identifying
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson# information: Portions Copyright [yyyy] [name of copyright owner]
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson#
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson# CDDL HEADER END
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson#
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson# Use is subject to license terms.
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson#
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson#pragma ident "%Z%%M% %I% %E% SMI"
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson#
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson# This Makefile defines the build rules for the directory
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson# uts/sun4u/schumacher.
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson#
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson# The following two-level ordering must be maintained in this file.
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson# Lines are sorted first in order of decreasing specificity based on
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson# the first directory component. That is, sun4u rules come before
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson# sparc rules come before common rules.
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson#
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson# Lines whose initial directory components are equal are sorted
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson# alphabetically by the remaining components.
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson#
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson# Section 1a: C object build rules
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson#
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson$(OBJS_DIR)/%.o: $(UTSBASE)/sun4u/schumacher/os/%.c
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson $(COMPILE.c) -o $@ $<
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson $(CTFCONVERT_O)
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson#
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson# Section 1b: Lint `object' build rules
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson#
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/schumacher/os/%.c
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson @($(LHEAD) $(LINT.c) $< $(LTAIL))
1cb6af97c6f66f456d4f726ef056e1ebc0f73305wnelson