(generated-autoload-file): Don't set, instead use different values of
[emacs.git] / lib-src / makefile.w32-in
blob0edfdf58b0217dcfe0ce88b365f037e2db481735
1 #  -*- Makefile -*- for GNU Emacs on the Microsoft W32 API.
2 #  Copyright (C) 2000, 2001, 2002, 2003, 2004,
3 #                2005, 2006, 2007, 2008 Free Software Foundation, Inc.
5 #  This file is part of GNU Emacs.
7 #  GNU Emacs is free software; you can redistribute it and/or modify
8 #  it under the terms of the GNU General Public License as published by
9 #  the Free Software Foundation; either version 3, or (at your option)
10 #  any later version.
12 #  GNU Emacs is distributed in the hope that it will be useful,
13 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
14 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 #  GNU General Public License for more details.
17 #  You should have received a copy of the GNU General Public License
18 #  along with GNU Emacs; see the file COPYING.  If not, write to the
19 #  Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 #  Boston, MA 02110-1301, USA.
23 ALL = make-docfile hexl ctags etags movemail ebrowse sorted-doc digest-doc emacsclient
25 .PHONY: $(ALL)
27 VERSION         = 23.0.60
29 LOCAL_FLAGS     = -DWINDOWSNT -DDOS_NT -DSTDC_HEADERS=1 -DNO_LDAV=1 \
30                   -DNO_ARCHIVES=1 -DHAVE_CONFIG_H=1 -I../nt/inc \
31                   -I../src
33 LIBS            = $(BASE_LIBS) $(ADVAPI32)
35 $(BLD)/make-docfile.exe:        $(BLD)/make-docfile.$(O) $(BLD)/ntlib.$(O)
36                 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/make-docfile.$(O) $(BLD)/ntlib.$(O) $(LIBS)
37 $(BLD)/hexl.exe:                $(BLD)/hexl.$(O)
38                 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/hexl.$(O) $(LIBS)
39 $(BLD)/fakemail.exe:            $(BLD)/fakemail.$(O) $(BLD)/ntlib.$(O)
40                 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/fakemail.$(O) $(BLD)/ntlib.$(O) $(LIBS)
41 $(BLD)/sorted-doc.exe:  $(BLD)/sorted-doc.$(O)
42                 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/sorted-doc.$(O) $(LIBS)
43 $(BLD)/digest-doc.exe:  $(BLD)/digest-doc.$(O)
44                 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/digest-doc.$(O) $(LIBS)
45 $(BLD)/test-distrib.exe: $(BLD)/test-distrib.$(O)
46                 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/test-distrib.$(O) $(LIBS)
48 make-docfile:   stamp_BLD $(BLD)/make-docfile.exe
49 ctags:          stamp_BLD $(BLD)/ctags.exe
50 etags:          stamp_BLD $(BLD)/etags.exe
51 ebrowse:        stamp_BLD $(BLD)/ebrowse.exe
52 hexl:           stamp_BLD $(BLD)/hexl.exe
53 movemail:       stamp_BLD $(BLD)/movemail.exe
54 fakemail:       stamp_BLD $(BLD)/fakemail.exe
55 sorted-doc:     stamp_BLD $(BLD)/sorted-doc.exe
56 digest-doc:     stamp_BLD $(BLD)/digest-doc.exe
57 emacsclient:    stamp_BLD $(BLD)/emacsclient.exe $(BLD)/emacsclientw.exe
59 test-distrib:   stamp_BLD $(BLD)/test-distrib.exe
60         "$(BLD)/test-distrib.exe" "$(SRC)/testfile"
62 GETOPTOBJS = $(BLD)/getopt.$(O) $(BLD)/getopt1.$(O)
63 GETOPTDEPS = $(GETOPTOBJS) getopt.h
64 MOVEMAILOBJS =  $(BLD)/movemail.$(O) \
65                 $(BLD)/pop.$(O) \
66                 $(BLD)/ntlib.$(O) \
67                 $(GETOPTOBJS)
69 $(BLD)/movemail.exe:    $(MOVEMAILOBJS) getopt.h
70 # put wsock32.lib before $(LIBS) to ensure we don't link to ws2_32.lib
71                 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(MOVEMAILOBJS) $(WSOCK32) $(LIBS)
73 ECLIENT_CFLAGS = -DHAVE_GETCWD -DHAVE_STRERROR -DVERSION="\"$(VERSION)\""
74 ECLIENTOBJS =   $(BLD)/emacsclient.$(O) \
75                 $(BLD)/getopt.$(O) \
76                 $(BLD)/getopt1.$(O) \
77                 $(BLD)/ntlib.$(O)
78 TRES =          ../nt/$(BLD)/emacs.res
80 $(TRES):        ../nt/emacs.rc
81                 $(RC) $(RC_OUT)../nt/$(BLD)/emacs.res $(ALL_DEPS)
83 $(BLD)/emacsclient.exe:         $(ECLIENTOBJS)
84 # put wsock32.lib before $(LIBS) to ensure we don't link to ws2_32.lib
85                 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(ECLIENTOBJS) $(WSOCK32) $(USER32) $(COMCTL32) $(LIBS)
87 $(BLD)/emacsclientw.exe:        $(ECLIENTOBJS) $(TRES)
88 # put wsock32.lib before $(LIBS) to ensure we don't link to ws2_32.lib
89                 $(LINK) $(LINK_OUT)$@ $(TRES) -mwindows $(LINK_FLAGS) $(ECLIENTOBJS) $(WSOCK32) $(USER32) $(COMCTL32) $(LIBS)
91 # emacsclient.$(O) depends on makefile.w32-in because makefile.w32-in
92 # can be edited to define VERSION string, which is part of ECLIENT_CFLAGS.
93 $(BLD)/emacsclient.$(O):        emacsclient.c makefile.w32-in
94                 $(CC) $(CFLAGS) $(ECLIENT_CFLAGS) $(CC_OUT)$@ emacsclient.c
96 ETAGSOBJ      = $(BLD)/etags.$(O) \
97                 $(BLD)/getopt.$(O) \
98                 $(BLD)/getopt1.$(O) \
99                 $(BLD)/ntlib.$(O) \
100                 $(BLD)/regex.$(O)
102 $(BLD)/etags.exe:       $(ETAGSOBJ)
103                 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(ETAGSOBJ) $(LIBS)
106 EBROWSEOBJ    = $(BLD)/ebrowse.$(O) \
107                 $(BLD)/getopt.$(O) \
108                 $(BLD)/getopt1.$(O) \
109                 $(BLD)/ntlib.$(O)
111 $(BLD)/ebrowse.exe:     $(EBROWSEOBJ)
112                 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(EBROWSEOBJ) $(LIBS)
114 $(BLD)/regex.$(O): ../src/regex.c ../src/regex.h ../src/config.h
115                 $(CC)  $(CFLAGS) -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER \
116                 ../src/regex.c $(CC_OUT)$@
118 ETAGS_CFLAGS  = -DHAVE_GETCWD
119 $(BLD)/etags.$(O): etags.c
120                 $(CC) $(CFLAGS) $(ETAGS_CFLAGS) $(CC_OUT)$@ etags.c
122 CTAGSOBJ      = $(BLD)/ctags.$(O) \
123                 $(BLD)/getopt.$(O) \
124                 $(BLD)/getopt1.$(O) \
125                 $(BLD)/ntlib.$(O) \
126                 $(BLD)/regex.$(O)
128 $(BLD)/ctags.exe:  $(CTAGSOBJ)
129                 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(CTAGSOBJ) $(LIBS)
131 ctags.c:        etags.c
132                 - $(DEL) ctags.c
133                 $(CP) etags.c ctags.c
135 CTAGS_CFLAGS  = -DCTAGS $(ETAGS_CFLAGS)
136 $(BLD)/ctags.$(O): ctags.c
137                 $(CC) $(CFLAGS) $(CTAGS_CFLAGS) $(CC_OUT)$@ ctags.c
140 # From ..\src\Makefile.in
141 # It doesn't matter if the real name is *.obj for the files in this list,
142 # make-docfile blindly replaces .o with .c anyway.  Keep .o in this list
143 # as it is required by code in doc.c.
145 obj =   dosfns.o msdos.o \
146         xterm.o xfns.o xmenu.o xselect.o xrdb.o xsmfns.o fringe.o image.o \
147         mac.o macterm.o macfns.o macmenu.o macselect.o fontset.o \
148         w32.o w32bdf.o w32console.o w32fns.o w32heap.o w32inevt.o \
149         w32menu.o w32proc.o w32reg.o w32select.o w32term.o w32xfns.o \
150         font.o w32font.o \
151         dispnew.o frame.o scroll.o xdisp.o window.o \
152         charset.o coding.o category.o ccl.o character.o chartab.o \
153         cm.o term.o terminal.o xfaces.o \
154         emacs.o keyboard.o macros.o keymap.o sysdep.o \
155         buffer.o filelock.o insdel.o marker.o \
156         minibuf.o fileio.o dired.o filemode.o \
157         cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o \
158         alloc.o data.o doc.o editfns.o callint.o \
159         eval.o floatfns.o fns.o print.o lread.o \
160         syntax.o bytecode.o \
161         process.o callproc.o \
162         region-cache.o sound.o atimer.o \
163         doprnt.o strftime.o intervals.o textprop.o composite.o md5.o
166 # These are the lisp files that are loaded up in loadup.el
168 lispsource = ../lisp/
170 MOUSE_SUPPORT = \
171         $(lispsource)select.elc \
172         $(lispsource)scroll-bar.elc \
173         $(lispsource)mouse.elc
174 WINNT_SUPPORT = \
175         $(lispsource)ls-lisp.elc \
176         $(lispsource)disp-table.elc \
177         $(lispsource)w32-fns.elc \
178         $(lispsource)dos-w32.elc \
179         $(lispsource)w32-vars.elc \
180         $(lispsource)term/w32-win.elc
181 TOOLTIP_SUPPORT = $(lispsource)tooltip.elc
182 WINDOW_SUPPORT = \
183         $(lispsource)fringe.elc \
184         $(lispsource)image.elc \
185         $(lispsource)international/fontset.elc \
186         $(lispsource)dnd.elc \
187         $(lispsource)tool-bar.elc \
188         $(lispsource)mwheel.elc
190 # lisp files that are loaded up on other platforms
191 OTHER_PLATFORM_SUPPORT = \
192         $(lispsource)dos-fns.elc \
193         $(lispsource)dos-vars.elc \
194         $(lispsource)international/ccl.elc \
195         $(lispsource)international/codepage.elc \
196         $(lispsource)vmsproc.el \
197         $(lispsource)vms-patch.el \
198         $(lispsource)x-dnd.elc \
199         $(lispsource)term/x-win.elc
202 lisp1= \
203         $(lispsource)abbrev.elc \
204         $(lispsource)buff-menu.elc \
205         $(lispsource)button.elc \
206         $(lispsource)emacs-lisp/byte-run.elc \
207         $(lispsource)composite.elc \
208         $(lispsource)cus-face.elc \
209         $(lispsource)cus-start.elc \
210         $(lispsource)custom.elc \
211         $(lispsource)emacs-lisp/backquote.elc \
212         $(lispsource)emacs-lisp/lisp-mode.elc \
213         $(lispsource)emacs-lisp/lisp.elc \
214         $(lispsource)env.elc \
215         $(lispsource)faces.elc \
216         $(lispsource)files.elc \
217         $(lispsource)format.elc \
218         $(lispsource)facemenu.elc \
219         $(MOUSE_SUPPORT) \
220         $(lispsource)emacs-lisp/float-sup.elc \
221         $(lispsource)frame.elc \
222         $(lispsource)help.elc \
223         $(lispsource)indent.elc \
224         $(lispsource)isearch.elc \
225         $(lispsource)rfn-eshadow.elc \
226         $(lispsource)loadup.el \
227         $(lispsource)loaddefs.el \
228         $(lispsource)bindings.elc \
229         $(lispsource)emacs-lisp/map-ynp.elc \
230         $(lispsource)menu-bar.elc \
231         $(lispsource)international/mule.elc \
232         $(lispsource)international/mule-conf.el \
233         $(lispsource)international/mule-cmds.elc \
234         $(lispsource)international/characters.elc \
235         $(lispsource)international/charprop.el \
236         $(lispsource)case-table.elc
238 lisp2 = \
239         $(lispsource)language/chinese.el \
240         $(lispsource)language/cyrillic.el \
241         $(lispsource)language/indian.el \
242         $(lispsource)language/sinhala.el \
243         $(lispsource)language/english.el \
244         $(lispsource)language/ethiopic.elc \
245         $(lispsource)language/european.elc \
246         $(lispsource)language/czech.el \
247         $(lispsource)language/slovak.el \
248         $(lispsource)language/romanian.el \
249         $(lispsource)language/greek.el \
250         $(lispsource)language/hebrew.el \
251         $(lispsource)language/japanese.el \
252         $(lispsource)language/korean.el \
253         $(lispsource)language/lao.el \
254         $(lispsource)language/cham.el \
255         $(lispsource)language/tai-viet.el \
256         $(lispsource)language/thai.el \
257         $(lispsource)language/tibetan.elc \
258         $(lispsource)language/vietnamese.el \
259         $(lispsource)language/misc-lang.el \
260         $(lispsource)language/utf-8-lang.el \
261         $(lispsource)language/georgian.el \
262         $(lispsource)language/khmer.el \
263         $(lispsource)language/burmese.el \
264         $(lispsource)paths.el \
265         $(lispsource)register.elc \
266         $(lispsource)replace.elc \
267         $(lispsource)simple.elc \
268         $(lispsource)startup.elc \
269         $(lispsource)subr.elc \
270         $(lispsource)term/tty-colors.elc \
271         $(lispsource)font-core.elc \
272         $(lispsource)emacs-lisp/syntax.elc \
273         $(lispsource)font-lock.elc \
274         $(lispsource)jit-lock.elc \
275         $(lispsource)textmodes/fill.elc \
276         $(lispsource)textmodes/page.elc \
277         $(lispsource)textmodes/paragraphs.elc \
278         $(lispsource)textmodes/text-mode.elc \
279         $(lispsource)emacs-lisp/timer.elc \
280         $(lispsource)jka-cmpr-hook.elc \
281         $(lispsource)vc-hooks.elc \
282         $(lispsource)ediff-hook.elc \
283         $(TOOLTIP_SUPPORT) \
284         $(WINNT_SUPPORT) \
285         $(WINDOW_SUPPORT) \
286         $(lispsource)widget.elc \
287         $(lispsource)window.elc \
288         $(lispsource)version.el
290 # This is needed the first time we build the tree, since temacs.exe
291 # does not exist yet, and the DOC rule needs it to rebuild DOC whenever
292 # Emacs is rebuilt.
293 ../src/$(BLD)/temacs.exe:
294         - mkdir "../src/$(OBJDIR)"
295         - mkdir "../src/$(BLD)"
296         @echo temacs > temacs.exe
297         $(CP) temacs.exe ../src/$(BLD)
298         - $(DEL) temacs.exe
300 DOC           = DOC
301 $(DOC):         stamp_BLD $(BLD)/make-docfile.exe ../src/$(BLD)/temacs.exe $(lisp1) $(lisp2) $(OTHER_PLATFORM_SUPPORT)
302                 - $(DEL) $(DOC)
303                 "$(THISDIR)/$(BLD)/make-docfile" -o $(DOC) -d ../src $(obj)
304                 "$(THISDIR)/$(BLD)/make-docfile" -a $(DOC) -d ../src $(lisp1)
305                 "$(THISDIR)/$(BLD)/make-docfile" -a $(DOC) -d ../src $(lisp2)
306                 "$(THISDIR)/$(BLD)/make-docfile" -a $(DOC) -d ../src $(OTHER_PLATFORM_SUPPORT)
307                 $(CP) $(DOC) ../etc/DOC-X
308                 - mkdir "../src/$(OBJDIR)"
309                 - mkdir "../src/$(OBJDIR)/etc"
310                 $(CP) $(DOC) ../src/$(OBJDIR)/etc/DOC-X
312 {$(BLD)}.$(O){$(BLD)}.exe:
313                 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $*.$(O) $(LIBS)
316 # Build the executables
318 all:            stamp_BLD $(ALL) $(DOC)
321 # Assuming INSTALL_DIR is defined, build and install emacs in it.
323 INSTALL_FILES = $(ALL)
324 install:        $(INSTALL_FILES)
325                 - mkdir "$(INSTALL_DIR)/bin"
326                 $(CP) $(BLD)/etags.exe $(INSTALL_DIR)/bin
327                 $(CP) $(BLD)/ebrowse.exe $(INSTALL_DIR)/bin
328                 $(CP) $(BLD)/ctags.exe $(INSTALL_DIR)/bin
329                 $(CP) $(BLD)/hexl.exe $(INSTALL_DIR)/bin
330                 $(CP) $(BLD)/movemail.exe $(INSTALL_DIR)/bin
331                 $(CP) $(BLD)/sorted-doc.exe $(INSTALL_DIR)/bin
332                 $(CP) $(BLD)/digest-doc.exe $(INSTALL_DIR)/bin
333                 $(CP) $(BLD)/emacsclient.exe $(INSTALL_DIR)/bin
334                 $(CP) $(BLD)/emacsclientw.exe $(INSTALL_DIR)/bin
335                 - mkdir "$(INSTALL_DIR)/etc"
336                 $(CP) $(DOC) $(INSTALL_DIR)/etc
339 # Maintenance
341 # We used to delete *~ here, but that might inadvertently remove
342 # precious files if it happens to match their short 8+3 aliases.
343 clean:
344                 - $(DEL) DOC* $(COMPILER_TEMP_FILES)
345                 - $(DEL) ctags.c
346                 - $(DEL) getopt.h
347                 - $(DEL_TREE) $(OBJDIR)
348                 - $(DEL) stamp_BLD
350 cleanall:       clean
351                 - $(DEL_TREE) obj
352                 - $(DEL_TREE) obj-spd
353                 - $(DEL_TREE) oo
354                 - $(DEL_TREE) oo-spd
357 # Headers we would preprocess if we could.
359 ../src/config.h:        ../nt/$(CONFIG_H)
360                         echo $(CONFIG_H) has changed.  Re-run configure.bat.
361                         exit -1
363 getopt.h:               getopt_.h
364                         $(CP) $(ALL_DEPS) $@
366 ### DEPENDENCIES ###
368 EMACS_ROOT      = ..
369 SRC             = .
371 $(BLD)/alloca.$(O) : \
372         $(SRC)/alloca.c \
373         $(EMACS_ROOT)/src/s/ms-w32.h \
374         $(EMACS_ROOT)/src/m/intel386.h \
375         $(EMACS_ROOT)/src/config.h \
376         $(EMACS_ROOT)/src/blockinput.h
378 $(BLD)/b2m.$(O) : \
379         $(SRC)/b2m.c \
380         $(EMACS_ROOT)/src/s/ms-w32.h \
381         $(EMACS_ROOT)/src/m/intel386.h \
382         $(EMACS_ROOT)/lib-src/../src/config.h
384 $(BLD)/ctags.$(O) : \
385         $(SRC)/ctags.c \
386         $(EMACS_ROOT)/nt/inc/sys/param.h \
387         $(EMACS_ROOT)/src/s/ms-w32.h \
388         $(EMACS_ROOT)/src/m/intel386.h \
389         $(EMACS_ROOT)/lib-src/../src/config.h \
390         $(SRC)/ntlib.h \
391         $(SRC)/getopt.h
393 $(BLD)/digest-doc.$(O) : \
394         $(SRC)/digest-doc.c
396 $(BLD)/emacsclient.$(O) : \
397         $(SRC)/emacsclient.c \
398         $(EMACS_ROOT)/src/s/ms-w32.h \
399         $(EMACS_ROOT)/src/m/intel386.h \
400         $(EMACS_ROOT)/lib-src/../src/config.h
402 $(BLD)/etags.$(O) : \
403         $(SRC)/etags.c \
404         $(EMACS_ROOT)/nt/inc/sys/param.h \
405         $(EMACS_ROOT)/src/s/ms-w32.h \
406         $(EMACS_ROOT)/src/m/intel386.h \
407         $(EMACS_ROOT)/lib-src/../src/config.h \
408         $(SRC)/ntlib.h \
409         $(SRC)/getopt.h
411 $(BLD)/fakemail.$(O) : \
412         $(SRC)/fakemail.c \
413         $(SRC)/ntlib.h \
414         $(EMACS_ROOT)/src/s/ms-w32.h \
415         $(EMACS_ROOT)/src/m/intel386.h \
416         $(EMACS_ROOT)/lib-src/../src/config.h \
417         $(EMACS_ROOT)/nt/inc/pwd.h
419 $(BLD)/getdate.$(O) : \
420         $(SRC)/getdate.c \
421         $(EMACS_ROOT)/src/s/ms-w32.h \
422         $(EMACS_ROOT)/src/m/intel386.h \
423         $(EMACS_ROOT)/src/config.h \
424         $(MSTOOLS_SYS)/types.h
426 $(BLD)/getopt.$(O) : \
427         $(SRC)/getopt.c \
428         $(EMACS_ROOT)/src/s/ms-w32.h \
429         $(EMACS_ROOT)/src/m/intel386.h \
430         $(EMACS_ROOT)/src/config.h \
431         $(SRC)/ntlib.h \
432         $(SRC)/getopt.h
434 $(BLD)/getopt1.$(O) : \
435         $(SRC)/getopt1.c \
436         $(EMACS_ROOT)/src/s/ms-w32.h \
437         $(EMACS_ROOT)/src/m/intel386.h \
438         $(EMACS_ROOT)/src/config.h \
439         $(SRC)/getopt.h
441 $(BLD)/hexl.$(O) : \
442         $(SRC)/hexl.c
444 $(BLD)/leditcfns.$(O) : \
445         $(SRC)/leditcfns.c
447 $(BLD)/make-docfile.$(O) : \
448         $(SRC)/make-docfile.c \
449         $(EMACS_ROOT)/src/config.h
451 $(BLD)/make-path.$(O) : \
452         $(SRC)/make-path.c
454 $(BLD)/movemail.$(O) : \
455         $(SRC)/movemail.c \
456         $(EMACS_ROOT)/src/s/ms-w32.h \
457         $(EMACS_ROOT)/src/m/intel386.h \
458         $(EMACS_ROOT)/lib-src/../src/config.h \
459         $(EMACS_ROOT)/nt/inc/sys/file.h \
460         $(EMACS_ROOT)/lib-src/../src/syswait.h \
461         $(EMACS_ROOT)/nt/inc/pwd.h \
462         $(SRC)/ntlib.h
463         $(CC) $(CFLAGS) -DUSG $(CC_OUT)$@ movemail.c
465 $(BLD)/ntlib.$(O) : \
466         $(SRC)/ntlib.c \
467         $(SRC)/ntlib.h \
468         $(EMACS_ROOT)/nt/inc/pwd.h
470 $(BLD)/pop.$(O) : \
471         $(SRC)/pop.c \
472         $(SRC)/pop.h \
473         $(SRC)/ntlib.h
475 $(BLD)/profile.$(O) : \
476         $(SRC)/profile.c \
477         $(EMACS_ROOT)/src/s/ms-w32.h \
478         $(EMACS_ROOT)/src/m/intel386.h \
479         $(EMACS_ROOT)/lib-src/../src/config.h \
480         $(EMACS_ROOT)/lib-src/../src/systime.h
482 $(BLD)/qsort.$(O) : \
483         $(SRC)/qsort.c
485 $(BLD)/sorted-doc.$(O) : \
486         $(SRC)/sorted-doc.c \
487         $(EMACS_ROOT)/src/s/ms-w32.h \
488         $(EMACS_ROOT)/src/m/intel386.h \
489         $(EMACS_ROOT)/src/config.h \
491 $(BLD)/tcp.$(O) : \
492         $(SRC)/tcp.c
494 $(BLD)/test-distrib.$(O) : \
495         $(SRC)/test-distrib.c
497 $(BLD)/timer.$(O) : \
498         $(SRC)/timer.c \
499         $(EMACS_ROOT)/src/s/ms-w32.h \
500         $(EMACS_ROOT)/src/m/intel386.h \
501         $(EMACS_ROOT)/lib-src/../src/config.h
503 # The following dependencies are for supporting parallel builds, where
504 # we must make sure $(BLD) exists before any compilation starts.
506 $(BLD)/make-docfile.$(O) $(BLD)/hexl.$(O) $(BLD)/fakemail.$(O): stamp_BLD
508 $(BLD)/sorted-doc.$(O) $(BLD)/digest-doc.$(O): stamp_BLD
510 $(BLD)/test-distrib.$(O) $(GETOPTOBJS) $(MOVEMAILOBJS): stamp_BLD
512 $(BLD)/emacsclient.$(O) $(BLD)/etags.$(O) $(BLD)/regex.$(O): stamp_BLD
514 $(BLD)/ebrowse.$(O) $(BLD)/ctags.$(O): stamp_BLD