+OTHER_DIRS += ../base/
+OTHER_DIRS += $(addprefix ../,$(dir $(OTHER_EXTS)))
+OTHER_DIRS += .
+
+null :=
+space := $(null) #
+
+$(SHLIB).test.tcl:
+ echo >$@ "load $(SHLIB).so"
+
+test-load: $(SHLIB).so $(SHLIB).test.tcl
+ @set -x; LD_LIBRARY_PATH=$(subst $(space),:,$(strip $(OTHER_DIRS)))$${LD_LIBRARY_PATH+:}$${LD_LIBRARY_PATH} \
+ tclsh$(TCL_VERSION) $(SHLIB).test.tcl
+