Home | History | Annotate | Download | only in i86pc
      1      0    stevel #
      2      0    stevel # CDDL HEADER START
      3      0    stevel #
      4      0    stevel # The contents of this file are subject to the terms of the
      5   1106       mrj # Common Development and Distribution License (the "License").
      6   1106       mrj # You may not use this file except in compliance with the License.
      7      0    stevel #
      8      0    stevel # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
      9      0    stevel # or http://www.opensolaris.org/os/licensing.
     10      0    stevel # See the License for the specific language governing permissions
     11      0    stevel # and limitations under the License.
     12      0    stevel #
     13      0    stevel # When distributing Covered Code, include this CDDL HEADER in each
     14      0    stevel # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
     15      0    stevel # If applicable, add the following below this CDDL HEADER, with the
     16      0    stevel # fields enclosed by brackets "[]" replaced with your own identifying
     17      0    stevel # information: Portions Copyright [yyyy] [name of copyright owner]
     18      0    stevel #
     19      0    stevel # CDDL HEADER END
     20      0    stevel #
     21   1106       mrj 
     22      0    stevel #
     23   8472      Sean # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
     24      0    stevel # Use is subject to license terms.
     25      0    stevel #
     26      0    stevel 
     27      0    stevel #	This Makefile defines the build rules for the directory uts/i86pc
     28      0    stevel #	and its children. These are the source files which are i86pc
     29      0    stevel #	"implementation architecture" dependent.
     30      0    stevel #
     31      0    stevel #	The following two-level ordering must be maintained in this file.
     32      0    stevel #	  Lines are sorted first in order of decreasing specificity based on
     33   6451       edp #	  the first directory component.  That is, i86pc rules come before
     34   6451       edp #	  intel rules come before common rules.
     35      0    stevel #
     36      0    stevel #	  Lines whose initial directory components are equal are sorted
     37      0    stevel #	  alphabetically by the remaining components.
     38      0    stevel 
     39      0    stevel #
     40      0    stevel #	Section 1a: C object build rules
     41      0    stevel #
     42      0    stevel $(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/conf/%.c
     43      0    stevel 	$(COMPILE.c) -o $@ $<
     44      0    stevel 	$(CTFCONVERT_O)
     45      0    stevel 
     46   1414     cindi $(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/cpu/amd_opteron/%.c
     47   1414     cindi 	$(COMPILE.c) -o $@ $<
     48   1414     cindi 	$(CTFCONVERT_O)
     49   1414     cindi 
     50   5254    gavinm $(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/cpu/authenticamd/%.c
     51   5254    gavinm 	$(COMPILE.c) -o $@ $<
     52   5254    gavinm 	$(CTFCONVERT_O)
     53   1414     cindi 
     54   1414     cindi $(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/cpu/generic_cpu/%.c
     55   1414     cindi 	$(COMPILE.c) -o $@ $<
     56   1414     cindi 	$(CTFCONVERT_O)
     57   1414     cindi 
     58   5254    gavinm $(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/cpu/genuineintel/%.c
     59   5254    gavinm 	$(COMPILE.c) -o $@ $<
     60   5254    gavinm 	$(CTFCONVERT_O)
     61   1414     cindi 
     62      0    stevel $(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/%.c
     63   4035   phitran 	$(COMPILE.c) -o $@ $<
     64   4035   phitran 	$(CTFCONVERT_O)
     65   4035   phitran 
     66   6573   phitran $(OBJS_DIR)/%.o:                $(UTSBASE)/i86pc/io/acpi_drv/%.c
     67   9638     Randy 	$(COMPILE.c) -o $@ $<
     68   9638     Randy 	$(CTFCONVERT_O)
     69   9638     Randy 
     70   9638     Randy $(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/fipe/%.c
     71  10394   Michael 	$(COMPILE.c) -o $@ $<
     72  10394   Michael 	$(CTFCONVERT_O)
     73  10394   Michael 
     74  10394   Michael $(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/acpi/acpidev/%.c
     75  10394   Michael 	$(COMPILE.c) -o $@ $<
     76  10394   Michael 	$(CTFCONVERT_O)
     77  10394   Michael 
     78  10394   Michael $(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/acpi/acpinex/%.c
     79  10566    Vikram 	$(COMPILE.c) -o $@ $<
     80  10566    Vikram 	$(CTFCONVERT_O)
     81  10566    Vikram 
     82  10566    Vikram $(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/amd_iommu/%.c
     83   7319      Mark 	$(COMPILE.c) -o $@ $<
     84   7319      Mark 	$(CTFCONVERT_O)
     85   7319      Mark 
     86   6707    brutus $(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/ioat/%.c
     87      0    stevel 	$(COMPILE.c) -o $@ $<
     88      0    stevel 	$(CTFCONVERT_O)
     89      0    stevel 
     90      0    stevel $(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/pci/%.c
     91    881    johnny 	$(COMPILE.c) -o $@ $<
     92    881    johnny 	$(CTFCONVERT_O)
     93    881    johnny 
     94    881    johnny $(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/pciex/%.c
     95  10923      Evan 	$(COMPILE.c) -o $@ $<
     96  10923      Evan 	$(CTFCONVERT_O)
     97  10923      Evan 
     98  10923      Evan $(OBJS_DIR)/%.o:		$(UTSBASE)/intel/io/pciex/hotplug/%.c
     99    881    johnny 	$(COMPILE.c) -o $@ $<
    100    881    johnny 	$(CTFCONVERT_O)
    101    881    johnny 
    102      0    stevel $(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/pcplusmp/%.c
    103      0    stevel 	$(COMPILE.c) -o $@ $<
    104      0    stevel 	$(CTFCONVERT_O)
    105      0    stevel 
    106      0    stevel $(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/pcplusmp/%.s
    107   5295    randyf 	$(COMPILE.s) -o $@ $<
    108   5295    randyf 
    109   5295    randyf $(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/ppm/%.c
    110   5295    randyf 	$(COMPILE.c) -o $@ $<
    111   5295    randyf 	$(CTFCONVERT_O)
    112   5295    randyf 
    113   5295    randyf $(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/ppm/%.s
    114      0    stevel 	$(COMPILE.s) -o $@ $<
    115      0    stevel 
    116      0    stevel $(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/psm/%.c
    117      0    stevel 	$(COMPILE.c) -o $@ $<
    118      0    stevel 	$(CTFCONVERT_O)
    119      0    stevel 
    120      0    stevel $(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/psm/%.s
    121      0    stevel 	$(COMPILE.s) -o $@ $<
    122   1884   ap25164 
    123   1884   ap25164 $(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/tzmon/%.c
    124   1884   ap25164 	$(COMPILE.c) -o $@ $<
    125   1884   ap25164 	$(CTFCONVERT_O)
    126      0    stevel 
    127      0    stevel $(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/ml/%.s
    128      0    stevel 	$(COMPILE.s) -o $@ $<
    129      0    stevel 
    130      0    stevel $(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/os/%.c
    131   8906      Eric 	$(COMPILE.c) -o $@ $<
    132   8906      Eric 	$(CTFCONVERT_O)
    133   8906      Eric 
    134   8906      Eric $(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/os/cpupm/%.c
    135      0    stevel 	$(COMPILE.c) -o $@ $<
    136      0    stevel 	$(CTFCONVERT_O)
    137      0    stevel 
    138   3446       mrj $(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/boot/%.c
    139   3446       mrj 	$(COMPILE.c) -o $@ $<
    140   3446       mrj 	$(CTFCONVERT_O)
    141   3446       mrj 
    142      0    stevel $(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/vm/%.c
    143      0    stevel 	$(COMPILE.c) -o $@ $<
    144      0    stevel 	$(CTFCONVERT_O)
    145      0    stevel 
    146      0    stevel $(OBJS_DIR)/%.o:		$(UTSBASE)/common/io/%.c
    147   4667   mh27603 	$(COMPILE.c) -o $@ $<
    148   4667   mh27603 	$(CTFCONVERT_O)
    149   4667   mh27603 
    150   4667   mh27603 $(OBJS_DIR)/%.o:		$(UTSBASE)/common/io/ppm/%.c
    151      0    stevel 	$(COMPILE.c) -o $@ $<
    152      0    stevel 	$(CTFCONVERT_O)
    153      0    stevel 
    154      0    stevel $(OBJS_DIR)/%.o:		$(UTSBASE)/common/os/%.c
    155      0    stevel 	$(COMPILE.c) -o $@ $<
    156      0    stevel 	$(CTFCONVERT_O)
    157      0    stevel 
    158      0    stevel $(OBJS_DIR)/%.o:		$(SRC)/common/dis/i386/%.c
    159      0    stevel 	$(COMPILE.c) -o $@ $<
    160      0    stevel 	$(CTFCONVERT_O)
    161      0    stevel 
    162    945    rugrat $(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/gfx_private/%.c
    163   5741       mrj 	$(COMPILE.c) -o $@ $<
    164   5741       mrj 	$(CTFCONVERT_O)
    165   5741       mrj 
    166   3446       mrj $(OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/io/xsvc/%.c
    167  10175    Stuart 	$(COMPILE.c) -o $@ $<
    168  10175    Stuart 	$(CTFCONVERT_O)
    169  10175    Stuart 
    170  10175    Stuart $(OBJS_DIR)/%.o:		$(UTSBASE)/common/xen/os/%.c
    171   2820  kz151634 	$(COMPILE.c) -o $@ $<
    172   2820  kz151634 	$(CTFCONVERT_O)
    173   2820  kz151634 
    174   3446       mrj #
    175   3446       mrj # dboot stuff is always 32 bit, linked to run with phys_addr == virt_addr
    176   3446       mrj #
    177   3446       mrj DBOOT_OBJS_DIR	= dboot/$(OBJS_DIR)
    178   3446       mrj DBOOT_MACH_32	= -D_BOOT_TARGET_i386
    179   3446       mrj DBOOT_MACH_64	= -D_BOOT_TARGET_amd64
    180   3446       mrj DBOOT_DEFS	= -D_BOOT $(DBOOT_MACH_$(CLASS))
    181   3446       mrj DBOOT_DEFS	+= -D_MACHDEP -D_KMEMUSER -U_KERNEL -D_I32LPx
    182   2820  kz151634 
    183   3446       mrj DBOOT_CC_INCL	= -I$(SRC)/common $(INCLUDE_PATH)
    184   3446       mrj DBOOT_AS_INCL	= $(AS_INC_PATH)
    185   3446       mrj 
    186   3446       mrj DBOOT_AS	= $(ONBLD_TOOLS)/bin/$(MACH)/aw
    187   3446       mrj 
    188   3446       mrj DBOOT_LINTS_DIR	= $(DBOOT_OBJS_DIR)
    189   3446       mrj DBOOT_LINTFLAGS_i86pc	= $(LINTFLAGS_i386_32) $(LINTTAGS_i386_32)
    190   3446       mrj 
    191   5084   johnlev DBOOT_LINTFLAGS = $(DBOOT_LINTFLAGS_$(PLATFORM)) $(LINTTAGS) $(C99LMODE) \
    192   5084   johnlev 	$(CPPFLAGS) $(DBOOT_DEFS)
    193   3446       mrj DBOOT_LOCAL_LINTFLAGS   = -c -dirout=$(DBOOT_LINTS_DIR) -I$(SRC)/common \
    194   4088    rscott 	$(DBOOT_LINTFLAGS) $(DBOOT_LINTTAGS)
    195   3446       mrj 
    196   3446       mrj $(DBOOT_OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/boot/%.c
    197   3446       mrj 	$(i386_CC) $(CERRWARN) -O $(DBOOT_DEFS) $(DBOOT_CC_INCL) -c -o $@ $<
    198   3446       mrj 
    199   3446       mrj $(DBOOT_OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/dboot/%.c
    200   3446       mrj 	$(i386_CC) $(CERRWARN) -O $(DBOOT_DEFS) $(DBOOT_CC_INCL) -c -o $@ $<
    201   5741       mrj 
    202   5741       mrj $(DBOOT_OBJS_DIR)/%.o:		$(UTSBASE)/intel/ia32/%.s
    203   5741       mrj 	$(DBOOT_AS) -P -D_ASM $(DBOOT_DEFS) $(DBOOT_AS_INCL) -o $@ $<
    204   3446       mrj 
    205   3446       mrj $(DBOOT_OBJS_DIR)/%.o:		$(COMMONBASE)/util/%.c
    206   3446       mrj 	$(i386_CC) $(CERRWARN) -O $(DBOOT_DEFS) $(DBOOT_CC_INCL) -c -o $@ $<
    207   3446       mrj 
    208   3446       mrj $(DBOOT_OBJS_DIR)/%.o:		$(COMMONBASE)/util/i386/%.s
    209   3446       mrj 	$(DBOOT_AS) -P -D_ASM $(DBOOT_DEFS) $(DBOOT_AS_INCL) -o $@ $<
    210   3446       mrj 
    211   3446       mrj $(DBOOT_OBJS_DIR)/%.o:		$(UTSBASE)/i86pc/dboot/%.s
    212   3446       mrj 	$(DBOOT_AS) -P -D_ASM $(DBOOT_DEFS) $(DBOOT_AS_INCL) -o $@ $<
    213   3446       mrj 
    214   3446       mrj #
    215   3446       mrj # Stuff to build bios_call.o for the kernel.
    216   3446       mrj #
    217   3446       mrj MAPFILE_BIOS	= $(UTSBASE)/i86pc/conf/Mapfile.bios
    218   3446       mrj $(OBJS_DIR)/bios_call.o:    $(UTSBASE)/i86pc/ml/bios_call_src.s
    219   3446       mrj 	$(COMPILE.s) -o $(OBJS_DIR)/bios_call_src.o \
    220   3446       mrj 		$(UTSBASE)/i86pc/ml/bios_call_src.s
    221   3446       mrj 	$(LD) -dn -M $(MAPFILE_BIOS)  \
    222   3446       mrj 		-o $(OBJS_DIR)/bios_call_src $(OBJS_DIR)/bios_call_src.o
    223   3446       mrj 	@echo "  .data"				> $(OBJS_DIR)/bios_call.s
    224   3446       mrj 	@echo "  .globl bios_image"		>> $(OBJS_DIR)/bios_call.s
    225   3446       mrj 	@echo "bios_image:"			>> $(OBJS_DIR)/bios_call.s
    226   3446       mrj 	$(ELFEXTRACT) $(OBJS_DIR)/bios_call_src	>> $(OBJS_DIR)/bios_call.s
    227   3446       mrj 	@echo "  .align 4"			>> $(OBJS_DIR)/bios_call.s
    228   3446       mrj 	@echo "  .globl bios_size"		>> $(OBJS_DIR)/bios_call.s
    229   3446       mrj 	@echo "bios_size:"			>> $(OBJS_DIR)/bios_call.s
    230   3446       mrj 	@echo "  .long . - bios_image"		>> $(OBJS_DIR)/bios_call.s
    231   3446       mrj 	$(COMPILE.s) -o $@ $(OBJS_DIR)/bios_call.s
    232      0    stevel 
    233   7656    Sherry #
    234   7656    Sherry # Stuff to build fb_swtch.o for the kernel.
    235   7656    Sherry #
    236   7656    Sherry MAPFILE_FBSWTCH	= $(UTSBASE)/i86pc/conf/Mapfile.fb_swtch
    237   7656    Sherry $(OBJS_DIR)/fb_swtch.o:    $(UTSBASE)/i86pc/ml/fb_swtch_src.s
    238   7656    Sherry 	$(COMPILE.s) -o $(OBJS_DIR)/fb_swtch_src.o \
    239   7656    Sherry 		$(UTSBASE)/i86pc/ml/fb_swtch_src.s
    240   7656    Sherry 	$(LD) -dn -M $(MAPFILE_FBSWTCH)  \
    241   7656    Sherry 		-o $(OBJS_DIR)/fb_swtch_src $(OBJS_DIR)/fb_swtch_src.o
    242   7656    Sherry 	@echo "  .data"				> $(OBJS_DIR)/fb_swtch.s
    243   7656    Sherry 	@echo "  .globl fb_swtch_image"		>> $(OBJS_DIR)/fb_swtch.s
    244   7656    Sherry 	@echo "fb_swtch_image:"			>> $(OBJS_DIR)/fb_swtch.s
    245   7656    Sherry 	$(ELFEXTRACT) $(OBJS_DIR)/fb_swtch_src	>> $(OBJS_DIR)/fb_swtch.s
    246   7656    Sherry 	@echo "  .align 4"			>> $(OBJS_DIR)/fb_swtch.s
    247   7656    Sherry 	@echo "  .globl fb_swtch_size"		>> $(OBJS_DIR)/fb_swtch.s
    248   7656    Sherry 	@echo "fb_swtch_size:"			>> $(OBJS_DIR)/fb_swtch.s
    249   7656    Sherry 	@echo "  .long . - fb_swtch_image"	>> $(OBJS_DIR)/fb_swtch.s
    250   7656    Sherry 	$(COMPILE.s) -o $@ $(OBJS_DIR)/fb_swtch.s
    251   7656    Sherry 
    252      0    stevel # ridiculous contortions ---
    253      0    stevel ATOMIC_SUBDIR_32	= i386
    254      0    stevel ATOMIC_SUBDIR_64	= amd64
    255      0    stevel ATOMIC_SUBDIR		= $(ATOMIC_SUBDIR_$(CLASS))
    256      0    stevel 
    257      0    stevel $(OBJS_DIR)/%.o:		$(SRC)/common/atomic/$(ATOMIC_SUBDIR)/%.s
    258      0    stevel 	$(COMPILE.s) -o $@ $<
    259    611     myers 
    260   3446       mrj #
    261   3446       mrj # dtrace stubs
    262   3446       mrj #
    263   1560     myers 
    264      0    stevel $(OBJS_DIR)/dtracestubs.s:	$(UNIX_O) $(LIBS)
    265   7144      jmcp 	$(NM) -u $(UNIX_O) $(LIBS) | $(GREP) __dtrace_probe_ | $(SORT) | \
    266   7144      jmcp 	    $(UNIQ) | $(NAWK) '{ \
    267      0    stevel 	    printf("\t.globl %s\n\t.type %s,@function\n%s:\n", \
    268      0    stevel 	    $$1, $$1, $$1); }' > $(OBJS_DIR)/dtracestubs.s
    269      0    stevel 
    270      0    stevel $(DTRACESTUBS):	$(DTRACESTUBS_O)
    271    580  wesolows 	$(BUILD.SO) $(DTRACESTUBS_O)
    272      0    stevel 
    273      0    stevel #
    274      0    stevel #	Section 1b: Lint `object' build rules
    275      0    stevel #
    276      0    stevel $(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/conf/%.c
    277      0    stevel 	@($(LHEAD) $(LINT.c) $< $(LTAIL))
    278      0    stevel 
    279   1414     cindi $(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/cpu/amd_opteron/%.c
    280   1414     cindi 	@($(LHEAD) $(LINT.c) $< $(LTAIL))
    281   1414     cindi 
    282   5254    gavinm $(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/cpu/authenticamd/%.c
    283   5254    gavinm 	@($(LHEAD) $(LINT.c) $< $(LTAIL))
    284   1414     cindi 
    285   1414     cindi $(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/cpu/generic_cpu/%.c
    286   1414     cindi 	@($(LHEAD) $(LINT.c) $< $(LTAIL))
    287   1414     cindi 
    288   5254    gavinm $(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/cpu/genuineintel/%.c
    289   5254    gavinm 	@($(LHEAD) $(LINT.c) $< $(LTAIL))
    290   5254    gavinm 
    291      0    stevel $(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/%.c
    292   1414     cindi 	@($(LHEAD) $(LINT.c) $< $(LTAIL))
    293   1414     cindi 
    294   6573   phitran $(LINTS_DIR)/%.ln:              $(UTSBASE)/i86pc/io/acpi_drv/%.c
    295   4035   phitran 	@($(LHEAD) $(LINT.c) $< $(LTAIL))
    296   4035   phitran 
    297   9638     Randy $(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/fipe/%.c
    298   9638     Randy 	@($(LHEAD) $(LINT.c) $< $(LTAIL))
    299   9638     Randy 
    300  10394   Michael $(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/acpi/acpidev/%.c
    301  10394   Michael 	@($(LHEAD) $(LINT.c) $< $(LTAIL))
    302  10394   Michael 
    303  10394   Michael $(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/acpi/acpinex/%.c
    304  10394   Michael 	@($(LHEAD) $(LINT.c) $< $(LTAIL))
    305  10394   Michael 
    306  10566    Vikram $(LINTS_DIR)/%.ln:              $(UTSBASE)/i86pc/io/amd_iommu/%.c
    307  10566    Vikram 	@($(LHEAD) $(LINT.c) $< $(LTAIL))
    308  10566    Vikram 
    309   6707    brutus $(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/ioat/%.c
    310      0    stevel 	@($(LHEAD) $(LINT.c) $< $(LTAIL))
    311      0    stevel 
    312      0    stevel $(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/pci/%.c
    313      0    stevel 	@($(LHEAD) $(LINT.c) $< $(LTAIL))
    314      0    stevel 
    315    881    johnny $(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/pciex/%.c
    316    881    johnny 	@($(LHEAD) $(LINT.c) $< $(LTAIL))
    317    881    johnny 
    318  10923      Evan $(LINTS_DIR)/%.ln:		$(UTSBASE)/intel/io/pciex/hotplug/%.c
    319  10923      Evan 	@($(LHEAD) $(LINT.c) $< $(LTAIL))
    320  10923      Evan 
    321      0    stevel $(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/pcplusmp/%.c
    322      0    stevel 	@($(LHEAD) $(LINT.c) $< $(LTAIL))
    323      0    stevel 
    324      0    stevel $(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/pcplusmp/%.s
    325      0    stevel 	@($(LHEAD) $(LINT.s) $< $(LTAIL))
    326      0    stevel 
    327   5295    randyf $(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/ppm/%.c
    328   5295    randyf 	@($(LHEAD) $(LINT.c) $< $(LTAIL))
    329   5295    randyf 
    330   5295    randyf $(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/ppm/%.s
    331   5295    randyf 	@($(LHEAD) $(LINT.s) $< $(LTAIL))
    332   5295    randyf 
    333      0    stevel $(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/psm/%.c
    334      0    stevel 	@($(LHEAD) $(LINT.c) $< $(LTAIL))
    335      0    stevel 
    336      0    stevel $(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/psm/%.s
    337      0    stevel 	@($(LHEAD) $(LINT.s) $< $(LTAIL))
    338      0    stevel 
    339   1884   ap25164 $(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/tzmon/%.c
    340   1884   ap25164 	@($(LHEAD) $(LINT.c) $< $(LTAIL))
    341   1884   ap25164 
    342      0    stevel $(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/ml/%.s
    343      0    stevel 	@($(LHEAD) $(LINT.s) $< $(LTAIL))
    344      0    stevel 
    345      0    stevel $(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/os/%.c
    346   8906      Eric 	@($(LHEAD) $(LINT.c) $< $(LTAIL))
    347   8906      Eric 
    348   8906      Eric $(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/os/cpupm/%.c
    349      0    stevel 	@($(LHEAD) $(LINT.c) $< $(LTAIL))
    350      0    stevel 
    351   3446       mrj $(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/boot/%.c
    352   3446       mrj 	@($(LHEAD) $(LINT.c) $< $(LTAIL))
    353   3446       mrj 
    354      0    stevel $(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/vm/%.c
    355      0    stevel 	@($(LHEAD) $(LINT.c) $< $(LTAIL))
    356      0    stevel 
    357      0    stevel $(LINTS_DIR)/%.ln:		$(UTSBASE)/common/io/%.c
    358      0    stevel 	@($(LHEAD) $(LINT.c) $< $(LTAIL))
    359      0    stevel 
    360   4667   mh27603 $(LINTS_DIR)/%.ln:		$(UTSBASE)/common/io/ppm/%.c
    361   4667   mh27603 	@($(LHEAD) $(LINT.c) $< $(LTAIL))
    362   4667   mh27603 
    363      0    stevel $(LINTS_DIR)/%.ln:		$(UTSBASE)/common/os/%.c
    364      0    stevel 	@($(LHEAD) $(LINT.c) $< $(LTAIL))
    365      0    stevel 
    366      0    stevel $(LINTS_DIR)/%.ln:		$(SRC)/common/dis/i386/%.c
    367      0    stevel 	@($(LHEAD) $(LINT.c) $< $(LTAIL))
    368      0    stevel 
    369      0    stevel $(LINTS_DIR)/%.ln:		$(SRC)/common/atomic/%.c
    370      0    stevel 	@($(LHEAD) $(LINT.c) $< $(LTAIL))
    371      0    stevel 
    372    945    rugrat $(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/gfx_private/%.c
    373    945    rugrat 	@($(LHEAD) $(LINT.c) $< $(LTAIL))
    374    945    rugrat 
    375   3446       mrj $(LINTS_DIR)/%.ln:		$(UTSBASE)/i86pc/io/xsvc/%.c
    376   2820  kz151634 	@($(LHEAD) $(LINT.c) $< $(LTAIL))
    377   2820  kz151634 
    378  10175    Stuart $(LINTS_DIR)/%.ln:		$(UTSBASE)/common/xen/os/%.c
    379  10175    Stuart 	@($(LHEAD) $(LINT.c) $< $(LTAIL))
    380  10175    Stuart 
    381   3446       mrj #
    382   3446       mrj # bios call has a funky name change while building
    383   3446       mrj #
    384   3446       mrj $(LINTS_DIR)/bios_call.ln:	$(UTSBASE)/i86pc/ml/bios_call_src.s
    385   3446       mrj 	@($(LHEAD) $(LINT.s) $(UTSBASE)/i86pc/ml/bios_call_src.s  $(LTAIL))
    386   3446       mrj 	@mv $(LINTS_DIR)/bios_call_src.ln $(LINTS_DIR)/bios_call.ln
    387   2820  kz151634 
    388   3446       mrj #
    389   7656    Sherry # So does fb_swtch
    390   7656    Sherry #
    391   7656    Sherry $(LINTS_DIR)/fb_swtch.ln:	$(UTSBASE)/i86pc/ml/fb_swtch_src.s
    392   7656    Sherry 	@($(LHEAD) $(LINT.s) $(UTSBASE)/i86pc/ml/fb_swtch_src.s  $(LTAIL))
    393   7656    Sherry 	@mv $(LINTS_DIR)/fb_swtch_src.ln $(LINTS_DIR)/fb_swtch.ln
    394   7656    Sherry 
    395   7656    Sherry #
    396   3446       mrj # dboot always compiles in 32-bit mode, so force lint to be 32-bit mode too.
    397   3446       mrj #
    398   3446       mrj $(DBOOT_LINTS_DIR)/%.ln: $(UTSBASE)/i86pc/dboot/%.c
    399   3446       mrj 	@($(LHEAD) $(DBOOT_LINT) $(DBOOT_LOCAL_LINTFLAGS) $< $(LTAIL))
    400   2820  kz151634 
    401   3446       mrj $(DBOOT_LINTS_DIR)/%.ln: $(UTSBASE)/i86pc/dboot/%.s
    402   3446       mrj 	@($(LHEAD) $(DBOOT_LINT) $(DBOOT_LOCAL_LINTFLAGS) $< $(LTAIL))
    403   3446       mrj 
    404   3446       mrj $(DBOOT_LINTS_DIR)/%.ln: $(UTSBASE)/i86pc/boot/%.c
    405   3446       mrj 	@($(LHEAD) $(DBOOT_LINT) $(DBOOT_LOCAL_LINTFLAGS) $< $(LTAIL))
    406   3446       mrj 
    407   3446       mrj $(DBOOT_LINTS_DIR)/%.ln: $(COMMONBASE)/util/%.c
    408   3446       mrj 	@($(LHEAD) $(DBOOT_LINT) $(DBOOT_LOCAL_LINTFLAGS) $< $(LTAIL))
    409   3446       mrj 
    410   3446       mrj $(DBOOT_LINTS_DIR)/%.ln: $(COMMONBASE)/util/i386/%.s
    411   3446       mrj 	@($(LHEAD) $(DBOOT_LINT) $(DBOOT_LOCAL_LINTFLAGS) $< $(LTAIL))
    412