Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 17 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,23 @@
/nbi/engine/native/*/*/dist/
/nb-javac/
/java.source.nbjavac/test/test-nb-javac/nbproject/private/
/apisupport.harness/windows-launcher-src/*.exe
/apisupport.harness/windows-launcher-src/*.res
/ide/launcher/windows/*.exe
/ide/launcher/windows/*.res
/o.n.bootstrap/launcher/windows/*.dll
/o.n.bootstrap/launcher/windows/*.exe
/o.n.bootstrap/launcher/windows/*.res
/harness/apisupport.harness/windows-launcher-src/*.exe
/harness/apisupport.harness/windows-launcher-src/*.res
/nb/ide.launcher/windows/*.exe
/nb/ide.launcher/windows/*.res
/platform/o.n.bootstrap/launcher/windows/*.dll
/platform/o.n.bootstrap/launcher/windows/*.exe
/platform/o.n.bootstrap/launcher/windows/*.res
# Various files that may be generated if the launcher projects are opened in NetBeans 8.2.
/harness/apisupport.harness/windows-launcher-src/nbproject/Makefile-*.mk
/harness/apisupport.harness/windows-launcher-src/nbproject/Package-*.bash
/harness/apisupport.harness/windows-launcher-src/nbproject/private/
/nb/ide.launcher/windows/nbproject/Makefile-*.mk
/nb/ide.launcher/windows/nbproject/Package-*.bash
/nb/ide.launcher/windows/nbproject/private/
/platform/o.n.bootstrap/launcher/windows/nbproject/Makefile-*.mk
/platform/o.n.bootstrap/launcher/windows/nbproject/Package-*.bash
/platform/o.n.bootstrap/launcher/windows/nbproject/private/


# OS generated files #
Expand Down
4 changes: 2 additions & 2 deletions harness/apisupport.harness/release/etc/app.conf
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
# You can also use ${HOME} variable which will be replaced with
# user.home JVM system property value.
#
# The above location variables are valid only in netbeans_default_userdir
# and netbeans_default_cachedir properties.
# The above location variables are valid only in the default_userdir and
# default_cachedir properties.
#
# NOTE: If you specify a non-default userdir path on command line
# (--userdir option) and don't specify a cachedir path (--cachedir option),
Expand Down
16 changes: 8 additions & 8 deletions harness/apisupport.harness/windows-launcher-src/Makefile.mingw
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ all: app64.exe app.exe
clean:
rm -f *.res *.exe

app64.res: app.rc
x86_64-w64-mingw32-windres -oapp64.res -Ocoff app.rc
app64.res: app.rc app.exe.manifest
x86_64-w64-mingw32-windres -oapp64.res -Ocoff -DMANIFEST_FILE=app.exe.manifest app.rc

app64.exe: app.cpp applauncher.cpp app64.res ../../o.n.bootstrap/launcher/windows/utilsfuncs.cpp
x86_64-w64-mingw32-gcc -s -DNBEXEC_DLL='"/lib/nbexec64.dll"' -DARCHITECTURE=64 -Wl,--nxcompat -Wl,--dynamicbase -Wl,--no-seh app.cpp applauncher.cpp app64.res ../../o.n.bootstrap/launcher/windows/utilsfuncs.cpp ../../ide/launcher/windows/nblauncher.cpp -I ../../o.n.bootstrap/launcher/windows/ -oapp64.exe -static -lstdc++ -static-libstdc++ -static-libgcc
app64.exe: app.cpp applauncher.cpp app64.res ../../../platform/o.n.bootstrap/launcher/windows/utilsfuncs.cpp
x86_64-w64-mingw32-gcc -s -DNBEXEC_DLL='"/lib/nbexec64.dll"' -DARCHITECTURE=64 -Wl,--nxcompat -Wl,--dynamicbase -Wl,--no-seh app.cpp applauncher.cpp app64.res ../../../platform/o.n.bootstrap/launcher/windows/utilsfuncs.cpp ../../../nb/ide.launcher/windows/nblauncher.cpp -I ../../../platform/o.n.bootstrap/launcher/windows/ -oapp64.exe -static -lstdc++ -static-libstdc++ -static-libgcc

app.res: app.rc
i686-w64-mingw32-windres -oapp.res -Ocoff app.rc
app.res: app.rc app.exe.manifest
i686-w64-mingw32-windres -oapp.res -Ocoff -DMANIFEST_FILE=app.exe.manifest app.rc

app.exe: app.cpp applauncher.cpp app.res ../../o.n.bootstrap/launcher/windows/utilsfuncs.cpp
i686-w64-mingw32-gcc -s -DNBEXEC_DLL='"/lib/nbexec.dll"' -DARCHITECTURE=32 -Wl,--nxcompat -Wl,--dynamicbase -Wl,--no-seh app.cpp applauncher.cpp app.res ../../o.n.bootstrap/launcher/windows/utilsfuncs.cpp ../../ide/launcher/windows/nblauncher.cpp -I ../../o.n.bootstrap/launcher/windows/ -oapp.exe -static -lstdc++ -static-libstdc++ -static-libgcc
app.exe: app.cpp applauncher.cpp app.res ../../../platform/o.n.bootstrap/launcher/windows/utilsfuncs.cpp
i686-w64-mingw32-gcc -s -DNBEXEC_DLL='"/lib/nbexec.dll"' -DARCHITECTURE=32 -Wl,--nxcompat -Wl,--dynamicbase -Wl,--no-seh app.cpp applauncher.cpp app.res ../../../platform/o.n.bootstrap/launcher/windows/utilsfuncs.cpp ../../../nb/ide.launcher/windows/nblauncher.cpp -I ../../../platform/o.n.bootstrap/launcher/windows/ -oapp.exe -static -lstdc++ -static-libstdc++ -static-libgcc

69 changes: 69 additions & 0 deletions harness/apisupport.harness/windows-launcher-src/app.exe.manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--

Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.

-->
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity version="9.0.0.0"
processorArchitecture="x86"
name="app.exe"
type="win32"/>

<description>NBP application process</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
<!-- Identify the application security requirements. -->
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel
level="asInvoker"
uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
<!-- NETBEANS-1227: Indicate the same HiDPI capabilities as javaw.exe from JDK 11. -->
<asmv3:application xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
<asmv3:windowsSettings xmlns:dpi1="http://schemas.microsoft.com/SMI/2005/WindowsSettings" xmlns:dpi2="http://schemas.microsoft.com/SMI/2016/WindowsSettings">
<dpi1:dpiAware>true/PM</dpi1:dpiAware>
<dpi2:dpiAwareness>PerMonitorV2, PerMonitor, system</dpi2:dpiAwareness>
</asmv3:windowsSettings>
</asmv3:application>
<!-- List of explicitly supported Windows versions. This is the list from
javaw.exe on JDK 8.0.172, which is the same as that of JDK 11ea. -->
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
</application>
</compatibility>
</assembly>
4 changes: 4 additions & 0 deletions harness/apisupport.harness/windows-launcher-src/app.rc
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,9 @@
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.

#include <winuser.h>

100 ICON "app.ico"

// Value MANIFEST_FILE id taken from windres parameter -DMANIFEST_FILE
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST MANIFEST_FILE
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
*/

