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
|
|
|
|
2016-08-20 22:53:39 +00:00
|
|
|
OBJS=mem.o pool.o num.o str.o hex.o file.o range.o tinyrange.o
|
2016-04-12 16:55:16 +00:00
|
|
|
OBJS+=prof.o cache.o sys.o buf.o w32-sys.o base64.o base85.o base91.o
|
2014-07-09 00:24:31 +00:00
|
|
|
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
|
2014-11-01 03:46:33 +00:00
|
|
|
OBJS+=sandbox.o calc.o thread.o thread_lock.o thread_msg.o
|
|
|
|
OBJS+=strpool.o bitmap.o strht.o p_date.o p_format.o print.o
|
|
|
|
OBJS+=p_seven.o slist.o randomart.o log.o zip.o debruijn.o
|
2015-06-15 02:19:29 +00:00
|
|
|
OBJS+=utf8.o strbuf.o lib.o name.o spaces.o
|
2015-10-17 22:41:44 +00:00
|
|
|
OBJS+=diff.o bdiff.o stack.o queue.o tree.o des.o
|
2016-05-18 08:13:26 +00:00
|
|
|
OBJS+=punycode.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
|
|
|
|
2015-02-22 21:01:46 +00:00
|
|
|
include $(SHLR)/zip/deps.mk
|
2014-08-10 16:13:12 +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
|
|
|
|
2014-12-04 20:56:32 +00:00
|
|
|
# NetBSD 7.0 ships with backtrace(3) in -lexecinfo
|
|
|
|
ifeq (${BUILD_OS},netbsd)
|
|
|
|
ifneq ($(shell expr "`uname -r`" : '[0-6]\.'), 2)
|
|
|
|
LDFLAGS+=-lexecinfo
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2016-06-25 16:26:34 +00:00
|
|
|
EXTRA_PRE+=sdb_version
|
|
|
|
#$(SDBLIB)
|
2016-06-17 10:14:39 +00:00
|
|
|
|
2009-02-05 21:08:46 +00:00
|
|
|
include ../rules.mk
|
2016-06-17 10:14:39 +00:00
|
|
|
include sdb.mk
|
2015-03-11 15:17:29 +00:00
|
|
|
|
|
|
|
sync-regex regex-sync:
|
|
|
|
-rm -rf src/
|
|
|
|
cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs get -P src/lib/libc/regex
|
|
|
|
cp src/lib/libc/regex/* regex
|