]> code.delx.au - gnu-emacs/blobdiff - nt/nmake.defs
New VC command docs for the Emacs manual.
[gnu-emacs] / nt / nmake.defs
index 89bf9ac91fc2a5b68f432808b51bba64c7e0e568..7d19c74dcbdb2cc257e87981466efb41a3f6420e 100644 (file)
@@ -1,9 +1,10 @@
 #  -*- Makefile -*- definition file for building GNU Emacs on Windows NT.\r
-#  Copyright (c) 2000-2001 Free Software Foundation, Inc.\r
+#  Copyright (C) 2000, 2001, 2002, 2003, 2004,\r
+#    2005, 2006, 2007 Free Software Foundation, Inc.\r
 #\r
 #  GNU Emacs is free software; you can redistribute it and/or modify\r
 #  it under the terms of the GNU General Public License as published by\r
-#  the Free Software Foundation; either version 2, or (at your option)\r
+#  the Free Software Foundation; either version 3, or (at your option)\r
 #  any later version.\r
 #\r
 #  GNU Emacs is distributed in the hope that it will be useful,\r
@@ -13,8 +14,8 @@
 #\r
 #  You should have received a copy of the GNU General Public License\r
 #  along with GNU Emacs; see the file COPYING.  If not, write to\r
-#  the Free Software Foundation, Inc., 59 Temple Place - Suite 330,\r
-#  Boston, MA 02111-1307, USA.\r
+#  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,\r
+#  Boston, MA 02110-1301, USA.\r
 \r
 # Ensure 'all' is the default target\r
 all:\r
@@ -116,14 +117,16 @@ A         = lib
 BASE_LIBS      = $(libc) $(baselibs) oldnames.lib\r
 \r
 ADVAPI32       = advapi32.lib\r
+COMCTL32       = comctl32.lib\r
 COMDLG32       = comdlg32.lib\r
 GDI32          = gdi32.lib\r
 MPR            = mpr.lib\r
 SHELL32                = shell32.lib\r
 USER32         = user32.lib\r
 WSOCK32                = wsock32.lib\r
-WINMM     = winmm.lib\r
+WINMM          = winmm.lib\r
 WINSPOOL       = winspool.lib\r
+OLE32          = ole32.lib\r
 \r
 !ifdef NOOPT\r
 DEBUG_CFLAGS   = -DEMACSDEBUG\r
@@ -138,7 +141,7 @@ SYS_LDFLAGS = -nologo -release -incremental:no -version:3.10 -swaprun:cd -swapru
 \r
 # see comments in allocate_heap in w32heap.c before changing any of the\r
 # -stack, -heap, or -base settings.\r
-TEMACS_EXTRA_LINK = -stack:0x00800000 -heap:0x00100000 -base:0x01000000 -debug:full -debugtype:both -pdb:$(BLD)\temacs.pdb -machine:$(ARCH) $(SUBSYSTEM_CONSOLE) -entry:_start -map:$(BLD)\temacs.map $(EXTRA_LINK)\r
+TEMACS_EXTRA_LINK = -stack:0x00800000 -heap:0x00100000 -base:0x01000000 -pdb:$(BLD)\temacs.pdb -machine:$(ARCH) $(SUBSYSTEM_CONSOLE) -entry:_start -map:$(BLD)\temacs.map $(EXTRA_LINK)\r
 \r
 !ifdef NOOPT\r
 OBJDIR          = obj\r
@@ -147,8 +150,9 @@ OBJDIR          = obj-spd
 !endif\r
 $(OBJDIR):;    -mkdir $(OBJDIR)\r
 BLD             = $(OBJDIR)/$(ARCH)\r
-$(BLD):         $(OBJDIR)\r
+stamp_BLD:      $(OBJDIR)\r
                -mkdir "$(BLD)"\r
+               echo $(BLD) > $@\r
 \r
 COMPILER_TEMP_FILES = *.pdb\r
 \r
@@ -171,7 +175,7 @@ DEBUG_FLAG =
 DEBUG_LINK =\r
 !else\r
 DEBUG_FLAG = -Zi\r
-DEBUG_LINK = -debug:full -debugtype:both\r
+DEBUG_LINK = -debug:full\r
 !endif\r
 \r
 !if "$(ARCH)" == "i386"\r