diff --git a/binr/rabin2/Makefile b/binr/rabin2/Makefile index 3dc899e866..bcdef1e043 100644 --- a/binr/rabin2/Makefile +++ b/binr/rabin2/Makefile @@ -1,5 +1,5 @@ BIN=rabin2 -BINDEPS=r_bin r_cons r_util r_lib r_flags +BINDEPS=r_bin r_cons r_util r_lib r_flags r_db # rapatch deps BINDEPS+=r_core diff --git a/binr/radare2/Makefile b/binr/radare2/Makefile index 4a81c9431e..56c93ad581 100644 --- a/binr/radare2/Makefile +++ b/binr/radare2/Makefile @@ -1,6 +1,6 @@ BIN=radare2 BINDEPS=r_core r_parse r_search r_cons r_lib r_config r_diff -BINDEPS+=r_bin r_debug r_anal r_reg r_bp r_io r_cmd r_fs +BINDEPS+=r_bin r_debug r_anal r_reg r_bp r_io r_cmd r_fs r_db BINDEPS+=r_sign r_print r_lang r_asm r_syscall r_hash r_line r_socket r_flags r_util include ../binr.mk diff --git a/binr/radiff2/Makefile b/binr/radiff2/Makefile index b3c03bc1a0..bbb491a91a 100644 --- a/binr/radiff2/Makefile +++ b/binr/radiff2/Makefile @@ -2,7 +2,7 @@ BIN=radiff2 BINDEPS=r_core r_diff r_config r_lib r_cons r_search r_anal BINDEPS+=r_bin r_debug r_io r_print r_asm r_hash r_util r_fs BINDEPS+=r_socket r_flags r_lang r_reg r_bp r_cmd r_sign r_parse -BINDEPS+=r_line r_syscall +BINDEPS+=r_line r_syscall r_db include ../binr.mk diff --git a/binr/rafind2/Makefile b/binr/rafind2/Makefile index 91df792de0..c1956f9666 100644 --- a/binr/rafind2/Makefile +++ b/binr/rafind2/Makefile @@ -1,6 +1,6 @@ BIN=rafind2 BINDEPS=r_search r_io r_print r_lib r_asm r_anal r_reg r_cons r_util r_syscall r_diff -BINDEPS+=r_socket +BINDEPS+=r_socket r_db include ../binr.mk diff --git a/binr/ragg2/Makefile b/binr/ragg2/Makefile index 72ba57ffd8..362839292f 100644 --- a/binr/ragg2/Makefile +++ b/binr/ragg2/Makefile @@ -1,5 +1,5 @@ BIN=ragg2 -BINDEPS=r_egg r_bin r_syscall r_asm r_util +BINDEPS=r_egg r_bin r_syscall r_asm r_util r_db include ../binr.mk diff --git a/binr/rahash2/Makefile b/binr/rahash2/Makefile index 1a7ea41f95..3ffb50ab2c 100644 --- a/binr/rahash2/Makefile +++ b/binr/rahash2/Makefile @@ -1,4 +1,4 @@ BIN=rahash2 -BINDEPS=r_hash r_util r_print r_asm r_cons r_anal r_lib r_syscall r_reg r_diff +BINDEPS=r_hash r_util r_print r_asm r_cons r_anal r_lib r_syscall r_reg r_diff r_db include ../binr.mk diff --git a/binr/ranal2/Makefile b/binr/ranal2/Makefile index 5c5ad4de83..30d687f4aa 100644 --- a/binr/ranal2/Makefile +++ b/binr/ranal2/Makefile @@ -1,5 +1,5 @@ BIN=ranal2 -BINDEPS=r_anal r_lib r_reg r_util r_syscall r_diff +BINDEPS=r_anal r_lib r_reg r_util r_syscall r_diff r_db include ../binr.mk diff --git a/libr/anal/t/Makefile b/libr/anal/t/Makefile index 1006f7465f..b470e77ae7 100644 --- a/libr/anal/t/Makefile +++ b/libr/anal/t/Makefile @@ -2,7 +2,7 @@ include ../../config.mk CFLAGS+=-I ../arch -I../../include -D__UNIX__=1 LDFLAGS=-L../../util -lr_util -L../../anal -lr_anal -L../../reg -lr_reg -L../../syscall -lr_syscall -LDFLAGS+=-L../../diff -lr_diff +LDFLAGS+=-L../../diff -lr_diff -L../../db -lr_db all: test_x86im${EXT_EXE} diff --git a/libr/debug/t/Makefile b/libr/debug/t/Makefile index 89e938e5a8..656cecbb3e 100644 --- a/libr/debug/t/Makefile +++ b/libr/debug/t/Makefile @@ -2,7 +2,7 @@ include ../../config.mk OBJ=main.o BIN=main -BINDEPS=r_lib r_debug r_bp r_io r_reg r_cons r_util r_anal r_socket r_syscall r_diff +BINDEPS=r_lib r_debug r_bp r_io r_reg r_cons r_util r_anal r_socket r_syscall r_diff r_db LIBS+=${DL_LIBS} ifeq (${HAVE_LIB_SSL},1) CFLAGS+=${SSL_CFLAGS} diff --git a/libr/egg/t/Makefile b/libr/egg/t/Makefile index c8442ddfb2..5773063fd0 100644 --- a/libr/egg/t/Makefile +++ b/libr/egg/t/Makefile @@ -1,6 +1,6 @@ include ../../config.mk -BINDEPS=r_egg r_util r_asm r_syscall +BINDEPS=r_egg r_util r_asm r_syscall r_db CFLAGS+=-DVERSION=\"${VERSION}\" CFLAGS+=-g -I../../include diff --git a/libr/parse/t/Makefile b/libr/parse/t/Makefile index 241846da03..0680c29eb2 100644 --- a/libr/parse/t/Makefile +++ b/libr/parse/t/Makefile @@ -1,6 +1,6 @@ OBJ=parse.o BIN=parse -BINDEPS=r_util r_lib r_parse r_flags r_cons r_anal r_reg r_syscall r_diff +BINDEPS=r_util r_lib r_parse r_flags r_cons r_anal r_reg r_syscall r_diff r_db LIBS+=${DL_LIBS} include ../../rules.mk diff --git a/libr/print/t/Makefile b/libr/print/t/Makefile index b07e8e7998..a03635ac75 100644 --- a/libr/print/t/Makefile +++ b/libr/print/t/Makefile @@ -4,7 +4,7 @@ all: hex fmt BIN=hex OBJ=hex.o -BINDEPS=r_cons r_line r_print r_util r_anal r_asm r_reg r_syscall r_diff +BINDEPS=r_cons r_line r_print r_util r_anal r_asm r_reg r_syscall r_diff r_db fmt${EXT_EXE}: fmt.o ${CC} -I../../include fmt.o -L../../util -lr_util ${LDFLAGS} -o fmt${EXT_EXE} diff --git a/libr/sign/t/Makefile b/libr/sign/t/Makefile index ec8b760cbd..fbe2a44eb6 100644 --- a/libr/sign/t/Makefile +++ b/libr/sign/t/Makefile @@ -1,5 +1,5 @@ OBJ=rasign2.o BIN=rasign2 -BINDEPS=r_sign r_util r_anal r_reg r_syscall r_diff +BINDEPS=r_sign r_util r_anal r_reg r_syscall r_diff r_db include ../../rules.mk diff --git a/libr/syscall/t/Makefile b/libr/syscall/t/Makefile index f4e50fae64..a099cac025 100644 --- a/libr/syscall/t/Makefile +++ b/libr/syscall/t/Makefile @@ -1,5 +1,5 @@ OBJ=hello.o BIN=hello -BINDEPS=r_syscall +BINDEPS=r_syscall r_db include ../../rules.mk