VirtualBox

source: vbox/trunk/src/VBox/Frontends/VBoxManage/Makefile.kmk@ 35273

Last change on this file since 35273 was 34913, checked in by vboxsync, 13 years ago

VBoxManage: Added a debugvm command for injectnmi and dumpguestcore.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.1 KB
Line 
1# $Id: Makefile.kmk 34913 2010-12-09 17:20:41Z vboxsync $
2## @file
3# Sub-Makefile for VBoxManage (the cli frontend).
4#
5
6#
7# Copyright (C) 2006-2007 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
21PROGRAMS += VBoxManage
22ifdef VBOX_ONLY_DOCS
23 VBoxManage_TEMPLATE = VBOXR3NPEXE
24 VBoxManage_DEFS += VBOX_ONLY_DOCS
25 VBoxManage_SOURCES = \
26 VBoxManage.cpp \
27 VBoxManageHelp.cpp \
28 $(if $(VBOX_WITH_GUEST_PROPS),VBoxManageGuestProp.cpp) \
29 $(if $(VBOX_WITH_GUEST_CONTROL),VBoxManageGuestCtrl.cpp)
30 VBoxManage_LIBS += $(LIB_RUNTIME)
31else # !VBOX_ONLY_DOCS
32 VBoxManage_TEMPLATE = VBOXMAINCLIENTEXE
33 VBoxManage_DEFS.win = _WIN32_WINNT=0x0500
34 VBoxManage_SOURCES = \
35 VBoxManage.cpp \
36 VBoxInternalManage.cpp \
37 VBoxManageControlVM.cpp \
38 VBoxManageDebugVM.cpp \
39 VBoxManageDHCPServer.cpp \
40 VBoxManageDisk.cpp \
41 $(if $(VBOX_WITH_GUEST_PROPS),VBoxManageGuestProp.cpp) \
42 $(if $(VBOX_WITH_GUEST_CONTROL),VBoxManageGuestCtrl.cpp) \
43 VBoxManageHelp.cpp \
44 VBoxManageHostonly.cpp \
45 VBoxManageAppliance.cpp \
46 VBoxManageInfo.cpp \
47 VBoxManageList.cpp \
48 VBoxManageMetrics.cpp \
49 VBoxManageMisc.cpp \
50 VBoxManageModifyVM.cpp \
51 VBoxManageSnapshot.cpp \
52 VBoxManageStorageController.cpp \
53 VBoxManageUSB.cpp \
54 VBoxManageBandwidthControl.cpp
55endif # !VBOX_ONLY_DOCS
56
57VBoxManage_DEFS += \
58 $(if $(VBOX_WITH_AHCI), VBOX_WITH_AHCI) \
59 $(if $(VBOX_WITH_ALSA), VBOX_WITH_ALSA) \
60 $(if $(VBOX_WITH_COPYTOGUEST),VBOX_WITH_COPYTOGUEST) \
61 $(if $(VBOX_WITH_E1000),VBOX_WITH_E1000) \
62 $(if $(VBOX_WITH_GUEST_CONTROL),VBOX_WITH_GUEST_CONTROL) \
63 $(if $(VBOX_WITH_GUEST_PROPS),VBOX_WITH_GUEST_PROPS) \
64 $(if $(VBOX_WITH_HEADLESS), VBOX_WITH_HEADLESS) \
65 $(if $(VBOX_WITH_HGCM), VBOX_WITH_HGCM) \
66 $(if $(VBOX_WITH_HOSTNETIF_API), VBOX_WITH_HOSTNETIF_API) \
67 $(if $(VBOX_WITH_NETFLT), VBOX_WITH_NETFLT) \
68 $(if $(VBOX_WITH_PULSE),VBOX_WITH_PULSE) \
69 $(if $(VBOX_WITH_SCSI), VBOX_WITH_SCSI) \
70 $(if $(VBOX_WITH_SOLARIS_OSS), VBOX_WITH_SOLARIS_OSS) \
71 $(if $(VBOX_WITH_VBOXSDL), VBOX_WITH_VBOXSDL) \
72 $(if $(VBOX_WITH_VDE), VBOX_WITH_VDE) \
73 $(if $(VBOX_WITH_VIDEOHWACCEL), VBOX_WITH_VIDEOHWACCEL) \
74 $(if $(VBOX_WITH_VIRTIO),VBOX_WITH_VIRTIO)
75
76ifneq ($(KBUILD_TARGET),win)
77 # Workaround for buggy gcc-4.3 compilers, see
78 #
79 # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36474
80 #
81 # Some later revisions of version 4.3.1 are known to work so we assume
82 # that version 4.3.2 or later has this bug definitely fixed.
83 VBoxManage_CXXFLAGS.release += \
84 $(if $(VBOX_GCC_VERSION_CXX),$(if-expr $(VBOX_GCC_VERSION_CXX) < 40300 || $(VBOX_GCC_VERSION_CXX) > 40301,,--param max-fields-for-field-sensitive=0),)
85endif
86ifndef VBOX_ONLY_DOCS
87 VBoxManage_LIBS += $(LIB_DDU)
88endif # !VBOX_ONLY_DOCS
89
90include $(KBUILD_PATH)/subfooter.kmk
91
Note: See TracBrowser for help on using the repository browser.

© 2023 Oracle
ContactPrivacy policyTerms of Use