This commit is contained in:
Igor Pavlov
2023-12-22 17:17:05 +00:00
committed by Kornel
parent ec44a8a070
commit a36c48cece
954 changed files with 42199 additions and 25482 deletions

View File

@@ -101,6 +101,10 @@ SOURCE=.\LzmaLib.def
SOURCE=.\LzmaLibExports.c
# End Source File
# Begin Source File
SOURCE=.\Precomp.h
# End Source File
# End Group
# Begin Source File
@@ -108,6 +112,10 @@ SOURCE=..\..\7zTypes.h
# End Source File
# Begin Source File
SOURCE=..\..\7zWindows.h
# End Source File
# Begin Source File
SOURCE=..\..\Alloc.c
# End Source File
# Begin Source File
@@ -116,6 +124,14 @@ SOURCE=..\..\Alloc.h
# End Source File
# Begin Source File
SOURCE=..\..\Compiler.h
# End Source File
# Begin Source File
SOURCE=..\..\CpuArch.h
# End Source File
# Begin Source File
SOURCE=..\..\IStream.h
# End Source File
# Begin Source File
@@ -168,6 +184,10 @@ SOURCE=..\..\LzmaLib.h
# End Source File
# Begin Source File
SOURCE=..\..\Precomp.h
# End Source File
# Begin Source File
SOURCE=.\resource.rc
# End Source File
# Begin Source File

View File

@@ -1,14 +1,15 @@
/* LzmaLibExports.c -- LZMA library DLL Entry point
2015-11-08 : Igor Pavlov : Public domain */
2023-03-05 : Igor Pavlov : Public domain */
#include "../../Precomp.h"
#include "Precomp.h"
#include <windows.h>
#include "../../7zWindows.h"
BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved);
BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
{
UNUSED_VAR(hInstance);
UNUSED_VAR(dwReason);
UNUSED_VAR(lpReserved);
UNUSED_VAR(hInstance)
UNUSED_VAR(dwReason)
UNUSED_VAR(lpReserved)
return TRUE;
}

4
C/Util/LzmaLib/Precomp.c Executable file
View File

@@ -0,0 +1,4 @@
/* Precomp.c -- StdAfx
2013-01-21 : Igor Pavlov : Public domain */
#include "Precomp.h"

14
C/Util/LzmaLib/Precomp.h Executable file
View File

@@ -0,0 +1,14 @@
/* Precomp.h -- StdAfx
2023-03-04 : Igor Pavlov : Public domain */
#ifndef ZIP7_INC_PRECOMP_H
#define ZIP7_INC_PRECOMP_H
#if defined(_MSC_VER) && _MSC_VER >= 1800
#pragma warning(disable : 4464) // relative include path contains '..'
#endif
#include "../../Compiler.h"
#include "../../7zTypes.h"
#endif

View File

@@ -21,6 +21,7 @@ C_OBJS = \
$O\Threads.obj \
OBJS = \
$O\Precomp.obj \
$(LIB_OBJS) \
$(C_OBJS) \
$O\resource.res
@@ -30,7 +31,24 @@ OBJS = \
$(SLIBPATH): $O $(OBJS)
lib -out:$(SLIBPATH) $(OBJS) $(LIBS)
MAK_SINGLE_FILE = 1
$O\Precomp.obj: Precomp.c
$(CCOMPL_PCH)
!IFDEF MAK_SINGLE_FILE
$(LIB_OBJS): $(*B).c
$(COMPL_O2)
$(CCOMPL_USE)
$(C_OBJS): ../../$(*B).c
$(COMPL_O2)
$(CCOMPL_USE)
!ELSE
{.}.c{$O}.obj::
$(CCOMPLB_USE)
{../../../C}.c{$O}.obj::
$(CCOMPLB_USE)
!ENDIF