VirtualBox

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

Last change on this file since 24912 was 23452, checked in by vboxsync, 15 years ago

Makefiles: Corrected properties.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.5 KB
Line 
1# $Id: Makefile.kmk 23452 2009-09-30 20:33:08Z vboxsync $
2## @file
3# Sub-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
22SUB_DEPTH = ../../..
23include $(KBUILD_PATH)/subheader.kmk
24
25# include the sub-makefile first.
26ifdef VBOX_WITH_TESTCASES
27 include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
28endif
29
30
31LIBRARIES += DisasmR3
32DisasmR3_TEMPLATE = VBOXR3
33DisasmR3_DEFS = IN_DIS
34DisasmR3_SOURCES = \
35 Disasm.cpp \
36 DisasmCore.cpp \
37 DisasmReg.cpp \
38 DisasmTables.cpp \
39 DisasmTablesX64.cpp \
40 DisasmFormatBytes.cpp \
41 DisasmFormatYasm.cpp
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
52LIBRARIES += DisasmGC
53DisasmGC_TEMPLATE = VBOXGC
54DisasmGC_DEFS = IN_DIS IN_RT_GC IN_RT_RC DIS_CORE_ONLY
55DisasmGC_SOURCES = \
56 DisasmCore.cpp \
57 DisasmReg.cpp \
58 DisasmTables.cpp \
59 DisasmTablesX64.cpp
60
61LIBRARIES += DisasmR0
62DisasmR0_TEMPLATE = VBOXR0
63DisasmR0_DEFS = IN_DIS IN_RT_R0 DIS_CORE_ONLY
64DisasmR0_SOURCES = \
65 DisasmCore.cpp \
66 DisasmReg.cpp \
67 DisasmTables.cpp \
68 DisasmTablesX64.cpp
69
70
71ifdef VBOX_WITH_TESTCASES
72 # testcase that hasn't been moved yet.
73 PROGRAMS += tstDisasm
74 tstDisasm_TEMPLATE = VBOXR3TSTEXE
75 tstDisasm_DEFS = IN_DIS
76 tstDisasm_SOURCES = DisasmTest.cpp DisasmTestA.asm
77 tstDisasm_LIBS = \
78 $(PATH_LIB)/DisasmR3$(VBOX_SUFF_LIB) \
79 $(LIB_RUNTIME)
80
81 PROGRAMS += tstDisasmCore
82 tstDisasmCore_TEMPLATE = VBOXR3TSTEXE
83 tstDisasmCore_DEFS = IN_DIS DIS_CORE_ONLY
84 tstDisasmCore_SOURCES = DisasmTestCore.cpp
85 tstDisasmCore_LIBS = \
86 $(PATH_LIB)/DisasmCoreR3$(VBOX_SUFF_LIB) \
87 $(LIB_RUNTIME)
88endif # VBOX_WITH_TESTCASES
89
90include $(KBUILD_PATH)/subfooter.kmk
91
Note: See TracBrowser for help on using the repository browser.

© 2023 Oracle
ContactPrivacy policyTerms of Use