VirtualBox

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

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

PATH_KBUILD -> KBUILD_PATH.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1# $Id: Makefile.kmk 8760 2008-05-11 18:39:30Z vboxsync $
2## @file
3# Makefile for the VBox Disassembler.
4#
5
6#
7# Copyright (C) 2006-2007 Sun Microsystems, Inc.
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# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
18# Clara, CA 95054 USA or visit http://www.sun.com if you need
19# additional information or have any questions.
20#
21
22DEPTH = ../../..
23include $(KBUILD_PATH)/header.kmk
24
25
26PROGRAMS = tstDisasmCore tstDisasm
27LIBRARIES = DisasmR3 DisasmCoreR3 DisasmGC DisasmR0
28
29DisasmR3_TEMPLATE = VBOXR3
30ifeq ($(KBUILD_TARGET),win)
31DisasmR3_CXXFLAGS += -EHa
32else
33 ifneq ($(KBUILD_TARGET),l4)
34DisasmR3_CXXFLAGS += -fexceptions
35 endif
36endif
37DisasmR3_SOURCES = Disasm.cpp DisasmCore.cpp DisasmReg.cpp DisasmTables.cpp DisasmTablesX64.cpp
38DisasmR3_DEFS = IN_DIS_R3
39
40DisasmCoreR3_TEMPLATE = VBOXR3
41DisasmCoreR3_SOURCES = DisasmCore.cpp DisasmReg.cpp DisasmTables.cpp DisasmTablesX64.cpp
42DisasmCoreR3_DEFS = IN_DIS_R3 DIS_CORE_ONLY
43
44DisasmGC_TEMPLATE = VBOXGC
45DisasmGC_SOURCES = DisasmCore.cpp DisasmReg.cpp DisasmTables.cpp DisasmTablesX64.cpp
46DisasmGC_DEFS = IN_DIS_GC IN_RT_GC DIS_CORE_ONLY
47
48DisasmR0_TEMPLATE = VBOXR0
49DisasmR0_SOURCES = DisasmCore.cpp DisasmReg.cpp DisasmTables.cpp DisasmTablesX64.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 $(KBUILD_PATH)/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