forked from Chia-Network/bls-signatures
-
Notifications
You must be signed in to change notification settings - Fork 34
/
Makefile.mimalloc.include
44 lines (37 loc) · 1.44 KB
/
Makefile.mimalloc.include
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# 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)