chiark
/
gitweb
/
~ian
/
chiark-tcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
all entrypoints done now; loads
[chiark-tcl.git]
/
cdb
/
Makefile
diff --git
a/cdb/Makefile
b/cdb/Makefile
index 9c1f665ff052bc968bc8ac3e1c80b85df1ed6785..96ac4aebcf56739dde2bd155352937a0f9adefb0 100644
(file)
--- a/
cdb/Makefile
+++ b/
cdb/Makefile
@@
-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 -l
tiny
cdb
+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>