]> code.delx.au - gnu-emacs/blobdiff - src/makefile.w32-in
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-54
[gnu-emacs] / src / makefile.w32-in
index 7056d43af5fcc5a92931dea6d1e823033e5c9520..ec407c883f39c55228e5ff0e9ee3582ffd8ce167 100644 (file)
@@ -1,5 +1,6 @@
 #  -*- Makefile -*- for GNU Emacs on the Microsoft W32 API.
-#  Copyright (c) 2000-2001 Free Software Foundation, Inc.
+#  Copyright (C) 2000, 2001, 2002, 2003, 2004,
+#                2005, 2006 Free Software Foundation, Inc.
 #
 #  This file is part of GNU Emacs.
 #
@@ -15,8 +16,8 @@
 #
 #  You should have received a copy of the GNU General Public License
 #  along with GNU Emacs; see the file COPYING.  If not, write to the
-#  Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-#  Boston, MA 02111-1307, USA.
+#  Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+#  Boston, MA 02110-1301, USA.
 #
 
 ALL = emacs
@@ -42,6 +43,8 @@ TOBJ            = $(BLD)/firstfile.$(O)
 TRES           = $(BLD)/emacs.res
 TLASTLIB       = $(BLD)/lastfile.$(A)
 
+DOC            = $(OBJDIR)/etc/DOC-X
+
 FULL_LINK_FLAGS      = $(LINK_FLAGS) $(TEMACS_EXTRA_LINK)
 
 #
@@ -115,6 +118,8 @@ OBJ1 =  $(BLD)/abbrev.$(O)                  \
        $(BLD)/region-cache.$(O)                \
        $(BLD)/strftime.$(O)                    \
        $(BLD)/charset.$(O)                     \
+       $(BLD)/character.$(O)                   \
+       $(BLD)/chartab.$(O)                     \
        $(BLD)/coding.$(O)                      \
        $(BLD)/category.$(O)                    \
        $(BLD)/ccl.$(O)                         \
@@ -122,6 +127,7 @@ OBJ1 =  $(BLD)/abbrev.$(O)                  \
        $(BLD)/fringe.$(O)                      \
        $(BLD)/image.$(O)
 
+
 WIN32OBJ = $(BLD)/w32term.$(O)                 \
           $(BLD)/w32xfns.$(O)                  \
           $(BLD)/w32fns.$(O)                   \
@@ -165,9 +171,13 @@ $(EMACS):       $(DOC) $(TEMACS)
 # (it is the preload heap size in MB).
 #
 temacs:         $(BLD) $(TEMACS)
-$(TEMACS):      $(TLIB0) $(TLIB1) $(TLIBW32) $(TLASTLIB) $(TOBJ) $(TRES)
+$(TEMACS):      $(TLIB0) $(TLIB1) $(TLIBW32) $(TLASTLIB) $(TOBJ) $(TRES) \
+                 ../nt/$(BLD)/addsection.exe
        $(LINK) $(LINK_OUT)$(TEMACS_TMP) $(FULL_LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS)
-       "../nt/$(BLD)/addsection" "$(TEMACS_TMP)" "$(TEMACS)" EMHEAP 16
+       "../nt/$(BLD)/addsection" "$(TEMACS_TMP)" "$(TEMACS)" EMHEAP 20
+       echo $(OBJ0) > $(BLD)/buildobj.lst
+       echo $(OBJ1) >> $(BLD)/buildobj.lst
+       echo $(WIN32OBJ) >> $(BLD)/buildobj.lst
 
 bootstrap: bootstrap-emacs
 
@@ -175,6 +185,8 @@ bootstrap: bootstrap-emacs
 # Build a temacs with a sufficiently large PURESIZE to load the
 # Lisp files from loadup.el in source form.
 #
+# WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
+#          this can break with GNU Make 3.81 and later if sh.exe is used.
 bootstrap-temacs:
        $(MAKE) $(MFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE)
 
@@ -262,6 +274,7 @@ $(BLD)/abbrev.$(O) : \
        $(EMACS_ROOT)/src/m/intel386.h \
        $(EMACS_ROOT)/src/config.h \
        $(SRC)/buffer.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/commands.h \
        $(SRC)/dispextern.h \
