1 #
   2 # CDDL HEADER START
   3 #
   4 # The contents of this file are subject to the terms of the
   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 
  22 #
  23 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  24 # Use is subject to license terms.
  25 # Copyright 2012 Joyent, Inc.  All rights reserved.
  26 # Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
  27 #
  28 
  29 #
  30 #       This Makefile defines all file modules and build rules for the
  31 # directory uts/intel and its children. These are the source files which
  32 # are specific to the intel processor.
  33 #
  34 #       The following two-level ordering must be maintained in this file.
  35 #         Lines are sorted first in order of decreasing specificity based on
  36 #         the first directory component.  That is, sun4u rules come before
  37 #         sparc rules come before common rules.
  38 #
  39 #         Lines whose initial directory components are equal are sorted
  40 #         alphabetically by the remaining components.
  41 
  42 #
  43 # Need a way to distinguish between the ia32 and amd64 subdirs.
  44 #
  45 SUBARCH_DIR_32 = ia32
  46 SUBARCH_DIR_64 = amd64
  47 SUBARCH_DIR     = $(SUBARCH_DIR_$(CLASS))
  48 
  49 #
  50 #       Section 1a: C object build rules
  51 #
  52 $(OBJS_DIR)/%.o:                $(SRC)/common/fs/%.c
  53         $(COMPILE.c) -o $@ $<
  54         $(CTFCONVERT_O)
  55 
  56 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/io/power/%.c
  57         $(COMPILE.c) -o $@ $<
  58         $(CTFCONVERT_O)
  59 
  60 $(OBJS_DIR)/%.o:                $(SRC)/common/util/i386/%.s
  61         $(COMPILE.s) -o $@ $<
  62 
  63 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/brand/sn1/%.s
  64         $(COMPILE.s) -o $@ $<
  65 
  66 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/brand/solaris10/%.s
  67         $(COMPILE.s) -o $@ $<
  68 
  69 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/dtrace/%.c
  70         $(COMPILE.c) -o $@ $<
  71         $(CTFCONVERT_O)
  72 
  73 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/dtrace/%.s
  74         $(COMPILE.s) -o $@ $<
  75 
  76 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/fs/proc/%.c
  77         $(COMPILE.c) -o $@ $<
  78         $(CTFCONVERT_O)
  79 
  80 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/ia32/ml/%.s
  81         $(COMPILE.s) -o $@ $<
  82 
  83 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/ia32/os/%.c
  84         $(COMPILE.c) -o $@ $<
  85         $(CTFCONVERT_O)
  86 
  87 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/ia32/promif/%.c
  88         $(COMPILE.c) -o $@ $<
  89         $(CTFCONVERT_O)
  90 
  91 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/ia32/syscall/%.c
  92         $(COMPILE.c) -o $@ $<
  93         $(CTFCONVERT_O)
  94 
  95 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/io/%.c
  96         $(COMPILE.c) -o $@ $<
  97         $(CTFCONVERT_O)
  98 
  99 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/io/acpica/%.c
 100         $(COMPILE.c) -o $@ $<
 101         $(CTFCONVERT_O)
 102 
 103 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/io/acpica/%.s
 104         $(COMPILE.s) -o $@ $<
 105 
 106 $(OBJS_DIR)/%.o:                $(SRC)/common/acpica/components/debugger/%.c
 107         $(COMPILE.c) -o $@ $<
 108         $(CTFCONVERT_O)
 109 
 110 $(OBJS_DIR)/%.o:                $(SRC)/common/acpica/components/disassembler/%.c
 111         $(COMPILE.c) -o $@ $<
 112         $(CTFCONVERT_O)
 113 
 114 $(OBJS_DIR)/%.o:                $(SRC)/common/acpica/components/dispatcher/%.c
 115         $(COMPILE.c) -o $@ $<
 116         $(CTFCONVERT_O)
 117 
 118 $(OBJS_DIR)/%.o:                $(SRC)/common/acpica/components/events/%.c
 119         $(COMPILE.c) -o $@ $<
 120         $(CTFCONVERT_O)
 121 
 122 $(OBJS_DIR)/%.o:                $(SRC)/common/acpica/components/executer/%.c
 123         $(COMPILE.c) -o $@ $<
 124         $(CTFCONVERT_O)
 125 
 126 $(OBJS_DIR)/%.o:                $(SRC)/common/acpica/components/hardware/%.c
 127         $(COMPILE.c) -o $@ $<
 128         $(CTFCONVERT_O)
 129 
 130 $(OBJS_DIR)/%.o:                $(SRC)/common/acpica/components/namespace/%.c
 131         $(COMPILE.c) -o $@ $<
 132         $(CTFCONVERT_O)
 133 
 134 $(OBJS_DIR)/%.o:                $(SRC)/common/acpica/components/parser/%.c
 135         $(COMPILE.c) -o $@ $<
 136         $(CTFCONVERT_O)
 137 
 138 $(OBJS_DIR)/%.o:                $(SRC)/common/acpica/components/resources/%.c
 139         $(COMPILE.c) -o $@ $<
 140         $(CTFCONVERT_O)
 141 
 142 $(OBJS_DIR)/%.o:                $(SRC)/common/acpica/components/tables/%.c
 143         $(COMPILE.c) -o $@ $<
 144         $(CTFCONVERT_O)
 145 
 146 $(OBJS_DIR)/%.o:                $(SRC)/common/acpica/components/utilities/%.c
 147         $(COMPILE.c) -o $@ $<
 148         $(CTFCONVERT_O)
 149 
 150 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/io/agpgart/%.c
 151         $(COMPILE.c) -o $@ $<
 152         $(CTFCONVERT_O)
 153 
 154 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/io/agpmaster/%.c
 155         $(COMPILE.c) -o $@ $<
 156         $(CTFCONVERT_O)
 157 
 158 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/io/amd8111s/%.c
 159         $(COMPILE.c) -o $@ $<
 160         $(CTFCONVERT_O)
 161 
 162 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/io/amr/%.c
 163         $(COMPILE.c) -o $@ $<
 164         $(CTFCONVERT_O)
 165 
 166 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/io/drm/%.c
 167         $(COMPILE.c) -o $@ $<
 168         $(CTFCONVERT_O)
 169 
 170 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/io/hotplug/pcicfg/%.c
 171         $(COMPILE.c) -o $@ $<
 172         $(CTFCONVERT_O)
 173 
 174 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/io/ipmi/%.c
 175         $(COMPILE.c) -o $@ $<
 176         $(CTFCONVERT_O)
 177 
 178 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/io/intel_nb5000/%.c
 179         $(COMPILE.c) -o $@ $<
 180         $(CTFCONVERT_O)
 181 
 182 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/io/intel_nhm/%.c
 183         $(COMPILE.c) -o $@ $<
 184         $(CTFCONVERT_O)
 185 
 186 $(OBJS_DIR)/%.o:                $(SRC)/common/mc/mc-amd/%.c
 187         $(COMPILE.c) -o $@ $<
 188         $(CTFCONVERT_O)
 189 
 190 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/io/mc-amd/%.c
 191         $(COMPILE.c) -o $@ $<
 192         $(CTFCONVERT_O)
 193 
 194 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/io/pci/%.c
 195         $(COMPILE.c) -o $@ $<
 196         $(CTFCONVERT_O)
 197 
 198 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/io/pciex/%.c
 199         $(COMPILE.c) -o $@ $<
 200         $(CTFCONVERT_O)
 201 
 202 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/io/dktp/controller/ata/%.c
 203         $(COMPILE.c) -o $@ $<
 204         $(CTFCONVERT_O)
 205 
 206 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/io/dktp/dcdev/%.c
 207         $(COMPILE.c) -o $@ $<
 208         $(CTFCONVERT_O)
 209 
 210 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/io/dktp/disk/%.c
 211         $(COMPILE.c) -o $@ $<
 212         $(CTFCONVERT_O)
 213 
 214 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/io/dktp/drvobj/%.c
 215         $(COMPILE.c) -o $@ $<
 216         $(CTFCONVERT_O)
 217 
 218 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/io/dktp/hba/ghd/%.c
 219         $(COMPILE.c) -o $@ $<
 220         $(CTFCONVERT_O)
 221 
 222 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/io/dnet/%.c
 223         $(COMPILE.c) -o $@ $<
 224         $(CTFCONVERT_O)
 225 
 226 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/io/scsi/adapters/arcmsr/%.c
 227         $(COMPILE.c) -o $@ $<
 228         $(CTFCONVERT_O)
 229 
 230 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/io/scsi/targets/%.c
 231         $(COMPILE.c) -o $@ $<
 232         $(CTFCONVERT_O)
 233 
 234 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/io/vgatext/%.c
 235         $(COMPILE.c) -o $@ $<
 236         $(CTFCONVERT_O)
 237 
 238 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/io/heci/%.c
 239         $(COMPILE.c) -o $@ $<
 240         $(CTFCONVERT_O)
 241 
 242 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/nskern/%.s
 243         $(COMPILE.s) -o $@ $<
 244 
 245 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/os/%.c
 246         $(COMPILE.c) -o $@ $<
 247         $(CTFCONVERT_O)
 248 
 249 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/pcbe/%.c
 250         $(COMPILE.c) -o $@ $<
 251         $(CTFCONVERT_O)
 252 
 253 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/promif/%.c
 254         $(COMPILE.c) -o $@ $<
 255         $(CTFCONVERT_O)
 256 
 257 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/syscall/%.c
 258         $(COMPILE.c) -o $@ $<
 259         $(CTFCONVERT_O)
 260 
 261 $(OBJS_DIR)/%.o:                $(UTSBASE)/common/os/%.c
 262         $(COMPILE.c) -o $@ $<
 263         $(CTFCONVERT_O)
 264 
 265 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/kdi/%.c
 266         $(COMPILE.c) -o $@ $<
 267         $(CTFCONVERT_O)
 268 
 269 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/kdi/%.s
 270         $(COMPILE.s) -o $@ $<
 271 
 272 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/kdi/$(SUBARCH_DIR)/%.s
 273         $(COMPILE.s) -o $@ $<
 274 
 275 $(OBJS_DIR)/%.o:                $(UTSBASE)/intel/zfs/%.c
 276         $(COMPILE.c) -o $@ $<
 277         $(CTFCONVERT_O)
 278 
 279 #
 280 # krtld compiled into unix
 281 #
 282 
 283 KRTLD_INC_PATH  = -I$(UTSBASE)/common/krtld -I$(UTSBASE)/intel/sys
 284 KRTLD_INC_PATH  += -I$(UTSBASE)/intel/$(SUBARCH_DIR)/krtld
 285 
 286 KRTLD_CPPFLAGS_32       = -DELF_TARGET_386
 287 KRTLD_CPPFLAGS_64       = -DELF_TARGET_AMD64 -DMODDIR_SUFFIX=\"amd64\"
 288 KRTLD_CPPFLAGS          = $(KRTLD_CPPFLAGS_$(CLASS)) -D_KRTLD
 289 
 290 $(OBJS_DIR)/%.o:        $(UTSBASE)/common/krtld/%.c
 291         $(COMPILE.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) -o $@ $<
 292         $(CTFCONVERT_O)
 293 
 294 $(OBJS_DIR)/%.o:        $(UTSBASE)/intel/$(SUBARCH_DIR)/krtld/%.c
 295         $(COMPILE.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) -o $@ $<
 296         $(CTFCONVERT_O)
 297 
 298 #
 299 # _DBOOT indicates that krtld is called from a dboot ELF section
 300 #
 301 $(OBJS_DIR)/kobj.o              := CPPFLAGS += -D_DBOOT
 302 
 303 $(OBJS_DIR)/%.o:        $(UTSBASE)/intel/$(SUBARCH_DIR)/krtld/%.s
 304         $(COMPILE.s) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) -o $@ $<
 305         $(CTFCONVERT_O)
 306 
 307 $(OBJS_DIR)/%.o:        $(SRC)/common/util/$(SUBARCH_DIR)/%.c
 308         $(COMPILE.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) -o $@ $<
 309         $(CTFCONVERT_O)
 310 
 311 
 312 #
 313 #       Section 1b: Lint `object' build rules.
 314 #
 315 $(LINTS_DIR)/%.ln:              $(SRC)/common/fs/%.c
 316         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 317 
 318 $(LINTS_DIR)/%.ln:              $(SRC)/common/util/i386/%.s
 319         @($(LHEAD) $(LINT.s) $< $(LTAIL))
 320 
 321 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/brand/sn1/%.s
 322         @($(LHEAD) $(LINT.s) $< $(LTAIL))
 323 
 324 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/brand/solaris10/%.s
 325         @($(LHEAD) $(LINT.s) $< $(LTAIL))
 326 
 327 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/dtrace/%.c
 328         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 329 
 330 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/dtrace/%.s
 331         @($(LHEAD) $(LINT.s) $< $(LTAIL))
 332 
 333 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/zfs/%.c
 334         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 335 
 336 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/fs/proc/%.c
 337         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 338 
 339 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/ia32/ml/%.s
 340         @($(LHEAD) $(LINT.s) $< $(LTAIL))
 341 
 342 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/ia32/os/%.c
 343         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 344 
 345 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/ia32/promif/%.c
 346         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 347 
 348 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/ia32/syscall/%.c
 349         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 350 
 351 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/io/%.c
 352         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 353 
 354 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/io/acpica/%.s
 355         @($(LHEAD) $(LINT.s) $< $(LTAIL))
 356 
 357 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/io/acpica/%.c
 358         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 359 
 360 $(LINTS_DIR)/%.ln:              $(SRC)/common/acpica/components/debugger/%.c
 361         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 362 
 363 $(LINTS_DIR)/%.ln:              $(SRC)/common/acpica/components/events/%.c
 364         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 365 
 366 $(LINTS_DIR)/%.ln:              $(SRC)/common/acpica/components/hardware/%.c
 367         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 368 
 369 $(LINTS_DIR)/%.ln:              $(SRC)/common/acpica/components/dispatcher/%.c
 370         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 371 
 372 $(LINTS_DIR)/%.ln:              $(SRC)/common/acpica/components/executer/%.c
 373         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 374 
 375 $(LINTS_DIR)/%.ln:              $(SRC)/common/acpica/components/parser/%.c
 376         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 377 
 378 $(LINTS_DIR)/%.ln:              $(SRC)/common/acpica/components/namespace/%.c
 379         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 380 
 381 $(LINTS_DIR)/%.ln:              $(SRC)/common/acpica/components/resources/%.c
 382         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 383 
 384 $(LINTS_DIR)/%.ln:              $(SRC)/common/acpica/components/tables/%.c
 385         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 386 
 387 $(LINTS_DIR)/%.ln:              $(SRC)/common/acpica/components/utilities/%.c
 388         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 389 
 390 $(LINTS_DIR)/%.ln:              $(SRC)/common/acpica/components/disassembler/%.c
 391         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 392 
 393 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/io/agpgart/%.c
 394         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 395 
 396 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/io/agpmaster/%.c
 397         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 398 
 399 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/io/amd8111s/%.c
 400         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 401 
 402 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/io/amr/%.c
 403         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 404 
 405 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/io/scsi/adapters/arcmsr/%.c
 406         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 407 
 408 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/io/drm/%.c
 409         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 410 
 411 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/io/hotplug/pcicfg/%.c
 412         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 413 
 414 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/io/hotplug/pci/%.c
 415         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 416 
 417 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/io/intel_nb5000/%.c
 418         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 419 
 420 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/io/intel_nhm/%.c
 421         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 422 
 423 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/io/ipmi/%.c
 424         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 425 
 426 $(LINTS_DIR)/%.ln:              $(SRC)/common/mc/mc-amd/%.c
 427         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 428 
 429 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/io/mc-amd/%.c
 430         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 431 
 432 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/io/pci/%.c
 433         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 434 
 435 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/io/pciex/%.c
 436         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 437 
 438 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/io/dktp/controller/ata/%.c
 439         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 440 
 441 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/io/dktp/dcdev/%.c
 442         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 443 
 444 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/io/dktp/disk/%.c
 445         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 446 
 447 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/io/dktp/drvobj/%.c
 448         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 449 
 450 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/io/dktp/hba/ghd/%.c
 451         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 452 
 453 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/io/dnet/%.c
 454         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 455 
 456 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/io/scsi/targets/%.c
 457         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 458 
 459 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/io/vgatext/%.c
 460         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 461 
 462 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/io/heci/%.c
 463         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 464 
 465 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/os/%.c
 466         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 467 
 468 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/pcbe/%.c
 469         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 470 
 471 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/promif/%.c
 472         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 473 
 474 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/syscall/%.c
 475         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 476 
 477 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/os/%.c
 478         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 479 
 480 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/kdi/%.c
 481         @($(LHEAD) $(LINT.c) $< $(LTAIL))
 482 
 483 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/kdi/%.s
 484         @($(LHEAD) $(LINT.s) $< $(LTAIL))
 485 
 486 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/kdi/$(SUBARCH_DIR)/%.s
 487         @($(LHEAD) $(LINT.s) $< $(LTAIL))
 488 
 489 $(LINTS_DIR)/%.ln:              $(UTSBASE)/intel/nskern/%.s
 490         @($(LHEAD) $(LINT.s) $< $(LTAIL))
 491 
 492 #
 493 # krtld lints
 494 #
 495 $(LINTS_DIR)/%.ln:              $(UTSBASE)/common/krtld/%.c
 496         @($(LHEAD) $(LINT.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) $< $(LTAIL))
 497 
 498 $(LINTS_DIR)/%.ln:      $(UTSBASE)/intel/$(SUBARCH_DIR)/krtld/%.c
 499         @($(LHEAD) $(LINT.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) $< $(LTAIL))
 500 
 501 $(LINTS_DIR)/%.ln:      $(UTSBASE)/intel/$(SUBARCH_DIR)/krtld/%.s
 502         @($(LHEAD) $(LINT.s) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) $< $(LTAIL))
 503 
 504 $(LINTS_DIR)/%.ln:      $(SRC)/common/util/$(SUBARCH_DIR)/%.c
 505         @($(LHEAD) $(LINT.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) $< $(LTAIL))
 506 
 507 $(OBJS_DIR)/kobj.ln             := CPPFLAGS += -D_DBOOT