Makefile.kmk revision 3ad96deedaeae14c9c7ce2ec08a226e4804466dc
af062818b47340eef15700d2f0211576ba3506eevboxsync# $Id$
af062818b47340eef15700d2f0211576ba3506eevboxsync## @file
af062818b47340eef15700d2f0211576ba3506eevboxsync# Sub-Makefile for VBoxTray.
af062818b47340eef15700d2f0211576ba3506eevboxsync#
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync#
af062818b47340eef15700d2f0211576ba3506eevboxsync# Copyright (C) 2006-2007 Sun Microsystems, Inc.
af062818b47340eef15700d2f0211576ba3506eevboxsync#
af062818b47340eef15700d2f0211576ba3506eevboxsync# This file is part of VirtualBox Open Source Edition (OSE), as
af062818b47340eef15700d2f0211576ba3506eevboxsync# available from http://www.virtualbox.org. This file is free software;
af062818b47340eef15700d2f0211576ba3506eevboxsync# you can redistribute it and/or modify it under the terms of the GNU
af062818b47340eef15700d2f0211576ba3506eevboxsync# General Public License (GPL) as published by the Free Software
af062818b47340eef15700d2f0211576ba3506eevboxsync# Foundation, in version 2 as it comes in the "COPYING" file of the
af062818b47340eef15700d2f0211576ba3506eevboxsync# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
af062818b47340eef15700d2f0211576ba3506eevboxsync# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
af062818b47340eef15700d2f0211576ba3506eevboxsync#
af062818b47340eef15700d2f0211576ba3506eevboxsync# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
af062818b47340eef15700d2f0211576ba3506eevboxsync# Clara, CA 95054 USA or visit http://www.sun.com if you need
af062818b47340eef15700d2f0211576ba3506eevboxsync# additional information or have any questions.
af062818b47340eef15700d2f0211576ba3506eevboxsync#
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsyncDEPTH ?= ../../../../..
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsyncSUB_DEPTH = ../..
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsyncinclude $(KBUILD_PATH)/subheader.kmk
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsyncPROGRAMS += VBoxTray
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsyncVBoxTray_TEMPLATE = VBOXGUESTR3EXE
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsyncifdef VBOX_SIGN_ADDITIONS # (See the parent makefile.)
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync VBoxTray_NOINST = true
af062818b47340eef15700d2f0211576ba3506eevboxsyncendif
af062818b47340eef15700d2f0211576ba3506eevboxsyncVBoxTray_DEFS = VBOX_HGCM LOG_TO_BACKDOOR
af062818b47340eef15700d2f0211576ba3506eevboxsyncVBoxTray_INCS = ../include
af062818b47340eef15700d2f0211576ba3506eevboxsyncVBoxTray_SOURCES = \
af062818b47340eef15700d2f0211576ba3506eevboxsync VBoxTray.cpp \
af062818b47340eef15700d2f0211576ba3506eevboxsync VBoxSeamless.cpp \
af062818b47340eef15700d2f0211576ba3506eevboxsync VBoxClipboard.cpp \
af062818b47340eef15700d2f0211576ba3506eevboxsync VBoxDisplay.cpp \
af062818b47340eef15700d2f0211576ba3506eevboxsync VBoxVRDP.cpp \
af062818b47340eef15700d2f0211576ba3506eevboxsync VBoxRestore.cpp \
af062818b47340eef15700d2f0211576ba3506eevboxsync VBoxStatistics.cpp \
af062818b47340eef15700d2f0211576ba3506eevboxsync VBoxMemBalloon.cpp \
af062818b47340eef15700d2f0211576ba3506eevboxsync helpers.cpp \
af062818b47340eef15700d2f0211576ba3506eevboxsync VBoxTray.rc
af062818b47340eef15700d2f0211576ba3506eevboxsyncVBoxTray_LIBS = \
af062818b47340eef15700d2f0211576ba3506eevboxsync $(VBOX_LIB_IPRT_GUEST_R3)
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync# VBoxTray.cpp uses VBOX_SVN_REV.
af062818b47340eef15700d2f0211576ba3506eevboxsyncVBoxTray.cpp_DEFS += VBOX_SVN_REV=$(VBOX_SVN_REV)
af062818b47340eef15700d2f0211576ba3506eevboxsyncVBoxTray.cpp_DEPS = $(VBOX_SVN_REV_KMK)
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync# The icon location is configurable.
af062818b47340eef15700d2f0211576ba3506eevboxsyncVBoxTray.rc_INCS = $(PATH_VBoxTray)
af062818b47340eef15700d2f0211576ba3506eevboxsyncVBoxTray.rc_DEPS = $(PATH_VBoxTray)/VBoxTray-icon.rc
af062818b47340eef15700d2f0211576ba3506eevboxsyncVBoxTray.rc_CLEAN = $(PATH_VBoxTray)/VBoxTray-icon.rc
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsyncinclude $(KBUILD_PATH)/subfooter.kmk
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync# Icon include file.
af062818b47340eef15700d2f0211576ba3506eevboxsync$(PATH_VBoxTray)/VBoxTray-icon.rc: $(VBOX_WINDOWS_ICON_FILE) Makefile.kmk | $$(call DIRDEP,$$(@D))
af062818b47340eef15700d2f0211576ba3506eevboxsync $(RM) -f $@
af062818b47340eef15700d2f0211576ba3506eevboxsync $(APPEND) $@ 'IDI_VIRTUALBOX ICON DISCARDABLE "$(subst /,\\,$(VBOX_WINDOWS_ICON_FILE))"'
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync