VirtualBox

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

Last change on this file since 50125 was 49116, checked in by vboxsync, 11 years ago

*.kmk: Some template cleanup, adding VBoxR3Tool for dev tools (bin/tools/).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.9 KB
Line 
1# $Id: Makefile.kmk 49116 2013-10-15 12:50:23Z vboxsync $
2## @file
3# Sub-Makefile for the VBox Disassembler.
4#
5
6#
7# Copyright (C) 2006-2012 Oracle Corporation
8#
9# This file is part of VirtualBox Open Source Edition (OSE), as
10# available from http://www.virtualbox.org. This file is free software;
11# you can redistribute it and/or modify it under the terms of the GNU
12# General Public License (GPL) as published by the Free Software
13# Foundation, in version 2 as it comes in the "COPYING" file of the
14# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16#
17
18SUB_DEPTH = ../../..
19include $(KBUILD_PATH)/subheader.kmk
20
21# include the sub-makefile first.
22ifdef VBOX_WITH_TESTCASES
23 include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
24endif
25
26
27LIBRARIES += DisasmR3
28DisasmR3_TEMPLATE = VBOXR3
29DisasmR3_DEFS = IN_DIS
30DisasmR3_SOURCES = \
31 Disasm.cpp \
32 DisasmCore.cpp \
33 DisasmReg.cpp \
34 DisasmTables.cpp \
35 DisasmTablesX64.cpp \
36 DisasmFormatBytes.cpp \
37 DisasmFormatYasm.cpp
38
39LIBRARIES += DisasmBldProg
40DisasmBldProg_TEMPLATE = VBoxBldProg
41DisasmBldProg_EXTENDS = DisasmR3
42
43LIBRARIES += DisasmCoreR3
44DisasmCoreR3_TEMPLATE = VBOXR3
45DisasmCoreR3_DEFS = IN_DIS DIS_CORE_ONLY
46DisasmCoreR3_SOURCES = \
47 DisasmCore.cpp \
48 DisasmReg.cpp \
49 DisasmTables.cpp \
50 DisasmTablesX64.cpp
51
52ifdef VBOX_WITH_RAW_MODE
53 LIBRARIES += DisasmRC
54 DisasmRC_TEMPLATE = VBoxRc
55 DisasmRC_DEFS = IN_DIS IN_RT_RC DIS_CORE_ONLY
56 DisasmRC_SOURCES = \
57 DisasmCore.cpp \
58 DisasmReg.cpp \
59 DisasmTables.cpp \
60 DisasmTablesX64.cpp
61endif # VBOX_WITH_RAW_MODE
62
63LIBRARIES += DisasmR0
64DisasmR0_TEMPLATE = VBoxR0
65DisasmR0_DEFS = IN_DIS IN_RT_R0 DIS_CORE_ONLY
66DisasmR0_SOURCES = \
67 DisasmCore.cpp \
68 DisasmReg.cpp \
69 DisasmTables.cpp \
70 DisasmTablesX64.cpp
71
72include $(FILE_KBUILD_SUB_FOOTER)
73
Note: See TracBrowser for help on using the repository browser.

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