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# 224fceebdfSblakej# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 237c478bd9Sstevel@tonic-gate# Use is subject to license terms. 247c478bd9Sstevel@tonic-gate# 257c478bd9Sstevel@tonic-gate# ident "%Z%%M% %I% %E% SMI" 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 937c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/aac/%.c 947c478bd9Sstevel@tonic-gate $(COMPILE.c) -o $@ $< 957c478bd9Sstevel@tonic-gate $(CTFCONVERT_O) 967c478bd9Sstevel@tonic-gate 97ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/%.c 98ae115bc7Smrj $(COMPILE.c) -o $@ $< 99ae115bc7Smrj $(CTFCONVERT_O) 100ae115bc7Smrj 101ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/%.s 102ae115bc7Smrj $(COMPILE.s) -o $@ $< 103ae115bc7Smrj 104ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/debugger/%.c 105ae115bc7Smrj $(COMPILE.c) -o $@ $< 106ae115bc7Smrj $(CTFCONVERT_O) 107ae115bc7Smrj 108ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/events/%.c 109ae115bc7Smrj $(COMPILE.c) -o $@ $< 110ae115bc7Smrj $(CTFCONVERT_O) 111ae115bc7Smrj 112ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/hardware/%.c 113ae115bc7Smrj $(COMPILE.c) -o $@ $< 114ae115bc7Smrj $(CTFCONVERT_O) 115ae115bc7Smrj 116ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/interpreter/dispatcher/%.c 117ae115bc7Smrj $(COMPILE.c) -o $@ $< 118ae115bc7Smrj $(CTFCONVERT_O) 119ae115bc7Smrj 120ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/interpreter/executer/%.c 121ae115bc7Smrj $(COMPILE.c) -o $@ $< 122ae115bc7Smrj $(CTFCONVERT_O) 123ae115bc7Smrj 124ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/interpreter/parser/%.c 125ae115bc7Smrj $(COMPILE.c) -o $@ $< 126ae115bc7Smrj $(CTFCONVERT_O) 127ae115bc7Smrj 128ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/namespace/%.c 129ae115bc7Smrj $(COMPILE.c) -o $@ $< 130ae115bc7Smrj $(CTFCONVERT_O) 131ae115bc7Smrj 132ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/resources/%.c 133ae115bc7Smrj $(COMPILE.c) -o $@ $< 134ae115bc7Smrj $(CTFCONVERT_O) 135ae115bc7Smrj 136ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/tables/%.c 137ae115bc7Smrj $(COMPILE.c) -o $@ $< 138ae115bc7Smrj $(CTFCONVERT_O) 139ae115bc7Smrj 140ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/utilities/%.c 141ae115bc7Smrj $(COMPILE.c) -o $@ $< 142ae115bc7Smrj $(CTFCONVERT_O) 143ae115bc7Smrj 144ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/disassembler/%.c 145ae115bc7Smrj $(COMPILE.c) -o $@ $< 146ae115bc7Smrj $(CTFCONVERT_O) 147ae115bc7Smrj 148ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/agpgart/%.c 149ae115bc7Smrj $(COMPILE.c) -o $@ $< 150ae115bc7Smrj $(CTFCONVERT_O) 151ae115bc7Smrj 152ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/agpmaster/%.c 153ae115bc7Smrj $(COMPILE.c) -o $@ $< 154ae115bc7Smrj $(CTFCONVERT_O) 155ae115bc7Smrj 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 164ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/drm/%.s 165ae115bc7Smrj $(COMPILE.s) -o $@ $< 166ae115bc7Smrj 167*23c35297Sanish$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/hotplug/pcicfg/%.c 168*23c35297Sanish $(COMPILE.c) -o $@ $< 169*23c35297Sanish $(CTFCONVERT_O) 170*23c35297Sanish 171*23c35297Sanish$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/hotplug/pciehpc/%.c 172*23c35297Sanish $(COMPILE.c) -o $@ $< 173*23c35297Sanish $(CTFCONVERT_O) 174*23c35297Sanish 175ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/pci/%.c 176ae115bc7Smrj $(COMPILE.c) -o $@ $< 177ae115bc7Smrj $(CTFCONVERT_O) 178ae115bc7Smrj 179ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/pciex/%.c 180ae115bc7Smrj $(COMPILE.c) -o $@ $< 181ae115bc7Smrj $(CTFCONVERT_O) 182ae115bc7Smrj 183507c3241Smlf$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/dktp/controller/ata/%.c 184507c3241Smlf $(COMPILE.c) -o $@ $< 185507c3241Smlf $(CTFCONVERT_O) 186507c3241Smlf 187507c3241Smlf$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/dktp/dcdev/%.c 188507c3241Smlf $(COMPILE.c) -o $@ $< 189507c3241Smlf $(CTFCONVERT_O) 190507c3241Smlf 191507c3241Smlf$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/dktp/disk/%.c 192507c3241Smlf $(COMPILE.c) -o $@ $< 193507c3241Smlf $(CTFCONVERT_O) 194507c3241Smlf 195507c3241Smlf$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/dktp/drvobj/%.c 196507c3241Smlf $(COMPILE.c) -o $@ $< 197507c3241Smlf $(CTFCONVERT_O) 198507c3241Smlf 199507c3241Smlf$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/dktp/hba/ghd/%.c 200507c3241Smlf $(COMPILE.c) -o $@ $< 201507c3241Smlf $(CTFCONVERT_O) 202507c3241Smlf 2037c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/scsi/targets/%.c 2047c478bd9Sstevel@tonic-gate $(COMPILE.c) -o $@ $< 2057c478bd9Sstevel@tonic-gate $(CTFCONVERT_O) 2067c478bd9Sstevel@tonic-gate 2077c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/vgatext/%.c 2087c478bd9Sstevel@tonic-gate $(COMPILE.c) -o $@ $< 2097c478bd9Sstevel@tonic-gate $(CTFCONVERT_O) 2107c478bd9Sstevel@tonic-gate 2117c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o: $(UTSBASE)/intel/os/%.c 2127c478bd9Sstevel@tonic-gate $(COMPILE.c) -o $@ $< 2137c478bd9Sstevel@tonic-gate $(CTFCONVERT_O) 2147c478bd9Sstevel@tonic-gate 2157c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o: $(UTSBASE)/intel/pcbe/%.c 2167c478bd9Sstevel@tonic-gate $(COMPILE.c) -o $@ $< 2177c478bd9Sstevel@tonic-gate $(CTFCONVERT_O) 2187c478bd9Sstevel@tonic-gate 2197c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o: $(UTSBASE)/intel/promif/%.c 2207c478bd9Sstevel@tonic-gate $(COMPILE.c) -o $@ $< 2217c478bd9Sstevel@tonic-gate $(CTFCONVERT_O) 2227c478bd9Sstevel@tonic-gate 2237c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o: $(UTSBASE)/intel/syscall/%.c 2247c478bd9Sstevel@tonic-gate $(COMPILE.c) -o $@ $< 2257c478bd9Sstevel@tonic-gate $(CTFCONVERT_O) 2267c478bd9Sstevel@tonic-gate 2277c478bd9Sstevel@tonic-gate$(OBJS_DIR)/%.o: $(UTSBASE)/common/os/%.c 2287c478bd9Sstevel@tonic-gate $(COMPILE.c) -o $@ $< 2297c478bd9Sstevel@tonic-gate $(CTFCONVERT_O) 2307c478bd9Sstevel@tonic-gate 231ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/kdi/%.c 232ae115bc7Smrj $(COMPILE.c) -o $@ $< 233ae115bc7Smrj $(CTFCONVERT_O) 234ae115bc7Smrj 235ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/kdi/%.s 236ae115bc7Smrj $(COMPILE.s) -o $@ $< 237ae115bc7Smrj 238ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/kdi/$(SUBARCH_DIR)/%.s 239ae115bc7Smrj $(COMPILE.s) -o $@ $< 240ae115bc7Smrj 241ae115bc7Smrj# 242ae115bc7Smrj# krtld compiled into unix 243ae115bc7Smrj# 244ae115bc7Smrj 245ae115bc7SmrjKRTLD_INC_PATH = -I$(UTSBASE)/common/krtld -I$(UTSBASE)/intel/sys 246ae115bc7SmrjKRTLD_INC_PATH += -I$(UTSBASE)/intel/$(SUBARCH_DIR)/krtld 247ae115bc7Smrj 248ae115bc7SmrjKRTLD_CPPFLAGS_32 = -DELF_TARGET_386 249ae115bc7SmrjKRTLD_CPPFLAGS_64 = -DELF_TARGET_AMD64 -DMODDIR_SUFFIX=\"amd64\" 250ae115bc7SmrjKRTLD_CPPFLAGS = $(KRTLD_CPPFLAGS_$(CLASS)) -D_KRTLD 251ae115bc7Smrj 252ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/common/krtld/%.c 253ae115bc7Smrj $(COMPILE.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) -o $@ $< 254ae115bc7Smrj $(CTFCONVERT_O) 255ae115bc7Smrj 256ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/$(SUBARCH_DIR)/krtld/%.c 257ae115bc7Smrj $(COMPILE.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) -o $@ $< 258ae115bc7Smrj $(CTFCONVERT_O) 259ae115bc7Smrj 260ae115bc7Smrj$(OBJS_DIR)/%.o: $(UTSBASE)/intel/$(SUBARCH_DIR)/krtld/%.s 261ae115bc7Smrj $(COMPILE.s) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) -o $@ $< 262ae115bc7Smrj $(CTFCONVERT_O) 263ae115bc7Smrj 264ae115bc7Smrj$(OBJS_DIR)/%.o: $(SRC)/common/util/$(SUBARCH_DIR)/%.c 265ae115bc7Smrj $(COMPILE.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) -o $@ $< 266ae115bc7Smrj $(CTFCONVERT_O) 267ae115bc7Smrj 268ae115bc7Smrj 2697c478bd9Sstevel@tonic-gate# 2707c478bd9Sstevel@tonic-gate# Section 1b: Lint `object' build rules. 2717c478bd9Sstevel@tonic-gate# 2727c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(SRC)/common/fs/%.c 2737c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 2747c478bd9Sstevel@tonic-gate 27589518a1cSdmick$(LINTS_DIR)/%.ln: $(SRC)/common/util/i386/%.s 27689518a1cSdmick @($(LHEAD) $(LINT.s) $< $(LTAIL)) 2777c478bd9Sstevel@tonic-gate 2789acbbeafSnn35248$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/brand/sn1/%.s 2799acbbeafSnn35248 @($(LHEAD) $(LINT.s) $< $(LTAIL)) 2809acbbeafSnn35248 2817c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/dtrace/%.c 2827c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 2837c478bd9Sstevel@tonic-gate 2847c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/dtrace/%.s 2857c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.s) $< $(LTAIL)) 2867c478bd9Sstevel@tonic-gate 2877c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/fs/proc/%.c 2887c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 2897c478bd9Sstevel@tonic-gate 2907c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/ia32/ml/%.s 2917c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.s) $< $(LTAIL)) 2927c478bd9Sstevel@tonic-gate 2937c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/ia32/os/%.c 2947c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 2957c478bd9Sstevel@tonic-gate 2967c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/ia32/promif/%.c 2977c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 2987c478bd9Sstevel@tonic-gate 2997c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/ia32/syscall/%.c 3007c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 3017c478bd9Sstevel@tonic-gate 3027c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/%.c 3037c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 3047c478bd9Sstevel@tonic-gate 3057c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/aac/%.c 3067c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 3077c478bd9Sstevel@tonic-gate 308ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/%.s 309ae115bc7Smrj @($(LHEAD) $(LINT.s) $< $(LTAIL)) 310ae115bc7Smrj 311ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/%.c 312ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 313ae115bc7Smrj 314ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/debugger/%.c 315ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 316ae115bc7Smrj 317ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/events/%.c 318ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 319ae115bc7Smrj 320ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/hardware/%.c 321ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 322ae115bc7Smrj 323ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/interpreter/dispatcher/%.c 324ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 325ae115bc7Smrj 326ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/interpreter/executer/%.c 327ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 328ae115bc7Smrj 329ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/interpreter/parser/%.c 330ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 331ae115bc7Smrj 332ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/namespace/%.c 333ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 334ae115bc7Smrj 335ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/resources/%.c 336ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 337ae115bc7Smrj 338ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/tables/%.c 339ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 340ae115bc7Smrj 341ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/utilities/%.c 342ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 343ae115bc7Smrj 344ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/disassembler/%.c 345ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 346ae115bc7Smrj 347ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/agpgart/%.c 348ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 349ae115bc7Smrj 350ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/agpmaster/%.c 351ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 352ae115bc7Smrj 3537c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/amr/%.c 3547c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 3557c478bd9Sstevel@tonic-gate 356ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/drm/%.c 357ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 358ae115bc7Smrj 359ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/drm/%.s 360ae115bc7Smrj @($(LHEAD) $(LINT.s) $< $(LTAIL)) 361ae115bc7Smrj 362*23c35297Sanish$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/hotplug/pcicfg/%.c 363*23c35297Sanish @($(LHEAD) $(LINT.c) $< $(LTAIL)) 364*23c35297Sanish 365*23c35297Sanish$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/hotplug/pciehpc/%.c 366*23c35297Sanish @($(LHEAD) $(LINT.c) $< $(LTAIL)) 367*23c35297Sanish 368ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/pci/%.c 369ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 370ae115bc7Smrj 371ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/pciex/%.c 372ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 373ae115bc7Smrj 374507c3241Smlf$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/dktp/controller/ata/%.c 375507c3241Smlf @($(LHEAD) $(LINT.c) $< $(LTAIL)) 376507c3241Smlf 377507c3241Smlf$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/dktp/dcdev/%.c 378507c3241Smlf @($(LHEAD) $(LINT.c) $< $(LTAIL)) 379507c3241Smlf 380507c3241Smlf$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/dktp/disk/%.c 381507c3241Smlf @($(LHEAD) $(LINT.c) $< $(LTAIL)) 382507c3241Smlf 383507c3241Smlf$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/dktp/drvobj/%.c 384507c3241Smlf @($(LHEAD) $(LINT.c) $< $(LTAIL)) 385507c3241Smlf 386507c3241Smlf$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/dktp/hba/ghd/%.c 387507c3241Smlf @($(LHEAD) $(LINT.c) $< $(LTAIL)) 388507c3241Smlf 3897c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/scsi/targets/%.c 3907c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 3917c478bd9Sstevel@tonic-gate 3927c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/vgatext/%.c 3937c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 3947c478bd9Sstevel@tonic-gate 3957c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/os/%.c 3967c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 3977c478bd9Sstevel@tonic-gate 3987c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/pcbe/%.c 3997c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 4007c478bd9Sstevel@tonic-gate 4017c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/promif/%.c 4027c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 4037c478bd9Sstevel@tonic-gate 4047c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/syscall/%.c 4057c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 4067c478bd9Sstevel@tonic-gate 4077c478bd9Sstevel@tonic-gate$(LINTS_DIR)/%.ln: $(UTSBASE)/common/os/%.c 4087c478bd9Sstevel@tonic-gate @($(LHEAD) $(LINT.c) $< $(LTAIL)) 409ae115bc7Smrj 410ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/kdi/%.c 411ae115bc7Smrj @($(LHEAD) $(LINT.c) $< $(LTAIL)) 412ae115bc7Smrj 413ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/kdi/%.s 414ae115bc7Smrj @($(LHEAD) $(LINT.s) $< $(LTAIL)) 415ae115bc7Smrj 416ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/kdi/$(SUBARCH_DIR)/%.s 417ae115bc7Smrj @($(LHEAD) $(LINT.s) $< $(LTAIL)) 418ae115bc7Smrj 419ae115bc7Smrj# 420ae115bc7Smrj# krtld lints 421ae115bc7Smrj# 422ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/common/krtld/%.c 423ae115bc7Smrj @($(LHEAD) $(LINT.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) $< $(LTAIL)) 424ae115bc7Smrj 425ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/$(SUBARCH_DIR)/krtld/%.c 426ae115bc7Smrj @($(LHEAD) $(LINT.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) $< $(LTAIL)) 427ae115bc7Smrj 428ae115bc7Smrj$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/$(SUBARCH_DIR)/krtld/%.s 429ae115bc7Smrj @($(LHEAD) $(LINT.s) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) $< $(LTAIL)) 430ae115bc7Smrj 431ae115bc7Smrj$(LINTS_DIR)/%.ln: $(SRC)/common/util/$(SUBARCH_DIR)/%.c 432ae115bc7Smrj @($(LHEAD) $(LINT.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) $< $(LTAIL)) 433ae115bc7Smrj 434