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