VirtualBox

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

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

move the SVN revision stuff into separate files to omit recompilation of expensive files if only the SVN revision changed

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