VirtualBox

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

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

Fix field used to determine svn revision. Implement VirtualBox -v,
printing just the version number.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.5 KB
Line 
1# $Id: Makefile.kmk 3730 2007-07-20 12:12:22Z vboxsync $
2## @file
3# Makefile for VBoxManage (the cli frontend).
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
22
23DEPTH = ../../../..
24include $(PATH_KBUILD)/header.kmk
25
26PROGRAMS = VBoxManage
27
28VBoxManage_TEMPLATE = VBOXMAINCLIENTEXE
29VBoxManage_SOURCES = \
30 VBoxManage.cpp \
31 VBoxInternalManage.cpp
32ifndef VBOX_OSE
33VBoxManage_SOURCES += \
34 VBoxInternalManageVmdk.cpp
35endif
36ifdef VBOX_WITH_VRDP
37 VBoxManage_DEFS += VBOX_VRDP
38endif
39ifdef VBOX_WITH_ALSA
40 VBoxManage_DEFS += VBOX_WITH_ALSA
41endif
42ifeq ($(BUILD_TARGET),win)
43 VBoxManage_LIBS += \
44 $(PATH_LIB)/VBoxDDU$(VBOX_SUFF_LIB) \
45 $(PATH_LIB)/VBoxXML$(VBOX_SUFF_LIB)
46else
47 VBoxManage_LIBS += \
48 $(PATH_BIN)/VBoxDDU$(VBOX_SUFF_DLL) \
49 $(PATH_BIN)/VBoxXML$(VBOX_SUFF_DLL)
50endif
51# VBoxManage.cpp uses VBOX_SVN_REV.
52VBoxManage.cpp_DEFS = VBOX_SVN_REV=$(VBOX_SVN_REV)
53VBoxManage.cpp_DEPS = $(VBOX_SVN_REV_KMK)
54
55
56include $(PATH_KBUILD)/footer.kmk
57
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