@@ -277,6 +290,7 @@ $(BLD)/alloc.$(O) : \
        $(EMACS_ROOT)/src/config.h \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/composite.h \
        $(SRC)/dispextern.h \
@@ -359,6 +373,7 @@ $(BLD)/callproc.$(O) : \
        $(EMACS_ROOT)/nt/inc/sys/file.h \
        $(SRC)/buffer.h \
        $(SRC)/ccl.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/coding.h \
        $(SRC)/commands.h \
@@ -375,6 +390,7 @@ $(BLD)/casefiddle.$(O) : \
        $(EMACS_ROOT)/src/m/intel386.h \
        $(EMACS_ROOT)/src/config.h \
        $(SRC)/buffer.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/commands.h \
        $(SRC)/composite.h \
@@ -396,6 +412,7 @@ $(BLD)/category.$(O) : \
        $(EMACS_ROOT)/src/config.h \
        $(SRC)/buffer.h \
        $(SRC)/category.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/keymap.h
 
@@ -405,9 +422,22 @@ $(BLD)/ccl.$(O) : \
        $(EMACS_ROOT)/src/m/intel386.h \
        $(EMACS_ROOT)/src/config.h \
        $(SRC)/ccl.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/coding.h
 
+$(BLD)/character.$(O) : \
+       $(SRC)/character.c \
+       $(EMACS_ROOT)/src/s/ms-w32.h \
+       $(EMACS_ROOT)/src/m/intel386.h \
+       $(EMACS_ROOT)/src/config.h \
+       $(SRC)/buffer.h \
+       $(SRC)/character.h \
+       $(SRC)/charset.h \
+       $(SRC)/coding.h \
+       $(SRC)/composite.h \
+       $(SRC)/disptab.h
+
 $(BLD)/charset.$(O) : \
        $(SRC)/charset.c \
        $(EMACS_ROOT)/src/s/ms-w32.h \
@@ -415,11 +445,20 @@ $(BLD)/charset.$(O) : \
        $(EMACS_ROOT)/src/config.h \
        $(SRC)/buffer.h \
        $(SRC)/ccl.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/coding.h \
        $(SRC)/composite.h \
        $(SRC)/disptab.h
 
+$(BLD)/chartab.$(O) : \
+       $(SRC)/chartab.c \
+       $(EMACS_ROOT)/src/s/ms-w32.h \
+       $(EMACS_ROOT)/src/m/intel386.h \
+       $(EMACS_ROOT)/src/config.h \
+       $(SRC)/charset.h \
+       $(SRC)/character.h
+
 $(BLD)/cm.$(O) : \
        $(SRC)/cm.c \
        $(EMACS_ROOT)/src/s/ms-w32.h \
@@ -434,6 +473,7 @@ $(BLD)/cmds.$(O) : \
        $(EMACS_ROOT)/src/m/intel386.h \
        $(EMACS_ROOT)/src/config.h \
        $(SRC)/buffer.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/commands.h \
        $(SRC)/dispextern.h \
@@ -451,6 +491,7 @@ $(BLD)/coding.$(O) : \
        $(EMACS_ROOT)/src/config.h \
        $(SRC)/buffer.h \
        $(SRC)/ccl.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/coding.h \
        $(SRC)/composite.h \
@@ -466,6 +507,7 @@ $(BLD)/composite.$(O) : \
        $(EMACS_ROOT)/src/m/intel386.h \
        $(EMACS_ROOT)/src/config.h \
        $(SRC)/buffer.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/composite.h \
        $(SRC)/dispextern.h \
@@ -479,6 +521,7 @@ $(BLD)/data.$(O) : \
        $(EMACS_ROOT)/src/m/intel386.h \
        $(EMACS_ROOT)/src/config.h \
        $(SRC)/buffer.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/frame.h \
        $(SRC)/keyboard.h \
