Makefile.kmk revision ecbf497e7f8ee7d1806f8e9d85b2e5fc29925d18
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# $Id$
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync## @file
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# Sub-Makefile for the VBox Disassembler.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync#
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync#
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# Copyright (C) 2006-2012 Oracle Corporation
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync#
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# This file is part of VirtualBox Open Source Edition (OSE), as
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# available from http://www.virtualbox.org. This file is free software;
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# you can redistribute it and/or modify it under the terms of the GNU
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# General Public License (GPL) as published by the Free Software
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# Foundation, in version 2 as it comes in the "COPYING" file of the
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync#
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncSUB_DEPTH = ../../..
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncinclude $(KBUILD_PATH)/subheader.kmk
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync# include the sub-makefile first.
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncifdef VBOX_WITH_TESTCASES
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncendif
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncLIBRARIES += DisasmR3
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncDisasmR3_TEMPLATE = VBOXR3
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncDisasmR3_DEFS = IN_DIS
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncDisasmR3_SOURCES = \
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync Disasm.cpp \
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync DisasmCore.cpp \
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync DisasmReg.cpp \
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync DisasmTables.cpp \
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync DisasmTablesX64.cpp \
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync DisasmFormatBytes.cpp \
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync DisasmFormatYasm.cpp
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncLIBRARIES += DisasmR3Static
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncDisasmR3Static_TEMPLATE = VBoxR3Static
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncDisasmR3Static_EXTENDS = DisasmR3
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncLIBRARIES += DisasmBldProg
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncDisasmBldProg_TEMPLATE = VBoxBldProg
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncDisasmBldProg_EXTENDS = DisasmR3
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncLIBRARIES += DisasmCoreR3
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncDisasmCoreR3_TEMPLATE = VBOXR3
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncDisasmCoreR3_DEFS = IN_DIS DIS_CORE_ONLY
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncDisasmCoreR3_SOURCES = \
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync DisasmCore.cpp \
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync DisasmReg.cpp \
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync DisasmTables.cpp \
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync DisasmTablesX64.cpp
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncifdef VBOX_WITH_RAW_MODE
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync LIBRARIES += DisasmRC
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync DisasmRC_TEMPLATE = VBoxRc
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync DisasmRC_DEFS = IN_DIS IN_RT_RC DIS_CORE_ONLY
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync DisasmRC_SOURCES = \
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync DisasmCore.cpp \
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync DisasmReg.cpp \
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync DisasmTables.cpp \
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync DisasmTablesX64.cpp
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncendif # VBOX_WITH_RAW_MODE
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncLIBRARIES += DisasmR0
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncDisasmR0_TEMPLATE = VBoxR0
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncDisasmR0_DEFS = IN_DIS IN_RT_R0 DIS_CORE_ONLY
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncDisasmR0_SOURCES = \
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync DisasmCore.cpp \
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync DisasmReg.cpp \
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync DisasmTables.cpp \
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync DisasmTablesX64.cpp
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsyncinclude $(FILE_KBUILD_SUB_FOOTER)
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync
cf22150eaeeb72431bf1cf65c309a431454fb22bvboxsync