VirtualBox

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

Last change on this file since 29124 was 28800, checked in by vboxsync, 15 years ago

Automated rebranding to Oracle copyright/license strings via filemuncher

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.1 KB
Line 
1# $Id: Makefile.kmk 28800 2010-04-27 08:22:32Z vboxsync $
2## @file
3# Sub-Makefile for VBoxTray.
4#
5
6#
7# Copyright (C) 2006-2007 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_NOINST = true
25endif
26VBoxTray_DEFS = VBOX_WITH_HGCM LOG_TO_BACKDOOR
27#temporary define
28VBoxTray_DEFS += MMSEAMLESS
29VBoxTray_INCS = ../include
30VBoxTray_SOURCES = \
31 VBoxTray.cpp \
32 VBoxSeamless.cpp \
33 VBoxClipboard.cpp \
34 VBoxDisplay.cpp \
35 VBoxVRDP.cpp \
36 VBoxRestore.cpp \
37 helpers.cpp \
38 VBoxTray.rc
39ifdef VBOX_WITH_GUEST_PROPS
40 VBoxTray_DEFS += _WIN32_IE=0x500 VBOX_WITH_GUEST_PROPS
41 VBoxTray_SOURCES += \
42 VBoxHostVersion.cpp
43endif
44
45VBoxTray_LIBS = \
46 $(VBOX_LIB_IPRT_GUEST_R3) \
47 $(VBOX_LIB_VBGL_R3)
48
49ifdef VBOXWDDM
50 VBoxTray_DEFS += VBOXWDDM
51 VBoxTray_DEFS += LOG_ENABLED
52 # we need only includes for PFND3DKMT stuff as all we link dynamicaly to it
53 VBoxTray_INCS += $(PATH_SDK_WINDDK_INC_API) $(PATH_SDK_WINDDK_INC_DDK)
54endif
55# VBoxTray.cpp uses VBOX_SVN_REV.
56VBoxTray.cpp_DEFS += VBOX_SVN_REV=$(VBOX_SVN_REV)
57VBoxTray.cpp_DEPS = $(VBOX_SVN_REV_KMK)
58
59# The icon location is configurable.
60VBoxTray.rc_INCS = $(PATH_VBoxTray)
61VBoxTray.rc_DEPS = $(PATH_VBoxTray)/VBoxTray-icon.rc
62VBoxTray.rc_CLEAN = $(PATH_VBoxTray)/VBoxTray-icon.rc
63
64# Icon include file.
65$$(PATH_VBoxTray)/VBoxTray-icon.rc: $(VBOX_WINDOWS_ADDITIONS_ICON_FILE) $$(VBoxTray_PATH)/Makefile.kmk | $$(dir $$@)
66 $(RM) -f $@
67 $(APPEND) $@ 'IDI_VIRTUALBOX ICON DISCARDABLE "$(subst /,\\,$(VBOX_WINDOWS_ADDITIONS_ICON_FILE))"'
68
69include $(KBUILD_PATH)/subfooter.kmk
70
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