VirtualBox

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

Last change on this file since 42075 was 42075, checked in by vboxsync, 12 years ago

use kStuffStaticBldProg and DisasmBldProg for build progs

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.0 KB
Line 
1# $Id: Makefile.kmk 42075 2012-07-10 08:08:43Z 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_DEFS = IN_DIS
42DisasmBldProg_SOURCES = \
43 Disasm.cpp \
44 DisasmCore.cpp \
45 DisasmReg.cpp \
46 DisasmTables.cpp \
47 DisasmTablesX64.cpp \
48 DisasmFormatBytes.cpp \
49 DisasmFormatYasm.cpp
50
51LIBRARIES += DisasmCoreR3
52DisasmCoreR3_TEMPLATE = VBOXR3
53DisasmCoreR3_DEFS = IN_DIS DIS_CORE_ONLY
54DisasmCoreR3_SOURCES = \
55 DisasmCore.cpp \
56 DisasmReg.cpp \
57 DisasmTables.cpp \
58 DisasmTablesX64.cpp
59
60ifdef VBOX_WITH_RAW_MODE
61 LIBRARIES += DisasmRC
62 DisasmRC_TEMPLATE = VBoxRc
63 DisasmRC_DEFS = IN_DIS IN_RT_RC DIS_CORE_ONLY
64 DisasmRC_SOURCES = \
65 DisasmCore.cpp \
66 DisasmReg.cpp \
67 DisasmTables.cpp \
68 DisasmTablesX64.cpp
69endif # VBOX_WITH_RAW_MODE
70
71LIBRARIES += DisasmR0
72DisasmR0_TEMPLATE = VBoxR0
73DisasmR0_DEFS = IN_DIS IN_RT_R0 DIS_CORE_ONLY
74DisasmR0_SOURCES = \
75 DisasmCore.cpp \
76 DisasmReg.cpp \
77 DisasmTables.cpp \
78 DisasmTablesX64.cpp
79
80include $(FILE_KBUILD_SUB_FOOTER)
81
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