Makefile.kmk revision 8a0ee4ffcd453884e357b4d5984ae3b7146abb6f
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync# Sub-Makefile for VBoxTray.
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync# Copyright (C) 2006-2007 Sun Microsystems, Inc.
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync# This file is part of VirtualBox Open Source Edition (OSE), as
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync# available from http://www.virtualbox.org. This file is free software;
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync# you can redistribute it and/or modify it under the terms of the GNU
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync# General Public License (GPL) as published by the Free Software
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync# Foundation, in version 2 as it comes in the "COPYING" file of the
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync# Clara, CA 95054 USA or visit http://www.sun.com if you need
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync# additional information or have any questions.
456f370fcde010d585d9174df045978a6c9893c1vboxsyncSUB_DEPTH = ../../../../..
e62cb87bae732e9968199a3ad153cc94004b7182vboxsyncinclude $(KBUILD_PATH)/subheader.kmk
e62cb87bae732e9968199a3ad153cc94004b7182vboxsyncPROGRAMS += VBoxTray
f5e6929ad51b19b1eecf33e1233a736d5483263fvboxsyncVBoxTray_TEMPLATE = VBOXGUESTR3EXE
3ad96deedaeae14c9c7ce2ec08a226e4804466dcvboxsyncifdef VBOX_SIGN_ADDITIONS # (See the parent makefile.)
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync VBoxTray_NOINST = true
3f8fa562bb916e87b0beff9ec2a4e241c643dcc8vboxsyncVBoxTray_DEFS = VBOX_WITH_HGCM LOG_TO_BACKDOOR
e62cb87bae732e9968199a3ad153cc94004b7182vboxsyncVBoxTray_INCS = ../include
e62cb87bae732e9968199a3ad153cc94004b7182vboxsyncVBoxTray_SOURCES = \
f5e6929ad51b19b1eecf33e1233a736d5483263fvboxsyncVBoxTray_LIBS = \
a74b34de30d7bb18a725475037d78963fd23f01cvboxsync $(VBOX_LIB_IPRT_GUEST_R3) \
a74b34de30d7bb18a725475037d78963fd23f01cvboxsync $(VBOX_LIB_VBGL_R3)
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync# VBoxTray.cpp uses VBOX_SVN_REV.
e62cb87bae732e9968199a3ad153cc94004b7182vboxsyncVBoxTray.cpp_DEFS += VBOX_SVN_REV=$(VBOX_SVN_REV)
e62cb87bae732e9968199a3ad153cc94004b7182vboxsyncVBoxTray.cpp_DEPS = $(VBOX_SVN_REV_KMK)
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync# The icon location is configurable.
e62cb87bae732e9968199a3ad153cc94004b7182vboxsyncVBoxTray.rc_INCS = $(PATH_VBoxTray)
e62cb87bae732e9968199a3ad153cc94004b7182vboxsyncVBoxTray.rc_DEPS = $(PATH_VBoxTray)/VBoxTray-icon.rc
e62cb87bae732e9968199a3ad153cc94004b7182vboxsyncVBoxTray.rc_CLEAN = $(PATH_VBoxTray)/VBoxTray-icon.rc
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync# Icon include file.
b55824a77ad4fae166c274e4b3a8abe6690e4762vboxsync$$(PATH_VBoxTray)/VBoxTray-icon.rc: $(VBOX_WINDOWS_ADDITIONS_ICON_FILE) $$(VBoxTray_PATH)/Makefile.kmk | $$(dir $$@)
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync $(RM) -f $@
b55824a77ad4fae166c274e4b3a8abe6690e4762vboxsync $(APPEND) $@ 'IDI_VIRTUALBOX ICON DISCARDABLE "$(subst /,\\,$(VBOX_WINDOWS_ADDITIONS_ICON_FILE))"'
5601bfbc69ea7f9194242feb79e89441d8d241f9vboxsyncinclude $(KBUILD_PATH)/subfooter.kmk