17c478bd9Sstevel@tonic-gate# 27c478bd9Sstevel@tonic-gate# CDDL HEADER START 37c478bd9Sstevel@tonic-gate# 47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the 59acbbeafSnn35248# Common Development and Distribution License (the "License"). 69acbbeafSnn35248# You may not use this file except in compliance with the License. 77c478bd9Sstevel@tonic-gate# 87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions 117c478bd9Sstevel@tonic-gate# and limitations under the License. 127c478bd9Sstevel@tonic-gate# 137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 187c478bd9Sstevel@tonic-gate# 197c478bd9Sstevel@tonic-gate# CDDL HEADER END 207c478bd9Sstevel@tonic-gate# 217c478bd9Sstevel@tonic-gate# 22e7cbe64fSgw25295# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 237c478bd9Sstevel@tonic-gate# Use is subject to license terms. 247c478bd9Sstevel@tonic-gate# 25*e4b86885SCheng Sean Ye 267c478bd9Sstevel@tonic-gate# 277c478bd9Sstevel@tonic-gate# This Makefile defines all file modules and build rules for the 287c478bd9Sstevel@tonic-gate# directory uts/intel and its children. These are the source files which 297c478bd9Sstevel@tonic-gate# are specific to the intel processor. 307c478bd9Sstevel@tonic-gate# 317c478bd9Sstevel@tonic-gate# The following two-level ordering must be maintained in this file. 327c478bd9Sstevel@tonic-gate# Lines are sorted first in order of decreasing specificity based on 337c478bd9Sstevel@tonic-gate# the first directory component. That is, sun4u rules come before 347c478bd9Sstevel@tonic-gate# sparc rules come before common rules. 357c478bd9Sstevel@tonic-gate# 367c478bd9Sstevel@tonic-gate# Lines whose initial directory components are equal are sorted 377c478bd9Sstevel@tonic-gate# alphabetically by the remaining components. 387c478bd9Sstevel@tonic-gate 397c478bd9Sstevel@tonic-gate# 40ae115bc7Smrj# Need a way to distinguish between the ia32 and amd64 subdirs. 41ae115bc7Smrj# 42ae115bc7SmrjSUBARCH_DIR_32 = ia32 43ae115bc7SmrjSUBARCH_DIR_64 = amd64 44ae115bc7SmrjSUBARCH_DIR = $(SUBARCH_DIR_$(CLASS)) 45ae115bc7Smrj 46ae115bc7Smrj# 477c478bd9Sstevel@tonic-gate# Section 1a: C object build rules 487c478bd9Sstevel@tonic-gate# 497c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o: $(SRC)/common/fs/%.c 507c478bd9Sstevel@tonic-gate $(COMPILE.c) -o $@ $< 517c478bd9Sstevel@tonic-gate $(CTFCONVERT_O) 527c478bd9Sstevel@tonic-gate 53ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/common/io/power/%.c 54ae115bc7Smrj $(COMPILE.c) -o $@ $< 55ae115bc7Smrj $(CTFCONVERT_O) 56ae115bc7Smrj 5789518a1cSdmick$(OBJS_DIR)/%.o: $(SRC)/common/util/i386/%.s 5889518a1cSdmick $(COMPILE.s) -o $@ $< 597c478bd9Sstevel@tonic-gate 609acbbeafSnn35248$(OBJS_DIR)/%.o: $(UTSBASE)/intel/brand/sn1/%.s 619acbbeafSnn35248 $(COMPILE.s) -o $@ $< 629acbbeafSnn35248 637c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o: $(UTSBASE)/intel/dtrace/%.c 647c478bd9Sstevel@tonic-gate $(COMPILE.c) -o $@ $< 657c478bd9Sstevel@tonic-gate $(CTFCONVERT_O) 667c478bd9Sstevel@tonic-gate 677c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o: $(UTSBASE)/intel/dtrace/%.s 687c478bd9Sstevel@tonic-gate $(COMPILE.s) -o $@ $< 697c478bd9Sstevel@tonic-gate 707c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o: $(UTSBASE)/intel/fs/proc/%.c 717c478bd9Sstevel@tonic-gate $(COMPILE.c) -o $@ $< 727c478bd9Sstevel@tonic-gate $(CTFCONVERT_O) 737c478bd9Sstevel@tonic-gate 747c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o: $(UTSBASE)/intel/ia32/ml/%.s 757c478bd9Sstevel@tonic-gate $(COMPILE.s) -o $@ $< 767c478bd9Sstevel@tonic-gate 777c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o: $(UTSBASE)/intel/ia32/os/%.c 787c478bd9Sstevel@tonic-gate $(COMPILE.c) -o $@ $< 797c478bd9Sstevel@tonic-gate $(CTFCONVERT_O) 807c478bd9Sstevel@tonic-gate 817c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o: $(UTSBASE)/intel/ia32/promif/%.c 827c478bd9Sstevel@tonic-gate $(COMPILE.c) -o $@ $< 837c478bd9Sstevel@tonic-gate $(CTFCONVERT_O) 847c478bd9Sstevel@tonic-gate 857c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o: $(UTSBASE)/intel/ia32/syscall/%.c 867c478bd9Sstevel@tonic-gate $(COMPILE.c) -o $@ $< 877c478bd9Sstevel@tonic-gate $(CTFCONVERT_O) 887c478bd9Sstevel@tonic-gate 897c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/%.c 907c478bd9Sstevel@tonic-gate $(COMPILE.c) -o $@ $< 917c478bd9Sstevel@tonic-gate $(CTFCONVERT_O) 927c478bd9Sstevel@tonic-gate 93ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/%.c 94ae115bc7Smrj $(COMPILE.c) -o $@ $< 95ae115bc7Smrj $(CTFCONVERT_O) 96ae115bc7Smrj 97ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/%.s 98ae115bc7Smrj $(COMPILE.s) -o $@ $< 99ae115bc7Smrj 100ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/debugger/%.c 101ae115bc7Smrj $(COMPILE.c) -o $@ $< 102ae115bc7Smrj $(CTFCONVERT_O) 103ae115bc7Smrj 104ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/events/%.c 105ae115bc7Smrj $(COMPILE.c) -o $@ $< 106ae115bc7Smrj $(CTFCONVERT_O) 107ae115bc7Smrj 108ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/hardware/%.c 109ae115bc7Smrj $(COMPILE.c) -o $@ $< 110ae115bc7Smrj $(CTFCONVERT_O) 111ae115bc7Smrj 112ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/interpreter/dispatcher/%.c 113ae115bc7Smrj $(COMPILE.c) -o $@ $< 114ae115bc7Smrj $(CTFCONVERT_O) 115ae115bc7Smrj 116ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/interpreter/executer/%.c 117ae115bc7Smrj $(COMPILE.c) -o $@ $< 118ae115bc7Smrj $(CTFCONVERT_O) 119ae115bc7Smrj 120ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/interpreter/parser/%.c 121ae115bc7Smrj $(COMPILE.c) -o $@ $< 122ae115bc7Smrj $(CTFCONVERT_O) 123ae115bc7Smrj 124ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/namespace/%.c 125ae115bc7Smrj $(COMPILE.c) -o $@ $< 126ae115bc7Smrj $(CTFCONVERT_O) 127ae115bc7Smrj 128ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/resources/%.c 129ae115bc7Smrj $(COMPILE.c) -o $@ $< 130ae115bc7Smrj $(CTFCONVERT_O) 131ae115bc7Smrj 132ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/tables/%.c 133ae115bc7Smrj $(COMPILE.c) -o $@ $< 134ae115bc7Smrj $(CTFCONVERT_O) 135ae115bc7Smrj 136ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/utilities/%.c 137ae115bc7Smrj $(COMPILE.c) -o $@ $< 138ae115bc7Smrj $(CTFCONVERT_O) 139ae115bc7Smrj 140ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/disassembler/%.c 141ae115bc7Smrj $(COMPILE.c) -o $@ $< 142ae115bc7Smrj $(CTFCONVERT_O) 143ae115bc7Smrj 144ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/agpgart/%.c 145ae115bc7Smrj $(COMPILE.c) -o $@ $< 146ae115bc7Smrj $(CTFCONVERT_O) 147ae115bc7Smrj 148ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/agpmaster/%.c 149ae115bc7Smrj $(COMPILE.c) -o $@ $< 150ae115bc7Smrj $(CTFCONVERT_O) 151ae115bc7Smrj 15275ab5f91Slh155975$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/amd8111s/%.c 15375ab5f91Slh155975 $(COMPILE.c) -o $@ $< 15475ab5f91Slh155975 $(CTFCONVERT_O) 15575ab5f91Slh155975 1567c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/amr/%.c 1577c478bd9Sstevel@tonic-gate $(COMPILE.c) -o $@ $< 1587c478bd9Sstevel@tonic-gate $(CTFCONVERT_O) 1597c478bd9Sstevel@tonic-gate 160ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/drm/%.c 161ae115bc7Smrj $(COMPILE.c) -o $@ $< 162ae115bc7Smrj $(CTFCONVERT_O) 163ae115bc7Smrj 16423c35297Sanish$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/hotplug/pcicfg/%.c 16523c35297Sanish $(COMPILE.c) -o $@ $< 16623c35297Sanish $(CTFCONVERT_O) 16723c35297Sanish 16823c35297Sanish$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/hotplug/pciehpc/%.c 16923c35297Sanish $(COMPILE.c) -o $@ $< 17023c35297Sanish $(CTFCONVERT_O) 17123c35297Sanish 172*e4b86885SCheng Sean Ye$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/intel_nb5000/%.c 173*e4b86885SCheng Sean Ye $(COMPILE.c) -o $@ $< 174*e4b86885SCheng Sean Ye $(CTFCONVERT_O) 175*e4b86885SCheng Sean Ye 176*e4b86885SCheng Sean Ye$(OBJS_DIR)/%.o: $(SRC)/common/mc/mc-amd/%.c 177*e4b86885SCheng Sean Ye $(COMPILE.c) -o $@ $< 178*e4b86885SCheng Sean Ye $(CTFCONVERT_O) 179*e4b86885SCheng Sean Ye 180*e4b86885SCheng Sean Ye$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/mc-amd/%.c 181*e4b86885SCheng Sean Ye $(COMPILE.c) -o $@ $< 182*e4b86885SCheng Sean Ye $(CTFCONVERT_O) 183*e4b86885SCheng Sean Ye 184ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/pci/%.c 185ae115bc7Smrj $(COMPILE.c) -o $@ $< 186ae115bc7Smrj $(CTFCONVERT_O) 187ae115bc7Smrj 188ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/pciex/%.c 189ae115bc7Smrj $(COMPILE.c) -o $@ $< 190ae115bc7Smrj $(CTFCONVERT_O) 191ae115bc7Smrj 192507c3241Smlf$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/dktp/controller/ata/%.c 193507c3241Smlf $(COMPILE.c) -o $@ $< 194507c3241Smlf $(CTFCONVERT_O) 195507c3241Smlf 196507c3241Smlf$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/dktp/dcdev/%.c 197507c3241Smlf $(COMPILE.c) -o $@ $< 198507c3241Smlf $(CTFCONVERT_O) 199507c3241Smlf 200507c3241Smlf$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/dktp/disk/%.c 201507c3241Smlf $(COMPILE.c) -o $@ $< 202507c3241Smlf $(CTFCONVERT_O) 203507c3241Smlf 204507c3241Smlf$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/dktp/drvobj/%.c 205507c3241Smlf $(COMPILE.c) -o $@ $< 206507c3241Smlf $(CTFCONVERT_O) 207507c3241Smlf 208507c3241Smlf$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/dktp/hba/ghd/%.c 209507c3241Smlf $(COMPILE.c) -o $@ $< 210507c3241Smlf $(CTFCONVERT_O) 211507c3241Smlf 2127c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/scsi/targets/%.c 2137c478bd9Sstevel@tonic-gate $(COMPILE.c) -o $@ $< 2147c478bd9Sstevel@tonic-gate $(CTFCONVERT_O) 2157c478bd9Sstevel@tonic-gate 2167c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/vgatext/%.c 2177c478bd9Sstevel@tonic-gate $(COMPILE.c) -o $@ $< 2187c478bd9Sstevel@tonic-gate $(CTFCONVERT_O) 2197c478bd9Sstevel@tonic-gate 2207c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o: $(UTSBASE)/intel/os/%.c 2217c478bd9Sstevel@tonic-gate $(COMPILE.c) -o $@ $< 2227c478bd9Sstevel@tonic-gate $(CTFCONVERT_O) 2237c478bd9Sstevel@tonic-gate 2247c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o: $(UTSBASE)/intel/pcbe/%.c 2257c478bd9Sstevel@tonic-gate $(COMPILE.c) -o $@ $< 2267c478bd9Sstevel@tonic-gate $(CTFCONVERT_O) 2277c478bd9Sstevel@tonic-gate 2287c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o: $(UTSBASE)/intel/promif/%.c 2297c478bd9Sstevel@tonic-gate $(COMPILE.c) -o $@ $< 2307c478bd9Sstevel@tonic-gate $(CTFCONVERT_O) 2317c478bd9Sstevel@tonic-gate 2327c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o: $(UTSBASE)/intel/syscall/%.c 2337c478bd9Sstevel@tonic-gate $(COMPILE.c) -o $@ $< 2347c478bd9Sstevel@tonic-gate $(CTFCONVERT_O) 2357c478bd9Sstevel@tonic-gate 2367c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o: $(UTSBASE)/common/os/%.c 2377c478bd9Sstevel@tonic-gate $(COMPILE.c) -o $@ $< 2387c478bd9Sstevel@tonic-gate $(CTFCONVERT_O) 2397c478bd9Sstevel@tonic-gate 240ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/kdi/%.c 241ae115bc7Smrj $(COMPILE.c) -o $@ $< 242ae115bc7Smrj $(CTFCONVERT_O) 243ae115bc7Smrj 244ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/kdi/%.s 245ae115bc7Smrj $(COMPILE.s) -o $@ $< 246ae115bc7Smrj 247ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/kdi/$(SUBARCH_DIR)/%.s 248ae115bc7Smrj $(COMPILE.s) -o $@ $< 249ae115bc7Smrj 250e7cbe64fSgw25295$(OBJS_DIR)/%.o: $(UTSBASE)/intel/zfs/%.c 251e7cbe64fSgw25295 $(COMPILE.c) -o $@ $< 252e7cbe64fSgw25295 $(CTFCONVERT_O) 253e7cbe64fSgw25295 254ae115bc7Smrj# 255ae115bc7Smrj# krtld compiled into unix 256ae115bc7Smrj# 257ae115bc7Smrj 258ae115bc7SmrjKRTLD_INC_PATH = -I$(UTSBASE)/common/krtld -I$(UTSBASE)/intel/sys 259ae115bc7SmrjKRTLD_INC_PATH += -I$(UTSBASE)/intel/$(SUBARCH_DIR)/krtld 260ae115bc7Smrj 261ae115bc7SmrjKRTLD_CPPFLAGS_32 = -DELF_TARGET_386 262ae115bc7SmrjKRTLD_CPPFLAGS_64 = -DELF_TARGET_AMD64 -DMODDIR_SUFFIX=\"amd64\" 263ae115bc7SmrjKRTLD_CPPFLAGS = $(KRTLD_CPPFLAGS_$(CLASS)) -D_KRTLD 264ae115bc7Smrj 265ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/common/krtld/%.c 266ae115bc7Smrj $(COMPILE.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) -o $@ $< 267ae115bc7Smrj $(CTFCONVERT_O) 268ae115bc7Smrj 269ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/$(SUBARCH_DIR)/krtld/%.c 270ae115bc7Smrj $(COMPILE.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) -o $@ $< 271ae115bc7Smrj $(CTFCONVERT_O) 272ae115bc7Smrj 273986fd29aSsetje# 274986fd29aSsetje# _DBOOT indicates that krtld is called from a dboot ELF section 275986fd29aSsetje# 276986fd29aSsetje$(OBJS_DIR)/kobj.o := CPPFLAGS += -D_DBOOT 277986fd29aSsetje 278ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/$(SUBARCH_DIR)/krtld/%.s 279ae115bc7Smrj $(COMPILE.s) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) -o $@ $< 280ae115bc7Smrj $(CTFCONVERT_O) 281ae115bc7Smrj 282ae115bc7Smrj$(OBJS_DIR)/%.o: $(SRC)/common/util/$(SUBARCH_DIR)/%.c 283ae115bc7Smrj $(COMPILE.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) -o $@ $< 284ae115bc7Smrj $(CTFCONVERT_O) 285ae115bc7Smrj 286ae115bc7Smrj 2877c478bd9Sstevel@tonic-gate# 2887c478bd9Sstevel@tonic-gate# Section 1b: Lint `object' build rules. 2897c478bd9Sstevel@tonic-gate# 2907c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(SRC)/common/fs/%.c 2917c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 2927c478bd9Sstevel@tonic-gate 29389518a1cSdmick$(LINTS_DIR)/%.ln: $(SRC)/common/util/i386/%.s 29489518a1cSdmick @($(LHEAD) $(LINT.s) $< $(LTAIL)) 2957c478bd9Sstevel@tonic-gate 2969acbbeafSnn35248$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/brand/sn1/%.s 2979acbbeafSnn35248 @($(LHEAD) $(LINT.s) $< $(LTAIL)) 2989acbbeafSnn35248 2997c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/dtrace/%.c 3007c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 3017c478bd9Sstevel@tonic-gate 3027c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/dtrace/%.s 3037c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.s) $< $(LTAIL)) 3047c478bd9Sstevel@tonic-gate 305e7cbe64fSgw25295$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/zfs/%.c 306e7cbe64fSgw25295 @($(LHEAD) $(LINT.c) $< $(LTAIL)) 307e7cbe64fSgw25295 3087c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/fs/proc/%.c 3097c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 3107c478bd9Sstevel@tonic-gate 3117c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/ia32/ml/%.s 3127c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.s) $< $(LTAIL)) 3137c478bd9Sstevel@tonic-gate 3147c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/ia32/os/%.c 3157c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 3167c478bd9Sstevel@tonic-gate 3177c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/ia32/promif/%.c 3187c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 3197c478bd9Sstevel@tonic-gate 3207c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/ia32/syscall/%.c 3217c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 3227c478bd9Sstevel@tonic-gate 3237c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/%.c 3247c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 3257c478bd9Sstevel@tonic-gate 326ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/%.s 327ae115bc7Smrj @($(LHEAD) $(LINT.s) $< $(LTAIL)) 328ae115bc7Smrj 329ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/%.c 330ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 331ae115bc7Smrj 332ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/debugger/%.c 333ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 334ae115bc7Smrj 335ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/events/%.c 336ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 337ae115bc7Smrj 338ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/hardware/%.c 339ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 340ae115bc7Smrj 341ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/interpreter/dispatcher/%.c 342ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 343ae115bc7Smrj 344ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/interpreter/executer/%.c 345ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 346ae115bc7Smrj 347ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/interpreter/parser/%.c 348ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 349ae115bc7Smrj 350ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/namespace/%.c 351ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 352ae115bc7Smrj 353ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/resources/%.c 354ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 355ae115bc7Smrj 356ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/tables/%.c 357ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 358ae115bc7Smrj 359ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/utilities/%.c 360ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 361ae115bc7Smrj 362ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/disassembler/%.c 363ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 364ae115bc7Smrj 365ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/agpgart/%.c 366ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 367ae115bc7Smrj 368ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/agpmaster/%.c 369ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 370ae115bc7Smrj 37175ab5f91Slh155975$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/amd8111s/%.c 37275ab5f91Slh155975 @($(LHEAD) $(LINT.c) $< $(LTAIL)) 37375ab5f91Slh155975 3747c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/amr/%.c 3757c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 3767c478bd9Sstevel@tonic-gate 377ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/drm/%.c 378ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 379ae115bc7Smrj 38023c35297Sanish$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/hotplug/pcicfg/%.c 38123c35297Sanish @($(LHEAD) $(LINT.c) $< $(LTAIL)) 38223c35297Sanish 38323c35297Sanish$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/hotplug/pciehpc/%.c 38423c35297Sanish @($(LHEAD) $(LINT.c) $< $(LTAIL)) 38523c35297Sanish 386*e4b86885SCheng Sean Ye$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/intel_nb5000/%.c 387*e4b86885SCheng Sean Ye @($(LHEAD) $(LINT.c) $< $(LTAIL)) 388*e4b86885SCheng Sean Ye 389*e4b86885SCheng Sean Ye$(LINTS_DIR)/%.ln: $(SRC)/common/mc/mc-amd/%.c 390*e4b86885SCheng Sean Ye @($(LHEAD) $(LINT.c) $< $(LTAIL)) 391*e4b86885SCheng Sean Ye 392*e4b86885SCheng Sean Ye$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/mc-amd/%.c 393*e4b86885SCheng Sean Ye @($(LHEAD) $(LINT.c) $< $(LTAIL)) 394*e4b86885SCheng Sean Ye 395ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/pci/%.c 396ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 397ae115bc7Smrj 398ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/pciex/%.c 399ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 400ae115bc7Smrj 401507c3241Smlf$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/dktp/controller/ata/%.c 402507c3241Smlf @($(LHEAD) $(LINT.c) $< $(LTAIL)) 403507c3241Smlf 404507c3241Smlf$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/dktp/dcdev/%.c 405507c3241Smlf @($(LHEAD) $(LINT.c) $< $(LTAIL)) 406507c3241Smlf 407507c3241Smlf$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/dktp/disk/%.c 408507c3241Smlf @($(LHEAD) $(LINT.c) $< $(LTAIL)) 409507c3241Smlf 410507c3241Smlf$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/dktp/drvobj/%.c 411507c3241Smlf @($(LHEAD) $(LINT.c) $< $(LTAIL)) 412507c3241Smlf 413507c3241Smlf$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/dktp/hba/ghd/%.c 414507c3241Smlf @($(LHEAD) $(LINT.c) $< $(LTAIL)) 415507c3241Smlf 4167c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/scsi/targets/%.c 4177c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 4187c478bd9Sstevel@tonic-gate 4197c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/vgatext/%.c 4207c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 4217c478bd9Sstevel@tonic-gate 4227c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/os/%.c 4237c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 4247c478bd9Sstevel@tonic-gate 4257c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/pcbe/%.c 4267c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 4277c478bd9Sstevel@tonic-gate 4287c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/promif/%.c 4297c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 4307c478bd9Sstevel@tonic-gate 4317c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/syscall/%.c 4327c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 4337c478bd9Sstevel@tonic-gate 4347c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/common/os/%.c 4357c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 436ae115bc7Smrj 437ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/kdi/%.c 438ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 439ae115bc7Smrj 440ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/kdi/%.s 441ae115bc7Smrj @($(LHEAD) $(LINT.s) $< $(LTAIL)) 442ae115bc7Smrj 443ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/kdi/$(SUBARCH_DIR)/%.s 444ae115bc7Smrj @($(LHEAD) $(LINT.s) $< $(LTAIL)) 445ae115bc7Smrj 446ae115bc7Smrj# 447ae115bc7Smrj# krtld lints 448ae115bc7Smrj# 449ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/common/krtld/%.c 450ae115bc7Smrj @($(LHEAD) $(LINT.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) $< $(LTAIL)) 451ae115bc7Smrj 452ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/$(SUBARCH_DIR)/krtld/%.c 453ae115bc7Smrj @($(LHEAD) $(LINT.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) $< $(LTAIL)) 454ae115bc7Smrj 455ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/$(SUBARCH_DIR)/krtld/%.s 456ae115bc7Smrj @($(LHEAD) $(LINT.s) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) $< $(LTAIL)) 457ae115bc7Smrj 458ae115bc7Smrj$(LINTS_DIR)/%.ln: $(SRC)/common/util/$(SUBARCH_DIR)/%.c 459ae115bc7Smrj @($(LHEAD) $(LINT.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) $< $(LTAIL)) 460ae115bc7Smrj 461986fd29aSsetje$(OBJS_DIR)/kobj.ln := CPPFLAGS += -D_DBOOT 462