# # CDDL HEADER START # # The contents of this file are subject to the terms of the # Common Development and Distribution License (the "License"). # You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.opensolaris.org/os/licensing. # See the License for the specific language governing permissions # and limitations under the License. # # When distributing Covered Code, include this CDDL HEADER in each # file and include the License file at usr/src/OPENSOLARIS.LICENSE. # If applicable, add the following below this CDDL HEADER, with the # fields enclosed by brackets "[]" replaced with your own identifying # information: Portions Copyright [yyyy] [name of copyright owner] # # CDDL HEADER END # # # Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # ident "%Z%%M% %I% %E% SMI" # # This Makefile defines all file modules and build rules for the # directory uts/intel and its children. These are the source files which # are specific to x86 processor architectures. # # # Core (unix) objects # CORE_OBJS += \ arch_kdi.o \ copy.o \ copy_subr.o \ cpc_subr.o \ ddi_arch.o \ ddi_i86.o \ ddi_i86_asm.o \ desctbls.o \ desctbls_asm.o \ exception.o \ float.o \ fpu.o \ i86_subr.o \ lwp_private.o \ lock_prim.o \ ovbcopy.o \ polled_io.o \ sseblk.o \ sundep.o \ swtch.o \ sysi86.o # # 64-bit multiply/divide compiler helper routines # used only for ia32 # SPECIAL_OBJS_32 += \ muldiv.o # # Generic-unix Module # GENUNIX_OBJS += \ archdep.o \ getcontext.o \ install_utrap.o \ prom_enter.o \ prom_exit.o \ prom_panic.o \ sendsig.o \ syscall.o # # PROM Routines # GENUNIX_OBJS += \ prom_env.o \ prom_emul.o \ prom_getchar.o \ prom_init.o \ prom_node.o \ prom_printf.o \ prom_prop.o \ prom_putchar.o \ prom_reboot.o \ prom_version.o # # file system modules # CORE_OBJS += \ prmachdep.o LX_PROC_OBJS += \ lx_prsubr.o \ lx_prvfsops.o \ lx_prvnops.o LX_AUTOFS_OBJS += \ lx_autofs.o # # Decompression code # CORE_OBJS += decompress.o # # Driver modules # AGPGART_OBJS += agpgart.o agp_kstat.o AGPTARGET_OBJS += agptarget.o AMD64GART_OBJS += amd64_gart.o ATA_OBJS += $(GHD_OBJS) ata_blacklist.o ata_common.o ata_disk.o \ ata_dma.o atapi.o atapi_fsm.o ata_debug.o \ sil3xxx.o BSCBUS_OBJS += bscbus.o BSCV_OBJS += bscv.o CMDK_OBJS += cmdk.o CMLB_OBJS += cmlb.o DADK_OBJS += dadk.o DNET_OBJS += dnet.o mii.o FD_OBJS += fd.o GDA_OBJS += gda.o GHD_OBJS += ghd.o ghd_debug.o ghd_dma.o ghd_queue.o ghd_scsa.o \ ghd_scsi.o ghd_timer.o ghd_waitq.o ghd_gcmd.o I915_OBJS += i915_sundrv.o i915_dma.o i915_drv.o i915_irq.o i915_mem.o LOGI_OBJS += logi.o MSMOUSE_OBJS += msm.o MSCSI_OBJS += mscsi.o PCICFG_OBJS += pcicfg.o PCI_E_PCINEXUS_OBJS += pcie_pci.o PCI_PCINEXUS_OBJS += pci_pci.o PCIEHPCNEXUS_OBJS += pciehpc_x86.o pciehpc_acpi.o pciehpc_nvidia.o PCN_OBJS += mii.o POWER_OBJS += power.o PCI_AUTOCONFIG_OBJS += pci_autoconfig.o pci_boot.o pcie_nvidia.o \ pci_memlist.o pci_resource.o SD_OBJS += sd.o sd_xbuf.o STRATEGY_OBJS += strategy.o VGATEXT_OBJS += vgatext.o vgasubr.o # # Kernel linker # KRTLD_OBJS += \ bootrd.o \ ufsops.o \ hsfs.o \ doreloc.o \ kobj_boot.o \ kobj_convrelstr.o \ kobj_crt.o \ kobj_isa.o \ kobj_reloc.o # # misc. modules # ACPICA_OBJS += dbcmds.o dbdisply.o \ dbexec.o dbfileio.o dbhistry.o dbinput.o dbstats.o \ dbutils.o dbxface.o evevent.o evgpe.o evgpeblk.o \ evmisc.o evregion.o evrgnini.o evsci.o evxface.o \ evxfevnt.o evxfregn.o hwacpi.o hwgpe.o hwregs.o \ hwsleep.o hwtimer.o dsfield.o dsinit.o dsmethod.o \ dsmthdat.o dsobject.o dsopcode.o dsutils.o dswexec.o \ dswload.o dswscope.o dswstate.o exconfig.o exconvrt.o \ excreate.o exdump.o exfield.o exfldio.o exmisc.o \ exmutex.o exnames.o exoparg1.o exoparg2.o exoparg3.o \ exoparg6.o exprep.o exregion.o exresnte.o exresolv.o \ exresop.o exstore.o exstoren.o exstorob.o exsystem.o \ exutils.o psargs.o psopcode.o psparse.o psscope.o \ pstree.o psutils.o pswalk.o psxface.o nsaccess.o \ nsalloc.o nsdump.o nsdumpdv.o nseval.o nsinit.o \ nsload.o nsnames.o nsobject.o nsparse.o nssearch.o \ nsutils.o nswalk.o nsxfeval.o nsxfname.o nsxfobj.o \ rsaddr.o rscalc.o rscreate.o rsdump.o \ rsinfo.o rsio.o rsirq.o rslist.o rsmemory.o rsmisc.o \ rsutils.o rsxface.o tbconvrt.o tbget.o tbgetall.o \ tbinstal.o tbrsdt.o tbutils.o tbxface.o tbxfroot.o \ utalloc.o utclib.o utcopy.o utdebug.o utdelete.o \ uteval.o utglobal.o utinit.o utmath.o utmisc.o \ utobject.o utresrc.o utxface.o acpica.o acpi_enum.o \ master_ops.o osl.o osl_ml.o acpica_ec.o utcache.o \ utmutex.o utstate.o dmbuffer.o dmnames.o dmobject.o \ dmopcode.o dmresrc.o dmresrcl.o dmresrcs.o dmutils.o \ dmwalk.o psloop.o uttrack.o ACPI_INTP_OBJS += acpi_inf.o acpi_mod.o acpi_ml.o \ acpi_decl.o acpi_exe.o acpi_gram.o acpi_io.o acpi_lex.o \ acpi_name.o acpi_ns.o acpi_op1.o acpi_op2.o acpi_rule.o \ acpi_tab.o acpi_thr.o acpi_val.o \ acpi_exc.o acpi_bst.o acpi_node.o acpi_stk.o acpi_par.o AGP_OBJS += agpmaster.o FBT_OBJS += fbt.o SDT_OBJS += sdt.o # # Pentium Performance Counter BackEnd module # P123_PCBE_OBJS = p123_pcbe.o # # Pentium 4 Performance Counter BackEnd module # P4_PCBE_OBJS = p4_pcbe.o # # AMD Opteron/Athlon64 Performance Counter BackEnd module # OPTERON_PCBE_OBJS = opteron_pcbe.o # # AAC module # AAC_OBJS = aac.o aac_ioctl.o # # AMR module # AMR_OBJS = amr.o # # Brand modules # SN1_BRAND_OBJS = sn1_brand.o sn1_brand_asm.o LX_BRAND_OBJS = \ lx_brand.o \ lx_brand_asm.o \ lx_brk.o \ lx_clone.o \ lx_futex.o \ lx_getpid.o \ lx_id.o \ lx_kill.o \ lx_misc.o \ lx_modify_ldt.o \ lx_pid.o \ lx_sched.o \ lx_signum.o \ lx_syscall.o \ lx_sysinfo.o \ lx_thread_area.o # # special files # MODSTUB_OBJ += \ modstubs.o BOOTDEV_OBJS += \ bootdev.o INC_PATH += -I$(UTSBASE)/intel