278 lines
15 KiB
Makefile
278 lines
15 KiB
Makefile
# Copyright (C) 2015 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 = @SHELL@
|
|
|
|
@SET_MAKE@
|
|
|
|
CXX = @CXX@
|
|
CXXFLAGS = @CXXFLAGS@ @GUI_CXXFLAGS@
|
|
|
|
LDFLAGS = @LDFLAGS@
|
|
LIBS = @LIBS@
|
|
RANLIB = @RANLIB@
|
|
|
|
BX_INCDIRS = -I.. -I../.. -I$(srcdir)/.. -I$(srcdir)/../.. -I../../@INSTRUMENT_DIR@ -I$(srcdir)/../../@INSTRUMENT_DIR@
|
|
|
|
CPUDB_OBJS = pentium.o \
|
|
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 \
|
|
atom_n270.o \
|
|
corei5_lynnfield_750.o \
|
|
corei5_arrandale_m520.o \
|
|
corei7_sandy_bridge_2600K.o \
|
|
corei7_ivy_bridge_3770K.o \
|
|
corei7_haswell_4770.o \
|
|
broadwell_ult.o \
|
|
zambezi.o \
|
|
trinity_apu.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'
|
|
###########################################
|
|
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 ../access.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 amd_k6_2_chomper.h
|
|
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 ../access.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 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 ../access.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 athlon64_venice.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 ../access.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 ../../param_names.h atom_n270.h \
|
|
../../cpu/cpuid.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 ../access.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 ../../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 ../access.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 ../../param_names.h \
|
|
core_duo_t2400_yonah.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 ../access.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 ../../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 ../access.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 ../../param_names.h \
|
|
corei5_lynnfield_750.h ../../cpu/cpuid.h
|
|
broadwell_ult.o: broadwell_ult.@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 ../access.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 ../../param_names.h \
|
|
broadwell_ult.h
|
|
corei7_haswell_4770.o: corei7_haswell_4770.@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 ../access.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 ../../param_names.h \
|
|
corei7_haswell_4770.h
|
|
corei7_ivy_bridge_3770K.o: corei7_ivy_bridge_3770K.@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 ../access.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 ../../param_names.h \
|
|
corei7_ivy_bridge_3770K.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 ../access.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 ../../param_names.h \
|
|
corei7_sandy_bridge_2600K.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 ../access.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 p2_klamath.h ../../cpu/cpuid.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 ../access.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 p3_katmai.h ../../cpu/cpuid.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 ../access.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 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 ../access.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 p4_willamette.h ../../cpu/cpuid.h
|
|
pentium.o: pentium.@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 ../access.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 pentium.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 ../access.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 pentium_mmx.h
|
|
zambezi.o: zambezi.@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 ../access.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 zambezi.h \
|
|
../../cpu/cpuid.h
|
|
trinity_apu.o: trinity_apu.@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 ../access.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 trinity_apu.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 ../access.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 phenomx3_8650_toliman.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 ../access.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 turion64_tyler.h ../../cpu/cpuid.h
|