Skip to content

Commit

Permalink
Add libw2k_lsa_auth project. Empty currently.
Browse files Browse the repository at this point in the history
  • Loading branch information
wasabii committed Sep 5, 2023
1 parent 74c7608 commit 9f0e7f8
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 0 deletions.
6 changes: 6 additions & 0 deletions IKVM.sln
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IKVM.Image.runtime.win7-x86
EndProject
Project("{6DE1C62B-E8D7-451A-8734-87EAEB46E35B}") = "libawt", "src\libawt\libawt.clangproj", "{93B43F23-23B1-4968-951E-DC9A447D6F0E}"
EndProject
Project("{6DE1C62B-E8D7-451A-8734-87EAEB46E35B}") = "libw2k_lsa_auth", "src\libw2k_lsa_auth\libw2k_lsa_auth.clangproj", "{78A745D7-706A-4B33-9D21-0EB7B5144C42}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -784,6 +786,10 @@ Global
{93B43F23-23B1-4968-951E-DC9A447D6F0E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{93B43F23-23B1-4968-951E-DC9A447D6F0E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{93B43F23-23B1-4968-951E-DC9A447D6F0E}.Release|Any CPU.Build.0 = Release|Any CPU
{78A745D7-706A-4B33-9D21-0EB7B5144C42}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{78A745D7-706A-4B33-9D21-0EB7B5144C42}.Debug|Any CPU.Build.0 = Debug|Any CPU
{78A745D7-706A-4B33-9D21-0EB7B5144C42}.Release|Any CPU.ActiveCfg = Release|Any CPU
{78A745D7-706A-4B33-9D21-0EB7B5144C42}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
1 change: 1 addition & 0 deletions src/IKVM.Image-bin/IKVM.Image-bin.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<_ReferencedClangProjects Include="$(MSBuildThisFileDirectory)..\libsunec\libsunec.clangproj" />
<_ReferencedClangProjects Include="$(MSBuildThisFileDirectory)..\libsunmscapi\libsunmscapi.clangproj" SupportedRuntimes="win7-x64;win7-x86;win10-arm64" />
<_ReferencedClangProjects Include="$(MSBuildThisFileDirectory)..\libawt\libawt.clangproj" />
<_ReferencedClangProjects Include="$(MSBuildThisFileDirectory)..\libw2k_lsa_auth\libw2k_lsa_auth.clangproj" SupportedRuntimes="win7-x64;win7-x86;win10-arm64" />
</ItemGroup>

<Target Name="GetClangProjectReferencesByRuntime" Inputs="@(_ReferencedClangProjects)" Outputs="%(_ReferencedClangProjects.Identity)\null" BeforeTargets="AssignClangProjectConfiguration">
Expand Down
15 changes: 15 additions & 0 deletions src/libw2k_lsa_auth/jni_onload.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#include <jni.h>

/**
* Dummy method to prevent dlsym from loading JNI_OnLoad from libiava.
*/
JNIEXPORT jint JNI_OnLoad(JavaVM* vm, void* reserved) {
return JNI_VERSION_1_8;
}

/**
* Dummy method to prevent dlsym from loading JNI_OnUnload from libiava.
*/
JNIEXPORT void JNI_OnUnload(JavaVM* vm, void* reserved) {

}
20 changes: 20 additions & 0 deletions src/libw2k_lsa_auth/libw2k_lsa_auth.clangproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<Project>
<Import Sdk="IKVM.Clang.Sdk" Project="Sdk.props" />
<Import Project="$(MSBuildThisFileDirectory)..\..\targets\openjdk.lib.props" />
<PropertyGroup Label="Globals">
<ProjectGuid>78a745d7-706a-4b33-9d21-0eb7b5144c42</ProjectGuid>
</PropertyGroup>
<PropertyGroup>
<TargetIdentifiers>win7-x64;win7-x86;win10-arm64</TargetIdentifiers>
<TargetName>w2k_lsa_auth</TargetName>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\libjvm\libjvm.clangproj" />
</ItemGroup>
<ItemGroup>
<Compile Include="**\*.cpp" />
<Compile Include="**\*.c" />
</ItemGroup>
<Import Sdk="IKVM.Clang.Sdk" Project="Sdk.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\..\targets\openjdk.lib.targets" />
</Project>

0 comments on commit 9f0e7f8

Please sign in to comment.