# Should be invoked as "nmake -f NT_MAKEFILE [<args>]"; the optional arguments
# are: "cpu=AMD64" - to target x64, "cpu=i386" - to target x86,
# "make_as_lib=1" - to build it as a static library, "nodebug=1" - to produce
-# the release variant of the library, "nothreads=1" - to build the library and
-# the tests without threads support.
+# the release variant of the library, "disable_threads=1" - to build the
+# library and the tests without threads support.
cc = cl
link = link
CFLAGS_DEBUG=-DGC_ASSERTIONS
!ENDIF
-!IFNDEF NOTHREADS
+!IFNDEF DISABLE_THREADS
CFLAGS_MT=$(cvarsmt) -DGC_THREADS -DTHREAD_LOCAL_ALLOC -DPARALLEL_MARK
!ENDIF
---------------
For Microsoft development tools, type
-"nmake -f NT_MAKEFILE cpu=i386 make_as_lib=1 nothreads=1 nodebug=1"
+"nmake -f NT_MAKEFILE cpu=i386 make_as_lib=1 disable_threads=1 nodebug=1"
to build the release variant of the collector as a static library without
threads support.
A similar procedure using NT_MAKEFILE is applicable to build the static
library - just pass "make_as_lib=1" as an extra argument to nmake.
If needed, it is also possible to build the library without threads
-support - this could be done by passing "nothreads=1" argument to nmake.
+support - this could be done by passing "disable_threads=1" argument to nmake.
Note that some warnings have been explicitly turned off in the makefile.