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 (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
  24 # Copyright (c) 2013, Joyent, Inc. All rights reserved.
  25 # Copyright 2016 Nexenta Systems, Inc.
  26 #
  27 
  28 #
  29 #       This Makefile defines all file modules and build rules for the
  30 # directory uts/intel and its children. These are the source files which
  31 # are specific to x86 processor architectures.
  32 #
  33 
  34 #
  35 #       Core (unix) objects
  36 #
  37 CORE_OBJS +=            \
  38         arch_kdi.o      \
  39         copy.o          \
  40         copy_subr.o     \
  41         cpc_subr.o      \
  42         ddi_arch.o      \
  43         ddi_i86.o       \
  44         ddi_i86_asm.o   \
  45         desctbls.o      \
  46         desctbls_asm.o  \
  47         exception.o     \
  48         float.o         \
  49         fmsmb.o         \
  50         fpu.o           \
  51         i86_subr.o      \
  52         lock_prim.o     \
  53         ovbcopy.o       \
  54         polled_io.o     \
  55         sseblk.o        \
  56         sundep.o        \
  57         swtch.o         \
  58         sysi86.o
 
 
  84 #       PROM Routines
  85 #
  86 GENUNIX_OBJS +=         \
  87         prom_env.o      \
  88         prom_emul.o     \
  89         prom_getchar.o  \
  90         prom_init.o     \
  91         prom_node.o     \
  92         prom_printf.o   \
  93         prom_prop.o     \
  94         prom_putchar.o  \
  95         prom_reboot.o   \
  96         prom_version.o
  97 
  98 #
  99 #       file system modules
 100 #
 101 CORE_OBJS +=            \
 102         prmachdep.o
 103 
 104 #
 105 #       ZFS file system module
 106 #
 107 ZFS_OBJS +=             \
 108         spa_boot.o
 109 
 110 #
 111 #       Decompression code
 112 #
 113 CORE_OBJS += decompress.o
 114 
 115 #
 116 #       Microcode utilities
 117 #
 118 CORE_OBJS += ucode_utils.o
 119 
 120 #
 121 #       Driver modules
 122 #
 123 AGPGART_OBJS += agpgart.o agp_kstat.o
 
 
 247 
 248 #
 249 #       AMR module
 250 #
 251 AMR_OBJS = amr.o
 252 
 253 #
 254 #       IPMI module
 255 IPMI_OBJS +=    ipmi_main.o ipmi.o ipmi_kcs.o
 256 
 257 #
 258 #       IOMMULIB module
 259 #
 260 IOMMULIB_OBJS = iommulib.o
 261 
 262 #
 263 #       Brand modules
 264 #
 265 SN1_BRAND_OBJS  =       sn1_brand.o sn1_brand_asm.o
 266 S10_BRAND_OBJS  =       s10_brand.o s10_brand_asm.o
 267 
 268 #
 269 #       special files
 270 #
 271 MODSTUB_OBJ +=          \
 272         modstubs.o
 273 
 274 BOOTDEV_OBJS +=         \
 275         bootdev.o
 276 
 277 INC_PATH        += -I$(UTSBASE)/intel
 278 
 279 
 280 CPR_INTEL_OBJS +=       cpr_intel.o
 281 
 282 #
 283 # AMD family 0xf memory controller module
 284 #
 285 include $(SRC)/common/mc/mc-amd/Makefile.mcamd
 286 MCAMD_OBJS      += \
  
 | 
 
 
   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 (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
  24 # Copyright 2016, Joyent, Inc.
  25 # Copyright 2016 Nexenta Systems, Inc.
  26 #
  27 
  28 #
  29 #       This Makefile defines all file modules and build rules for the
  30 # directory uts/intel and its children. These are the source files which
  31 # are specific to x86 processor architectures.
  32 #
  33 
  34 #
  35 #       Core (unix) objects
  36 #
  37 CORE_OBJS +=            \
  38         arch_kdi.o      \
  39         comm_page_util.o \
  40         copy.o          \
  41         copy_subr.o     \
  42         cpc_subr.o      \
  43         ddi_arch.o      \
  44         ddi_i86.o       \
  45         ddi_i86_asm.o   \
  46         desctbls.o      \
  47         desctbls_asm.o  \
  48         exception.o     \
  49         float.o         \
  50         fmsmb.o         \
  51         fpu.o           \
  52         i86_subr.o      \
  53         lock_prim.o     \
  54         ovbcopy.o       \
  55         polled_io.o     \
  56         sseblk.o        \
  57         sundep.o        \
  58         swtch.o         \
  59         sysi86.o
 
 
  85 #       PROM Routines
  86 #
  87 GENUNIX_OBJS +=         \
  88         prom_env.o      \
  89         prom_emul.o     \
  90         prom_getchar.o  \
  91         prom_init.o     \
  92         prom_node.o     \
  93         prom_printf.o   \
  94         prom_prop.o     \
  95         prom_putchar.o  \
  96         prom_reboot.o   \
  97         prom_version.o
  98 
  99 #
 100 #       file system modules
 101 #
 102 CORE_OBJS +=            \
 103         prmachdep.o
 104  
 105 LX_CGROUP_OBJS +=       \
 106         cgrps_node.o    \
 107         cgrps_vfsops.o  \
 108         cgrps_vnops.o
 109 
 110 LX_DEVFS_OBJS +=        \
 111         lxd_attrdb.o    \
 112         lxd_node.o      \
 113         lxd_vfsops.o    \
 114         lxd_vnops.o
 115 
 116 LX_PROC_OBJS += \
 117         lx_prsubr.o     \
 118         lx_prvfsops.o   \
 119         lx_prvnops.o
 120 
 121 LX_SYS_OBJS +=  \
 122         lx_syssubr.o    \
 123         lx_sysvfsops.o  \
 124         lx_sysvnops.o
 125 
 126 LX_AUTOFS_OBJS +=       \
 127         lx_autofs.o
 128 
 129 #
 130 #       ZFS file system module
 131 #
 132 ZFS_OBJS +=             \
 133         spa_boot.o
 134 
 135 #
 136 #       Decompression code
 137 #
 138 CORE_OBJS += decompress.o
 139 
 140 #
 141 #       Microcode utilities
 142 #
 143 CORE_OBJS += ucode_utils.o
 144 
 145 #
 146 #       Driver modules
 147 #
 148 AGPGART_OBJS += agpgart.o agp_kstat.o
 
 
 272 
 273 #
 274 #       AMR module
 275 #
 276 AMR_OBJS = amr.o
 277 
 278 #
 279 #       IPMI module
 280 IPMI_OBJS +=    ipmi_main.o ipmi.o ipmi_kcs.o
 281 
 282 #
 283 #       IOMMULIB module
 284 #
 285 IOMMULIB_OBJS = iommulib.o
 286 
 287 #
 288 #       Brand modules
 289 #
 290 SN1_BRAND_OBJS  =       sn1_brand.o sn1_brand_asm.o
 291 S10_BRAND_OBJS  =       s10_brand.o s10_brand_asm.o
 292 LX_BRAND_OBJS  =                \
 293         lx_access.o             \
 294         lx_aio.o                \
 295         lx_archdep.o            \
 296         lx_auxv.o               \
 297         lx_brand.o              \
 298         lx_brk.o                \
 299         lx_chmod.o              \
 300         lx_chown.o              \
 301         lx_clone.o              \
 302         lx_close.o              \
 303         lx_cpu.o                \
 304         lx_dup.o                \
 305         lx_errno.o              \
 306         lx_epoll.o              \
 307         lx_fadvise.o            \
 308         lx_fallocate.o          \
 309         lx_fcntl.o              \
 310         lx_futex.o              \
 311         lx_getcwd.o             \
 312         lx_getdents.o           \
 313         lx_getpid.o             \
 314         lx_getrandom.o          \
 315         lx_id.o                 \
 316         lx_ioctl.o              \
 317         lx_ioprio.o             \
 318         lx_kill.o               \
 319         lx_link.o               \
 320         lx_lseek.o              \
 321         lx_misc.o               \
 322         lx_miscsys.o            \
 323         lx_mkdir.o              \
 324         lx_modify_ldt.o         \
 325         lx_mount.o              \
 326         lx_open.o               \
 327         lx_personality.o        \
 328         lx_pgrp.o               \
 329         lx_pid.o                \
 330         lx_pipe.o               \
 331         lx_poll.o               \
 332         lx_prctl.o              \
 333         lx_ptrace.o             \
 334         lx_rename.o             \
 335         lx_rlimit.o             \
 336         lx_rw.o                 \
 337         lx_sched.o              \
 338         lx_signal.o             \
 339         lx_signum.o             \
 340         lx_socket.o             \
 341         lx_stat.o               \
 342         lx_sync.o               \
 343         lx_syscall.o            \
 344         lx_sysinfo.o            \
 345         lx_thread_area.o        \
 346         lx_timer.o              \
 347         lx_umask.o              \
 348         lx_uname.o              \
 349         lx_wait.o               \
 350         lx_xattr.o
 351 
 352 #
 353 #       special files
 354 #
 355 MODSTUB_OBJ +=          \
 356         modstubs.o
 357 
 358 BOOTDEV_OBJS +=         \
 359         bootdev.o
 360 
 361 INC_PATH        += -I$(UTSBASE)/intel
 362 
 363 
 364 CPR_INTEL_OBJS +=       cpr_intel.o
 365 
 366 #
 367 # AMD family 0xf memory controller module
 368 #
 369 include $(SRC)/common/mc/mc-amd/Makefile.mcamd
 370 MCAMD_OBJS      += \
  
 |