VirtualBox

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

Last change on this file since 2981 was 2981, checked in by vboxsync, 17 years ago

InnoTek -> innotek: all the headers and comments.

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