Update Makefile.am

This commit is contained in:
SikkieNL 2024-09-14 22:55:56 +02:00
parent 0d069272f3
commit 8122343d8b

View File

@ -44,8 +44,8 @@ EXTRA_LIBRARIES += libbitcoin_zmq.a
endif endif
if BUILD_BITCOIN_LIBS if BUILD_BITCOIN_LIBS
lib_LTLIBRARIES = libbitcoinconsensus.la lib_LTLIBRARIES = libneobytesconsensus.la
LIBBITCOIN_CONSENSUS=libbitcoinconsensus.la LIBBITCOIN_CONSENSUS=libneobytesconsensus.la
else else
LIBBITCOIN_CONSENSUS= LIBBITCOIN_CONSENSUS=
endif endif
@ -454,10 +454,10 @@ neobytes_tx_LDADD = \
neobytes_tx_LDADD += $(BOOST_LIBS) $(CRYPTO_LIBS) neobytes_tx_LDADD += $(BOOST_LIBS) $(CRYPTO_LIBS)
# #
# bitcoinconsensus library # # neobytescoinconsensus library #
if BUILD_BITCOIN_LIBS if BUILD_BITCOIN_LIBS
include_HEADERS = script/bitcoinconsensus.h include_HEADERS = script/neobytescoinconsensus.h
libbitcoinconsensus_la_SOURCES = \ libneobytesconsensus_la_SOURCES = \
crypto/hmac_sha512.cpp \ crypto/hmac_sha512.cpp \
crypto/ripemd160.cpp \ crypto/ripemd160.cpp \
crypto/sha1.cpp \ crypto/sha1.cpp \
@ -466,20 +466,20 @@ libbitcoinconsensus_la_SOURCES = \
hash.cpp \ hash.cpp \
primitives/transaction.cpp \ primitives/transaction.cpp \
pubkey.cpp \ pubkey.cpp \
script/bitcoinconsensus.cpp \ script/neobytescoinconsensus.cpp \
script/interpreter.cpp \ script/interpreter.cpp \
script/script.cpp \ script/script.cpp \
uint256.cpp \ uint256.cpp \
utilstrencodings.cpp utilstrencodings.cpp
if GLIBC_BACK_COMPAT if GLIBC_BACK_COMPAT
libbitcoinconsensus_la_SOURCES += compat/glibc_compat.cpp libneobytesconsensus_la_SOURCES += compat/glibc_compat.cpp
endif endif
libbitcoinconsensus_la_LDFLAGS = $(AM_LDFLAGS) -no-undefined $(RELDFLAGS) libneobytesconsensus_la_LDFLAGS = $(AM_LDFLAGS) -no-undefined $(RELDFLAGS)
libbitcoinconsensus_la_LIBADD = $(LIBSECP256K1) libneobytesconsensus_la_LIBADD = $(LIBSECP256K1)
libbitcoinconsensus_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(builddir)/obj -I$(srcdir)/secp256k1/include -DBUILD_BITCOIN_INTERNAL libneobytesconsensus_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(builddir)/obj -I$(srcdir)/secp256k1/include -DBUILD_BITCOIN_INTERNAL
libbitcoinconsensus_la_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS) libneobytesconsensus_la_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
endif endif
# #