mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-11 23:16:05 +00:00
39 lines
859 B
Makefile
39 lines
859 B
Makefile
include ../config.mk
|
|
|
|
NAME=r_util
|
|
DEPS=
|
|
|
|
OBJS=mem.o pool.o num.o str.o hex.o file.o range.o
|
|
OBJS+=prof.o cache.o sys.o buf.o w32-sys.o base64.o base85.o
|
|
OBJS+=list.o flist.o ht.o ht64.o mixed.o btree.o chmod.o graph.o
|
|
OBJS+=regex/regcomp.o regex/regerror.o regex/regexec.o uleb128.o
|
|
OBJS+=sandbox.o calc.o thread.o lock.o strpool.o bitmap.o strht.o
|
|
OBJS+=p_date.o p_format.o print.o p_seven.o slist.o randomart.o
|
|
OBJS+=utf8.o strbuf.o lib.o name.o log.o gzip.o
|
|
|
|
# DO NOT BUILD r_big api (not yet used and its buggy)
|
|
ifeq (1,0)
|
|
ifeq (${HAVE_LIB_GMP},1)
|
|
OBJS+=big-gmp.o
|
|
else
|
|
ifeq (${HAVE_LIB_SSL},1)
|
|
OBJS+=big-ssl.o
|
|
else
|
|
OBJS+=big.o
|
|
endif
|
|
endif
|
|
endif
|
|
|
|
ifeq ($(USE_LIB_ZIP),1)
|
|
LINK+=$(LIBZIP)
|
|
else
|
|
LINK+=$(SHLR)/zip/librz.a
|
|
endif
|
|
CFLAGS+=-I$(SHLR)/zip/include
|
|
|
|
LDFLAGS+=${BN_LIBS}
|
|
LDFLAGS+=${TH_LIBS}
|
|
LDFLAGS+=${DL_LIBS}
|
|
|
|
include ../rules.mk
|