Index: kitdll/buildsrc/kitdll-0.0/Makefile.in ================================================================== --- kitdll/buildsrc/kitdll-0.0/Makefile.in +++ kitdll/buildsrc/kitdll-0.0/Makefile.in @@ -27,21 +27,21 @@ ## DLL Build libtcl.@SHOBJEXT@: vfs_kitdll_data_tcl.o kitInit.o rechan.o pwb.o $(CC) $(CPPFLAGS) $(CFLAGS) -o libtcl.so vfs_kitdll_data_tcl.o kitInit.o rechan.o pwb.o $(LDFLAGS) $(SHOBJLDFLAGS) -Wl,--whole-archive $(STATICLIBS) -Wl,--no-whole-archive $(LIBS) # Test driver -test.o: test.c -test: test.o - $(CC) $(CPPFLAGS) $(CFLAGS) -o test test.o -L. -ltcl -Wl,-R,`pwd` +tclsh.o: tclsh.c +tclsh: tclsh.o + $(CC) $(CPPFLAGS) $(CFLAGS) -o tclsh tclsh.o -L. -ltcl -Wl,-R,`pwd` # Cleanup routeines clean: rm -f libtcl.so rm -f rechan.o kitInit.o rm -f vfs_kitdll_data_tcl.c vfs_kitdll_data_tcl.o rm -f vfs_kitdll.tcl.h - rm -f test.o test + rm -f tclsh.o tclsh distclean: clean rm -f config.status config.log rm -f Makefile ADDED kitdll/buildsrc/kitdll-0.0/tclsh.c Index: kitdll/buildsrc/kitdll-0.0/tclsh.c ================================================================== --- /dev/null +++ kitdll/buildsrc/kitdll-0.0/tclsh.c @@ -0,0 +1,15 @@ +#ifdef HAVE_STDIO_H +# include +#endif + +#include + +int Tcl_AppInit(Tcl_Interp *interp) { + return(Tcl_Init(interp)); +} + +int main(int argc, char **argv) { + Tcl_Main(argc, argv, Tcl_AppInit); + + return(1); +} DELETED kitdll/buildsrc/kitdll-0.0/test.c Index: kitdll/buildsrc/kitdll-0.0/test.c ================================================================== --- kitdll/buildsrc/kitdll-0.0/test.c +++ /dev/null @@ -1,15 +0,0 @@ -#ifdef HAVE_STDIO_H -# include -#endif - -#include - -int Tcl_AppInit(Tcl_Interp *interp) { - return(Tcl_Init(interp)); -} - -int main(int argc, char **argv) { - Tcl_Main(argc, argv, Tcl_AppInit); - - return(1); -}