mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-27 23:20:40 +00:00
560d5efced
* Experiments to integrate the custom heap into r2 will be based on the sdb implementation
48 lines
791 B
Makefile
48 lines
791 B
Makefile
SDBPATH=$(SHLR)/sdb/src/
|
|
SDBINCDIR=$(SHLR)/sdb/include
|
|
SDBLIB=${SDBPATH}/libsdb.a
|
|
EXTRA_TARGETS+=${SDBLIB}
|
|
EXTRA_PRE+=$(SDBLIB)
|
|
|
|
# __wasi__
|
|
# CFLAGS+=-DUSE_MMAN=0
|
|
# CFLAGS+=-DHAVE_MMAN=0
|
|
|
|
SDB_OBJS=
|
|
SDB_OBJS+=buffer.o
|
|
SDB_OBJS+=cdb.o
|
|
SDB_OBJS+=heap.o
|
|
SDB_OBJS+=set.o
|
|
SDB_OBJS+=cdb_make.o
|
|
SDB_OBJS+=ht_uu.o
|
|
SDB_OBJS+=ht_up.o
|
|
SDB_OBJS+=ht_pp.o
|
|
SDB_OBJS+=ht_pu.o
|
|
SDB_OBJS+=ht.o
|
|
SDB_OBJS+=json.o
|
|
SDB_OBJS+=text.o
|
|
SDB_OBJS+=lock.o
|
|
SDB_OBJS+=ls.o
|
|
SDB_OBJS+=ns.o
|
|
SDB_OBJS+=query.o
|
|
SDB_OBJS+=sdb.o
|
|
SDB_OBJS+=base64.o
|
|
SDB_OBJS+=disk.o
|
|
SDB_OBJS+=dict.o
|
|
SDB_OBJS+=array.o
|
|
SDB_OBJS+=fmt.o
|
|
SDB_OBJS+=match.o
|
|
SDB_OBJS+=num.o
|
|
SDB_OBJS+=util.o
|
|
SDB_OBJS+=journal.o
|
|
SDB_OBJS+=diff.o
|
|
|
|
SDBOBJS=$(addprefix ${SDBPATH},${SDB_OBJS})
|
|
|
|
OBJS+=$(SDBOBJS)
|
|
|
|
CFLAGS+=-I$(SDBINCDIR)
|
|
|
|
$(SDBLIB):
|
|
$(MAKE) -C ../../shlr sdbs
|