Makefile.kmk revision f5e6929ad51b19b1eecf33e1233a736d5483263f
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.
e62cb87bae732e9968199a3ad153cc94004b7182vboxsyncDEPTH ?= ../../../../..
e62cb87bae732e9968199a3ad153cc94004b7182vboxsyncSUB_DEPTH = ../..
e62cb87bae732e9968199a3ad153cc94004b7182vboxsyncinclude $(KBUILD_PATH)/subheader.kmk
e62cb87bae732e9968199a3ad153cc94004b7182vboxsyncPROGRAMS += VBoxTray
f5e6929ad51b19b1eecf33e1233a736d5483263fvboxsyncifdef VBOX_WITH_64BIT_ADDITIONS
f5e6929ad51b19b1eecf33e1233a736d5483263fvboxsyncVBoxTray_TEMPLATE = VBOXGUESTR3EXE
e62cb87bae732e9968199a3ad153cc94004b7182vboxsyncVBoxTray_TEMPLATE = VBOXW32GUESTR3
e62cb87bae732e9968199a3ad153cc94004b7182vboxsyncifdef VBOX_SIGN_ADDITIONS
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync VBoxTray_NOINST = true
e62cb87bae732e9968199a3ad153cc94004b7182vboxsyncVBoxTray_DEFS = VBOX_HGCM LOG_TO_BACKDOOR
e62cb87bae732e9968199a3ad153cc94004b7182vboxsyncVBoxTray_INCS = ../include
e62cb87bae732e9968199a3ad153cc94004b7182vboxsyncVBoxTray_SOURCES = \
f5e6929ad51b19b1eecf33e1233a736d5483263fvboxsyncifdef VBOX_WITH_64BIT_ADDITIONS
f5e6929ad51b19b1eecf33e1233a736d5483263fvboxsyncVBoxTray_LIBS = \
f5e6929ad51b19b1eecf33e1233a736d5483263fvboxsync $(VBOX_LIB_IPRT_GUEST_R3)
e62cb87bae732e9968199a3ad153cc94004b7182vboxsyncVBoxTray_LIBS = \
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
e62cb87bae732e9968199a3ad153cc94004b7182vboxsyncinclude $(KBUILD_PATH)/subfooter.kmk
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync# Icon include file.
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync$(PATH_VBoxTray)/VBoxTray-icon.rc: $(VBOX_WINDOWS_ICON_FILE) Makefile.kmk | $$(call DIRDEP,$$(@D))
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync $(RM) -f $@
e62cb87bae732e9968199a3ad153cc94004b7182vboxsync $(APPEND) $@ 'IDI_VIRTUALBOX ICON DISCARDABLE "$(subst /,\\,$(VBOX_WINDOWS_ICON_FILE))"'