1 | # $Id: Makefile.kmk 2478 2007-05-04 00:46:16Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Makefile for VBoxManage (the cli frontend).
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2006 InnoTek Systemberatung 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 |
|
---|
23 | DEPTH = ../../../..
|
---|
24 | include $(PATH_KBUILD)/header.kmk
|
---|
25 |
|
---|
26 | PROGRAMS = VBoxManage
|
---|
27 |
|
---|
28 | VBoxManage_TEMPLATE = VBOXMAINCLIENT
|
---|
29 | VBoxManage_SOURCES = \
|
---|
30 | VBoxManage.cpp \
|
---|
31 | VBoxInternalManage.cpp
|
---|
32 | ifdef VBOX_WITH_VRDP
|
---|
33 | VBoxManage_DEFS += VBOX_VRDP
|
---|
34 | endif
|
---|
35 | ifdef VBOX_WITH_ALSA
|
---|
36 | VBoxManage_DEFS += VBOX_WITH_ALSA
|
---|
37 | endif
|
---|
38 | ifeq ($(BUILD_TARGET),win)
|
---|
39 | VBoxManage_LIBS += \
|
---|
40 | $(PATH_LIB)/VBoxDDU$(VBOX_SUFF_LIB) \
|
---|
41 | $(PATH_LIB)/VBoxXML$(VBOX_SUFF_LIB)
|
---|
42 | else
|
---|
43 | VBoxManage_LIBS += \
|
---|
44 | $(PATH_BIN)/VBoxDDU$(VBOX_SUFF_DLL) \
|
---|
45 | $(PATH_BIN)/VBoxXML$(VBOX_SUFF_DLL)
|
---|
46 | endif
|
---|
47 |
|
---|
48 |
|
---|
49 | include $(PATH_KBUILD)/footer.kmk
|
---|
50 |
|
---|