VirtualBox

source: vbox/trunk/src/VBox/Installer/win/Resources/Makefile.kmk@ 34314

Last change on this file since 34314 was 34314, checked in by vboxsync, 14 years ago

Added VBoxRes.dll for shared resources which are presented to the running (guest) OS.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.7 KB
Line 
1# $Id: Makefile.kmk 34314 2010-11-24 12:45:20Z vboxsync $
2## @file
3# Sub-Makefile for VBoxRes.dll.
4#
5
6#
7# Copyright (C) 2010 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
21DLLS += VBoxRes
22VBoxRes_TEMPLATE = VBOXR3STATIC
23VBoxRes_DEPS = $(VBOX_SVN_REV_KMK)
24VBoxRes_SOURCES = \
25 VBoxRes.rc
26
27# The icon location is configurable.
28VBoxRes.rc_INCS += $(PATH_VBoxRes)
29VBoxRes.rc_DEPS += $(PATH_VBoxRes)/VBoxRes-icons.rc
30VBoxRes.rc_CLEAN = $(PATH_VBoxRes)/VBoxRes-icons.rc
31
32# The resource path.
33VBOX_RESOURCES_WIN := $(subst /,\\,$(PATH_ROOT))/src/VBox/Resources/win
34
35# Icon include file.
36$$(PATH_VBoxRes)/VBoxRes-icons.rc: \
37 $$(VBOX_WINDOWS_ICON_FILE) $(MAKEFILE_CURRENT) | $$(dir $$@)
38 $(RM) -f $@
39 $(APPEND) $@ 'IDI_VIRTUALBOX ICON DISCARDABLE "$(subst /,\\,$(VBOX_WINDOWS_ICON_FILE))"'
40 $(APPEND) $@ 'IDI_FILETYPE_VBOX ICON DISCARDABLE "$(subst /,\\,$(VBOX_RESOURCES_WIN))\virtualbox-vbox.ico"'
41 $(APPEND) $@ 'IDI_FILETYPE_VBOX_EXTPACK ICON DISCARDABLE "$(subst /,\\,$(VBOX_RESOURCES_WIN))\virtualbox-vbox-extpack.ico"'
42 $(APPEND) $@ 'IDI_FILETYPE_VBOX_OVA ICON DISCARDABLE "$(subst /,\\,$(VBOX_RESOURCES_WIN))\virtualbox-ova.ico"'
43 $(APPEND) $@ 'IDI_FILETYPE_VBOX_OVF ICON DISCARDABLE "$(subst /,\\,$(VBOX_RESOURCES_WIN))\virtualbox-ovf.ico"'
44
45include $(KBUILD_PATH)/subfooter.kmk
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette