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.
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.
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]
23 # Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
26 # This Makefile defines file modules in the directory uts/i86xpv
27 # and its children. These are the source files which are i86xpv
28 # "implementation architecture" dependent.
105 # Add the SMBIOS subsystem object files directly to the list of objects
106 # built into unix itself; this is all common code except for smb_dev.c.
108 CORE_OBJS += $(SMBIOS_OBJS)
111 # These get compiled twice:
112 # - once in the dboot (direct boot) identity mapped code
113 # - once for use during early startup in unix
118 boot_keyboard_table.o \
125 CORE_OBJS += $(BOOT_DRIVER_OBJS)
128 # Extra XEN files separated out for now.
150 # locore.o is special. It must be the first file relocated so that it
151 # it is relocated just where its name implies.
165 SPECIAL_OBJS += $(SPECIAL_OBJS_$(CLASS))
168 # object files used to boot into full kernel
170 DBOOT_OBJS_32 = muldiv.o
184 $(BOOT_DRIVER_OBJS) \
185 $(DBOOT_OBJS_$(CLASS))
188 # driver & misc modules
190 BALLOON_OBJS += balloon_drv.o
191 DOMCAPS_OBJS += domcaps.o
192 EVTCHN_OBJS += evtchn_dev.o
193 GFX_PRIVATE_OBJS += gfx_private.o gfxp_pci.o gfxp_segmap.o \
194 gfxp_devmap.o gfxp_vgatext.o gfxp_vm.o vgasubr.o
195 IOAT_OBJS += ioat.o ioat_rs.o ioat_ioctl.o ioat_chan.o
196 ISANEXUS_OBJS += isa.o dma_engine.o i8237A.o
197 PCI_E_NEXUS_OBJS += npe.o npe_misc.o
198 PCI_E_NEXUS_OBJS += pci_common.o pci_kstats.o pci_tools.o
199 PCINEXUS_OBJS += pci.o pci_common.o pci_kstats.o pci_tools.o
200 PRIVCMD_OBJS += seg_mf.o privcmd.o privcmd_hcall.o
201 ROOTNEX_OBJS += rootnex.o
202 XPVTOD_OBJS += xpvtod.o
203 XPV_AUTOCONFIG_OBJS += xpv_autoconfig.o
204 XPV_PSM_OBJS += xpv_psm.o mp_platform_common.o mp_platform_xpv.o \
205 apic_regops.o psm_common.o xpv_intr.o
206 XPV_UPPC_OBJS += xpv_uppc.o psm_common.o
207 XENBUS_OBJS += xenbus_dev.o
208 XENCONS_OBJS += xencons.o
210 XPVTAP_OBJS += xpvtap.o blk_common.o seg_mf.o
222 # Build up defines and paths.
224 INC_PATH += -I$(SRCTOP)/include
225 INC_PATH += -I$(SRCTOP)/arch/x86/kernel/platform/i86xpv/include
226 INC_PATH += -I$(SRCTOP)/arch/x86/kernel/platform/i86pc/include
227 INC_PATH += -I$(UTSBASE)/i86xpv -I$(UTSBASE)/i86pc -I$(SRC)/common \
228 -I$(UTSBASE)/common/xen
231 # Since the assym files are derived, the dependencies must be explicit for
232 # all files including this file. (This is only actually required in the
233 # instance when the .nse_depinfo file does not exist.)
255 $(KDI_ASSYM_DEPS:%=$(OBJS_DIR)/%): $(DSF_DIR)/$(OBJS_DIR)/kdi_assym.h
257 ASSYM_DEPS += kdi_asm.o