2010-01-15 12:02:54 +00:00
|
|
|
include ../config.mk
|
2010-07-16 21:13:34 +00:00
|
|
|
|
|
|
|
NAME=r_util
|
2012-10-03 12:31:35 +00:00
|
|
|
DEPS=
|
2011-04-17 01:54:27 +00:00
|
|
|
|
2014-07-09 00:24:31 +00:00
|
|
|
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
|
2012-10-03 12:31:35 +00:00
|
|
|
OBJS+=regex/regcomp.o regex/regerror.o regex/regexec.o uleb128.o
|
2013-01-22 04:06:12 +00:00
|
|
|
OBJS+=sandbox.o calc.o thread.o lock.o strpool.o bitmap.o strht.o
|
2014-07-09 00:24:31 +00:00
|
|
|
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
|
2011-09-14 00:07:06 +00:00
|
|
|
|
2011-04-17 01:54:27 +00:00
|
|
|
# DO NOT BUILD r_big api (not yet used and its buggy)
|
|
|
|
ifeq (1,0)
|
2010-07-16 21:13:34 +00:00
|
|
|
ifeq (${HAVE_LIB_GMP},1)
|
2012-10-03 12:31:35 +00:00
|
|
|
OBJS+=big-gmp.o
|
2010-07-16 21:13:34 +00:00
|
|
|
else
|
2011-04-15 07:22:34 +00:00
|
|
|
ifeq (${HAVE_LIB_SSL},1)
|
2012-10-03 12:31:35 +00:00
|
|
|
OBJS+=big-ssl.o
|
2010-07-16 21:13:34 +00:00
|
|
|
else
|
2012-10-03 12:31:35 +00:00
|
|
|
OBJS+=big.o
|
2010-07-16 21:13:34 +00:00
|
|
|
endif
|
|
|
|
endif
|
2011-04-17 01:54:27 +00:00
|
|
|
endif
|
2010-07-16 21:13:34 +00:00
|
|
|
|
2010-05-24 09:15:32 +00:00
|
|
|
LDFLAGS+=${BN_LIBS}
|
2014-01-01 07:56:59 +00:00
|
|
|
LDFLAGS+=${TH_LIBS}
|
2014-01-18 01:42:23 +00:00
|
|
|
LDFLAGS+=${DL_LIBS}
|
2009-02-05 21:08:46 +00:00
|
|
|
|
|
|
|
include ../rules.mk
|