Compare commits

...

11 Commits

17
.gitignore vendored

@ -137,7 +137,9 @@ test/test_mails/ENGINE-654_bob_mail.eml
codegen/generated/
codegen/*.gen
codegen/*.agen
.copy
.generated
# Don't remove these if you want to live a long life. It's necessary because it doesn't get cleaned up between branches.
sync/generated
@ -155,3 +157,18 @@ test/test_mails/default_keys_test_*.eml
# I prefix my off-git files and directories with an underscore.
_*
# ignore pseudo target
install_headers
# Visual Studio
*.user
*.filters
# local install
include
lib

@ -0,0 +1,6 @@
YML2PROC=py "%YML_HOME%\yml2proc"
ASN1C=asn1c
!IF EXISTS(local.mak)
!include local.mak
!ENDIF

@ -21,13 +21,7 @@ ifeq ($(BUILD_FOR),Linux)
CPPFLAGS+=-U_REENTRANT
endif
DISTRIBUTION = distribution keyreset managedgroup exploration echo
SYNC = sync keysync trustsync groupsync
STORAGE = storage messagestorage
DISTRIBUTION_FILES = $(addsuffix .asn1, $(DISTRIBUTION))
SYNC_FILES = $(addsuffix .asn1, $(SYNC))
STORAGE_FILES = $(addsuffix .asn1, $(STORAGE))
include files.mak
.PHONY: all clean install uninstall
@ -40,7 +34,7 @@ libasn1.a: $(ALL_OBJECTS)
%.o: %.c %.h
$(CC) $(CFLAGS) $(CPPFLAGS) $(OPTIMIZE) $(ASN1C_INC) -c $< -o $@
Sync.c: $(SYNC_FILES) $(DISTRIBUTION_FILES) pEp.asn1 # positrontofdik: is it correct that $(DISTRIBUTION_FILES) is among the dependencies? I would guess not
Sync.c: $(SYNC_FILES) pEp.asn1
$(ASN1C) -gen-PER $(ASN1C_OPTIONS) $+
rm -f converter-sample.c
touch Sync.c

@ -0,0 +1,51 @@
# This file is under GNU General Public License 3.0
# see LICENSE.txt
# other than on Unix this NMakefile does only the code generation part
# the library build is in build-win64 in the Visual Studio project
ASN1C_INC= -I.
!include ..\NMakefile.mak
ASN1C_OPTIONS = -fincludes-quoted -fcompound-names -pdu=auto
all: Sync.c Storage.c ASN1Message.c config.h
!include files.mak
Sync.c: $(SYNC_FILES) pEp.asn1
$(ASN1C) -gen-PER $(ASN1C_OPTIONS) $(SYNC_FILES) pEp.asn1
del /f converter-sample.c *.sample 2>nul
touch Sync.c
# These files are generated with Sync.c because of the dependency
#
# Distribution.c: $(DISTRIBUTION_FILES) pEp.asn1
# $(ASN1C) -gen-PER $(ASN1C_OPTIONS) $(DISTRIBUTION_FILES) pEp.asn1
# del /f converter-sample.c 2>nul
Storage.c: $(STORAGE_FILES) pEp.asn1
$(ASN1C) -gen-PER $(ASN1C_OPTIONS) $(STORAGE_FILES) pEp.asn1
del /f converter-sample.c *.sample 2>nul
touch Storage.c
ASN1Message.c: message.asn1 pEp.asn1
$(ASN1C) -gen-PER $(ASN1C_OPTIONS) message.asn1 pEp.asn1
del /f converter-sample.c *.sample 2>nul
touch ASN1Message.c
config.h:
echo // Windows specifica > config.h
echo.>> config.h
echo // __attribute__() is GCC only >> config.h
echo #define __attribute__(X) >> config.h
echo.>> config.h
echo // pEp is always using UTC >> config.h
echo #define timezone 0 >> config.h
echo.>> config.h
echo // disable security warnings for asn1c generated code >> config.h
echo #define _CRT_SECURE_NO_WARNINGS >> config.h
clean:
del /f/q *.c *.h

@ -0,0 +1,5 @@
# common for Unix and Windows build
DISTRIBUTION_FILES = distribution.asn1 keyreset.asn1 managedgroup.asn1 exploration.asn1 echo.asn1
SYNC_FILES = sync.asn1 keysync.asn1 trustsync.asn1 groupsync.asn1 $(DISTRIBUTION_FILES)
STORAGE_FILES = storage.asn1 messagestorage.asn1

@ -0,0 +1,19 @@
// dllmain.cpp : Definiert den Einstiegspunkt für die DLL-Anwendung.
#include "pch.h"
BOOL APIENTRY DllMain( HMODULE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}

@ -0,0 +1,5 @@
#pragma once
#define WIN32_LEAN_AND_MEAN // Selten verwendete Komponenten aus Windows-Headern ausschließen
// Windows-Headerdateien
#include <windows.h>

@ -0,0 +1,96 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<VCProjectVersion>17.0</VCProjectVersion>
<ProjectGuid>{6AFF5A82-8D32-456C-B822-E977761B4F9B}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Makefile</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Makefile</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Makefile</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Makefile</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<NMakeBuildCommandLine>cd ..\asn.1 &amp;&amp; nmake /f NMakefile</NMakeBuildCommandLine>
<NMakeCleanCommandLine>cd ..\asn.1 &amp;&amp; nmake /f NMakefile clean</NMakeCleanCommandLine>
<NMakeReBuildCommandLine>cd ..\asn.1 &amp;&amp; nmake /f NMakefile clean all</NMakeReBuildCommandLine>
<NMakePreprocessorDefinitions>_DEBUG;$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<NMakeBuildCommandLine>cd ..\asn.1 &amp;&amp; nmake /f NMakefile</NMakeBuildCommandLine>
<NMakeCleanCommandLine>cd ..\asn.1 &amp;&amp; nmake /f NMakefile clean</NMakeCleanCommandLine>
<NMakeReBuildCommandLine>cd ..\asn.1 &amp;&amp; nmake /f NMakefile clean all</NMakeReBuildCommandLine>
<NMakePreprocessorDefinitions>WIN32;_DEBUG;$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<NMakeBuildCommandLine>cd ..\asn.1 &amp;&amp; nmake /f NMakefile</NMakeBuildCommandLine>
<NMakeCleanCommandLine>cd ..\asn.1 &amp;&amp; nmake /f NMakefile clean</NMakeCleanCommandLine>
<NMakeReBuildCommandLine>cd ..\asn.1 &amp;&amp; nmake /f NMakefile clean all</NMakeReBuildCommandLine>
<NMakePreprocessorDefinitions>WIN32;NDEBUG;$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<NMakeBuildCommandLine>cd ..\asn.1 &amp;&amp; nmake /f NMakefile</NMakeBuildCommandLine>
<NMakeCleanCommandLine>cd ..\asn.1 &amp;&amp; nmake /f NMakefile clean</NMakeCleanCommandLine>
<NMakeReBuildCommandLine>cd ..\asn.1 &amp;&amp; nmake /f NMakefile clean all</NMakeReBuildCommandLine>
<NMakePreprocessorDefinitions>NDEBUG;$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions>
</PropertyGroup>
<ItemDefinitionGroup>
</ItemDefinitionGroup>
<ItemGroup>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

@ -0,0 +1,96 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<VCProjectVersion>17.0</VCProjectVersion>
<ProjectGuid>{930E3CFD-65A3-4281-B0A9-790180C1A99B}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Makefile</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Makefile</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Makefile</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Makefile</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<NMakeBuildCommandLine>cd ..\codegen &amp;&amp; nmake /f NMakefile</NMakeBuildCommandLine>
<NMakeCleanCommandLine>cd ..\codegen &amp;&amp; nmake /f NMakefile clean</NMakeCleanCommandLine>
<NMakeReBuildCommandLine>cd ..\codegen &amp;&amp; nmake /f NMakefile clean all</NMakeReBuildCommandLine>
<NMakePreprocessorDefinitions>_DEBUG;$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<NMakeBuildCommandLine>cd ..\codegen &amp;&amp; nmake /f NMakefile</NMakeBuildCommandLine>
<NMakeCleanCommandLine>cd ..\codegen &amp;&amp; nmake /f NMakefile clean</NMakeCleanCommandLine>
<NMakeReBuildCommandLine>cd ..\codegen &amp;&amp; nmake /f NMakefile clean all</NMakeReBuildCommandLine>
<NMakePreprocessorDefinitions>WIN32;_DEBUG;$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<NMakeBuildCommandLine>cd ..\codegen &amp;&amp; nmake /f NMakefile</NMakeBuildCommandLine>
<NMakeCleanCommandLine>cd ..\codegen &amp;&amp; nmake /f NMakefile clean</NMakeCleanCommandLine>
<NMakeReBuildCommandLine>cd ..\codegen &amp;&amp; nmake /f NMakefile clean all</NMakeReBuildCommandLine>
<NMakePreprocessorDefinitions>WIN32;NDEBUG;$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<NMakeBuildCommandLine>cd ..\codegen &amp;&amp; nmake /f NMakefile</NMakeBuildCommandLine>
<NMakeCleanCommandLine>cd ..\codegen &amp;&amp; nmake /f NMakefile clean</NMakeCleanCommandLine>
<NMakeReBuildCommandLine>cd ..\codegen &amp;&amp; nmake /f NMakefile clean all</NMakeReBuildCommandLine>
<NMakePreprocessorDefinitions>NDEBUG;$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions>
</PropertyGroup>
<ItemDefinitionGroup>
</ItemDefinitionGroup>
<ItemGroup>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

@ -0,0 +1,476 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<VCProjectVersion>16.0</VCProjectVersion>
<Keyword>Win32Proj</Keyword>
<ProjectGuid>{1fb0325c-2ad1-4a4d-8359-6aee617fd10d}</ProjectGuid>
<RootNamespace>pEpEngine</RootNamespace>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>WIN32;_DEBUG;PEPENGINE_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableUAC>false</EnableUAC>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>WIN32;NDEBUG;PEPENGINE_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableUAC>false</EnableUAC>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>USE_SEQUOIA;HAVE_CONFIG_H;_DEBUG;PEPENGINE_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
<AdditionalIncludeDirectories>$(ProjectDir)..\..\libpEpTransport\include;$(ProjectDir)..\asn.1;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableUAC>false</EnableUAC>
</Link>
<PreBuildEvent>
<Command>
</Command>
</PreBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>USE_SEQUOIA;HAVE_CONFIG_H;NDEBUG;PEPENGINE_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
<AdditionalIncludeDirectories>$(ProjectDir)..\..\libpEpTransport\include;$(ProjectDir)..\asn.1;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableUAC>false</EnableUAC>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="..\asn.1\ASN1Message.h" />
<ClInclude Include="..\asn.1\asn_application.h" />
<ClInclude Include="..\asn.1\asn_codecs.h" />
<ClInclude Include="..\asn.1\asn_codecs_prim.h" />
<ClInclude Include="..\asn.1\asn_internal.h" />
<ClInclude Include="..\asn.1\asn_SEQUENCE_OF.h" />
<ClInclude Include="..\asn.1\asn_SET_OF.h" />
<ClInclude Include="..\asn.1\asn_system.h" />
<ClInclude Include="..\asn.1\Beacon.h" />
<ClInclude Include="..\asn.1\ber_decoder.h" />
<ClInclude Include="..\asn.1\ber_tlv_length.h" />
<ClInclude Include="..\asn.1\ber_tlv_tag.h" />
<ClInclude Include="..\asn.1\BIT_STRING.h" />
<ClInclude Include="..\asn.1\BOOLEAN.h" />
<ClInclude Include="..\asn.1\Command.h" />
<ClInclude Include="..\asn.1\Commands.h" />
<ClInclude Include="..\asn.1\CommitAccept.h" />
<ClInclude Include="..\asn.1\CommitAcceptForGroup.h" />
<ClInclude Include="..\asn.1\CommitAcceptOfferer.h" />
<ClInclude Include="..\asn.1\CommitAcceptRequester.h" />
<ClInclude Include="..\asn.1\CommitReject.h" />
<ClInclude Include="..\asn.1\constraints.h" />
<ClInclude Include="..\asn.1\constr_CHOICE.h" />
<ClInclude Include="..\asn.1\constr_SEQUENCE.h" />
<ClInclude Include="..\asn.1\constr_SEQUENCE_OF.h" />
<ClInclude Include="..\asn.1\constr_SET_OF.h" />
<ClInclude Include="..\asn.1\constr_TYPE.h" />
<ClInclude Include="..\asn.1\ContentDisposition.h" />
<ClInclude Include="..\asn.1\der_encoder.h" />
<ClInclude Include="..\asn.1\Distribution.h" />
<ClInclude Include="..\asn.1\Echo.h" />
<ClInclude Include="..\asn.1\EchoPing.h" />
<ClInclude Include="..\asn.1\EchoPong.h" />
<ClInclude Include="..\asn.1\ElectGroupKeyResetLeader.h" />
<ClInclude Include="..\asn.1\Exploration.h" />
<ClInclude Include="..\asn.1\ExploreAnswer.h" />
<ClInclude Include="..\asn.1\ExploreChallenge.h" />
<ClInclude Include="..\asn.1\ExploreRequest.h" />
<ClInclude Include="..\asn.1\ExploreResponse.h" />
<ClInclude Include="..\asn.1\GeneralizedTime.h" />
<ClInclude Include="..\asn.1\GroupAdopted.h" />
<ClInclude Include="..\asn.1\GroupDissolve.h" />
<ClInclude Include="..\asn.1\GroupHandshake.h" />
<ClInclude Include="..\asn.1\GroupInvite.h" />
<ClInclude Include="..\asn.1\GroupKeysAndClose.h" />
<ClInclude Include="..\asn.1\GroupKeysForNewMember.h" />
<ClInclude Include="..\asn.1\GroupKeysUpdate.h" />
<ClInclude Include="..\asn.1\GroupSync.h" />
<ClInclude Include="..\asn.1\GroupSyncRequest.h" />
<ClInclude Include="..\asn.1\GroupSyncUpdate.h" />
<ClInclude Include="..\asn.1\GroupTrustThisKey.h" />
<ClInclude Include="..\asn.1\Hash.h" />
<ClInclude Include="..\asn.1\Hex.h" />
<ClInclude Include="..\asn.1\Identity.h" />
<ClInclude Include="..\asn.1\IdentityList.h" />
<ClInclude Include="..\asn.1\InitUnledGroupKeyReset.h" />
<ClInclude Include="..\asn.1\INTEGER.h" />
<ClInclude Include="..\asn.1\ISO639-1.h" />
<ClInclude Include="..\asn.1\KeyReset.h" />
<ClInclude Include="..\asn.1\KeySync.h" />
<ClInclude Include="..\asn.1\ManagedGroup.h" />
<ClInclude Include="..\asn.1\MessageDirection.h" />
<ClInclude Include="..\asn.1\MessageStorage.h" />
<ClInclude Include="..\asn.1\NativeEnumerated.h" />
<ClInclude Include="..\asn.1\NativeInteger.h" />
<ClInclude Include="..\asn.1\NegotiationOpen.h" />
<ClInclude Include="..\asn.1\NegotiationRequest.h" />
<ClInclude Include="..\asn.1\NegotiationRequestGrouped.h" />
<ClInclude Include="..\asn.1\OCTET_STRING.h" />
<ClInclude Include="..\asn.1\OwnKeysOfferer.h" />
<ClInclude Include="..\asn.1\OwnKeysRequester.h" />
<ClInclude Include="..\asn.1\PBlob.h" />
<ClInclude Include="..\asn.1\PBlobList.h" />
<ClInclude Include="..\asn.1\per_decoder.h" />
<ClInclude Include="..\asn.1\per_encoder.h" />
<ClInclude Include="..\asn.1\per_opentype.h" />
<ClInclude Include="..\asn.1\per_support.h" />
<ClInclude Include="..\asn.1\PIdentity.h" />
<ClInclude Include="..\asn.1\PIdentityList.h" />
<ClInclude Include="..\asn.1\PrintableString.h" />
<ClInclude Include="..\asn.1\PString.h" />
<ClInclude Include="..\asn.1\PStringList.h" />
<ClInclude Include="..\asn.1\PStringPair.h" />
<ClInclude Include="..\asn.1\PStringPairList.h" />
<ClInclude Include="..\asn.1\Rating.h" />
<ClInclude Include="..\asn.1\ReceiverRating.h" />
<ClInclude Include="..\asn.1\Rollback.h" />
<ClInclude Include="..\asn.1\Storage.h" />
<ClInclude Include="..\asn.1\Sync.h" />
<ClInclude Include="..\asn.1\SynchronizeGroupKeys.h" />
<ClInclude Include="..\asn.1\TID.h" />
<ClInclude Include="..\asn.1\TrustRequest.h" />
<ClInclude Include="..\asn.1\TrustSync.h" />
<ClInclude Include="..\asn.1\TrustUpdate.h" />
<ClInclude Include="..\asn.1\UTF8String.h" />
<ClInclude Include="..\asn.1\Version.h" />
<ClInclude Include="..\asn.1\xer_decoder.h" />
<ClInclude Include="..\asn.1\xer_encoder.h" />
<ClInclude Include="..\asn.1\xer_support.h" />
<ClInclude Include="..\src\base64.h" />
<ClInclude Include="..\src\baseprotocol.h" />
<ClInclude Include="..\src\bloblist.h" />
<ClInclude Include="..\src\cryptotech.h" />
<ClInclude Include="..\src\distribution_api.h" />
<ClInclude Include="..\src\distribution_codec.h" />
<ClInclude Include="..\src\dynamic_api.h" />
<ClInclude Include="..\src\echo_api.h" />
<ClInclude Include="..\src\email.h" />
<ClInclude Include="..\src\engine_sql.h" />
<ClInclude Include="..\src\etpan_mime.h" />
<ClInclude Include="..\src\fsm_common.h" />
<ClInclude Include="..\src\group.h" />
<ClInclude Include="..\src\GroupSync_fsm.h" />
<ClInclude Include="..\src\group_internal.h" />
<ClInclude Include="..\src\growing_buf.h" />
<ClInclude Include="..\src\identity_list.h" />
<ClInclude Include="..\src\internal_format.h" />
<ClInclude Include="..\src\keymanagement.h" />
<ClInclude Include="..\src\keymanagement_internal.h" />
<ClInclude Include="..\src\keyreset_command.h" />
<ClInclude Include="..\src\KeySync_fsm.h" />
<ClInclude Include="..\src\key_reset.h" />
<ClInclude Include="..\src\key_reset_internal.h" />
<ClInclude Include="..\src\labeled_int_list.h" />
<ClInclude Include="..\src\map_asn1.h" />
<ClInclude Include="..\src\media_key.h" />
<ClInclude Include="..\src\media_key_example.h" />
<ClInclude Include="..\src\message.h" />
<ClInclude Include="..\src\message_api.h" />
<ClInclude Include="..\src\message_api_internal.h" />
<ClInclude Include="..\src\message_codec.h" />
<ClInclude Include="..\src\mime.h" />
<ClInclude Include="..\src\openpgp_compat.h" />
<ClInclude Include="..\src\pEpEngine.h" />
<ClInclude Include="..\src\pEpEngine_internal.h" />
<ClInclude Include="..\src\pEpEngine_version.h" />
<ClInclude Include="..\src\pEp_debug.h" />
<ClInclude Include="..\src\pEp_internal.h" />
<ClInclude Include="..\src\pEp_log.h" />
<ClInclude Include="..\src\pEp_rmd160.h" />
<ClInclude Include="..\src\pEp_string.h" />
<ClInclude Include="..\src\pgp_sequoia.h" />
<ClInclude Include="..\src\platform.h" />
<ClInclude Include="..\src\platform_disable_attributes.h" />
<ClInclude Include="..\src\platform_windows.h" />
<ClInclude Include="..\src\resource.h" />
<ClInclude Include="..\src\resource_id.h" />
<ClInclude Include="..\src\security_checks.h" />
<ClInclude Include="..\src\sqlite3.h" />
<ClInclude Include="..\src\sql_reliability.h" />
<ClInclude Include="..\src\status_to_string.h" />
<ClInclude Include="..\src\storage_codec.h" />
<ClInclude Include="..\src\stringlist.h" />
<ClInclude Include="..\src\stringpair.h" />
<ClInclude Include="..\src\sync_api.h" />
<ClInclude Include="..\src\sync_codec.h" />
<ClInclude Include="..\src\Sync_event.h" />
<ClInclude Include="..\src\Sync_func.h" />
<ClInclude Include="..\src\Sync_impl.h" />
<ClInclude Include="..\src\timestamp.h" />
<ClInclude Include="..\src\tomcrypt_macros.h" />
<ClInclude Include="..\src\transport.h" />
<ClInclude Include="..\src\trans_auto.h" />
<ClInclude Include="..\src\TrustSync_fsm.h" />
<ClInclude Include="..\src\wrappers.h" />
<ClInclude Include="framework.h" />
<ClInclude Include="pch.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\asn.1\ASN1Message.c" />
<ClCompile Include="..\asn.1\asn_codecs_prim.c" />
<ClCompile Include="..\asn.1\asn_SEQUENCE_OF.c" />
<ClCompile Include="..\asn.1\asn_SET_OF.c" />
<ClCompile Include="..\asn.1\Beacon.c" />
<ClCompile Include="..\asn.1\ber_decoder.c" />
<ClCompile Include="..\asn.1\ber_tlv_length.c" />
<ClCompile Include="..\asn.1\ber_tlv_tag.c" />
<ClCompile Include="..\asn.1\BIT_STRING.c" />
<ClCompile Include="..\asn.1\BOOLEAN.c" />
<ClCompile Include="..\asn.1\Command.c" />
<ClCompile Include="..\asn.1\Commands.c" />
<ClCompile Include="..\asn.1\CommitAccept.c" />
<ClCompile Include="..\asn.1\CommitAcceptForGroup.c" />
<ClCompile Include="..\asn.1\CommitAcceptOfferer.c" />
<ClCompile Include="..\asn.1\CommitAcceptRequester.c" />
<ClCompile Include="..\asn.1\CommitReject.c" />
<ClCompile Include="..\asn.1\constraints.c" />
<ClCompile Include="..\asn.1\constr_CHOICE.c" />
<ClCompile Include="..\asn.1\constr_SEQUENCE.c" />
<ClCompile Include="..\asn.1\constr_SEQUENCE_OF.c" />
<ClCompile Include="..\asn.1\constr_SET_OF.c" />
<ClCompile Include="..\asn.1\constr_TYPE.c" />
<ClCompile Include="..\asn.1\ContentDisposition.c" />
<ClCompile Include="..\asn.1\der_encoder.c" />
<ClCompile Include="..\asn.1\Distribution.c" />
<ClCompile Include="..\asn.1\Echo.c" />
<ClCompile Include="..\asn.1\EchoPing.c" />
<ClCompile Include="..\asn.1\EchoPong.c" />
<ClCompile Include="..\asn.1\ElectGroupKeyResetLeader.c" />
<ClCompile Include="..\asn.1\Exploration.c" />
<ClCompile Include="..\asn.1\ExploreAnswer.c" />
<ClCompile Include="..\asn.1\ExploreChallenge.c" />
<ClCompile Include="..\asn.1\ExploreRequest.c" />
<ClCompile Include="..\asn.1\ExploreResponse.c" />
<ClCompile Include="..\asn.1\GeneralizedTime.c" />
<ClCompile Include="..\asn.1\GroupAdopted.c" />
<ClCompile Include="..\asn.1\GroupDissolve.c" />
<ClCompile Include="..\asn.1\GroupHandshake.c" />
<ClCompile Include="..\asn.1\GroupInvite.c" />
<ClCompile Include="..\asn.1\GroupKeysAndClose.c" />
<ClCompile Include="..\asn.1\GroupKeysForNewMember.c" />
<ClCompile Include="..\asn.1\GroupKeysUpdate.c" />
<ClCompile Include="..\asn.1\GroupSync.c" />
<ClCompile Include="..\asn.1\GroupSyncRequest.c" />
<ClCompile Include="..\asn.1\GroupSyncUpdate.c" />
<ClCompile Include="..\asn.1\GroupTrustThisKey.c" />
<ClCompile Include="..\asn.1\Hash.c" />
<ClCompile Include="..\asn.1\Hex.c" />
<ClCompile Include="..\asn.1\Identity.c" />
<ClCompile Include="..\asn.1\IdentityList.c" />
<ClCompile Include="..\asn.1\InitUnledGroupKeyReset.c" />
<ClCompile Include="..\asn.1\INTEGER.c" />
<ClCompile Include="..\asn.1\ISO639-1.c" />
<ClCompile Include="..\asn.1\KeyReset.c" />
<ClCompile Include="..\asn.1\KeySync.c" />
<ClCompile Include="..\asn.1\ManagedGroup.c" />
<ClCompile Include="..\asn.1\MessageDirection.c" />
<ClCompile Include="..\asn.1\MessageStorage.c" />
<ClCompile Include="..\asn.1\NativeEnumerated.c" />
<ClCompile Include="..\asn.1\NativeInteger.c" />
<ClCompile Include="..\asn.1\NegotiationOpen.c" />
<ClCompile Include="..\asn.1\NegotiationRequest.c" />
<ClCompile Include="..\asn.1\NegotiationRequestGrouped.c" />
<ClCompile Include="..\asn.1\OCTET_STRING.c" />
<ClCompile Include="..\asn.1\OwnKeysOfferer.c" />
<ClCompile Include="..\asn.1\OwnKeysRequester.c" />
<ClCompile Include="..\asn.1\PBlob.c" />
<ClCompile Include="..\asn.1\PBlobList.c" />
<ClCompile Include="..\asn.1\pdu_collection.c" />
<ClCompile Include="..\asn.1\per_decoder.c" />
<ClCompile Include="..\asn.1\per_encoder.c" />
<ClCompile Include="..\asn.1\per_opentype.c" />
<ClCompile Include="..\asn.1\per_support.c" />
<ClCompile Include="..\asn.1\PIdentity.c" />
<ClCompile Include="..\asn.1\PIdentityList.c" />
<ClCompile Include="..\asn.1\PrintableString.c" />
<ClCompile Include="..\asn.1\PString.c" />
<ClCompile Include="..\asn.1\PStringList.c" />
<ClCompile Include="..\asn.1\PStringPair.c" />
<ClCompile Include="..\asn.1\PStringPairList.c" />
<ClCompile Include="..\asn.1\Rating.c" />
<ClCompile Include="..\asn.1\ReceiverRating.c" />
<ClCompile Include="..\asn.1\Rollback.c" />
<ClCompile Include="..\asn.1\Storage.c" />
<ClCompile Include="..\asn.1\Sync.c" />
<ClCompile Include="..\asn.1\SynchronizeGroupKeys.c" />
<ClCompile Include="..\asn.1\TID.c" />
<ClCompile Include="..\asn.1\TrustRequest.c" />
<ClCompile Include="..\asn.1\TrustSync.c" />
<ClCompile Include="..\asn.1\TrustUpdate.c" />
<ClCompile Include="..\asn.1\UTF8String.c" />
<ClCompile Include="..\asn.1\Version.c" />
<ClCompile Include="..\asn.1\xer_decoder.c" />
<ClCompile Include="..\asn.1\xer_encoder.c" />
<ClCompile Include="..\asn.1\xer_support.c" />
<ClCompile Include="..\src\base64.c" />
<ClCompile Include="..\src\baseprotocol.c" />
<ClCompile Include="..\src\bloblist.c" />
<ClCompile Include="..\src\cryptotech.c" />
<ClCompile Include="..\src\distribution_codec.c" />
<ClCompile Include="..\src\echo_api.c" />
<ClCompile Include="..\src\email.c" />
<ClCompile Include="..\src\engine_sql.c" />
<ClCompile Include="..\src\etpan_mime.c" />
<ClCompile Include="..\src\group.c" />
<ClCompile Include="..\src\GroupSync_fsm.c" />
<ClCompile Include="..\src\growing_buf.c" />
<ClCompile Include="..\src\identity_list.c" />
<ClCompile Include="..\src\internal_format.c" />
<ClCompile Include="..\src\keymanagement.c" />
<ClCompile Include="..\src\keyreset_command.c" />
<ClCompile Include="..\src\KeySync_fsm.c" />
<ClCompile Include="..\src\key_reset.c" />
<ClCompile Include="..\src\labeled_int_list.c" />
<ClCompile Include="..\src\map_asn1.c" />
<ClCompile Include="..\src\media_key.c" />
<ClCompile Include="..\src\message.c" />
<ClCompile Include="..\src\message_api.c" />
<ClCompile Include="..\src\message_codec.c" />
<ClCompile Include="..\src\mime.c" />
<ClCompile Include="..\src\openpgp_compat.c" />
<ClCompile Include="..\src\pEpEngine.c" />
<ClCompile Include="..\src\pEp_debug.c" />
<ClCompile Include="..\src\pEp_log.c" />
<ClCompile Include="..\src\pEp_rmd160.c" />
<ClCompile Include="..\src\pEp_string.c" />
<ClCompile Include="..\src\pgp_sequoia.c" />
<ClCompile Include="..\src\platform_windows.cpp" />
<ClCompile Include="..\src\resource_id.c" />
<ClCompile Include="..\src\security_checks.c" />
<ClCompile Include="..\src\sqlite3.c" />
<ClCompile Include="..\src\sql_reliability.c" />
<ClCompile Include="..\src\storage_codec.c" />
<ClCompile Include="..\src\stringlist.c" />
<ClCompile Include="..\src\stringpair.c" />
<ClCompile Include="..\src\Sync_actions.c" />
<ClCompile Include="..\src\sync_api.c" />
<ClCompile Include="..\src\sync_codec.c" />
<ClCompile Include="..\src\Sync_event.c" />
<ClCompile Include="..\src\Sync_func.c" />
<ClCompile Include="..\src\Sync_impl.c" />
<ClCompile Include="..\src\timestamp.c" />
<ClCompile Include="..\src\transport.c" />
<ClCompile Include="..\src\trans_auto.c" />
<ClCompile Include="..\src\TrustSync_fsm.c" />
<ClCompile Include="dllmain.cpp" />
<ClCompile Include="pch.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
</ClCompile>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

@ -0,0 +1,5 @@
// pch.cpp: Quelldatei, die dem vorkompilierten Header entspricht
#include "pch.h"
// Bei der Verwendung vorkompilierter Header ist diese Quelldatei für eine erfolgreiche Kompilierung erforderlich.

@ -0,0 +1,13 @@
// pch.h: Dies ist eine vorkompilierte Headerdatei.
// Die unten aufgeführten Dateien werden nur einmal kompiliert, um die Buildleistung für zukünftige Builds zu verbessern.
// Dies wirkt sich auch auf die IntelliSense-Leistung aus, Codevervollständigung und viele Features zum Durchsuchen von Code eingeschlossen.
// Die hier aufgeführten Dateien werden jedoch ALLE neu kompiliert, wenn mindestens eine davon zwischen den Builds aktualisiert wird.
// Fügen Sie hier keine Dateien hinzu, die häufig aktualisiert werden sollen, da sich so der Leistungsvorteil ins Gegenteil verkehrt.
#ifndef PCH_H
#define PCH_H
// Fügen Sie hier Header hinzu, die vorkompiliert werden sollen.
#include "framework.h"
#endif //PCH_H

@ -0,0 +1,51 @@
# This file is under GNU General Public License 3.0
# see LICENSE.txt
!include ../NMakefile.mak
all: .copy
.generated: *.fsm *.act
@$(MAKE) /f Nmakefile all-fsm all-act
touch .generated
.copy: .generated
@$(MAKE) /f NMakefile copy
copy:
xcopy generated\*.c ..\src /y
xcopy generated\*.h ..\src /y
xcopy generated\*.asn1 ..\asn.1 /y
touch .copy
all-fsm: *.fsm
-md generated 2>nul
@$(MAKE) /f NMakefile $(**:.fsm=.gen)
all-act: *.act
-md generated 2>nul
@$(MAKE) /f NMakefile $(**:.act=.agen)
.SUFFIXES : .fsm .gen .act .agen
.fsm.gen:
$(YML2PROC) -y gen_statemachine.ysl2 $< > nul
$(YML2PROC) -y gen_codec.ysl2 $< > nul
$(YML2PROC) -y gen_messages.ysl2 $< > nul
$(YML2PROC) -y gen_message_func.ysl2 $< -o $@
.act.agen:
echo define actfile = "./$<"; | $(YML2PROC) - gen_actions.ysl2 | \
$(YML2PROC) -X - $(**:.act=.fsm) -o $@
clean:
-rd /s/q generated 2>nul
-del /f/q *.gen 2>nul
-del /f/q *.agen 2>nul
-del /f/q *.xml 2>nul
-del *.xsl 2>nul
-del *.dot 2>nul
-del *.svg 2>nul
-del .copy 2>nul
-del .generated
.xml.fsm:
$(YML2PROC) $< -o $@

@ -0,0 +1,2 @@
# YML2PROC=py "%YML_HOME%\yml2proc"
# ASN1C=asn1c

@ -109,18 +109,8 @@ clean:
rm -f *_{event,impl,fsm,func}.[ch]
rm -rf ../doc/api/
HEADERS_TO_INSTALL = \
pEpEngine.h keymanagement.h message_api.h dynamic_api.h stringlist.h \
timestamp.h identity_list.h bloblist.h stringpair.h message.h mime.h group.h \
cryptotech.h sync_api.h pEp_string.h openpgp_compat.h engine_sql.h \
labeled_int_list.h key_reset.h base64.h sync_codec.h distribution_codec.h \
message_codec.h storage_codec.h status_to_string.h keyreset_command.h \
echo_api.h distribution_api.h media_key.h \
map_asn1.h \
platform.h platform_unix.h platform_windows.h platform_zos.h \
pEp_debug.h pEp_log.h sql_reliability.h \