VirtualBox

source: vbox/trunk/src/VBox/Installer/win/Stub/Makefile.kmk@ 31659

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

export Windows installer to OSE

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.3 KB
Line 
1# $Id: Makefile.kmk 31659 2010-08-13 15:13:08Z vboxsync $
2## @file
3# Sub-Makefile for the stub installer.
4#
5
6#
7# Copyright (C) 2009 Oracle Corporation
8#
9# Oracle Corporation confidential
10# All rights reserved
11#
12
13SUB_DEPTH = ../../../../..
14include $(KBUILD_PATH)/subheader.kmk
15
16# This has to be 32-bit, so don't include it in the 64-bit build.
17if "$(KBUILD_TARGET_ARCH)" == "x86"
18
19TEMPLATE_VBOXSTUB = Drop the signing, we will sign it later.
20TEMPLATE_VBOXSTUB_EXTENDS = VBOXR3STATIC
21TEMPLATE_VBOXSTUB_POST_CMDS = $(NO_SUCH_VARIABLE)
22
23PROGRAMS.x86 += VBoxStub
24VBoxStub_TEMPLATE= VBOXSTUB
25VBoxStub_DEFS = _WIN32_WINNT=0x0400 IN_RT_R3
26VBoxStub_SOURCES = \
27 VBoxStub.cpp \
28 VBoxStub.rc
29VBoxStub_SDKS += \
30 VBOX_NTDLL
31VBoxStub_LIBS = \
32 $(VBOX_LIB_RUNTIME_STATIC) \
33 $(PATH_SDK_W2K3DDK_LIB)\Msi.lib
34
35VBoxStub.cpp_DEFS += VBOX_SVN_REV=$(VBOX_SVN_REV)
36VBoxStub.cpp_DEPS = $(VBOX_SVN_REV_KMK)
37
38# The icon location is configurable.
39VBoxStub.rc_INCS += $(PATH_VBoxStub)
40VBoxStub.rc_DEPS += $(PATH_VBoxStub)/VBoxStub-icon.rc
41VBoxStub.rc_CLEAN = $(PATH_VBoxStub)/VBoxStub-icon.rc
42
43# Icon include file.
44$$(PATH_VBoxStub)/VBoxStub-icon.rc: $(VBOX_WINDOWS_ICON_FILE) $(MAKEFILE_CURRENT) | $$(dir $$@)
45 $(APPEND) -t $@ 'IDI_VIRTUALBOX ICON DISCARDABLE "$(subst /,\\,$(VBOX_WINDOWS_ICON_FILE))"'
46
47endif # x86 only
48
49include $(KBUILD_PATH)/subfooter.kmk
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