dash/Makefile.mimalloc.include
Kittywhiskers Van Gogh 8bf0c812f5 Squashed 'src/dashbls/' changes from 66ee820fbc..22b066020c
22b066020c build: match detection of Win32 libraries with mimalloc (#60)
03268b3a02 Merge pull request #59 from kittywhiskers/repair_subtree
3d2e7a183e depends: commit microsoft/mimalloc@91ba1f37 to source tree as 44314dd9
7a4d1a01fa depends: remove mangled 'depends/mimalloc' subdirectory
44314dd972 Squashed 'depends/mimalloc/' content from commit 91ba1f37
8383f081bd dashbls: replace flaky minialloc with microsoft/mimalloc@91ba1f37, add as vendored dependency (#55)
85b7e61b55 fix: Should not check validity for legacy G1 and G2 in FromBytes (#58)
7457939dd5 chore/fix: bump Catch2 to v2.13.10 (#57)

git-subtree-dir: src/dashbls
git-subtree-split: 22b066020c14bd162022c73f90fc7c940f4acdda
2023-01-02 12:40:54 +05:30

45 lines
1.4 KiB
Makefile

# Copyright (c) 2022 The Dash Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING.MIT or http://www.opensource.org/licenses/mit-license.php.
LIBMIMALLOC = libmimalloc-secure.la
MIMALLOC_CFLAGS = \
-DMI_SECURE=4 \
-DNDEBUG
MIMALLOC_INCLUDES = \
-I$(top_srcdir)/depends/mimalloc/include \
-I$(top_srcdir)/depends/mimalloc/src
MIMALLOC_H = \
depends/mimalloc/include/mimalloc.h \
depends/mimalloc/include/mimalloc-atomic.h \
depends/mimalloc/include/mimalloc-internal.h \
depends/mimalloc/include/mimalloc-new-delete.h \
depends/mimalloc/include/mimalloc-override.h \
depends/mimalloc/include/mimalloc-track.h \
depends/mimalloc/include/mimalloc-types.h \
depends/mimalloc/src/bitmap.h
libmimalloc_secure_la_SOURCES = \
$(MIMALLOC_H) \
depends/mimalloc/src/stats.c \
depends/mimalloc/src/random.c \
depends/mimalloc/src/os.c \
depends/mimalloc/src/bitmap.c \
depends/mimalloc/src/arena.c \
depends/mimalloc/src/segment-cache.c \
depends/mimalloc/src/segment.c \
depends/mimalloc/src/page.c \
depends/mimalloc/src/alloc.c \
depends/mimalloc/src/alloc-aligned.c \
depends/mimalloc/src/alloc-posix.c \
depends/mimalloc/src/heap.c \
depends/mimalloc/src/options.c \
depends/mimalloc/src/init.c
libmimalloc_secure_la_CFLAGS = $(AM_CFLAGS) $(MIMALLOC_INCLUDES) $(MIMALLOC_CFLAGS)
noinst_LTLIBRARIES += $(LIBMIMALLOC)