@@ -492,6 +535,7 @@ $(BLD)/dired.$(O) : \
        $(EMACS_ROOT)/src/config.h \
        $(SRC)/buffer.h \
        $(SRC)/ccl.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/coding.h \
        $(SRC)/commands.h \
@@ -509,6 +553,7 @@ $(BLD)/dispnew.$(O) : \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/cm.h \
        $(SRC)/commands.h \
@@ -537,6 +582,7 @@ $(BLD)/doc.$(O) : \
        $(EMACS_ROOT)/src/config.h \
        $(EMACS_ROOT)/nt/inc/sys/file.h \
        $(SRC)/buffer.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/keyboard.h \
        $(SRC)/keymap.h
@@ -546,6 +592,7 @@ $(BLD)/doprnt.$(O) : \
        $(EMACS_ROOT)/src/s/ms-w32.h \
        $(EMACS_ROOT)/src/m/intel386.h \
        $(EMACS_ROOT)/src/config.h \
+       $(SRC)/character.h \
        $(SRC)/charset.c
 
 $(BLD)/editfns.$(O) : \
@@ -556,6 +603,7 @@ $(BLD)/editfns.$(O) : \
        $(EMACS_ROOT)/nt/inc/pwd.h \
        $(SRC)/buffer.h \
        $(SRC)/ccl.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/coding.h \
        $(SRC)/composite.h \
@@ -590,6 +638,7 @@ $(BLD)/emacs.$(O) : \
        $(SRC)/termhooks.h \
        $(SRC)/w32bdf.h \
        $(SRC)/w32gui.h \
+       $(SRC)/w32heap.h \
        $(SRC)/window.h
 
 $(BLD)/eval.$(O) : \
@@ -616,6 +665,7 @@ $(BLD)/fileio.$(O) : \
        $(EMACS_ROOT)/nt/inc/sys/file.h \
        $(SRC)/buffer.h \
        $(SRC)/ccl.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/coding.h \
        $(SRC)/commands.h \
@@ -637,6 +687,7 @@ $(BLD)/filelock.$(O) : \
        $(EMACS_ROOT)/src/epaths.h \
        $(SRC)/buffer.h \
        $(SRC)/ccl.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/coding.h \
        $(SRC)/systime.h
@@ -672,6 +723,7 @@ $(BLD)/fns.$(O) : \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
        $(SRC)/ccl.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/coding.h \
        $(SRC)/commands.h \
@@ -694,6 +746,7 @@ $(BLD)/fontset.$(O) : \
        $(EMACS_ROOT)/src/config.h \
        $(SRC)/buffer.h \
        $(SRC)/ccl.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/dispextern.h \
        $(SRC)/fontset.h \
@@ -711,6 +764,7 @@ $(BLD)/frame.$(O) : \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/commands.h \
        $(SRC)/dispextern.h \
@@ -772,6 +826,7 @@ $(BLD)/indent.$(O) : \
        $(EMACS_ROOT)/src/config.h \
        $(SRC)/buffer.h \
        $(SRC)/category.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/composite.h \
        $(SRC)/dispextern.h \
@@ -795,6 +850,7 @@ $(BLD)/insdel.$(O) : \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/composite.h \
        $(SRC)/dispextern.h \
@@ -830,6 +886,7 @@ $(BLD)/keyboard.$(O) : \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/commands.h \
        $(SRC)/composite.h \
@@ -861,6 +918,7 @@ $(BLD)/keymap.$(O) : \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/commands.h \
        $(SRC)/composite.h \
@@ -889,6 +947,7 @@ $(BLD)/lread.$(O) : \
        $(EMACS_ROOT)/src/epaths.h \
        $(SRC)/buffer.h \
        $(SRC)/ccl.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/coding.h \
        $(SRC)/commands.h \
@@ -920,6 +979,7 @@ $(BLD)/marker.$(O) : \
        $(EMACS_ROOT)/src/m/intel386.h \
        $(EMACS_ROOT)/src/config.h \
        $(SRC)/buffer.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h
 
 $(BLD)/md5.$(O) : \
