VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/VBoxTray/Makefile.kmk@ 42003

Last change on this file since 42003 was 42003, checked in by vboxsync, 13 years ago

VBoxMMR: Switch to using Windows TSMF API hooking for redirection

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.4 KB
Line 
1# $Id: Makefile.kmk 42003 2012-07-03 14:57:45Z vboxsync $
2## @file
3# Sub-Makefile for VBoxTray.
4#
5
6#
7# Copyright (C) 2006-2012 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
21PROGRAMS += VBoxTray
22VBoxTray_TEMPLATE = VBOXGUESTR3EXE
23ifdef VBOX_SIGN_ADDITIONS # (See the parent makefile.)
24 VBoxTray_INSTTYPE = none
25 VBoxTray_DEBUG_INSTTYPE = both
26endif
27VBoxTray_DEFS = VBOX_WITH_HGCM LOG_TO_BACKDOOR
28VBoxTray_INCS = ../include
29VBoxTray_SOURCES = \
30 VBoxTray.cpp \
31 VBoxDispIf.cpp \
32 VBoxSeamless.cpp \
33 VBoxClipboard.cpp \
34 VBoxDisplay.cpp \
35 VBoxVRDP.cpp \
36 VBoxRestore.cpp \
37 VBoxIPC.cpp \
38 VBoxHelpers.cpp \
39 VBoxTray.rc
40ifdef VBOX_WITH_GUEST_PROPS
41 VBoxTray_DEFS += _WIN32_IE=0x500 VBOX_WITH_GUEST_PROPS
42 VBoxTray_SOURCES += \
43 VBoxHostVersion.cpp \
44 VBoxLA.cpp
45endif
46ifdef VBOX_WITH_SHARED_FOLDERS
47 VBoxTray_DEFS += VBOX_WITH_SHARED_FOLDERS
48 VBoxTray_SOURCES += \
49 VBoxSharedFolders.cpp
50 VBoxTray_LIBS.win += \
51 mpr.lib
52endif
53ifdef VBOX_WITH_MMR
54 VBoxTray_DEFS += VBOX_WITH_MMR
55 VBoxTray_SOURCES += \
56 VBoxMMR.cpp
57endif
58
59VBoxTray_LIBS = \
60 $(VBOX_LIB_IPRT_GUEST_R3) \
61 $(VBOX_LIB_VBGL_R3)
62
63include $(KBUILD_PATH)/sdks/WINDDK.kmk
64VBoxTray_INCS += $(PATH_SDK_WINDDK_INC_API) $(PATH_SDK_WINDDK_INC_DDK)
65
66ifdef VBOX_WITH_WDDM
67 VBoxTray_DEFS += VBOX_WITH_WDDM
68 # VBoxTray_DEFS += LOG_ENABLED
69endif
70
71# VBoxTray.cpp uses VBOX_SVN_REV.
72VBoxTray.cpp_DEFS += VBOX_SVN_REV=$(VBOX_SVN_REV)
73VBoxTray.cpp_DEPS = $(VBOX_SVN_REV_KMK)
74
75# The icon location is configurable.
76VBoxTray.rc_INCS = $(VBoxTray_0_OUTDIR)
77VBoxTray.rc_DEPS = $(VBoxTray_0_OUTDIR)/VBoxTray-icon.rc
78VBoxTray.rc_CLEAN = $(VBoxTray_0_OUTDIR)/VBoxTray-icon.rc
79
80# Icon include file.
81$$(VBoxTray_0_OUTDIR)/VBoxTray-icon.rc: $(VBOX_WINDOWS_ADDITIONS_ICON_FILE) $$(VBoxTray_DEFPATH)/Makefile.kmk | $$(dir $$@)
82 $(RM) -f $@
83 $(APPEND) $@ 'IDI_VIRTUALBOX ICON DISCARDABLE "$(subst /,\\,$(VBOX_WINDOWS_ADDITIONS_ICON_FILE))"'
84
85include $(FILE_KBUILD_SUB_FOOTER)
86
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