Tcl Source Code

Artifact [df618bf7aa]
Login

Artifact df618bf7aa7111d66bf4b84863bb81f3d6e4f437:

Attachment "makefile.vc.patch" to ticket [1998813fff] added by decosterjos 2008-06-20 21:40:47.
Index: win/makefile.vc
===================================================================
RCS file: /cvsroot/tcl/tcl/win/makefile.vc,v
retrieving revision 1.185
diff -w -u -r1.185 makefile.vc
--- win/makefile.vc	14 Jun 2008 02:07:44 -0000	1.185
+++ win/makefile.vc	20 Jun 2008 14:36:57 -0000
@@ -522,7 +522,11 @@
 # Project specific targets
 #---------------------------------------------------------------------
 
+!if $(TCL_USE_STATIC_PACKAGES)
+release:    setup $(TCLSH) $(TCLSTUBLIB)
+!else
 release:    setup $(TCLSH) $(TCLSTUBLIB) dlls
+!endif
 core:	    setup $(TCLLIB) $(TCLSTUBLIB)
 shell:	    setup $(TCLSH)
 dlls:	    setup $(TCLPIPEDLL) $(TCLREGLIB) $(TCLDDELIB)
@@ -1062,7 +1066,9 @@
 	    "$(SCRIPT_INSTALL_DIR)\..\tcl8\8.4\platform\shell-$(PKG_SHELL_VER).tm"
 	@echo Installing $(TCLDDELIBNAME)
 !if $(STATIC_BUILD)
+!if !$(TCL_USE_STATIC_PACKAGES)
 	@$(CPY) "$(TCLDDELIB)" "$(LIB_INSTALL_DIR)\"
+!endif
 !else
 	@$(CPY) "$(TCLDDELIB)" "$(LIB_INSTALL_DIR)\dde$(DDEDOTVERSION)\"
 	@$(CPY) "$(ROOT)\library\dde\pkgIndex.tcl" \
@@ -1070,7 +1076,9 @@
 !endif
 	@echo Installing $(TCLREGLIBNAME)
 !if $(STATIC_BUILD)
+!if !$(TCL_USE_STATIC_PACKAGES)
 	@$(CPY) "$(TCLREGLIB)" "$(LIB_INSTALL_DIR)\"
+!endif
 !else
 	@$(CPY) "$(TCLREGLIB)" "$(LIB_INSTALL_DIR)\reg$(REGDOTVERSION)\"
 	@$(CPY) "$(ROOT)\library\reg\pkgIndex.tcl" \