upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/Makefile b/src/Makefile
index b068376..fe48041 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -40,7 +40,7 @@ FUZZ_LDFLAGS = -fsanitize=fuzzer,address,undefined
40 40
41LIBS = -L$(SECP_LIB) -lsecp256k1 \ 41LIBS = -L$(SECP_LIB) -lsecp256k1 \
42 -L$(RANDOMX_DIR)/build -lrandomx \ 42 -L$(RANDOMX_DIR)/build -lrandomx \
43 -lsodium -lssl -lcrypto -ldb_cxx -lpthread \ 43 -lsodium -lssl -lcrypto -ldb_cxx -lsqlite3 -lpthread \
44 -lglfw -lGL 44 -lglfw -lGL
45 45
46# Every header a .cpp here includes has to be listed, not just the interesting 46# Every header a .cpp here includes has to be listed, not just the interesting
@@ -53,7 +53,7 @@ LIBS = -L$(SECP_LIB) -lsecp256k1 \
53HEADERS = headers_core.h headers.h util.h main.h serialize.h uint256.h \ 53HEADERS = headers_core.h headers.h util.h main.h serialize.h uint256.h \
54 key.h bignum.h script.h db.h base58.h net.h nostr.h \ 54 key.h bignum.h script.h db.h base58.h net.h nostr.h \
55 randomx_pow.h btfaddr.h btfchan.h btfrv.h btftunnel.h \ 55 randomx_pow.h btfaddr.h btfchan.h btfrv.h btftunnel.h \
56 selftest.h walletcmd.h compat.h sockcount.h proxy.h tor.h font_roboto.h 56 selftest.h walletcmd.h wallet_sqlite.h compat.h sockcount.h proxy.h tor.h font_roboto.h
57 57
58IMGUI_OBJS = obj/imgui.o obj/imgui_draw.o obj/imgui_tables.o \ 58IMGUI_OBJS = obj/imgui.o obj/imgui_draw.o obj/imgui_tables.o \
59 obj/imgui_widgets.o obj/imgui_impl_glfw.o obj/imgui_impl_opengl3.o 59 obj/imgui_widgets.o obj/imgui_impl_glfw.o obj/imgui_impl_opengl3.o
@@ -61,7 +61,8 @@ IMGUI_OBJS = obj/imgui.o obj/imgui_draw.o obj/imgui_tables.o \
61NODE_OBJS = obj/util.o obj/script.o obj/db.o obj/net.o obj/main.o \ 61NODE_OBJS = obj/util.o obj/script.o obj/db.o obj/net.o obj/main.o \
62 obj/sha.o obj/nostr.o obj/randomx_pow.o \ 62 obj/sha.o obj/nostr.o obj/randomx_pow.o \
63 obj/btfaddr.o obj/btfchan.o obj/btfrv.o obj/btftunnel.o obj/rpc.o \ 63 obj/btfaddr.o obj/btfchan.o obj/btfrv.o obj/btftunnel.o obj/rpc.o \
64 obj/selftest.o obj/bip32.o obj/walletcmd.o obj/proxy.o obj/tor.o 64 obj/selftest.o obj/bip32.o obj/walletcmd.o obj/wallet_sqlite.o \
65 obj/proxy.o obj/tor.o
65 66
66GUI_OBJS = obj/gui.o obj/main_gui.o 67GUI_OBJS = obj/gui.o obj/main_gui.o
67 68
@@ -116,7 +117,7 @@ bitflash: $(IMGUI_OBJS) $(NODE_OBJS) $(GUI_OBJS)
116 117
117NODE_LIBS = -L$(SECP_LIB) -lsecp256k1 \ 118NODE_LIBS = -L$(SECP_LIB) -lsecp256k1 \
118 -L$(RANDOMX_DIR)/build -lrandomx \ 119 -L$(RANDOMX_DIR)/build -lrandomx \
119 -lsodium -lssl -lcrypto -ldb_cxx -lpthread 120 -lsodium -lssl -lcrypto -ldb_cxx -lsqlite3 -lpthread
120 121
121NODE_ONLY_OBJS = $(patsubst obj/%,obj-node/%,$(NODE_OBJS)) \ 122NODE_ONLY_OBJS = $(patsubst obj/%,obj-node/%,$(NODE_OBJS)) \
122 obj-node/main_gui.o obj-node/headless.o 123 obj-node/main_gui.o obj-node/headless.o
@@ -187,6 +188,8 @@ tests: test_bip32 bitflash-node
187 ./bitflash-node -selftest=wallet-keypool 188 ./bitflash-node -selftest=wallet-keypool
188 ./bitflash-node -selftest=wallet-hd 189 ./bitflash-node -selftest=wallet-hd
189 ./bitflash-node -selftest=wallet-format 190 ./bitflash-node -selftest=wallet-format
191 ./bitflash-node -selftest=wallet-sqlite
192 ./bitflash-node -selftest=wallet-sqlite-migration
190 ./bitflash-node -selftest=wallet-crypto 193 ./bitflash-node -selftest=wallet-crypto
191 ./bitflash-node -selftest=wallet-encrypt 194 ./bitflash-node -selftest=wallet-encrypt
192 ./bitflash-node -selftest=net-message 195 ./bitflash-node -selftest=net-message