VirtualBox

source: vbox/trunk/src/VBox/Disassembler/Makefile@ 2397

Last change on this file since 2397 was 1, checked in by vboxsync, 55 years ago

import

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.1 KB
Line 
1#
2# Makefile for the VBox Disassembler.
3#
4
5#
6# Copyright (C) 2006 InnoTek Systemberatung GmbH
7#
8# This file is part of VirtualBox Open Source Edition (OSE), as
9# available from http://www.virtualbox.org. This file is free software;
10# you can redistribute it and/or modify it under the terms of the GNU
11# General Public License as published by the Free Software Foundation,
12# in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
13# distribution. VirtualBox OSE is distributed in the hope that it will
14# be useful, but WITHOUT ANY WARRANTY of any kind.
15#
16# If you received this file as part of a commercial VirtualBox
17# distribution, then only the terms of your commercial VirtualBox
18# license agreement apply instead of the previous paragraph.
19#
20
21DEPTH = ../../..
22include $(PATH_KBUILD)/header.kmk
23
24
25PROGRAMS = tstDisasmCore tstDisasm
26LIBRARIES = DisasmR3 DisasmCoreR3 DisasmGC DisasmR0
27
28DisasmR3_TEMPLATE = VBOXR3
29ifeq ($(BUILD_TARGET),win)
30DisasmR3_CXXFLAGS += -EHa
31else
32 ifneq ($(BUILD_TARGET),l4)
33DisasmR3_CXXFLAGS += -fexceptions
34 endif
35endif
36DisasmR3_SOURCES = Disasm.cpp DisasmCore.cpp DisasmTables.cpp
37DisasmR3_DEFS = IN_DIS_R3
38
39DisasmCoreR3_TEMPLATE = VBOXR3
40DisasmCoreR3_SOURCES = DisasmCore.cpp DisasmTables.cpp
41DisasmCoreR3_DEFS = IN_DIS_R3 DIS_CORE_ONLY
42
43DisasmGC_TEMPLATE = VBOXGC
44DisasmGC_SOURCES = DisasmCore.cpp DisasmTables.cpp
45DisasmGC_DEFS = IN_DIS_GC IN_RT_GC DIS_CORE_ONLY
46
47DisasmR0_TEMPLATE = VBOXR0
48DisasmR0_SOURCES = DisasmCore.cpp DisasmTables.cpp
49DisasmR0_DEFS = IN_DIS_R0 IN_RT_R0 DIS_CORE_ONLY
50
51tstDisasm_TEMPLATE = VBOXR3TSTEXE
52tstDisasm_SOURCES = DisasmTest.cpp DisasmTestA.asm
53tstDisasm_DEFS = IN_DIS_R3
54tstDisasm_LIBS = \
55 $(PATH_LIB)/DisasmR3$(VBOX_SUFF_LIB) \
56 $(LIB_RUNTIME)
57
58tstDisasmCore_TEMPLATE = VBOXR3TSTEXE
59tstDisasmCore_SOURCES = DisasmTestCore.cpp
60tstDisasmCore_DEFS = IN_DIS_R3 DIS_CORE_ONLY
61tstDisasmCore_LIBS = \
62 $(PATH_LIB)/DisasmCoreR3$(VBOX_SUFF_LIB) \
63 $(LIB_RUNTIME)
64
65include $(PATH_KBUILD)/footer.kmk
66
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