#include "applauncher.h"
#include "../../o.n.bootstrap/launcher/windows/utilsfuncs.h"
#include "../../o.n.bootstrap/launcher/windows/argnames.h"
#include "../../../platform/o.n.bootstrap/launcher/windows/utilsfuncs.h"
#include "../../../platform/o.n.bootstrap/launcher/windows/argnames.h"

using namespace std;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <windows.h>

#include "shlobj.h"
#include "../../ide/launcher/windows/nblauncher.h"
#include "../../../nb/ide.launcher/windows/nblauncher.h"

class AppLauncher : public NbLauncher {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
displayName="Header Files"
projectFiles="true">
<itemPath>applauncher.h</itemPath>
<itemPath>../../ide/launcher/windows/nblauncher.h</itemPath>
<itemPath>../../o.n.bootstrap/launcher/windows/utilsfuncs.h</itemPath>
<itemPath>../../../nb/ide.launcher/windows/nblauncher.h</itemPath>
<itemPath>../../../platform/o.n.bootstrap/launcher/windows/utilsfuncs.h</itemPath>
</logicalFolder>
<logicalFolder name="ResourceFiles"
displayName="Resource Files"
Expand All @@ -37,8 +37,8 @@
projectFiles="true">
<itemPath>app.cpp</itemPath>
<itemPath>applauncher.cpp</itemPath>
<itemPath>../../ide/launcher/windows/nblauncher.cpp</itemPath>
<itemPath>../../o.n.bootstrap/launcher/windows/utilsfuncs.cpp</itemPath>
<itemPath>../../../nb/ide.launcher/windows/nblauncher.cpp</itemPath>
<itemPath>../../../platform/o.n.bootstrap/launcher/windows/utilsfuncs.cpp</itemPath>
</logicalFolder>
<logicalFolder name="ExternalFiles"
displayName="Important Files"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ all: netbeans64.exe netbeans.exe
clean:
rm -f *.res *.exe

netbeans64.res: netbeans.rc
netbeans64.res: netbeans.rc netbeans64.exe.manifest
x86_64-w64-mingw32-windres -onetbeans64.res -Ocoff -DMANIFEST_FILE=netbeans64.exe.manifest netbeans.rc

netbeans64.exe: netbeans.cpp nblauncher.cpp netbeans64.res ../../../o.n.bootstrap/launcher/windows/utilsfuncs.cpp
x86_64-w64-mingw32-gcc -s -DNBEXEC_DLL='"/lib/nbexec64.dll"' -DARCHITECTURE=64 -Wl,--nxcompat -Wl,--dynamicbase -Wl,--no-seh netbeans.cpp nblauncher.cpp netbeans64.res ../../../o.n.bootstrap/launcher/windows/utilsfuncs.cpp -I ../../../o.n.bootstrap/launcher/windows/ -onetbeans64.exe -static -lstdc++ -static-libstdc++ -static-libgcc
netbeans64.exe: netbeans.cpp nblauncher.cpp netbeans64.res ../../../platform/o.n.bootstrap/launcher/windows/utilsfuncs.cpp
x86_64-w64-mingw32-gcc -s -DNBEXEC_DLL='"/lib/nbexec64.dll"' -DARCHITECTURE=64 -Wl,--nxcompat -Wl,--dynamicbase -Wl,--no-seh netbeans.cpp nblauncher.cpp netbeans64.res ../../../platform/o.n.bootstrap/launcher/windows/utilsfuncs.cpp -I ../../../platform/o.n.bootstrap/launcher/windows/ -onetbeans64.exe -static -lstdc++ -static-libstdc++ -static-libgcc

netbeans.res: netbeans.rc
netbeans.res: netbeans.rc netbeans.exe.manifest
i686-w64-mingw32-windres -onetbeans.res -Ocoff -DMANIFEST_FILE=netbeans.exe.manifest netbeans.rc

netbeans.exe: netbeans.cpp nblauncher.cpp netbeans.res ../../../o.n.bootstrap/launcher/windows/utilsfuncs.cpp
i686-w64-mingw32-gcc -s -DNBEXEC_DLL='"/lib/nbexec.dll"' -DARCHITECTURE=32 -Wl,--nxcompat -Wl,--dynamicbase -Wl,--no-seh netbeans.cpp nblauncher.cpp netbeans.res ../../../o.n.bootstrap/launcher/windows/utilsfuncs.cpp -I ../../../o.n.bootstrap/launcher/windows/ -onetbeans.exe -static -lstdc++ -static-libstdc++ -static-libgcc
netbeans.exe: netbeans.cpp nblauncher.cpp netbeans.res ../../../platform/o.n.bootstrap/launcher/windows/utilsfuncs.cpp
i686-w64-mingw32-gcc -s -DNBEXEC_DLL='"/lib/nbexec.dll"' -DARCHITECTURE=32 -Wl,--nxcompat -Wl,--dynamicbase -Wl,--no-seh netbeans.cpp nblauncher.cpp netbeans.res ../../../platform/o.n.bootstrap/launcher/windows/utilsfuncs.cpp -I ../../../platform/o.n.bootstrap/launcher/windows/ -onetbeans.exe -static -lstdc++ -static-libstdc++ -static-libgcc
6 changes: 3 additions & 3 deletions nb/ide.launcher/windows/nblauncher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@

#include <shlobj.h>
#include "nblauncher.h"
#include "../../../o.n.bootstrap/launcher/windows/utilsfuncs.h"
#include "../../../o.n.bootstrap/launcher/windows/argnames.h"
#include "../../../o.n.bootstrap/launcher/windows/nbexecloader.h"
#include "../../../platform/o.n.bootstrap/launcher/windows/utilsfuncs.h"
#include "../../../platform/o.n.bootstrap/launcher/windows/argnames.h"
#include "../../../platform/o.n.bootstrap/launcher/windows/nbexecloader.h"

using namespace std;

Expand Down
12 changes: 6 additions & 6 deletions nb/ide.launcher/windows/nbproject/configurations.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
projectFiles="true">
<itemPath>cmdargs.h</itemPath>
<itemPath>nblauncher.h</itemPath>
<itemPath>../../../o.n.bootstrap/launcher/windows/utilsfuncs.h</itemPath>
<itemPath>../../../platform/o.n.bootstrap/launcher/windows/utilsfuncs.h</itemPath>
<itemPath>version.h</itemPath>
</logicalFolder>
<logicalFolder name="ResourceFiles"
Expand All @@ -42,7 +42,7 @@
projectFiles="true">
<itemPath>nblauncher.cpp</itemPath>
<itemPath>netbeans.cpp</itemPath>
<itemPath>../../../o.n.bootstrap/launcher/windows/utilsfuncs.cpp</itemPath>
<itemPath>../../../platform/o.n.bootstrap/launcher/windows/utilsfuncs.cpp</itemPath>
</logicalFolder>
<logicalFolder name="ExternalFiles"
displayName="Important Files"
Expand Down Expand Up @@ -77,12 +77,12 @@
<commandLine>-mwindows -Wl,--nxcompat -Wl,--dynamicbase -Wl,--no-seh</commandLine>
</linkerTool>
</compileType>
<item path="../../../o.n.bootstrap/launcher/windows/utilsfuncs.cpp"
<item path="../../../platform/o.n.bootstrap/launcher/windows/utilsfuncs.cpp"
ex="false"
tool="1"
flavor2="0">
</item>
<item path="../../../o.n.bootstrap/launcher/windows/utilsfuncs.h"
<item path="../../../platform/o.n.bootstrap/launcher/windows/utilsfuncs.h"
ex="false"
tool="3"
flavor2="0">
Expand Down Expand Up @@ -131,12 +131,12 @@
<commandLine>-mwindows -Wl,--nxcompat -Wl,--dynamicbase</commandLine>
</linkerTool>
</compileType>
<item path="../../../o.n.bootstrap/launcher/windows/utilsfuncs.cpp"
<item path="../../../platform/o.n.bootstrap/launcher/windows/utilsfuncs.cpp"
ex="false"
tool="1"
flavor2="0">
</item>
<item path="../../../o.n.bootstrap/launcher/windows/utilsfuncs.h"
<item path="../../../platform/o.n.bootstrap/launcher/windows/utilsfuncs.h"
ex="false"
tool="3"
flavor2="0">
Expand Down
22 changes: 21 additions & 1 deletion nb/ide.launcher/windows/netbeans.exe.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
name="netbeans.exe"
type="win32"/>

<description>nbexec Process.</description>
<description>NetBeans IDE process</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
Expand All @@ -48,4 +48,24 @@
</requestedPrivileges>
</security>
</trustInfo>
<!-- NETBEANS-1227: Indicate the same HiDPI capabilities as javaw.exe from JDK 11. -->
<!-- Note that even 32-bit Java 10.0.2 indicates HiDPI-awareness, so it should
be fine to include it here as well. -->
<asmv3:application xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
<asmv3:windowsSettings xmlns:dpi1="http://schemas.microsoft.com/SMI/2005/WindowsSettings" xmlns:dpi2="http://schemas.microsoft.com/SMI/2016/WindowsSettings">
<dpi1:dpiAware>true/PM</dpi1:dpiAware>
<dpi2:dpiAwareness>PerMonitorV2, PerMonitor, system</dpi2:dpiAwareness>
</asmv3:windowsSettings>
</asmv3:application>
<!-- List of explicitly supported Windows versions. This is the list from
javaw.exe on JDK 8.0.172, which is the same as that of JDK 11ea. -->
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
</application>
</compatibility>
</assembly>
24 changes: 22 additions & 2 deletions nb/ide.launcher/windows/netbeans64.exe.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@

-->
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<!-- Use processorArchitecture="x86", which is the value used by the 64-bit
javaw.exe on Java 10.0.2 and Java 11ea. -->
<assemblyIdentity version="9.0.0.0"
processorArchitecture="ia64"
processorArchitecture="x86"
name="netbeans64.exe"
type="win32"/>

<description>nbexec Process.</description>
<description>NetBeans IDE process</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
Expand All @@ -48,4 +50,22 @@
</requestedPrivileges>
</security>
</trustInfo>
<!-- NETBEANS-1227: Indicate the same HiDPI capabilities as javaw.exe from JDK 11. -->
<asmv3:application xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
<asmv3:windowsSettings xmlns:dpi1="http://schemas.microsoft.com/SMI/2005/WindowsSettings" xmlns:dpi2="http://schemas.microsoft.com/SMI/2016/WindowsSettings">
<dpi1:dpiAware>true/PM</dpi1:dpiAware>
<dpi2:dpiAwareness>PerMonitorV2, PerMonitor, system</dpi2:dpiAwareness>
</asmv3:windowsSettings>
</asmv3:application>
<!-- List of explicitly supported Windows versions. This is the list from
javaw.exe on JDK 8.0.172, which is the same as that of JDK 11ea. -->
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
</application>
</compatibility>
</assembly>
8 changes: 4 additions & 4 deletions platform/o.n.bootstrap/launcher/windows/Makefile.mingw
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ nbexec64.res: nbexec.rc
nbexec64.dll: include/jni.h include/jni_types.h jvmlauncher.cpp nbexec.cpp platformlauncher.cpp utilsfuncs.cpp nbexec64.res
x86_64-w64-mingw32-gcc -s -shared -m64 -o nbexec64.dll -I include jvmlauncher.cpp nbexec.cpp platformlauncher.cpp utilsfuncs.cpp nbexec64.res -Wl,--no-insert-timestamp -static -lstdc++ -static-libstdc++ -static-libgcc

nbexec_exe64.res: nbexec_exe.rc
x86_64-w64-mingw32-windres -onbexec_exe64.res -Ocoff nbexec_exe.rc
nbexec_exe64.res: nbexec_exe.rc nbexec.exe.manifest
x86_64-w64-mingw32-windres -onbexec_exe64.res -Ocoff -DMANIFEST_FILE=nbexec.exe.manifest nbexec_exe.rc

nbexec64.exe: nbexecexe.cpp utilsfuncs.cpp nbexec_exe64.res
x86_64-w64-mingw32-gcc -s -DNBEXEC_DLL='"nbexec64.dll"' -DARCHITECTURE=64 -Wl,--nxcompat -Wl,--dynamicbase -Wl,--no-seh -Wl,--no-insert-timestamp nbexecexe.cpp utilsfuncs.cpp nbexec_exe64.res -onbexec64.exe -static -lstdc++ -static-libstdc++ -static-libgcc
Expand All @@ -38,8 +38,8 @@ nbexec.res: nbexec.rc
nbexec.dll: include/jni.h include/jni_types.h jvmlauncher.cpp nbexec.cpp platformlauncher.cpp utilsfuncs.cpp nbexec.res
i686-w64-mingw32-gcc -s -shared -o nbexec.dll -I include jvmlauncher.cpp nbexec.cpp platformlauncher.cpp utilsfuncs.cpp nbexec.res -static -Wl,--no-insert-timestamp -lstdc++ -static-libstdc++ -static-libgcc

nbexec_exe.res: nbexec_exe.rc
i686-w64-mingw32-windres -onbexec_exe.res -Ocoff nbexec_exe.rc
nbexec_exe.res: nbexec_exe.rc nbexec.exe.manifest
i686-w64-mingw32-windres -onbexec_exe.res -Ocoff -DMANIFEST_FILE=nbexec.exe.manifest nbexec_exe.rc

nbexec.exe: nbexecexe.cpp utilsfuncs.cpp nbexec_exe.res
i686-w64-mingw32-gcc -s -DNBEXEC_DLL='"nbexec.dll"' -DARCHITECTURE=32 -Wl,--nxcompat -Wl,--dynamicbase -Wl,--no-seh -Wl,--no-insert-timestamp nbexecexe.cpp utilsfuncs.cpp nbexec_exe.res -onbexec.exe -static -lstdc++ -static-libstdc++ -static-libgcc
Loading