aboutsummaryrefslogtreecommitdiff
path: root/circuitpython/lib/berkeley-db-1.xx/test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--circuitpython/lib/berkeley-db-1.xx/test/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/circuitpython/lib/berkeley-db-1.xx/test/Makefile b/circuitpython/lib/berkeley-db-1.xx/test/Makefile
new file mode 100644
index 0000000..a5dd08a
--- /dev/null
+++ b/circuitpython/lib/berkeley-db-1.xx/test/Makefile
@@ -0,0 +1,23 @@
+# @(#)Makefile 8.15 (Berkeley) 7/28/94
+
+PROG= dbtest
+OBJS= dbtest.o strerror.o
+
+# Uncomment the STAT line get hash and btree statistical use info. This
+# also forces ld to load the btree debug functions for use by gdb, which
+# is useful. The db library has to be compiled with -DSTATISTICS as well.
+INC= -I${PORTDIR}/include -I${PORTDIR}
+OORG= -g
+#STAT= -DSTATISTICS
+CFLAGS= -D__DBINTERFACE_PRIVATE -DDEBUG ${STAT} ${OORG} ${INC}
+
+dbtest: ${OBJS} ${PORTDIR}/libdb.a
+ ${CC} -o $@ ${OBJS} ${PORTDIR}/libdb.a
+
+strerror.o: ${PORTDIR}/clib/strerror.c
+ ${CC} -c ${PORTDIR}/clib/strerror.c
+
+clean:
+ rm -f dbtest.core gmon.out ${OBJS} ${PROG} t1 t2 t3
+
+${OBJS}: Makefile