You are viewing a plain text version of this content. The canonical link for it is here.
Posted to websh-cvs@tcl.apache.org by ro...@apache.org on 2005/11/03 14:04:32 UTC

svn commit: r330543 - /tcl/websh/trunk/src/unix/Makefile.in

Author: ronnie
Date: Thu Nov  3 05:04:24 2005
New Revision: 330543

URL: http://svn.apache.org/viewcvs?rev=330543&view=rev
Log:
- moved generated script.h to output directory
  (so that compiling for Windows does not interfere)

Modified:
    tcl/websh/trunk/src/unix/Makefile.in

Modified: tcl/websh/trunk/src/unix/Makefile.in
URL: http://svn.apache.org/viewcvs/tcl/websh/trunk/src/unix/Makefile.in?rev=330543&r1=330542&r2=330543&view=diff
==============================================================================
--- tcl/websh/trunk/src/unix/Makefile.in (original)
+++ tcl/websh/trunk/src/unix/Makefile.in Thu Nov  3 05:04:24 2005
@@ -240,7 +240,7 @@
 	TCLLIBPATH=$(TCL_PACKAGE_PATH); export TCLLIBPATH; \
 	cd $(TOP_DIR)/tests; \
 	umask 0; \
-	(echo source webtest.ws3) | ../unix/websh$(VERSION)
+	$(TOP_DIR)/unix/websh$(VERSION) webtest.ws3
 
 test.pure: websh$(VERSION).pure
 	@LD_LIBRARY_PATH="$(TCL_PACKAGE_PATH):$(TCL_LIB_DIR):`pwd`:$(LD_LIBRARY_PATH)"; \
@@ -271,11 +271,11 @@
 	$(RANLIB) $(web_LIB_FILE)
 
 # generic
-../generic/script.h: ../generic/tcldecmt.tcl $(SCRIPT_SOURCES)
+script.h: ../generic/tcldecmt.tcl $(SCRIPT_SOURCES)
 	$(TCLSH_PROG) ../generic/tcldecmt.tcl $(SCRIPT_SOURCES) > $@
 
-script.o: ../generic/script.c ../generic/script.h
-	$(COMPILE) -c $<
+script.o: ../generic/script.c script.h
+	$(COMPILE) -I. -c $<
 
 interpool.o: ../generic/interpool.c
 	$(COMPILE) -UUSE_TCL_STUBS -c $<
@@ -332,7 +332,7 @@
 	-rm -f *.o core *.core
 	-rm -f *.$(OBJEXT)
 	-rm -f *pure* .*pure*
-	-rm -f ../generic/script.h
+	-rm -f script.h
 	-rm -f *~
 	-rm -f ../tests/locktest.*
 	-rm -f $(web_OBJECTS) $(web_ap_OBJECTS) mod_websh$(SHARED_LIB_SUFFIX) mod_websh$(UNSHARED_LIB_SUFFIX)



---------------------------------------------------------------------
To unsubscribe, e-mail: websh-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: websh-cvs-help@tcl.apache.org