radare2/libr/util/Makefile

32 lines
749 B
Makefile

include ../config.mk
NAME=r_util
DEPS=
OBJS=mem.o pool.o num.o str.o hex.o file.o alloca.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
# 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
LDFLAGS+=${BN_LIBS}
LDFLAGS+=${TH_LIBS}
LDFLAGS+=${DL_LIBS}
include ../rules.mk