Makefile.files revision 843e19887f64dde75055cf8842fc4db2171eff45
843e19887f64dde75055cf8842fc4db2171eff45johnlev# CDDL HEADER START
843e19887f64dde75055cf8842fc4db2171eff45johnlev# The contents of this file are subject to the terms of the
843e19887f64dde75055cf8842fc4db2171eff45johnlev# Common Development and Distribution License (the "License").
843e19887f64dde75055cf8842fc4db2171eff45johnlev# You may not use this file except in compliance with the License.
843e19887f64dde75055cf8842fc4db2171eff45johnlev# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
843e19887f64dde75055cf8842fc4db2171eff45johnlev# See the License for the specific language governing permissions
843e19887f64dde75055cf8842fc4db2171eff45johnlev# and limitations under the License.
843e19887f64dde75055cf8842fc4db2171eff45johnlev# When distributing Covered Code, include this CDDL HEADER in each
843e19887f64dde75055cf8842fc4db2171eff45johnlev# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
843e19887f64dde75055cf8842fc4db2171eff45johnlev# If applicable, add the following below this CDDL HEADER, with the
843e19887f64dde75055cf8842fc4db2171eff45johnlev# fields enclosed by brackets "[]" replaced with your own identifying
843e19887f64dde75055cf8842fc4db2171eff45johnlev# information: Portions Copyright [yyyy] [name of copyright owner]
843e19887f64dde75055cf8842fc4db2171eff45johnlev# CDDL HEADER END
843e19887f64dde75055cf8842fc4db2171eff45johnlev# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
843e19887f64dde75055cf8842fc4db2171eff45johnlev# Use is subject to license terms.
843e19887f64dde75055cf8842fc4db2171eff45johnlev#ident "%Z%%M% %I% %E% SMI"
843e19887f64dde75055cf8842fc4db2171eff45johnlev# This Makefile defines file modules in the directory uts/i86xpv
843e19887f64dde75055cf8842fc4db2171eff45johnlev# and its children. These are the source files which are i86xpv
843e19887f64dde75055cf8842fc4db2171eff45johnlev# "implementation architecture" dependent.
843e19887f64dde75055cf8842fc4db2171eff45johnlev# object lists
843e19887f64dde75055cf8842fc4db2171eff45johnlevCORE_OBJS += \
843e19887f64dde75055cf8842fc4db2171eff45johnlev# Add the SMBIOS subsystem object files directly to the list of objects
843e19887f64dde75055cf8842fc4db2171eff45johnlev# built into unix itself; this is all common code except for smb_dev.c.
843e19887f64dde75055cf8842fc4db2171eff45johnlevCORE_OBJS += $(SMBIOS_OBJS)
843e19887f64dde75055cf8842fc4db2171eff45johnlev# These get compiled twice:
843e19887f64dde75055cf8842fc4db2171eff45johnlev# - once in the dboot (direct boot) identity mapped code
843e19887f64dde75055cf8842fc4db2171eff45johnlev# - once for use during early startup in unix
843e19887f64dde75055cf8842fc4db2171eff45johnlevBOOT_DRIVER_OBJS = \
843e19887f64dde75055cf8842fc4db2171eff45johnlevCORE_OBJS += $(BOOT_DRIVER_OBJS)
843e19887f64dde75055cf8842fc4db2171eff45johnlev# Extra XEN files separated out for now.
843e19887f64dde75055cf8842fc4db2171eff45johnlevCORE_OBJS += \
843e19887f64dde75055cf8842fc4db2171eff45johnlev# locore.o is special. It must be the first file relocated so that it
843e19887f64dde75055cf8842fc4db2171eff45johnlev# it is relocated just where its name implies.
843e19887f64dde75055cf8842fc4db2171eff45johnlevSPECIAL_OBJS_32 += \
843e19887f64dde75055cf8842fc4db2171eff45johnlevSPECIAL_OBJS_64 += \
843e19887f64dde75055cf8842fc4db2171eff45johnlevSPECIAL_OBJS += $(SPECIAL_OBJS_$(CLASS))
843e19887f64dde75055cf8842fc4db2171eff45johnlev# object files used to boot into full kernel
843e19887f64dde75055cf8842fc4db2171eff45johnlevDBOOT_OBJS_32 = muldiv.o
843e19887f64dde75055cf8842fc4db2171eff45johnlevDBOOT_OBJS_64 =
843e19887f64dde75055cf8842fc4db2171eff45johnlevDBOOT_OBJS += \
843e19887f64dde75055cf8842fc4db2171eff45johnlev $(BOOT_DRIVER_OBJS) \
843e19887f64dde75055cf8842fc4db2171eff45johnlev $(DBOOT_OBJS_$(CLASS))
843e19887f64dde75055cf8842fc4db2171eff45johnlev# driver & misc modules
843e19887f64dde75055cf8842fc4db2171eff45johnlevDOMCAPS_OBJS += domcaps.o
843e19887f64dde75055cf8842fc4db2171eff45johnlevBALLOON_OBJS += balloon_drv.o
843e19887f64dde75055cf8842fc4db2171eff45johnlevEVTCHN_OBJS += evtchn_dev.o
843e19887f64dde75055cf8842fc4db2171eff45johnlevGFX_PRIVATE_OBJS += gfx_private.o gfxp_pci.o gfxp_segmap.o \
843e19887f64dde75055cf8842fc4db2171eff45johnlevPCI_E_MISC_OBJS += pcie_error.o
843e19887f64dde75055cf8842fc4db2171eff45johnlevPCI_E_NEXUS_OBJS += pci_common.o pci_kstats.o pci_tools.o
843e19887f64dde75055cf8842fc4db2171eff45johnlevPCINEXUS_OBJS += pci.o pci_common.o pci_kstats.o pci_tools.o
843e19887f64dde75055cf8842fc4db2171eff45johnlevROOTNEX_OBJS += rootnex.o
843e19887f64dde75055cf8842fc4db2171eff45johnlevXPVTOD_OBJS += xpvtod.o
843e19887f64dde75055cf8842fc4db2171eff45johnlevXPV_AUTOCONFIG_OBJS += xpv_autoconfig.o
843e19887f64dde75055cf8842fc4db2171eff45johnlevXPV_PSM_OBJS += xpv_psm.o mp_platform_common.o apic_introp.o psm_common.o
843e19887f64dde75055cf8842fc4db2171eff45johnlevXENBUS_OBJS += xenbus_dev.o
843e19887f64dde75055cf8842fc4db2171eff45johnlevXENCONS_OBJS += xencons.o
843e19887f64dde75055cf8842fc4db2171eff45johnlev# Build up defines and paths.
843e19887f64dde75055cf8842fc4db2171eff45johnlevINC_PATH += -I$(UTSBASE)/i86xpv -I$(UTSBASE)/i86pc -I$(SRC)/common
843e19887f64dde75055cf8842fc4db2171eff45johnlev# Since the assym files are derived, the dependencies must be explicit for
843e19887f64dde75055cf8842fc4db2171eff45johnlev# all files including this file. (This is only actually required in the
843e19887f64dde75055cf8842fc4db2171eff45johnlev# instance when the .nse_depinfo file does not exist.) It may seem that
843e19887f64dde75055cf8842fc4db2171eff45johnlev# the lint targets should also have a similar dependency, but they don't
843e19887f64dde75055cf8842fc4db2171eff45johnlev# since only C headers are included when #defined(__lint) is true.
843e19887f64dde75055cf8842fc4db2171eff45johnlevASSYM_DEPS += \
843e19887f64dde75055cf8842fc4db2171eff45johnlev$(KDI_ASSYM_DEPS:%=$(OBJS_DIR)/%): $(DSF_DIR)/$(OBJS_DIR)/kdi_assym.h
843e19887f64dde75055cf8842fc4db2171eff45johnlevASSYM_DEPS += kdi_asm.o