VirtualBox

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

Last change on this file since 68704 was 68261, checked in by vboxsync, 8 years ago

WDDM: helper libs. No code changes, just moved a couple of shared source files to a separate directory.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.7 KB
Line 
1# $Id: Makefile.kmk 68261 2017-08-02 21:45:09Z vboxsync $
2## @file
3# Sub-Makefile for VBoxTray.
4#
5
6#
7# Copyright (C) 2006-2016 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_SDKS = ReorderCompilerIncs $(VBOX_WINDDK_GST)
28VBoxTray_DEFS = \
29 VBOX_WITH_HGCM \
30 VBOX_BUILD_TARGET=\"$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)\"
31VBoxTray_INCS = \
32 ../include \
33 $(PATH_ROOT)/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/shared \
34 $(VBOX_GRAPHICS_INCS)
35VBoxTray_SOURCES = \
36 VBoxTray.cpp \
37 VBoxDispIf.cpp \
38 VBoxSeamless.cpp \
39 VBoxClipboard.cpp \
40 VBoxDisplay.cpp \
41 VBoxVRDP.cpp \
42 VBoxIPC.cpp \
43 VBoxHelpers.cpp \
44 VBoxTray.rc
45ifdef VBOX_WITH_DRAG_AND_DROP
46 VBoxTray_DEFS += \
47 VBOX_WITH_DRAG_AND_DROP \
48 $(if $(VBOX_WITH_DRAG_AND_DROP_GH),VBOX_WITH_DRAG_AND_DROP_GH,)
49 VBoxTray_SOURCES += \
50 VBoxDnD.cpp \
51 VBoxDnDDataObject.cpp \
52 VBoxDnDEnumFormat.cpp \
53 VBoxDnDDropSource.cpp \
54 VBoxDnDDropTarget.cpp
55 VBoxTray_LIBS += \
56 $(PATH_STAGE_LIB)/additions/VBoxDnDGuestR3Lib$(VBOX_SUFF_LIB)
57endif
58ifdef VBOX_WITH_GUEST_PROPS
59 VBoxTray_DEFS += _WIN32_IE=0x500 VBOX_WITH_GUEST_PROPS
60 VBoxTray_SOURCES += \
61 VBoxHostVersion.cpp \
62 VBoxLA.cpp
63endif
64ifdef VBOX_WITH_SHARED_FOLDERS
65 VBoxTray_DEFS += VBOX_WITH_SHARED_FOLDERS
66 VBoxTray_SOURCES += \
67 VBoxSharedFolders.cpp
68 VBoxTray_LIBS.win += \
69 mpr.lib
70endif
71ifdef VBOX_WITH_WDDM
72 VBoxTray_DEFS += VBOX_WITH_WDDM
73 # VBoxTray_DEFS += LOG_ENABLED
74 VBoxTray_SOURCES += $(PATH_ROOT)/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/shared/VBoxDispKmt.cpp
75endif
76
77# VBoxTray.cpp uses VBOX_SVN_REV.
78VBoxTray.cpp_DEFS += VBOX_SVN_REV=$(VBOX_SVN_REV)
79VBoxTray.cpp_DEPS = $(VBOX_SVN_REV_KMK)
80
81# The icon location is configurable.
82VBoxTray.rc_INCS = $(VBoxTray_0_OUTDIR)
83VBoxTray.rc_DEPS = $(VBoxTray_0_OUTDIR)/VBoxTray-icon.rc
84VBoxTray.rc_CLEAN = $(VBoxTray_0_OUTDIR)/VBoxTray-icon.rc
85
86# Icon include file.
87$$(VBoxTray_0_OUTDIR)/VBoxTray-icon.rc: $(VBOX_WINDOWS_ADDITIONS_ICON_FILE) $$(VBoxTray_DEFPATH)/Makefile.kmk | $$(dir $$@)
88 $(RM) -f $@
89 $(APPEND) $@ 'IDI_VIRTUALBOX ICON DISCARDABLE "$(subst /,\\,$(VBOX_WINDOWS_ADDITIONS_ICON_FILE))"'
90
91include $(FILE_KBUILD_SUB_FOOTER)
92
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