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