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# 22f657cd55SCheng Sean Ye# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 237c478bd9Sstevel@tonic-gate# Use is subject to license terms. 247c478bd9Sstevel@tonic-gate# 25e4b86885SCheng 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 112db2bae30SDana Myers$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/dispatcher/%.c 113ae115bc7Smrj $(COMPILE.c) -o $@ $< 114ae115bc7Smrj $(CTFCONVERT_O) 115ae115bc7Smrj 116db2bae30SDana Myers$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/executer/%.c 117ae115bc7Smrj $(COMPILE.c) -o $@ $< 118ae115bc7Smrj $(CTFCONVERT_O) 119ae115bc7Smrj 120db2bae30SDana Myers$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/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 1567125fcbdSVikram Hegde$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/amd_iommu/%.c 1577125fcbdSVikram Hegde $(COMPILE.c) -o $@ $< 1587125fcbdSVikram Hegde $(CTFCONVERT_O) 1597125fcbdSVikram Hegde 1607c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/amr/%.c 1617c478bd9Sstevel@tonic-gate $(COMPILE.c) -o $@ $< 1627c478bd9Sstevel@tonic-gate $(CTFCONVERT_O) 1637c478bd9Sstevel@tonic-gate 164ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/drm/%.c 165ae115bc7Smrj $(COMPILE.c) -o $@ $< 166ae115bc7Smrj $(CTFCONVERT_O) 167ae115bc7Smrj 16823c35297Sanish$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/hotplug/pcicfg/%.c 16923c35297Sanish $(COMPILE.c) -o $@ $< 17023c35297Sanish $(CTFCONVERT_O) 17123c35297Sanish 17223c35297Sanish$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/hotplug/pciehpc/%.c 17323c35297Sanish $(COMPILE.c) -o $@ $< 17423c35297Sanish $(CTFCONVERT_O) 17523c35297Sanish 176e4b86885SCheng Sean Ye$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/intel_nb5000/%.c 177e4b86885SCheng Sean Ye $(COMPILE.c) -o $@ $< 178e4b86885SCheng Sean Ye $(CTFCONVERT_O) 179e4b86885SCheng Sean Ye 180f657cd55SCheng Sean Ye$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/intel_nhm/%.c 181f657cd55SCheng Sean Ye $(COMPILE.c) -o $@ $< 182f657cd55SCheng Sean Ye $(CTFCONVERT_O) 183f657cd55SCheng Sean Ye 184e4b86885SCheng Sean Ye$(OBJS_DIR)/%.o: $(SRC)/common/mc/mc-amd/%.c 185e4b86885SCheng Sean Ye $(COMPILE.c) -o $@ $< 186e4b86885SCheng Sean Ye $(CTFCONVERT_O) 187e4b86885SCheng Sean Ye 188e4b86885SCheng Sean Ye$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/mc-amd/%.c 189e4b86885SCheng Sean Ye $(COMPILE.c) -o $@ $< 190e4b86885SCheng Sean Ye $(CTFCONVERT_O) 191e4b86885SCheng Sean Ye 192ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/pci/%.c 193ae115bc7Smrj $(COMPILE.c) -o $@ $< 194ae115bc7Smrj $(CTFCONVERT_O) 195ae115bc7Smrj 196ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/pciex/%.c 197ae115bc7Smrj $(COMPILE.c) -o $@ $< 198ae115bc7Smrj $(CTFCONVERT_O) 199ae115bc7Smrj 200507c3241Smlf$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/dktp/controller/ata/%.c 201507c3241Smlf $(COMPILE.c) -o $@ $< 202507c3241Smlf $(CTFCONVERT_O) 203507c3241Smlf 204507c3241Smlf$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/dktp/dcdev/%.c 205507c3241Smlf $(COMPILE.c) -o $@ $< 206507c3241Smlf $(CTFCONVERT_O) 207507c3241Smlf 208507c3241Smlf$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/dktp/disk/%.c 209507c3241Smlf $(COMPILE.c) -o $@ $< 210507c3241Smlf $(CTFCONVERT_O) 211507c3241Smlf 212507c3241Smlf$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/dktp/drvobj/%.c 213507c3241Smlf $(COMPILE.c) -o $@ $< 214507c3241Smlf $(CTFCONVERT_O) 215507c3241Smlf 216507c3241Smlf$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/dktp/hba/ghd/%.c 217507c3241Smlf $(COMPILE.c) -o $@ $< 218507c3241Smlf $(CTFCONVERT_O) 219507c3241Smlf 220508aff1aSJames C. McPherson$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/scsi/adapters/arcmsr/%.c 221508aff1aSJames C. McPherson $(COMPILE.c) -o $@ $< 222508aff1aSJames C. McPherson $(CTFCONVERT_O) 223508aff1aSJames C. McPherson 2247c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/scsi/targets/%.c 2257c478bd9Sstevel@tonic-gate $(COMPILE.c) -o $@ $< 2267c478bd9Sstevel@tonic-gate $(CTFCONVERT_O) 2277c478bd9Sstevel@tonic-gate 2287c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/vgatext/%.c 2297c478bd9Sstevel@tonic-gate $(COMPILE.c) -o $@ $< 2307c478bd9Sstevel@tonic-gate $(CTFCONVERT_O) 2317c478bd9Sstevel@tonic-gate 232*617e2443SMark Logan$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/heci/%.c 233*617e2443SMark Logan $(COMPILE.c) -o $@ $< 234*617e2443SMark Logan $(CTFCONVERT_O) 235*617e2443SMark Logan 236fcf3ce44SJohn Forte$(OBJS_DIR)/%.o: $(UTSBASE)/intel/nskern/%.s 237fcf3ce44SJohn Forte $(COMPILE.s) -o $@ $< 238fcf3ce44SJohn Forte 2397c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o: $(UTSBASE)/intel/os/%.c 2407c478bd9Sstevel@tonic-gate $(COMPILE.c) -o $@ $< 2417c478bd9Sstevel@tonic-gate $(CTFCONVERT_O) 2427c478bd9Sstevel@tonic-gate 2437c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o: $(UTSBASE)/intel/pcbe/%.c 2447c478bd9Sstevel@tonic-gate $(COMPILE.c) -o $@ $< 2457c478bd9Sstevel@tonic-gate $(CTFCONVERT_O) 2467c478bd9Sstevel@tonic-gate 2477c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o: $(UTSBASE)/intel/promif/%.c 2487c478bd9Sstevel@tonic-gate $(COMPILE.c) -o $@ $< 2497c478bd9Sstevel@tonic-gate $(CTFCONVERT_O) 2507c478bd9Sstevel@tonic-gate 2517c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o: $(UTSBASE)/intel/syscall/%.c 2527c478bd9Sstevel@tonic-gate $(COMPILE.c) -o $@ $< 2537c478bd9Sstevel@tonic-gate $(CTFCONVERT_O) 2547c478bd9Sstevel@tonic-gate 2557c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o: $(UTSBASE)/common/os/%.c 2567c478bd9Sstevel@tonic-gate $(COMPILE.c) -o $@ $< 2577c478bd9Sstevel@tonic-gate $(CTFCONVERT_O) 2587c478bd9Sstevel@tonic-gate 259ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/kdi/%.c 260ae115bc7Smrj $(COMPILE.c) -o $@ $< 261ae115bc7Smrj $(CTFCONVERT_O) 262ae115bc7Smrj 263ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/kdi/%.s 264ae115bc7Smrj $(COMPILE.s) -o $@ $< 265ae115bc7Smrj 266ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/kdi/$(SUBARCH_DIR)/%.s 267ae115bc7Smrj $(COMPILE.s) -o $@ $< 268ae115bc7Smrj 269e7cbe64fSgw25295$(OBJS_DIR)/%.o: $(UTSBASE)/intel/zfs/%.c 270e7cbe64fSgw25295 $(COMPILE.c) -o $@ $< 271e7cbe64fSgw25295 $(CTFCONVERT_O) 272e7cbe64fSgw25295 273ae115bc7Smrj# 274ae115bc7Smrj# krtld compiled into unix 275ae115bc7Smrj# 276ae115bc7Smrj 277ae115bc7SmrjKRTLD_INC_PATH = -I$(UTSBASE)/common/krtld -I$(UTSBASE)/intel/sys 278ae115bc7SmrjKRTLD_INC_PATH += -I$(UTSBASE)/intel/$(SUBARCH_DIR)/krtld 279ae115bc7Smrj 280ae115bc7SmrjKRTLD_CPPFLAGS_32 = -DELF_TARGET_386 281ae115bc7SmrjKRTLD_CPPFLAGS_64 = -DELF_TARGET_AMD64 -DMODDIR_SUFFIX=\"amd64\" 282ae115bc7SmrjKRTLD_CPPFLAGS = $(KRTLD_CPPFLAGS_$(CLASS)) -D_KRTLD 283ae115bc7Smrj 284ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/common/krtld/%.c 285ae115bc7Smrj $(COMPILE.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) -o $@ $< 286ae115bc7Smrj $(CTFCONVERT_O) 287ae115bc7Smrj 288ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/$(SUBARCH_DIR)/krtld/%.c 289ae115bc7Smrj $(COMPILE.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) -o $@ $< 290ae115bc7Smrj $(CTFCONVERT_O) 291ae115bc7Smrj 292986fd29aSsetje# 293986fd29aSsetje# _DBOOT indicates that krtld is called from a dboot ELF section 294986fd29aSsetje# 295986fd29aSsetje$(OBJS_DIR)/kobj.o := CPPFLAGS += -D_DBOOT 296986fd29aSsetje 297ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/$(SUBARCH_DIR)/krtld/%.s 298ae115bc7Smrj $(COMPILE.s) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) -o $@ $< 299ae115bc7Smrj $(CTFCONVERT_O) 300ae115bc7Smrj 301ae115bc7Smrj$(OBJS_DIR)/%.o: $(SRC)/common/util/$(SUBARCH_DIR)/%.c 302ae115bc7Smrj $(COMPILE.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) -o $@ $< 303ae115bc7Smrj $(CTFCONVERT_O) 304ae115bc7Smrj 305ae115bc7Smrj 3067c478bd9Sstevel@tonic-gate# 3077c478bd9Sstevel@tonic-gate# Section 1b: Lint `object' build rules. 3087c478bd9Sstevel@tonic-gate# 3097c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(SRC)/common/fs/%.c 3107c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 3117c478bd9Sstevel@tonic-gate 31289518a1cSdmick$(LINTS_DIR)/%.ln: $(SRC)/common/util/i386/%.s 31389518a1cSdmick @($(LHEAD) $(LINT.s) $< $(LTAIL)) 3147c478bd9Sstevel@tonic-gate 3159acbbeafSnn35248$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/brand/sn1/%.s 3169acbbeafSnn35248 @($(LHEAD) $(LINT.s) $< $(LTAIL)) 3179acbbeafSnn35248 3187c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/dtrace/%.c 3197c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 3207c478bd9Sstevel@tonic-gate 3217c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/dtrace/%.s 3227c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.s) $< $(LTAIL)) 3237c478bd9Sstevel@tonic-gate 324e7cbe64fSgw25295$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/zfs/%.c 325e7cbe64fSgw25295 @($(LHEAD) $(LINT.c) $< $(LTAIL)) 326e7cbe64fSgw25295 3277c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/fs/proc/%.c 3287c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 3297c478bd9Sstevel@tonic-gate 3307c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/ia32/ml/%.s 3317c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.s) $< $(LTAIL)) 3327c478bd9Sstevel@tonic-gate 3337c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/ia32/os/%.c 3347c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 3357c478bd9Sstevel@tonic-gate 3367c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/ia32/promif/%.c 3377c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 3387c478bd9Sstevel@tonic-gate 3397c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/ia32/syscall/%.c 3407c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 3417c478bd9Sstevel@tonic-gate 3427c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/%.c 3437c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 3447c478bd9Sstevel@tonic-gate 345ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/%.s 346ae115bc7Smrj @($(LHEAD) $(LINT.s) $< $(LTAIL)) 347ae115bc7Smrj 348ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/%.c 349ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 350ae115bc7Smrj 351ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/debugger/%.c 352ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 353ae115bc7Smrj 354ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/events/%.c 355ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 356ae115bc7Smrj 357ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/hardware/%.c 358ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 359ae115bc7Smrj 360db2bae30SDana Myers$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/dispatcher/%.c 361ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 362ae115bc7Smrj 363db2bae30SDana Myers$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/executer/%.c 364ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 365ae115bc7Smrj 366db2bae30SDana Myers$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/parser/%.c 367ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 368ae115bc7Smrj 369ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/namespace/%.c 370ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 371ae115bc7Smrj 372ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/resources/%.c 373ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 374ae115bc7Smrj 375ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/tables/%.c 376ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 377ae115bc7Smrj 378ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/utilities/%.c 379ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 380ae115bc7Smrj 381ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/disassembler/%.c 382ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 383ae115bc7Smrj 384ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/agpgart/%.c 385ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 386ae115bc7Smrj 387ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/agpmaster/%.c 388ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 389ae115bc7Smrj 39075ab5f91Slh155975$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/amd8111s/%.c 39175ab5f91Slh155975 @($(LHEAD) $(LINT.c) $< $(LTAIL)) 39275ab5f91Slh155975 3937125fcbdSVikram Hegde$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/amd_iommu/%.c 3947125fcbdSVikram Hegde @($(LHEAD) $(LINT.c) $< $(LTAIL)) 3957125fcbdSVikram Hegde 3967c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/amr/%.c 3977c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 3987c478bd9Sstevel@tonic-gate 399508aff1aSJames C. McPherson$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/scsi/adapters/arcmsr/%.c 400508aff1aSJames C. McPherson @($(LHEAD) $(LINT.c) $< $(LTAIL)) 401508aff1aSJames C. McPherson 402ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/drm/%.c 403ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 404ae115bc7Smrj 40523c35297Sanish$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/hotplug/pcicfg/%.c 40623c35297Sanish @($(LHEAD) $(LINT.c) $< $(LTAIL)) 40723c35297Sanish 40823c35297Sanish$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/hotplug/pciehpc/%.c 40923c35297Sanish @($(LHEAD) $(LINT.c) $< $(LTAIL)) 41023c35297Sanish 411e4b86885SCheng Sean Ye$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/intel_nb5000/%.c 412e4b86885SCheng Sean Ye @($(LHEAD) $(LINT.c) $< $(LTAIL)) 413e4b86885SCheng Sean Ye 414f657cd55SCheng Sean Ye$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/intel_nhm/%.c 415f657cd55SCheng Sean Ye @($(LHEAD) $(LINT.c) $< $(LTAIL)) 416f657cd55SCheng Sean Ye 417e4b86885SCheng Sean Ye$(LINTS_DIR)/%.ln: $(SRC)/common/mc/mc-amd/%.c 418e4b86885SCheng Sean Ye @($(LHEAD) $(LINT.c) $< $(LTAIL)) 419e4b86885SCheng Sean Ye 420e4b86885SCheng Sean Ye$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/mc-amd/%.c 421e4b86885SCheng Sean Ye @($(LHEAD) $(LINT.c) $< $(LTAIL)) 422e4b86885SCheng Sean Ye 423ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/pci/%.c 424ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 425ae115bc7Smrj 426ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/pciex/%.c 427ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 428ae115bc7Smrj 429507c3241Smlf$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/dktp/controller/ata/%.c 430507c3241Smlf @($(LHEAD) $(LINT.c) $< $(LTAIL)) 431507c3241Smlf 432507c3241Smlf$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/dktp/dcdev/%.c 433507c3241Smlf @($(LHEAD) $(LINT.c) $< $(LTAIL)) 434507c3241Smlf 435507c3241Smlf$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/dktp/disk/%.c 436507c3241Smlf @($(LHEAD) $(LINT.c) $< $(LTAIL)) 437507c3241Smlf 438507c3241Smlf$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/dktp/drvobj/%.c 439507c3241Smlf @($(LHEAD) $(LINT.c) $< $(LTAIL)) 440507c3241Smlf 441507c3241Smlf$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/dktp/hba/ghd/%.c 442507c3241Smlf @($(LHEAD) $(LINT.c) $< $(LTAIL)) 443507c3241Smlf 4447c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/scsi/targets/%.c 4457c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 4467c478bd9Sstevel@tonic-gate 4477c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/vgatext/%.c 4487c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 4497c478bd9Sstevel@tonic-gate 450*617e2443SMark Logan$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/heci/%.c 451*617e2443SMark Logan @($(LHEAD) $(LINT.c) $< $(LTAIL)) 452*617e2443SMark Logan 4537c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/os/%.c 4547c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 4557c478bd9Sstevel@tonic-gate 4567c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/pcbe/%.c 4577c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 4587c478bd9Sstevel@tonic-gate 4597c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/promif/%.c 4607c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 4617c478bd9Sstevel@tonic-gate 4627c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/syscall/%.c 4637c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 4647c478bd9Sstevel@tonic-gate 4657c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/common/os/%.c 4667c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 467ae115bc7Smrj 468ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/kdi/%.c 469ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 470ae115bc7Smrj 471ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/kdi/%.s 472ae115bc7Smrj @($(LHEAD) $(LINT.s) $< $(LTAIL)) 473ae115bc7Smrj 474ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/kdi/$(SUBARCH_DIR)/%.s 475ae115bc7Smrj @($(LHEAD) $(LINT.s) $< $(LTAIL)) 476ae115bc7Smrj 477fcf3ce44SJohn Forte$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/nskern/%.s 478fcf3ce44SJohn Forte @($(LHEAD) $(LINT.s) $< $(LTAIL)) 479fcf3ce44SJohn Forte 480ae115bc7Smrj# 481ae115bc7Smrj# krtld lints 482ae115bc7Smrj# 483ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/common/krtld/%.c 484ae115bc7Smrj @($(LHEAD) $(LINT.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) $< $(LTAIL)) 485ae115bc7Smrj 486ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/$(SUBARCH_DIR)/krtld/%.c 487ae115bc7Smrj @($(LHEAD) $(LINT.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) $< $(LTAIL)) 488ae115bc7Smrj 489ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/$(SUBARCH_DIR)/krtld/%.s 490ae115bc7Smrj @($(LHEAD) $(LINT.s) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) $< $(LTAIL)) 491ae115bc7Smrj 492ae115bc7Smrj$(LINTS_DIR)/%.ln: $(SRC)/common/util/$(SUBARCH_DIR)/%.c 493ae115bc7Smrj @($(LHEAD) $(LINT.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) $< $(LTAIL)) 494ae115bc7Smrj 495986fd29aSsetje$(OBJS_DIR)/kobj.ln := CPPFLAGS += -D_DBOOT 496