1 ######################################################################
\r
4 # Simple set of standard rules for the VC++ makefiles.
\r
6 ######################################################################
\r
8 ######################################################################
\r
10 ######################################################################
\r
11 # a bug fix needed for VC++ 6.0's nmake tool.
\r
13 # Reset the version *string* back to the integer it's supposed to be.
\r
14 # More entries will have to be made here for all subsiquent nmake
\r
15 # versions until Microsoft fixes it.
\r
17 _NMAKE_VER = $(_NMAKE_VER:6.00.8168.0=600)
\r
18 ######################################################################
\r
21 ######################################################################
\r
22 # Commandline checks and over-rides
\r
23 ######################################################################
\r
28 # Set DEBUG to 1 to compile with symbols.
\r
34 # Set STATIC_BUILD to 1 to make a static library rather
\r
37 !ifndef STATIC_BUILD
\r
41 # Set USE_TCL_STUBS to 0 to disable Stubs support. Stubs
\r
42 # will work fine even with static libraries, but you may
\r
43 # disable it if you want to.
\r
45 !ifndef USE_TCL_STUBS
\r
46 !if $(STATIC_BUILD) == 0
\r
53 # Set NOMSVCRT to 1 to use libcmt(d).lib instead of the
\r
64 !if $(STATIC_BUILD) == 0 && $(NOMSVCRT) == 1
\r
65 !error "The static runtime in a loadable (dll) extension is a useless configuration that will cause abnormal and unnecessary code bloat."
\r
68 !endif #!ifndef HAVE_RULES
\r