VirtualBox

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

Last change on this file since 48070 was 48070, checked in by vboxsync, 11 years ago

wddm,vboxtray: forward-port autoresize, multimon, and seamless fixes from 4.2 r87071, r87353, r87356, r87528, r87568, r87581, r87584, r87608, r87673, r87678, r87708, r87629, r87529; additional fixes

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.3 KB
Line 
1# $Id: Makefile.kmk 48070 2013-08-26 18:13:22Z 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 = NewVBoxGuestR3Exe
23ifdef VBOX_SIGN_ADDITIONS # (See the parent makefile.)
24 VBoxTray_INSTTYPE = none
25 VBoxTray_DEBUG_INSTTYPE = both
26endif
27VBoxTray_SDKS = ReorderCompilerIncs $(VBOX_WINDDK_GST)
28VBoxTray_DEFS = VBOX_WITH_HGCM LOG_TO_BACKDOOR
29VBoxTray_INCS = ../include
30VBoxTray_SOURCES = \
31 VBoxTray.cpp \
32 VBoxDispIf.cpp \
33 VBoxSeamless.cpp \
34 VBoxClipboard.cpp \
35 VBoxDisplay.cpp \
36 VBoxVRDP.cpp \
37 VBoxRestore.cpp \
38 VBoxIPC.cpp \
39 VBoxHelpers.cpp \
40 VBoxTray.rc
41ifdef VBOX_WITH_GUEST_PROPS
42 VBoxTray_DEFS += _WIN32_IE=0x500 VBOX_WITH_GUEST_PROPS
43 VBoxTray_SOURCES += \
44 VBoxHostVersion.cpp \
45 VBoxLA.cpp
46endif
47ifdef VBOX_WITH_SHARED_FOLDERS
48 VBoxTray_DEFS += VBOX_WITH_SHARED_FOLDERS
49 VBoxTray_SOURCES += \
50 VBoxSharedFolders.cpp
51 VBoxTray_LIBS.win += \
52 mpr.lib
53endif
54ifdef VBOX_WITH_MMR
55 VBoxTray_DEFS += VBOX_WITH_MMR
56 VBoxTray_SOURCES += \
57 VBoxMMR.cpp
58endif
59
60ifdef VBOX_WITH_WDDM
61 VBoxTray_DEFS += VBOX_WITH_WDDM
62 # VBoxTray_DEFS += LOG_ENABLED
63 VBoxTray_SOURCES += ../Graphics/Video/disp/wddm/VBoxDispKmt.cpp
64endif
65
66# VBoxTray.cpp uses VBOX_SVN_REV.
67VBoxTray.cpp_DEFS += VBOX_SVN_REV=$(VBOX_SVN_REV)
68VBoxTray.cpp_DEPS = $(VBOX_SVN_REV_KMK)
69
70# The icon location is configurable.
71VBoxTray.rc_INCS = $(VBoxTray_0_OUTDIR)
72VBoxTray.rc_DEPS = $(VBoxTray_0_OUTDIR)/VBoxTray-icon.rc
73VBoxTray.rc_CLEAN = $(VBoxTray_0_OUTDIR)/VBoxTray-icon.rc
74
75# Icon include file.
76$$(VBoxTray_0_OUTDIR)/VBoxTray-icon.rc: $(VBOX_WINDOWS_ADDITIONS_ICON_FILE) $$(VBoxTray_DEFPATH)/Makefile.kmk | $$(dir $$@)
77 $(RM) -f $@
78 $(APPEND) $@ 'IDI_VIRTUALBOX ICON DISCARDABLE "$(subst /,\\,$(VBOX_WINDOWS_ADDITIONS_ICON_FILE))"'
79
80include $(FILE_KBUILD_SUB_FOOTER)
81
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