forked from dashpay/bls-signatures
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.bls.include
66 lines (54 loc) · 1.47 KB
/
Makefile.bls.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# 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)