VirtualBox

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

最後變更 在這個檔案從99236是 99236,由 vboxsync 提交於 2 年 前

Disassember: Continue separation of the common disassembler and x86 specific parts, bugref:10394

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 2.5 KB
 
1# $Id: Makefile.kmk 99236 2023-03-30 15:30:26Z vboxsync $
2## @file
3# Sub-Makefile for the VBox Disassembler.
4#
5
6#
7# Copyright (C) 2006-2023 Oracle and/or its affiliates.
8#
9# This file is part of VirtualBox base platform packages, as
10# available from https://www.alldomusa.eu.org.
11#
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#
27
28SUB_DEPTH = ../../..
29include $(KBUILD_PATH)/subheader.kmk
30
31# include the sub-makefile first.
32if defined(VBOX_WITH_TESTCASES) && !defined(VBOX_ONLY_VALIDATIONKIT)
33 include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
34endif
35
36
37LIBRARIES += DisasmR3
38DisasmR3_TEMPLATE = VBoxR3Dll
39DisasmR3_DEFS = IN_DIS
40DisasmR3_SOURCES = \
41 Disasm.cpp \
42 DisasmCore-x86-amd64.cpp \
43 DisasmTables-x86-amd64.cpp \
44 DisasmTablesX64.cpp \
45 DisasmMisc.cpp \
46 DisasmFormatBytes.cpp \
47 DisasmFormatYasm.cpp
48
49LIBRARIES += DisasmR3Static
50DisasmR3Static_TEMPLATE = VBoxR3Static
51DisasmR3Static_EXTENDS = DisasmR3
52
53ifndef VBOX_ONLY_VALIDATIONKIT
54
55 LIBRARIES += DisasmBldProg
56 DisasmBldProg_TEMPLATE = VBoxAdvBldProg
57 DisasmBldProg_EXTENDS = DisasmR3
58
59 LIBRARIES += DisasmCoreR3
60 DisasmCoreR3_TEMPLATE = VBoxR3Dll
61 DisasmCoreR3_DEFS = IN_DIS DIS_CORE_ONLY
62 DisasmCoreR3_SOURCES = \
63 Disasm.cpp \
64 DisasmCore-x86-amd64.cpp \
65 DisasmTables-x86-amd64.cpp \
66 DisasmTablesX64.cpp \
67 DisasmMisc.cpp
68
69 ifdef VBOX_WITH_RAW_MODE
70 LIBRARIES += DisasmRC
71 DisasmRC_TEMPLATE = VBoxRc
72 DisasmRC_DEFS = IN_DIS IN_RT_RC DIS_CORE_ONLY
73 DisasmRC_SOURCES = \
74 Disasm.cpp \
75 DisasmCore-x86-amd64.cpp \
76 DisasmTables-x86-amd64.cpp \
77 DisasmTablesX64.cpp \
78 DisasmMisc.cpp
79 endif # VBOX_WITH_RAW_MODE
80
81 LIBRARIES += DisasmR0
82 DisasmR0_TEMPLATE = VBoxR0
83 DisasmR0_DEFS = IN_DIS IN_RT_R0 DIS_CORE_ONLY
84 DisasmR0_SOURCES = \
85 Disasm.cpp \
86 DisasmCore-x86-amd64.cpp \
87 DisasmTables-x86-amd64.cpp \
88 DisasmTablesX64.cpp \
89 DisasmMisc.cpp
90
91endif # !VBOX_ONLY_VALIDATIONKIT
92
93include $(FILE_KBUILD_SUB_FOOTER)
94
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette