mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
8bf0c812f5
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
67 lines
1.5 KiB
Makefile
67 lines
1.5 KiB
Makefile
# Copyright (c) 2021 The PIVX developers
|
|
# 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.
|
|
|
|
LIBDASHBLS = libdashbls.la
|
|
|
|
DASHBLS_CPPFLAGS = -DBLSALLOC_MIMALLOC=1
|
|
|
|
DASHBLS_INCLUDES = \
|
|
-I$(builddir) \
|
|
-I$(builddir)/obj \
|
|
-I$(top_srcdir)/include/dashbls
|
|
|
|
DASHBLS_H = \
|
|
src/bls.hpp \
|
|
src/chaincode.hpp \
|
|
src/elements.hpp \
|
|
src/extendedprivatekey.hpp \
|
|
src/extendedpublickey.hpp \
|
|
src/hdkeys.hpp \
|
|
src/hkdf.hpp \
|
|
src/legacy.hpp \
|
|
src/privatekey.hpp \
|
|
src/schemes.hpp \
|
|
src/test-utils.hpp \
|
|
src/threshold.hpp \
|
|
src/util.hpp
|
|
|
|
libdashbls_la_SOURCES = \
|
|
src/bls.cpp \
|
|
src/chaincode.cpp \
|
|
src/elements.cpp \
|
|
src/extendedprivatekey.cpp \
|
|
src/extendedpublickey.cpp \
|
|
src/legacy.cpp \
|
|
src/privatekey.cpp \
|
|
src/schemes.cpp \
|
|
src/threshold.cpp
|
|
|
|
libdashbls_la_SOURCES += \
|
|
$(DASHBLS_H) \
|
|
$(MIMALLOC_H) \
|
|
$(RELIC_H)
|
|
|
|
libdashbls_la_LIBADD = \
|
|
$(LIBMIMALLOC) \
|
|
$(LIBRELIC) \
|
|
$(GMP_LIBS)
|
|
|
|
libdashbls_la_CPPFLAGS = $(AM_CPPFLAGS) $(RELIC_INCLUDES) $(MIMALLOC_INCLUDES) $(DASHBLS_INCLUDES) $(DASHBLS_CPPFLAGS)
|
|
libdashbls_la_CXXFLAGS = $(AM_CXXFLAGS)
|
|
libdashbls_la_LDFLAGS = $(AM_LDFLAGS)
|
|
|
|
include Makefile.mimalloc.include
|
|
include Makefile.relic.include
|
|
|
|
if USE_TESTS
|
|
include Makefile.test.include
|
|
endif
|
|
|
|
if USE_BENCH
|
|
include Makefile.bench.include
|
|
endif
|
|
|
|
lib_LTLIBRARIES += $(LIBDASHBLS)
|