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