VirtualBox

source: vbox/trunk/src/VBox/Installer/win/InstallHelper/Makefile.kmk@ 93391

Last change on this file since 93391 was 93341, checked in by vboxsync, 3 years ago

/Config.kmk,HostDrivers,Installer/win: Added a VBoxR3StaticDllNoAsan template variation to make the installer work better for ASAN builds. bugref:8489 bugref:9841

  • 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 93341 2022-01-19 10:53:38Z vboxsync $
2## @file
3# Sub-Makefile for VBoxInstallHelper.dll.
4#
5
6#
7# Copyright (C) 2008-2022 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
21
22DLLS += VBoxInstallHelper
23VBoxInstallHelper_TEMPLATE = VBoxR3StaticDllNoAsan
24VBoxInstallHelper_SDKS = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK)
25VBoxInstallHelper_DEFS = _WIN32_WINNT=0x0501 _UNICODE UNICODE VBOX_SVN_REV=$(VBOX_SVN_REV)
26ifdef VBOX_WITH_NETFLT
27 VBoxInstallHelper_SDKS += VBOX_WIN_NEWDEV
28 VBoxInstallHelper_DEFS += VBOX_WITH_NETFLT=1
29endif
30VBoxInstallHelper_DEPS = $(VBOX_SVN_REV_KMK)
31VBoxInstallHelper_SOURCES = \
32 VBoxInstallHelper.cpp \
33 VBoxInstallHelper.def \
34 VBoxInstallHelper.rc \
35 VBoxCommon.cpp
36ifndef VBOX_OSE
37 VBoxInstallHelper_SOURCES += \
38 internal/VBoxSerial.cpp
39endif
40VBoxInstallHelper_LIBS = \
41 $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Msi.lib
42ifdef VBOX_WITH_NETFLT
43 VBoxInstallHelper_LIBS += \
44 $(PATH_STAGE_LIB)/WinNetConfig.lib \
45 $(PATH_STAGE_LIB)/VBoxDrvCfg.lib \
46 $(PATH_TOOL_$(VBOX_VCC_TOOL)_LIB)/comsupp.lib \
47 $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/WbemUuid.Lib
48endif
49
50if "$(KBUILD_TARGET)" == "win" && defined(VBOX_WITH_TESTCASES) && !defined(VBOX_OSE)
51 include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
52endif
53
54include $(FILE_KBUILD_SUB_FOOTER)
55
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