VirtualBox

source: vbox/trunk/src/VBox/Additions/common/VBoxControl/Makefile.kmk@ 72293

Last change on this file since 72293 was 70431, checked in by vboxsync, 7 years ago

VBoxControl: Added gzip, ls, tar and unzip commands.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.8 KB
Line 
1# $Id: Makefile.kmk 70431 2018-01-02 15:14:30Z vboxsync $
2## @file
3# Sub-Makefile for the Guest Additions Command Line Management Interface.
4#
5
6#
7# Copyright (C) 2010-2017 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
21# Include sub-makefile(s).
22include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
23
24#
25# VBoxControl
26#
27PROGRAMS += VBoxControl
28if "$(KBUILD_TARGET)" == "win" || defined(VBOX_WITH_MASOCHISTIC_WARNINGS) ## @todo use VBoxGuestR3Exe everywhere
29VBoxControl_TEMPLATE = VBoxGuestR3Exe
30else
31VBoxControl_TEMPLATE = NewVBoxGuestR3Exe
32endif
33ifeq ($(KBUILD_TARGET),win)
34 ifdef VBOX_SIGN_ADDITIONS # (See the main Windows Additions makefile.)
35 VBoxControl_INSTTYPE = none
36 VBoxControl_DEBUG_INSTTYPE = both
37 endif
38endif
39VBoxControl_DEFS += \
40 $(if $(VBOX_WITH_HGCM),VBOX_WITH_HGCM,) \
41 $(if $(VBOX_WITH_GUEST_PROPS),VBOX_WITH_GUEST_PROPS,) \
42 $(if $(VBOX_WITH_SHARED_FOLDERS),VBOX_WITH_SHARED_FOLDERS,)
43VBoxControl_DEFS.win += \
44 $(if $(VBOX_WITH_DPC_LATENCY_CHECKER),VBOX_WITH_DPC_LATENCY_CHECKER,)
45VBoxControl_SDKS = VBOX_ZLIB_STATIC
46VBoxControl_SOURCES = \
47 VBoxControl.cpp
48VBoxControl_SOURCES.win = \
49 VBoxControl.rc
50VBoxControl_LDFLAGS.darwin = -framework IOKit
51VBoxControl_USES.win += vboximportchecker
52VBoxControl_VBOX_IMPORT_CHECKER.win.x86 = nt31
53VBoxControl_VBOX_IMPORT_CHECKER.win.amd64 = xp64
54
55include $(FILE_KBUILD_SUB_FOOTER)
56
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