radare2/binr/rabin2/Makefile
pancake 62cd212ba1 * Fix non-PIC/static build (apply Glyn patches)
* Fix entropy multiplication bug (Thanks Glyn!)
* btw.. previous patch added asm.case eval var
2011-09-08 15:47:05 +02:00

23 lines
534 B
Makefile

BIN=rabin2
BINDEPS=r_bin r_cons r_lib r_flags r_util r_db
# rapatch deps
BINDEPS+=r_core r_parse r_search r_lib r_config r_diff
BINDEPS+=r_debug r_anal r_reg r_bp r_io r_cmd r_fs r_line
BINDEPS+=r_sign r_print r_lang r_asm r_syscall r_hash r_socket
include ../binr.mk
ifeq ($(WITHNONPIC),1)
LDFLAGS+=${DL_LIBS} -lm
LDFLAGS+=../../libr/fs/p/grub/libgrubfs.a
LDFLAGS+=../../libr/db/sdb/src/libsdb.a
ifeq ($(HAVE_LIB_MAGIC),1)
LDFLAGS+=-lmagic
endif
endif
ifeq (${HAVE_LIB_SSL},1)
CFLAGS+=${SSL_CFLAGS}
LDFLAGS+=${SSL_LDFLAGS}
endif