chiark / gitweb /
all entrypoints done now; loads
[chiark-tcl.git] / cdb / Makefile
index 9c1f665ff052bc968bc8ac3e1c80b85df1ed6785..96ac4aebcf56739dde2bd155352937a0f9adefb0 100644 (file)
@@ -1,9 +1,18 @@
 BASE_DIR =     ../base
 EXTBASE =      cdb
 BASE_DIR =     ../base
 EXTBASE =      cdb
-CFILES =       cdb
+CFILES =       readonly writeable lookup
 OTHER_TCTS =   ../hbytes/hbytes-base.tct
 CPPFLAGS +=    -I../hbytes
 OTHER_TCTS =   ../hbytes/hbytes-base.tct
 CPPFLAGS +=    -I../hbytes
-LDLIBS +=      ../hbytes/chiark_tcl_hbytes.so -ltinycdb
+LDLIBS +=      ../hbytes/chiark_tcl_hbytes.so -lcdb
 
 include ../base/extension.make
 
 
 include ../base/extension.make
 
+# eg, for testing:
+# liberator:cdb> LD_LIBRARY_PATH=../base:../hbytes:. tclsh8.3
+# % load chiark_tcl_cdb.so
+# % cdb
+# wrong # args: should be "cdb subcmd ..."
+# % cdb open
+# wrong # args: should be "cdb open path"
+# % 
+# liberator:cdb>