bb7a648d91
------------ Implemented SVN nested paging support - the Virtual Box boots perfectly with Nested Paging guest ! A lot of code duplication was added for now - major cleanup will follow later. ! Added AMD Phenom X3 8650 (Toliman) configuration to the CPUDB - this configuration has Nested Paging enabled. Some CPUID modules rework done to enable Toliman configuration. Ckean up 'executable' attribute from all CPU source files.
225 lines
11 KiB
Makefile
225 lines
11 KiB
Makefile
# Copyright (C) 2011 The Bochs Project
|
|
#
|
|
# This library is free software; you can redistribute it and/or
|
|
# modify it under the terms of the GNU Lesser General Public
|
|
# License as published by the Free Software Foundation; either
|
|
# version 2 of the License, or (at your option) any later version.
|
|
#
|
|
# This library is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
# Lesser General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU Lesser General Public
|
|
# License along with this library; if not, write to the Free Software
|
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA B 02110-1301 USA
|
|
|
|
|
|
@SUFFIX_LINE@
|
|
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
top_builddir = ../..
|
|
top_srcdir = @top_srcdir@
|
|
|
|
SHELL = /bin/sh
|
|
|
|
@SET_MAKE@
|
|
|
|
CXX = @CXX@
|
|
CXXFLAGS = @CXXFLAGS@ @GUI_CXXFLAGS@
|
|
|
|
LDFLAGS = @LDFLAGS@
|
|
LIBS = @LIBS@
|
|
RANLIB = @RANLIB@
|
|
|
|
BX_INCDIRS = -I.. -I../.. -I$(srcdir)/../.. -I../../@INSTRUMENT_DIR@ -I$(srcdir)/../../@INSTRUMENT_DIR@
|
|
|
|
CPUDB_OBJS = pentium_mmx.o \
|
|
amd_k6_2_chomper.o \
|
|
p2_klamath.o \
|
|
p3_katmai.o \
|
|
p4_willamette.o \
|
|
p4_prescott_celeron_336.o \
|
|
athlon64_clawhammer.o \
|
|
athlon64_venice.o \
|
|
turion64_tyler.o \
|
|
phenomx3_8650_toliman.o \
|
|
core_duo_t2400_yonah.o \
|
|
core2_penryn_t9600.o \
|
|
corei5_lynnfield_750.o \
|
|
corei5_arrandale_m520.o \
|
|
corei7_sandy_bridge_2600K.o \
|
|
atom_n270.o
|
|
|
|
BX_INCLUDES = ../../bochs.h ../../config.h
|
|
|
|
|
|
all: libcpudb.a
|
|
|
|
.@CPP_SUFFIX@.o:
|
|
$(CXX) @DASH@c $(BX_INCDIRS) $(CXXFLAGS) @CXXFP@$< @OFP@$@
|
|
|
|
|
|
libcpudb.a: $(CPUDB_OBJS)
|
|
@RMCOMMAND@ libcpudb.a
|
|
@MAKELIB@ $(CPUDB_OBJS)
|
|
$(RANLIB) libcpudb.a
|
|
|
|
$(CPUDB_OBJS): $(BX_INCLUDES)
|
|
|
|
clean:
|
|
@RMCOMMAND@ *.o
|
|
@RMCOMMAND@ *.a
|
|
|
|
dist-clean: clean
|
|
@RMCOMMAND@ Makefile
|
|
|
|
###########################################
|
|
# dependencies generated by
|
|
# gcc -MM -I.. -I../.. -I../../instrument/stubs *.cc | sed 's/\.cc/.@CPP_SUFFIX@/g'
|
|
###########################################
|
|
athlon64_clawhammer.o: athlon64_clawhammer.@CPP_SUFFIX@ ../../bochs.h \
|
|
../../config.h ../../osdep.h ../../bx_debug/debug.h ../../config.h \
|
|
../../osdep.h ../../gui/siminterface.h ../../cpudb.h \
|
|
../../gui/paramtree.h ../../memory/memory.h ../../pc_system.h \
|
|
../../gui/gui.h ../../instrument/stubs/instrument.h ../cpu.h ../cpuid.h \
|
|
../crregs.h ../descriptor.h ../instr.h ../ia_opcodes.h ../lazy_flags.h \
|
|
../icache.h ../apic.h ../i387.h ../../fpu/softfloat.h ../../fpu/tag_w.h \
|
|
../../fpu/status_w.h ../../fpu/control_w.h ../xmm.h ../vmx.h ../svm.h \
|
|
athlon64_clawhammer.h ../../cpu/cpuid.h
|
|
athlon64_venice.o: athlon64_venice.@CPP_SUFFIX@ ../../bochs.h \
|
|
../../config.h ../../osdep.h ../../bx_debug/debug.h ../../config.h \
|
|
../../osdep.h ../../gui/siminterface.h ../../cpudb.h \
|
|
../../gui/paramtree.h ../../memory/memory.h ../../pc_system.h \
|
|
../../gui/gui.h ../../instrument/stubs/instrument.h ../cpu.h ../cpuid.h \
|
|
../crregs.h ../descriptor.h ../instr.h ../ia_opcodes.h ../lazy_flags.h \
|
|
../icache.h ../apic.h ../i387.h ../../fpu/softfloat.h ../../fpu/tag_w.h \
|
|
../../fpu/status_w.h ../../fpu/control_w.h ../xmm.h ../vmx.h ../svm.h \
|
|
athlon64_venice.h ../../cpu/cpuid.h
|
|
turion64_tyler.o: turion64_tyler.@CPP_SUFFIX@ ../../bochs.h \
|
|
../../config.h ../../osdep.h ../../bx_debug/debug.h ../../config.h \
|
|
../../osdep.h ../../gui/siminterface.h ../../cpudb.h \
|
|
../../gui/paramtree.h ../../memory/memory.h ../../pc_system.h \
|
|
../../gui/gui.h ../../instrument/stubs/instrument.h ../cpu.h ../cpuid.h \
|
|
../crregs.h ../descriptor.h ../instr.h ../ia_opcodes.h ../lazy_flags.h \
|
|
../icache.h ../apic.h ../i387.h ../../fpu/softfloat.h ../../fpu/tag_w.h \
|
|
../../fpu/status_w.h ../../fpu/control_w.h ../xmm.h ../vmx.h ../svm.h \
|
|
turion64_tyler.h ../../cpu/cpuid.h
|
|
phenomx3_8650_toliman.o: phenomx3_8650_toliman.@CPP_SUFFIX@ ../../bochs.h \
|
|
../../config.h ../../osdep.h ../../bx_debug/debug.h ../../config.h \
|
|
../../osdep.h ../../gui/siminterface.h ../../cpudb.h \
|
|
../../gui/paramtree.h ../../memory/memory.h ../../pc_system.h \
|
|
../../gui/gui.h ../../instrument/stubs/instrument.h ../cpu.h ../cpuid.h \
|
|
../crregs.h ../descriptor.h ../instr.h ../ia_opcodes.h ../lazy_flags.h \
|
|
../icache.h ../apic.h ../i387.h ../../fpu/softfloat.h ../../fpu/tag_w.h \
|
|
../../fpu/status_w.h ../../fpu/control_w.h ../xmm.h ../vmx.h ../svm.h \
|
|
phenomx3_8650_toliman.h ../../cpu/cpuid.h
|
|
atom_n270.o: atom_n270.@CPP_SUFFIX@ ../../bochs.h ../../config.h ../../osdep.h \
|
|
../../bx_debug/debug.h ../../config.h ../../osdep.h \
|
|
../../gui/siminterface.h ../../cpudb.h ../../gui/paramtree.h \
|
|
../../memory/memory.h ../../pc_system.h ../../gui/gui.h \
|
|
../../instrument/stubs/instrument.h ../cpu.h ../cpuid.h ../crregs.h \
|
|
../descriptor.h ../instr.h ../ia_opcodes.h ../lazy_flags.h ../icache.h \
|
|
../apic.h ../i387.h ../../fpu/softfloat.h ../../fpu/tag_w.h \
|
|
../../fpu/status_w.h ../../fpu/control_w.h ../xmm.h ../vmx.h ../svm.h \
|
|
../../param_names.h atom_n270.h
|
|
core2_penryn_t9600.o: core2_penryn_t9600.@CPP_SUFFIX@ ../../bochs.h ../../config.h \
|
|
../../osdep.h ../../bx_debug/debug.h ../../config.h ../../osdep.h \
|
|
../../gui/siminterface.h ../../cpudb.h ../../gui/paramtree.h \
|
|
../../memory/memory.h ../../pc_system.h ../../gui/gui.h \
|
|
../../instrument/stubs/instrument.h ../cpu.h ../cpuid.h ../crregs.h \
|
|
../descriptor.h ../instr.h ../ia_opcodes.h ../lazy_flags.h ../icache.h \
|
|
../apic.h ../i387.h ../../fpu/softfloat.h ../../fpu/tag_w.h \
|
|
../../fpu/status_w.h ../../fpu/control_w.h ../xmm.h ../vmx.h ../svm.h \
|
|
../../param_names.h core2_penryn_t9600.h ../../cpu/cpuid.h
|
|
core_duo_t2400_yonah.o: core_duo_t2400_yonah.@CPP_SUFFIX@ ../../bochs.h \
|
|
../../config.h ../../osdep.h ../../bx_debug/debug.h ../../config.h \
|
|
../../osdep.h ../../gui/siminterface.h ../../cpudb.h \
|
|
../../gui/paramtree.h ../../memory/memory.h ../../pc_system.h \
|
|
../../gui/gui.h ../../instrument/stubs/instrument.h ../cpu.h ../cpuid.h \
|
|
../crregs.h ../descriptor.h ../instr.h ../ia_opcodes.h ../lazy_flags.h \
|
|
../icache.h ../apic.h ../i387.h ../../fpu/softfloat.h ../../fpu/tag_w.h \
|
|
../../fpu/status_w.h ../../fpu/control_w.h ../xmm.h ../vmx.h ../svm.h \
|
|
../../param_names.h core_duo_t2400_yonah.h
|
|
corei7_sandy_bridge_2600K.o: corei7_sandy_bridge_2600K.@CPP_SUFFIX@ ../../bochs.h \
|
|
../../config.h ../../osdep.h ../../bx_debug/debug.h ../../config.h \
|
|
../../osdep.h ../../gui/siminterface.h ../../cpudb.h \
|
|
../../gui/paramtree.h ../../memory/memory.h ../../pc_system.h \
|
|
../../gui/gui.h ../../instrument/stubs/instrument.h ../cpu.h ../cpuid.h \
|
|
../crregs.h ../descriptor.h ../instr.h ../ia_opcodes.h ../lazy_flags.h \
|
|
../icache.h ../apic.h ../i387.h ../../fpu/softfloat.h ../../fpu/tag_w.h \
|
|
../../fpu/status_w.h ../../fpu/control_w.h ../xmm.h ../vmx.h ../svm.h \
|
|
../../param_names.h corei7_sandy_bridge_2600K.h ../../cpu/cpuid.h
|
|
corei5_arrandale_m520.o: corei5_arrandale_m520.@CPP_SUFFIX@ ../../bochs.h \
|
|
../../config.h ../../osdep.h ../../bx_debug/debug.h ../../config.h \
|
|
../../osdep.h ../../gui/siminterface.h ../../cpudb.h \
|
|
../../gui/paramtree.h ../../memory/memory.h ../../pc_system.h \
|
|
../../gui/gui.h ../../instrument/stubs/instrument.h ../cpu.h ../cpuid.h \
|
|
../crregs.h ../descriptor.h ../instr.h ../ia_opcodes.h ../lazy_flags.h \
|
|
../icache.h ../apic.h ../i387.h ../../fpu/softfloat.h ../../fpu/tag_w.h \
|
|
../../fpu/status_w.h ../../fpu/control_w.h ../xmm.h ../vmx.h ../svm.h \
|
|
../../param_names.h corei5_arrandale_m520.h ../../cpu/cpuid.h
|
|
corei5_lynnfield_750.o: corei5_lynnfield_750.@CPP_SUFFIX@ ../../bochs.h \
|
|
../../config.h ../../osdep.h ../../bx_debug/debug.h ../../config.h \
|
|
../../osdep.h ../../gui/siminterface.h ../../cpudb.h \
|
|
../../gui/paramtree.h ../../memory/memory.h ../../pc_system.h \
|
|
../../gui/gui.h ../../instrument/stubs/instrument.h ../cpu.h ../cpuid.h \
|
|
../crregs.h ../descriptor.h ../instr.h ../ia_opcodes.h ../lazy_flags.h \
|
|
../icache.h ../apic.h ../i387.h ../../fpu/softfloat.h ../../fpu/tag_w.h \
|
|
../../fpu/status_w.h ../../fpu/control_w.h ../xmm.h ../vmx.h ../svm.h \
|
|
../../param_names.h corei5_lynnfield_750.h ../../cpu/cpuid.h
|
|
p2_klamath.o: p2_klamath.@CPP_SUFFIX@ ../../bochs.h ../../config.h ../../osdep.h \
|
|
../../bx_debug/debug.h ../../config.h ../../osdep.h \
|
|
../../gui/siminterface.h ../../cpudb.h ../../gui/paramtree.h \
|
|
../../memory/memory.h ../../pc_system.h ../../gui/gui.h \
|
|
../../instrument/stubs/instrument.h ../cpu.h ../cpuid.h ../crregs.h \
|
|
../descriptor.h ../instr.h ../ia_opcodes.h ../lazy_flags.h ../icache.h \
|
|
../apic.h ../i387.h ../../fpu/softfloat.h ../../fpu/tag_w.h \
|
|
../../fpu/status_w.h ../../fpu/control_w.h ../xmm.h ../vmx.h ../svm.h \
|
|
p2_klamath.h
|
|
p3_katmai.o: p3_katmai.@CPP_SUFFIX@ ../../bochs.h ../../config.h ../../osdep.h \
|
|
../../bx_debug/debug.h ../../config.h ../../osdep.h \
|
|
../../gui/siminterface.h ../../cpudb.h ../../gui/paramtree.h \
|
|
../../memory/memory.h ../../pc_system.h ../../gui/gui.h \
|
|
../../instrument/stubs/instrument.h ../cpu.h ../cpuid.h ../crregs.h \
|
|
../descriptor.h ../instr.h ../ia_opcodes.h ../lazy_flags.h ../icache.h \
|
|
../apic.h ../i387.h ../../fpu/softfloat.h ../../fpu/tag_w.h \
|
|
../../fpu/status_w.h ../../fpu/control_w.h ../xmm.h ../vmx.h ../svm.h p3_katmai.h
|
|
p4_prescott_celeron_336.o: p4_prescott_celeron_336.@CPP_SUFFIX@ ../../bochs.h \
|
|
../../config.h ../../osdep.h ../../bx_debug/debug.h ../../config.h \
|
|
../../osdep.h ../../gui/siminterface.h ../../cpudb.h \
|
|
../../gui/paramtree.h ../../memory/memory.h ../../pc_system.h \
|
|
../../gui/gui.h ../../instrument/stubs/instrument.h ../cpu.h ../cpuid.h \
|
|
../crregs.h ../descriptor.h ../instr.h ../ia_opcodes.h ../lazy_flags.h \
|
|
../icache.h ../apic.h ../i387.h ../../fpu/softfloat.h ../../fpu/tag_w.h \
|
|
../../fpu/status_w.h ../../fpu/control_w.h ../xmm.h ../vmx.h ../svm.h \
|
|
p4_prescott_celeron_336.h ../../cpu/cpuid.h
|
|
p4_willamette.o: p4_willamette.@CPP_SUFFIX@ ../../bochs.h ../../config.h \
|
|
../../osdep.h ../../bx_debug/debug.h ../../config.h ../../osdep.h \
|
|
../../gui/siminterface.h ../../cpudb.h ../../gui/paramtree.h \
|
|
../../memory/memory.h ../../pc_system.h ../../gui/gui.h \
|
|
../../instrument/stubs/instrument.h ../cpu.h ../cpuid.h ../crregs.h \
|
|
../descriptor.h ../instr.h ../ia_opcodes.h ../lazy_flags.h ../icache.h \
|
|
../apic.h ../i387.h ../../fpu/softfloat.h ../../fpu/tag_w.h \
|
|
../../fpu/status_w.h ../../fpu/control_w.h ../xmm.h ../vmx.h ../svm.h \
|
|
p4_willamette.h
|
|
pentium_mmx.o: pentium_mmx.@CPP_SUFFIX@ ../../bochs.h ../../config.h ../../osdep.h \
|
|
../../bx_debug/debug.h ../../config.h ../../osdep.h \
|
|
../../gui/siminterface.h ../../cpudb.h ../../gui/paramtree.h \
|
|
../../memory/memory.h ../../pc_system.h ../../gui/gui.h \
|
|
../../instrument/stubs/instrument.h ../cpu.h ../cpuid.h ../crregs.h \
|
|
../descriptor.h ../instr.h ../ia_opcodes.h ../lazy_flags.h ../icache.h \
|
|
../apic.h ../i387.h ../../fpu/softfloat.h ../../fpu/tag_w.h \
|
|
../../fpu/status_w.h ../../fpu/control_w.h ../xmm.h ../vmx.h ../svm.h \
|
|
pentium_mmx.h
|
|
amd_k6_2_chomper.o: amd_k6_2_chomper.@CPP_SUFFIX@ ../../bochs.h ../../config.h ../../osdep.h \
|
|
../../bx_debug/debug.h ../../config.h ../../osdep.h \
|
|
../../gui/siminterface.h ../../cpudb.h ../../gui/paramtree.h \
|
|
../../memory/memory.h ../../pc_system.h ../../gui/gui.h \
|
|
../../instrument/stubs/instrument.h ../cpu.h ../cpuid.h ../crregs.h \
|
|
../descriptor.h ../instr.h ../ia_opcodes.h ../lazy_flags.h ../icache.h \
|
|
../apic.h ../i387.h ../../fpu/softfloat.h ../../fpu/tag_w.h \
|
|
../../fpu/status_w.h ../../fpu/control_w.h ../xmm.h ../vmx.h ../svm.h \
|
|
amd_k6_2_chomper.h
|