BSD 4_4_Lite1 release
[unix-history] / usr / src / lib / libc / db / test / Makefile
index 4831a22..c816432 100644 (file)
@@ -1,14 +1,17 @@
-#      @(#)Makefile    8.7 (Berkeley) %G%
+#      @(#)Makefile    8.9 (Berkeley) 2/21/94
 
 PROG=  dbtest
 
 PROG=  dbtest
-OBJS=  dbtest.o
+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.
 
 # Add -DSTATISTICS to CFLAGS to get btree statistical use info.
 # Note, the db library has to be compiled for statistics as well.
-CFLAGS=        -O -DDEBUG
+CFLAGS=        -D__DBINTERFACE_PRIVATE -DDEBUG -O ${INC}
 
 dbtest: ${OBJS} ${LIB}
        ${CC} -o $@ ${OBJS} ${LIB}
 
 
 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
 clean:
        rm -f gmon.out ${OBJS} ${PROG} t1 t2 t3