VirtualBox

source: vbox/trunk/src/VBox/Installer/win/MsiHack/Makefile.kmk@ 100108

Last change on this file since 100108 was 98144, checked in by vboxsync, 23 months ago

Installer/win: s/VBOXR3STATIC/VBoxR3Static/ bugref:10348

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.6 KB
Line 
1# $Id: Makefile.kmk 98144 2023-01-19 14:52:34Z vboxsync $
2## @file
3# Sub-Makefile for the MsiHack.dll and MsiHackExtension.dll experiment.
4#
5
6#
7# Copyright (C) 2016-2023 Oracle and/or its affiliates.
8#
9# This file is part of VirtualBox base platform packages, as
10# available from https://www.virtualbox.org.
11#
12# This program is free software; you can redistribute it and/or
13# modify it under the terms of the GNU General Public License
14# as published by the Free Software Foundation, in version 3 of the
15# License.
16#
17# This program is distributed in the hope that it will be useful, but
18# WITHOUT ANY WARRANTY; without even the implied warranty of
19# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20# General Public License for more details.
21#
22# You should have received a copy of the GNU General Public License
23# along with this program; if not, see <https://www.gnu.org/licenses>.
24#
25# SPDX-License-Identifier: GPL-3.0-only
26#
27
28SUB_DEPTH = ../../../../..
29include $(KBUILD_PATH)/subheader.kmk
30
31DLLS += MsiHack
32MsiHack_TEMPLATE = VBoxR3StaticDll
33MsiHack_BLD_TRG_ARCH = x86
34MsiHack_SOURCES = MsiHack.cpp
35
36ifndef windir
37 windir = C:/Windows
38endif
39VBOX_DOT_NET_COMPILER = $(firstword $(rsort $(wildcard $(windir)/Microsoft.NET/Framework/*/csc.exe)) csc.exe)
40
41OTHERS += $(MsiHack_0_OUTDIR)/MsiHackExtension.dll
42$$(MsiHack_0_OUTDIR)/MsiHackExtension.dll: $(PATH_SUB_CURRENT)/MsiHackExtension.cs $(MAKEFILE) | $$(dir $$@)
43 $(VBOX_DOT_NET_COMPILER) /nologo \
44 /out:$@ \
45 /target:library \
46 /reference:$(VBOX_PATH_WIX)/wix.dll \
47 $(subst /,\\,$<)
48
49MsiHackExtension.dll: $$(MsiHack_0_OUTDIR)/MsiHackExtension.dll
50
51include $(FILE_KBUILD_SUB_FOOTER)
52
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