summaryrefslogtreecommitdiffstats
path: root/win/makefile.vc
Commit message (Collapse)AuthorAgeFilesLines
* Patch 922727 committed. Implements three changes:dgp2004-04-061-2/+1
| | | | | | | | | | | | | | | | | | | | | | | * generic/tclInt.h: Reworked the Tcl header files into a clean * unix/tclUnixPort.h: hierarchy where tcl.h < tclPort.h < tclInt.h * win/tclWinInt.h: and every C source file should #include * win/tclWinPort.h: at most one of those files to satisfy its declaration needs. tclWinInt.h and tclWinPort.h also better organized so that tclWinPort.h includes the Windows implementation of cross-platform declarations, while tclWinInt.h makes declarations that are available on Windows only. * generic/tclBinary.c (TCL_NO_MATH): Deleted the generic/tclMath.h * generic/tclMath.h (removed): header file. The internal Tcl * macosx/Makefile (PRIVATE_HEADERS): header, tclInt.h, has a * win/tcl.dsp: #include <math.h> directly, and file external to Tcl needing libm should do the same. * win/Makefile.in (WIN_OBJS): Deleted the win/tclWinMtherr.c file. * win/makefile.bc (TCLOBJS): It's a vestige from matherr() days * win/makefile.vc (TCLOBJS): gone by. * win/tcl.dsp: * win/tclWinMtherr.c (removed):
* fixed some commentary.davygrvy2004-03-031-3/+3
|
* default environment variable for VC++ is %MSDevDir% not %MSVCDir%,davygrvy2004-03-031-2/+2
| | | | although vcvars32.bat sets both.
* minor bug fix for last commit.davygrvy2004-02-081-2/+2
|
* * win/makefile.vc:davygrvy2004-02-071-7/+11
| | | | | | | | | | | | | | * win/rules.vc: * win/tcl.rc: * win/tclsh.rc: Added an 'unchecked' option to the OPTS macro so a core build with symbols can be linked to the non-debug enabled C run-time. As per discussion with Kevin Kenny. Called like this: nmake -af makefile.vc OPTS=unchecked,symbols This clarifies the meaning of the 'g' naming suffix to mean only that the binary requires the debug enabled C run-time. Whether the binary contains symbols or not is a seperate condition.
* * win/makefile.vc: Use the -GZ compiler switch when building fordavygrvy2004-01-301-3/+3
| | | | | | symbols. This is supposed to emulate the release build better to avoid hiding problems that would only show themselves in a release build.
* Some clean-up with how the resource files are built and howdavygrvy2004-01-161-23/+16
| | | | -DTCL_USE_STATIC_PACKAGES is sent when compiling the shells
* document 'fullwarn' in the opening usage commentsdavygrvy2004-01-151-2/+4
|
* Added new logic to crank-up the warning levels for both compiledavygrvy2004-01-151-2/+13
| | | | and link when $(FULLWARNINGS) is set.
* * win/tclWinReg.c: Placed the requirement for advapi.libdavygrvy2004-01-151-2/+2
| | | | | | | | into the object file itself with #paragma comment (lib, ...) when built with VC++. This will simplify linking for users of the static library. * win/makefile.vc: Removed 'advapi.lib' from $(baselibs).
* Added -DTCL_NO_DEPRECATED usage to makefile.vc. Called like this:davygrvy2004-01-101-1/+7
| | | | nmake -af makefile.vc CHECKS=nodep
* VERSION macro now set by reading tcl.h for it.davygrvy2003-12-231-2/+13
|
* * library/dde/pkgIndex.tcl: Added safeguards so that registrydgp2003-11-101-2/+2
| | | | | | | | | | | | * library/reg/pkgIndex.tcl: and dde packages are not offered * win/tclWinDde.c: on non-Windows platforms. Bumped to * win/tclWinReg.c: registry 1.1.3 and dde 1.3. * win/Makefile.in: * win/configure.in: * win/makefile.bc: * win/makefile.vc: * win/configure: autoconf (2.57)
* TIP #156: Language-Neutral Root Locale for MsgcatKevin B Kenny2003-10-211-3/+3
|
* * win/makefile.vc: Applied patches for bug #801467 by Joe Mistachkinpatthoyts2003-10-091-8/+9
| | | | | * win/tclAppInit.c: to fix incompatible TCL_MEM_DEBUG handling in * generic/tclObj.c: Win32 VC builds.
* Factored out the trace code - it's big enough to be its own maintenance areadkf2003-06-251-1/+2
| | | | and tricky enough to discourage non-specialists...
* regsub empty string fixes, and windows buildvincentdarley2003-06-171-11/+11
|
* * win/Makefile.in: Haven't heard back from David for a week.andreas_kupries2003-06-161-2/+27
| | | | | | | | | * win/configure: Now committing the remaining changes. * win/configure.in: Note: In active contact with Helmut Giese * win/makefile.vc: about the borland relatedchanges. This part * win/rules.vc: will see future updates. * win/tcl.m4: * win/makefile.bc:
* Use the boolean $(DEBUG) instead of a string comparison on $(DBGX).davygrvy2003-04-301-7/+7
|
* Updated makefile.vc to conform with Mo DeJong's changes to Makefile.in Kevin B Kenny2003-04-151-2/+3
| | | | | and tclWinPipe.c on 2003-04-14. Now passes TCL_PIPE_DLL in place of TCL_DBGX.
* fix 5 small filesystem bugs, and some typosvincentdarley2003-04-111-1/+2
|
* Build support for dicts on Unix and Windows, plus public API (structuredkf2003-04-051-1/+2
| | | | declaration and stubs entries.)
* Added quoting around the script name in the 'test' target; Joe Kevin B Kenny2003-03-231-3/+3
| | | | | Mistachkin insists that he has a configuration that fails to launch tcltest without it, and it appears harmless otherwise.
* Added two missing uses of $(DBGX) so that tclpip8x.dll loads without Kevin B Kenny2003-03-111-3/+3
| | | | panicking on Win9x.
* * README: Bumped version number ofdgp2003-03-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | * generic/tcl.h: Tcl to 8.5a0. * library.init.tcl: * mac/README: * macosx/Tcl.pbproj/project.pbxproc: * tests/basic.test: * tools/configure.in: * tools/tcl.hpj.in: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/README: * win/README.binary: * win/configure.in: * win/makefile.bc: * win/makefile.vc: * win/tcl.m4: * tools/configure: autoconf * unix/configure: * win/configure:
* Corrected a Makefile.vc bug introduced by the change of DBGX from Kevin B Kenny2003-03-031-3/+11
| | | | d to g in rules.vc.
* WinTcl crash on exit fixvincentdarley2003-01-101-2/+1
|
* * win/makefile.vc:davygrvy2003-01-051-24/+24
| | | | | | | | | | | | | | | | * win/rules.vc: Fixed INSTALLDIR macro problem that blanked itself by accident causing the install target to put the tree at the root of the drive built on. Whoops.. Renamed the 'linkexten' option to be 'staticpkg'. Added 'thrdalloc' to allow the switching _on_ of the thread allocator. Under testing, I found it not to be benificial under windows for the purpose of the application I was using it for. It was more important for this app that resources for tcl threads be returned to the system rather than saved/moved to the global recycler. Be extra clean or extra fast for the default threaded build? Let's move to clean and allow it to be switched on for users who find it benificial for their use of threads.
* * win/makefile.vc: some uses of xcopy swapped to the @$(CPY) macrodavygrvy2002-12-181-6/+6
|
* * win/tclAppInit.c: Calls Registry_Init() and Dde_Init() whendavygrvy2002-11-041-18/+8
| | | | | | | | | | | | | STATIC_BUILD and TCL_USE_STATIC_PACKAGES macros are set. * win/makefile.vc: * win/rules.vc: linkexten option now sets the TCL_USE_STATIC_PACKAGES macro which also adds the registry and dde object files to the link of the shell. [Patch 479697] Also factored some additional macros that will be helpful for extension authors. Version grepping of tcl.h will need to be added to complete this. * win/buildall.vc.bat: Added more descriptive commentary.
* xcopy on NT 4.0 doesn't support the /Y switch (overwrite). Added logicdavygrvy2002-10-261-30/+40
| | | | to handle this. [Bug 618019]
* * library/reg/pkgIndex.tcl:hobbs2002-10-181-2/+2
| | | | | | | | * win/configure: * win/configure.in: * win/Makefile.in: * win/makefile.vc: * win/makefile.bc: Updated to reg1.1
* Added missing tclThreadAlloc.c to the build rules and defines USE_THREAD_ALLOCdavygrvy2002-09-291-3/+9
| | | | when TCL_THREADS is defined.
* * README: Bumped version number to 8.4b3 to distinguishdgp2002-08-201-3/+3
| | | | | | | | | | | | | | | | | | | | | * generic/tcl.h: HEAD from the 8.4b2 release. * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/README.binary: * win/configure.in: * unix/configure: autoconf * win/configure: * library/http/http.tcl: Corrected installation directory of * library/msgcat/msgcat.tcl: the package tcltest 2.2. Added * library/opt/optparse.tcl: comments in other packages to remind * library/tcltest/tcltest.tcl: that installation directories need * unix/Makefile.in: updates to match increasing version * win/Makefile.in: numbers. [Bug 597450] * win/makefile.bc: * win/makefile.vc:
* * Updated all package install directories to match current Major.minordgp2002-06-211-3/+6
| | | | | versions of the packages. Added tcltest package to installation on Windows.
* Added 'runtest' target. Added docs as dependencies for winhelp rtf.davygrvy2002-05-081-14/+19
| | | | Changes from Peter Spjuth <peter.spjuth@space.se>.
* repair of previous mistakedavygrvy2002-03-291-8/+3
|
* A STATIC_BUILD bug fix. -DSTATIC_BUILD wasn't being added to the core's ↵davygrvy2002-03-291-5/+8
| | | | compile rules.
* * tools/feather.bmp:davygrvy2002-03-281-14/+18
| | | | | | | | | | * tools/man2help.tcl: * tools/man2help2.tcl: * win/makefile.vc: More winhelp target fixups. Added a feather bitmap to the non-scrollable area and changed the color to be yellow from a plain white. The colors can be whatever we want them to be, but thought I would start with something bold. [Bug 527941]
* * tools/man2help.tcl:davygrvy2002-03-281-28/+34
| | | | | | | | * win/makefile.vc: winhelp target now copies all needed files from tools/ to a workarea under $(OUT_DIR) and builds it from there. No build cruft is left in tools/ anymore. All paths used in man2help.tcl are now relative to where the script is. [Bug 527941]
* Clean targets made Win9x complient.davygrvy2002-03-271-14/+17
|
* * win/.cvsignore:davygrvy2002-03-271-131/+180
| | | | | | | | | | | | | | | | | * win/buildall.vc.bat: * win/coffbase.txt: * win/makefile.vc: * win/nmakehlp.c (new): * win/rules.vc: First draft fix for [Bug 527941]. More changes need to done to the makehelp target to get to stop leaving build files in the tools/ directory. This does not address the syntax errors in the man files. Having the contents of tcl.hpj(.in) inside makefile.vc allows for version numbers to be replaced with macros. The new nmakehlp.c is built by rules.vc in preprocessing and removes the need to use tricky shell syntax that wasn't compatible on Win9x systems. This is a first draft repair for [Bug 533862].
* * win/mkd.bat (removed):davygrvy2002-02-211-13/+20
| | | | | | | | | | | | | | | | | | | | | | | | * win/coffbase.txt (new): * win/makefile.bc: * win/makefile.vc: Changed the 'setup' target to stop using the mkd.bat file and just make the directory right in the rule. Same change to makefile.bc. configure.in nor Makefile.in use it. coffbase.txt will be the master list for our "prefered base addresses" set by the linker. This should improve load-time (NT only) by avoiding relocations. Submissions to the list by extension authors are encouraged. Added a 'tidy' target to compliment 'clean' and 'hose' to remove just the outputs. Also removed the $(winlibs) macro as it wasn't being used. Stuff left to do: 1) get the winhelp target to stop building in the tools/ directory. 2) stop using rmd.bat 3) add more dependacy rules.
* * win/makefile.vc:davygrvy2002-02-211-3/+8
| | | | | | * win/rules.vc: Added a new "loimpact" option that sets the -ws:aggressive linker option. Off by default. It's said to keep the heap use low at the expense of alloc speed.
* * win/buildall.vc.bat:davygrvy2002-02-201-23/+42
| | | | | | | | | | | | | | | | | | | | | | | * win/makefile.vc: * win/rules.vc: General clean-ups. Added compiler and linker tests for a) the pentium 0x0F errata, b) optimizing (not all have this), and c) linker v6 section alignment confusion. All these are tested first to make sure any D4002 or LNK1117 warnings aren't displayed. The pentium 0x0F errata is a recommended switch. The v5 linker's section alignment default is 512, but the v6 linker was changed to 4096 in an attempt to speed loading on Win98. I changed the default to always be 512 across both linkers, unless linking statically, then 4096 is used for the claimed speed effect. Using a 512 alignment saves 12k bytes of dead space in the DLL. Added IA64 B-stepping errata switch when the compiler supports it. Added profiling to $(lflags) when requested and also removed the explict -entry option as the default works fine as is. Removed win/tclWinInit.c from the special case section to let it use the common implicit rule as the $(EXTFLAGS) macro it had was never referenced anywhere.
* * win/makefile.vc: Added the pentium errata switches to $(cflags)davygrvy2002-02-201-14/+8
| | | | | | | which should have already been there according to the MSDN docs regarding the infamous FDIV bug from `97. Added profiling to $(lflags) and also removed the explict -entry option as the default works without special work.
* Further changes to the TIP 72 patch to make it compile under VC++Kevin B Kenny2002-02-151-2/+2
|
* TIP#72 implementation. See ChangeLog for details.dkf2002-02-151-1/+3
| | | | | This version builds clean on Solaris/SPARC, with GCC and CC, both with and without threads and both in 32-bit and 64-bit mode.
* Removed -GD compiler option. It was intended for future use, but MS is againdavygrvy2002-01-111-8/+4
| | | | | changing the future at their whim. The D4002 warning was harmless though, but someone using MsDev .NET logged it as a concern. [Bug: #501565]
* Some install target bugs repaired along with $(TCLSTUBLIB) added to thedavygrvy2001-12-031-64/+43
| | | | dependencies rather than implicit through the dde and reg extensions.