summaryrefslogtreecommitdiffstats
path: root/lib/libc/db/test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/db/test/Makefile')
-rw-r--r--lib/libc/db/test/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/libc/db/test/Makefile b/lib/libc/db/test/Makefile
new file mode 100644
index 0000000..c816432
--- /dev/null
+++ b/lib/libc/db/test/Makefile
@@ -0,0 +1,17 @@
+# @(#)Makefile 8.9 (Berkeley) 2/21/94
+
+PROG= dbtest
+OBJS= dbtest.o strerror.o
+
+# Add -DSTATISTICS to CFLAGS to get btree statistical use info.
+# Note, the db library has to be compiled for statistics as well.
+CFLAGS= -D__DBINTERFACE_PRIVATE -DDEBUG -O ${INC}
+
+dbtest: ${OBJS} ${LIB}
+ ${CC} -o $@ ${OBJS} ${LIB}
+
+strerror.o: ../PORT/clib/strerror.c
+ ${CC} -c ../PORT/clib/strerror.c
+
+clean:
+ rm -f gmon.out ${OBJS} ${PROG} t1 t2 t3
OpenPOWER on IntegriCloud