@@ -932,6 +992,7 @@ $(BLD)/minibuf.$(O) : \
        $(EMACS_ROOT)/src/m/intel386.h \
        $(EMACS_ROOT)/src/config.h \
        $(SRC)/buffer.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/commands.h \
        $(SRC)/composite.h \
@@ -999,6 +1060,7 @@ $(BLD)/w32console.$(O) : \
        $(SRC)/s/ms-w32.h \
        $(SRC)/m/intel386.h \
        $(SRC)/ccl.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/coding.h \
        $(SRC)/config.h \
@@ -1016,6 +1078,7 @@ $(BLD)/print.$(O) : \
        $(EMACS_ROOT)/src/m/intel386.h \
        $(EMACS_ROOT)/src/config.h \
        $(SRC)/buffer.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/composite.h \
        $(SRC)/dispextern.h \
@@ -1039,6 +1102,7 @@ $(BLD)/process.$(O) : \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
        $(SRC)/ccl.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/coding.h \
        $(SRC)/commands.h \
@@ -1078,6 +1142,7 @@ $(BLD)/regex.$(O) : \
        $(SRC)/m/intel386.h \
        $(SRC)/buffer.h \
        $(SRC)/category.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/config.h \
        $(SRC)/regex.h \
@@ -1113,6 +1178,7 @@ $(BLD)/search.$(O) : \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
        $(SRC)/category.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/commands.h \
        $(SRC)/composite.h \
@@ -1145,6 +1211,7 @@ $(BLD)/syntax.$(O) : \
        $(EMACS_ROOT)/src/config.h \
        $(SRC)/buffer.h \
        $(SRC)/category.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/commands.h \
        $(SRC)/composite.h \
@@ -1189,6 +1256,7 @@ $(BLD)/term.$(O) : \
        $(EMACS_ROOT)/src/m/intel386.h \
        $(EMACS_ROOT)/src/config.h \
        $(SRC)/ccl.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/cm.h \
        $(SRC)/coding.h \
@@ -1285,6 +1353,7 @@ $(BLD)/xdisp.$(O) : \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
        $(SRC)/ccl.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/coding.h \
        $(SRC)/commands.h \
@@ -1316,6 +1385,7 @@ $(BLD)/xfaces.$(O): \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/composite.h \
        $(SRC)/dispextern.h \
@@ -1338,6 +1408,7 @@ $(BLD)/w32fns.$(O): \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
        $(SRC)/ccl.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/coding.h \
        $(SRC)/composite.h \
@@ -1363,6 +1434,7 @@ $(BLD)/w32menu.$(O): \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/coding.h \
        $(SRC)/dispextern.h \
@@ -1385,6 +1457,7 @@ $(BLD)/w32term.$(O): \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
        $(SRC)/ccl.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/coding.h \
        $(SRC)/composite.h \
@@ -1416,6 +1489,7 @@ $(BLD)/w32select.$(O): \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
        $(SRC)/ccl.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/coding.h \
        $(SRC)/composite.h \
@@ -1425,6 +1499,7 @@ $(BLD)/w32select.$(O): \
        $(SRC)/systime.h \
        $(SRC)/w32bdf.h \
        $(SRC)/w32gui.h \
+       $(SRC)/w32heap.h \
        $(SRC)/w32term.h
 
 $(BLD)/w32reg.$(O): \
@@ -1446,6 +1521,7 @@ $(BLD)/w32xfns.$(O): \
        $(EMACS_ROOT)/src/config.h \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/fontset.h \
        $(SRC)/frame.h \
@@ -1462,6 +1538,7 @@ $(BLD)/w32bdf.$(O): \
        $(EMACS_ROOT)/src/config.h \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
+       $(SRC)/character.h \
        $(SRC)/charset.h \
        $(SRC)/dispextern.h \
        $(SRC)/fontset.h \
@@ -1471,5 +1548,3 @@ $(BLD)/w32bdf.$(O): \
        $(SRC)/w32bdf.h \
        $(SRC)/w32gui.h \
        $(SRC)/w32term.h
-
-# arch-tag: 9fd7aba8-f826-4111-b3c0-497a8e7db9a0