mdbx-build: rearrange source files, rework CMakeLists.txt and refine GNUMakefile (squashed).

Change-Id: Id73d346695011dab2f670bb9e6293a1e5a1835ca
This commit is contained in:
Leonid Yuriev
2020-04-15 17:09:37 +03:00
parent f414876e99
commit 971f924c44
33 changed files with 607 additions and 926 deletions

View File

@@ -11,15 +11,15 @@
* top-level directory of the distribution or, alternatively, at
* <http://www.OpenLDAP.org/license.html>. */
#define MDBX_ALLOY 1 /* amalgamated build */
#include "elements/internals.h" /* must be included first */
#define MDBX_ALLOY 1 /* alloyed build */
#include "internals.h" /* must be included first */
#include "elements/core.c"
#include "elements/osal.c"
#include "elements/version.c"
#include "core.c"
#include "osal.c"
#include "version.c"
#if defined(_WIN32) || defined(_WIN64)
#include "elements/lck-windows.c"
#include "lck-windows.c"
#else
#include "elements/lck-posix.c"
#include "lck-posix.c"
#endif