VirtualBox

source: vbox/trunk/src/VBox/Disassembler/Makefile.kmk@ 101545

Last change on this file since 101545 was 101545, checked in by vboxsync, 11 months ago

DIS: scm fix.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.9 KB
RevLine 
[2478]1# $Id: Makefile.kmk 101545 2023-10-22 12:44:08Z vboxsync $
2## @file
[8937]3# Sub-Makefile for the VBox Disassembler.
[1]4#
5
6#
[98103]7# Copyright (C) 2006-2023 Oracle and/or its affiliates.
[5999]8#
[96407]9# This file is part of VirtualBox base platform packages, as
10# available from https://www.virtualbox.org.
[5999]11#
[96407]12# This program is free software; you can redistribute it and/or
13# modify it under the terms of the GNU General Public License
14# as published by the Free Software Foundation, in version 3 of the
15# License.
16#
17# This program is distributed in the hope that it will be useful, but
18# WITHOUT ANY WARRANTY; without even the implied warranty of
19# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20# General Public License for more details.
21#
22# You should have received a copy of the GNU General Public License
23# along with this program; if not, see <https://www.gnu.org/licenses>.
24#
25# SPDX-License-Identifier: GPL-3.0-only
26#
[1]27
[10050]28SUB_DEPTH = ../../..
[8937]29include $(KBUILD_PATH)/subheader.kmk
[1]30
[8937]31# include the sub-makefile first.
[53577]32if defined(VBOX_WITH_TESTCASES) && !defined(VBOX_ONLY_VALIDATIONKIT)
[8937]33 include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
34endif
[1]35
36
[8937]37LIBRARIES += DisasmR3
[98133]38DisasmR3_TEMPLATE = VBoxR3Dll
[101539]39DisasmR3_DEFS = IN_DIS
[8937]40DisasmR3_SOURCES = \
41 Disasm.cpp \
[101539]42 DisasmMisc.cpp \
43 DisasmFormatBytes.cpp
44if 1
45 DisasmR3_DEFS += VBOX_DIS_WITH_X86_AMD64
46 DisasmR3_SOURCES += \
[101545]47 DisasmCore-x86-amd64.cpp \
48 DisasmTables-x86-amd64.cpp \
49 DisasmTablesX64.cpp \
50 DisasmFormatYasm.cpp
[101539]51endif
52if 1
53 DisasmR3_DEFS += VBOX_DIS_WITH_ARMV8
54 DisasmR3_SOURCES += \
55 DisasmCore-armv8.cpp \
56 DisasmTables-armv8-a64.cpp \
57 DisasmFormatArmV8.cpp
58endif
[1]59
[53422]60LIBRARIES += DisasmR3Static
61DisasmR3Static_TEMPLATE = VBoxR3Static
62DisasmR3Static_EXTENDS = DisasmR3
63
[53577]64ifndef VBOX_ONLY_VALIDATIONKIT
[42075]65
[53577]66 LIBRARIES += DisasmBldProg
[60735]67 DisasmBldProg_TEMPLATE = VBoxAdvBldProg
[53577]68 DisasmBldProg_EXTENDS = DisasmR3
[1]69
[53577]70 LIBRARIES += DisasmCoreR3
[98133]71 DisasmCoreR3_TEMPLATE = VBoxR3Dll
[99239]72 DisasmCoreR3_DEFS = IN_DIS DIS_CORE_ONLY VBOX_DIS_WITH_X86_AMD64
[53577]73 DisasmCoreR3_SOURCES = \
[99236]74 Disasm.cpp \
75 DisasmCore-x86-amd64.cpp \
76 DisasmTables-x86-amd64.cpp \
[97211]77 DisasmTablesX64.cpp \
78 DisasmMisc.cpp
[1]79
[53577]80 ifdef VBOX_WITH_RAW_MODE
81 LIBRARIES += DisasmRC
82 DisasmRC_TEMPLATE = VBoxRc
[99239]83 DisasmRC_DEFS = IN_DIS IN_RT_RC DIS_CORE_ONLY VBOX_DIS_WITH_X86_AMD64
[53577]84 DisasmRC_SOURCES = \
[99238]85 Disasm.cpp \
86 DisasmCore-x86-amd64.cpp \
87 DisasmTables-x86-amd64.cpp \
[97211]88 DisasmTablesX64.cpp \
89 DisasmMisc.cpp
[53577]90 endif # VBOX_WITH_RAW_MODE
[1]91
[99683]92 ifdef VBOX_WITH_R0_MODULES
93 LIBRARIES += DisasmR0
94 DisasmR0_TEMPLATE = VBoxR0
95 DisasmR0_DEFS = IN_DIS IN_RT_R0 DIS_CORE_ONLY VBOX_DIS_WITH_X86_AMD64
96 DisasmR0_SOURCES = \
97 Disasm.cpp \
98 DisasmCore-x86-amd64.cpp \
99 DisasmTables-x86-amd64.cpp \
100 DisasmTablesX64.cpp \
101 DisasmMisc.cpp
102 endif
[53577]103
104endif # !VBOX_ONLY_VALIDATIONKIT
105
[41477]106include $(FILE_KBUILD_SUB_FOOTER)
[1]107
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle
ContactPrivacy/Do Not Sell My InfoTerms of Use