1 | # $Id: Makefile.kmk 4071 2007-08-07 17:07:59Z 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 |
|
---|
18 | DEPTH = ../../../..
|
---|
19 | include $(PATH_KBUILD)/header.kmk
|
---|
20 |
|
---|
21 | PROGRAMS = VBoxManage
|
---|
22 |
|
---|
23 | VBoxManage_TEMPLATE = VBOXMAINCLIENTEXE
|
---|
24 | VBoxManage_SOURCES = \
|
---|
25 | VBoxManage.cpp \
|
---|
26 | VBoxInternalManage.cpp
|
---|
27 | ifndef VBOX_OSE
|
---|
28 | VBoxManage_SOURCES += \
|
---|
29 | VBoxInternalManageVmdk.cpp
|
---|
30 | endif
|
---|
31 | ifdef VBOX_WITH_VRDP
|
---|
32 | VBoxManage_DEFS += VBOX_VRDP
|
---|
33 | endif
|
---|
34 | ifdef VBOX_WITH_ALSA
|
---|
35 | VBoxManage_DEFS += VBOX_WITH_ALSA
|
---|
36 | endif
|
---|
37 | ifeq ($(BUILD_TARGET),win)
|
---|
38 | VBoxManage_LIBS += \
|
---|
39 | $(PATH_LIB)/VBoxDDU$(VBOX_SUFF_LIB) \
|
---|
40 | $(PATH_LIB)/VBoxXML$(VBOX_SUFF_LIB)
|
---|
41 | else
|
---|
42 | VBoxManage_LIBS += \
|
---|
43 | $(PATH_BIN)/VBoxDDU$(VBOX_SUFF_DLL) \
|
---|
44 | $(PATH_BIN)/VBoxXML$(VBOX_SUFF_DLL)
|
---|
45 | endif
|
---|
46 | # VBoxManage.cpp uses VBOX_SVN_REV.
|
---|
47 | VBoxManage.cpp_DEFS = VBOX_SVN_REV=$(VBOX_SVN_REV)
|
---|
48 | VBoxManage.cpp_DEPS = $(VBOX_SVN_REV_KMK)
|
---|
49 |
|
---|
50 |
|
---|
51 | include $(PATH_KBUILD)/footer.kmk
|
---|
52 |
|
---|