add in recno as an example of local compilation of an access method
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 8 Sep 1993 02:46:23 +0000 (18:46 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 8 Sep 1993 02:46:23 +0000 (18:46 -0800)
SCCS-vsn: lib/libc/db/test/Makefile 8.4

usr/src/lib/libc/db/test/Makefile

index e635be4..5d8b244 100644 (file)
@@ -1,12 +1,18 @@
-#      @(#)Makefile    8.3 (Berkeley) %G%
+#      @(#)Makefile    8.4 (Berkeley) %G%
 
 PROG=  dbtest
 
 PROG=  dbtest
-OBJS=  dbtest.o #strerror.o
-CFLAGS=        -O -DDEBUG -DSTATISTICS
-LIB=   ../PORT/bsd.44/libdb.a
+OBJS1= dbtest.o #strerror.o
+#OBJS2=        rec_close.o rec_delete.o rec_get.o rec_open.o rec_put.o \
+#      rec_search.o rec_seq.o rec_utils.o
+#VPATH=        ../recno
+OBJS=  ${OBJS1} ${OBJS2} ${OBJS3}
+
+PDIR=  ../PORT/bsd.44
+CFLAGS=        -O -DDEBUG -DSTATISTICS -I${PDIR}/include #-I../recno
+LIB=   ${PDIR}/libdb.a
 
 dbtest: ${OBJS} ${LIB}
 
 dbtest: ${OBJS} ${LIB}
-       ${CC} -o $@ ${OBJS} ${LIB}
+       ${CC} -o $@ ${OBJS} ${LIB} ${LIB}
 
 clean:
 
 clean:
-       rm -f ${OBJS} ${PROG} t1 t2 t3
+       rm -f gmon.out ${OBJS} ${PROG} t1 t2 t3