(mac_cg_color_space_rgb) [USE_CG_DRAWING]:
[emacs.git] / lib-src / makefile.w32-in
blobe61bbca2a7404dcb43c9a8e96d19797e680d14bd
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         = 22.2.50
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 CLIENTRES =     ../nt/$(BLD)/emacsclient.res
80 $(CLIENTRES):   ../nt/emacsclient.rc
81         @echo Emacsclient resource file must be built from nt directory
82         @exit -1
84 $(BLD)/emacsclient.exe:         $(ECLIENTOBJS)
85 # put wsock32.lib before $(LIBS) to ensure we don't link to ws2_32.lib
86                 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(ECLIENTOBJS) $(WSOCK32) $(USER32) $(COMCTL32) $(LIBS)
88 $(BLD)/emacsclientw.exe:        $(ECLIENTOBJS) $(CLIENTRES)
89 # put wsock32.lib before $(LIBS) to ensure we don't link to ws2_32.lib
90                 $(LINK) $(LINK_OUT)$@ $(CLIENTRES) -mwindows $(LINK_FLAGS) $(ECLIENTOBJS) $(WSOCK32) $(USER32) $(COMCTL32) $(LIBS)
92 # emacsclient.$(O) depends on makefile.w32-in because makefile.w32-in
93 # can be edited to define VERSION string, which is part of ECLIENT_CFLAGS.
94 $(BLD)/emacsclient.$(O):        emacsclient.c makefile.w32-in
95                 $(CC) $(CFLAGS) $(ECLIENT_CFLAGS) $(CC_OUT)$@ emacsclient.c
97 ETAGSOBJ      = $(BLD)/etags.$(O) \
98                 $(BLD)/getopt.$(O) \
99                 $(BLD)/getopt1.$(O) \
100                 $(BLD)/ntlib.$(O) \
101                 $(BLD)/regex.$(O)
103 $(BLD)/etags.exe:       $(ETAGSOBJ)
104                 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(ETAGSOBJ) $(LIBS)
107 EBROWSEOBJ    = $(BLD)/ebrowse.$(O) \
108                 $(BLD)/getopt.$(O) \
109                 $(BLD)/getopt1.$(O) \
110                 $(BLD)/ntlib.$(O)
112 $(BLD)/ebrowse.exe:     $(EBROWSEOBJ)
113                 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(EBROWSEOBJ) $(LIBS)
115 $(BLD)/regex.$(O): ../src/regex.c ../src/regex.h ../src/config.h
116                 $(CC)  $(CFLAGS) -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER \
117                 ../src/regex.c $(CC_OUT)$@
119 ETAGS_CFLAGS  = -DHAVE_GETCWD
120 $(BLD)/etags.$(O): etags.c
121                 $(CC) $(CFLAGS) $(ETAGS_CFLAGS) $(CC_OUT)$@ etags.c
123 CTAGSOBJ      = $(BLD)/ctags.$(O) \
124                 $(BLD)/getopt.$(O) \
125                 $(BLD)/getopt1.$(O) \
126                 $(BLD)/ntlib.$(O) \
127                 $(BLD)/regex.$(O)
129 $(BLD)/ctags.exe:  $(CTAGSOBJ)
130                 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(CTAGSOBJ) $(LIBS)
132 ctags.c:        etags.c
133                 - $(DEL) ctags.c
134                 $(CP) etags.c ctags.c
136 CTAGS_CFLAGS  = -DCTAGS $(ETAGS_CFLAGS)
137 $(BLD)/ctags.$(O): ctags.c
138                 $(CC) $(CFLAGS) $(CTAGS_CFLAGS) $(CC_OUT)$@ ctags.c
141 # From ..\src\Makefile.in
142 # It doesn't matter if the real name is *.obj for the files in this list,
143 # make-docfile blindly replaces .o with .c anyway.  Keep .o in this list
144 # as it is required by code in doc.c.
146 obj=    sunfns.o dosfns.o msdos.o \
147         xterm.o xfns.o xmenu.o xselect.o xrdb.o  fringe.o image.o \
148         mac.o macterm.o macfns.o macmenu.o fontset.o \
149         w32.o w32bdf.o w32console.o w32fns.o w32heap.o w32inevt.o \
150         w32menu.o w32proc.o w32reg.o w32select.o w32term.o w32xfns.o \
151         dispnew.o frame.o scroll.o xdisp.o window.o \
152         charset.o coding.o category.o ccl.o \
153         cm.o term.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         abbrev.o 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 = $(lispsource)select.elc $(lispsource)scroll-bar.elc $(lispsource)mouse.elc $(lispsource)tooltip.elc
171 WINNT_SUPPORT = $(lispsource)ls-lisp.elc $(lispsource)disp-table.elc $(lispsource)w32-fns.elc $(lispsource)dos-w32.elc $(lispsource)w32-vars.elc
173 # lisp files that are loaded up on other platforms
174 MSDOS_SUPPORT = $(lispsource)dos-fns.elc $(lispsource)dos-vars.elc $(lispsource)international/ccl.elc $(lispsource)international/codepage.elc
175 VMS_SUPPORT = $(lispsource)vmsproc.elc $(lispsource)vms-patch.elc
177 lisp1= \
178         $(lispsource)abbrev.elc \
179         $(lispsource)buff-menu.elc \
180         $(lispsource)button.elc \
181         $(lispsource)emacs-lisp/byte-run.elc \
182         $(lispsource)cus-face.elc \
183         $(lispsource)cus-start.elc \
184         $(lispsource)custom.elc \
185         $(lispsource)emacs-lisp/backquote.elc \
186         $(lispsource)emacs-lisp/lisp-mode.elc \
187         $(lispsource)emacs-lisp/lisp.elc \
188         $(lispsource)facemenu.elc \
189         $(MOUSE_SUPPORT) \
190         $(lispsource)faces.elc \
191         $(lispsource)files.elc \
192         $(lispsource)emacs-lisp/float-sup.elc \
193         $(lispsource)format.elc \
194         $(lispsource)frame.elc \
195         $(lispsource)help.elc \
196         $(lispsource)indent.elc \
197         $(lispsource)isearch.elc \
198         $(lispsource)rfn-eshadow.elc \
199         $(lispsource)loadup.el \
200         $(lispsource)loaddefs.el \
201         $(lispsource)bindings.elc \
202         $(lispsource)emacs-lisp/map-ynp.elc \
203         $(lispsource)env.elc \
204         $(lispsource)international/mule.elc \
205         $(lispsource)international/mule-conf.el \
206         $(lispsource)international/mule-cmds.elc \
207         $(lispsource)international/characters.elc \
208         $(lispsource)international/ucs-tables.elc \
209         $(lispsource)international/utf-8.elc \
210         $(lispsource)international/utf-16.elc \
211         $(lispsource)international/latin-1.el \
212         $(lispsource)international/latin-2.el \
213         $(lispsource)international/latin-3.el \
214         $(lispsource)international/latin-4.el \
215         $(lispsource)international/latin-5.el \
216         $(lispsource)international/latin-8.el \
217         $(lispsource)international/latin-9.el \
218         $(lispsource)fringe.elc \
219         $(lispsource)image.elc \
220         $(lispsource)international/fontset.elc \
221         $(lispsource)dnd.elc \
222         $(lispsource)mwheel.elc \
223         $(lispsource)tool-bar.elc \
224         $(lispsource)case-table.elc
226 lisp2 = \
227         $(lispsource)language/chinese.elc \
228         $(lispsource)language/cyrillic.elc \
229         $(lispsource)language/indian.elc \
230         $(lispsource)language/devanagari.el \
231         $(lispsource)language/kannada.el \
232         $(lispsource)language/malayalam.el \
233         $(lispsource)language/tamil.el \
234         $(lispsource)language/english.el \
235         $(lispsource)language/ethiopic.elc \
236         $(lispsource)language/european.elc \
237         $(lispsource)language/czech.el \
238         $(lispsource)language/slovak.el \
239         $(lispsource)language/romanian.el \
240         $(lispsource)language/greek.el \
241         $(lispsource)language/hebrew.el \
242         $(lispsource)language/japanese.el \
243         $(lispsource)language/korean.el \
244         $(lispsource)language/lao.el \
245         $(lispsource)language/thai.el \
246         $(lispsource)language/tibetan.elc \
247         $(lispsource)language/vietnamese.elc \
248         $(lispsource)language/misc-lang.el \
249         $(lispsource)language/utf-8-lang.el \
250         $(lispsource)language/georgian.el \
251         $(lispsource)menu-bar.elc \
252         $(lispsource)paths.el \
253         $(lispsource)register.elc \
254         $(lispsource)replace.elc \
255         $(lispsource)simple.elc \
256         $(lispsource)startup.elc \
257         $(lispsource)subr.elc \
258         $(lispsource)term/tty-colors.elc \
259         $(lispsource)font-core.elc \
260         $(lispsource)emacs-lisp/syntax.elc \
261         $(lispsource)font-lock.elc \
262         $(lispsource)jit-lock.elc \
263         $(lispsource)textmodes/fill.elc \
264         $(lispsource)textmodes/page.elc \
265         $(lispsource)textmodes/paragraphs.elc \
266         $(lispsource)textmodes/text-mode.elc \
267         $(lispsource)emacs-lisp/timer.elc \
268         $(lispsource)vc-hooks.elc \
269         $(lispsource)jka-cmpr-hook.elc \
270         $(lispsource)ediff-hook.elc \
271         $(VMS_SUPPORT) \
272         $(MSDOS_SUPPORT) \
273         $(WINNT_SUPPORT) \
274         $(lispsource)widget.elc \
275         $(lispsource)window.elc \
276         $(lispsource)version.el
278 # This is needed the first time we build the tree, since temacs.exe
279 # does not exist yet, and the DOC rule needs it to rebuild DOC whenever
280 # Emacs is rebuilt.
281 ../src/$(BLD)/temacs.exe:
282         - mkdir "../src/$(OBJDIR)"
283         - mkdir "../src/$(BLD)"
284         @echo temacs > temacs.exe
285         $(CP) temacs.exe ../src/$(BLD)
286         - $(DEL) temacs.exe
288 DOC           = DOC
289 $(DOC):         stamp_BLD $(BLD)/make-docfile.exe ../src/$(BLD)/temacs.exe $(lisp1) $(lisp2)
290                 - $(DEL) $(DOC)
291                 "$(THISDIR)/$(BLD)/make-docfile" -o $(DOC) -d ../src $(obj)
292                 "$(THISDIR)/$(BLD)/make-docfile" -a $(DOC) -d ../src $(lisp1)
293                 "$(THISDIR)/$(BLD)/make-docfile" -a $(DOC) -d ../src $(lisp2)
294                 $(CP) $(DOC) ../etc/DOC-X
295                 - mkdir "../src/$(OBJDIR)"
296                 - mkdir "../src/$(OBJDIR)/etc"
297                 $(CP) $(DOC) ../src/$(OBJDIR)/etc/DOC-X
299 {$(BLD)}.$(O){$(BLD)}.exe:
300                 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $*.$(O) $(LIBS)
303 # Build the executables
305 all:            stamp_BLD $(ALL) $(DOC)
308 # Assuming INSTALL_DIR is defined, build and install emacs in it.
310 INSTALL_FILES = $(ALL)
311 install:        $(INSTALL_FILES)
312                 - mkdir "$(INSTALL_DIR)/bin"
313                 $(CP) $(BLD)/etags.exe $(INSTALL_DIR)/bin
314                 $(CP) $(BLD)/ebrowse.exe $(INSTALL_DIR)/bin
315                 $(CP) $(BLD)/ctags.exe $(INSTALL_DIR)/bin
316                 $(CP) $(BLD)/hexl.exe $(INSTALL_DIR)/bin
317                 $(CP) $(BLD)/movemail.exe $(INSTALL_DIR)/bin
318                 $(CP) $(BLD)/sorted-doc.exe $(INSTALL_DIR)/bin
319                 $(CP) $(BLD)/digest-doc.exe $(INSTALL_DIR)/bin
320                 $(CP) $(BLD)/emacsclient.exe $(INSTALL_DIR)/bin
321                 $(CP) $(BLD)/emacsclientw.exe $(INSTALL_DIR)/bin
322                 - mkdir "$(INSTALL_DIR)/etc"
323                 $(CP) $(DOC) $(INSTALL_DIR)/etc
326 # Maintenance
328 # We used to delete *~ here, but that might inadvertently remove
329 # precious files if it happens to match their short 8+3 aliases.
330 clean:
331                 - $(DEL) DOC* $(COMPILER_TEMP_FILES)
332                 - $(DEL) ctags.c
333                 - $(DEL) getopt.h
334                 - $(DEL_TREE) $(OBJDIR)
335                 - $(DEL) stamp_BLD
337 cleanall:       clean
338                 - $(DEL_TREE) obj
339                 - $(DEL_TREE) obj-spd
340                 - $(DEL_TREE) oo
341                 - $(DEL_TREE) oo-spd
344 # Headers we would preprocess if we could.
346 ../src/config.h:        ../nt/$(CONFIG_H)
347                         echo $(CONFIG_H) has changed.  Re-run configure.bat.
348                         exit -1
350 getopt.h:               getopt_.h
351                         $(CP) $(ALL_DEPS) $@
353 ### DEPENDENCIES ###
355 EMACS_ROOT      = ..
356 SRC             = .
358 $(BLD)/alloca.$(O) : \
359         $(SRC)/alloca.c \
360         $(EMACS_ROOT)/src/s/ms-w32.h \
361         $(EMACS_ROOT)/src/m/intel386.h \
362         $(EMACS_ROOT)/src/config.h \
363         $(EMACS_ROOT)/src/blockinput.h
365 $(BLD)/b2m.$(O) : \
366         $(SRC)/b2m.c \
367         $(EMACS_ROOT)/src/s/ms-w32.h \
368         $(EMACS_ROOT)/src/m/intel386.h \
369         $(EMACS_ROOT)/lib-src/../src/config.h
371 $(BLD)/ctags.$(O) : \
372         $(SRC)/ctags.c \
373         $(EMACS_ROOT)/nt/inc/sys/param.h \
374         $(EMACS_ROOT)/src/s/ms-w32.h \
375         $(EMACS_ROOT)/src/m/intel386.h \
376         $(EMACS_ROOT)/lib-src/../src/config.h \
377         $(SRC)/ntlib.h \
378         $(SRC)/getopt.h
380 $(BLD)/digest-doc.$(O) : \
381         $(SRC)/digest-doc.c
383 $(BLD)/emacsclient.$(O) : \
384         $(SRC)/emacsclient.c \
385         $(EMACS_ROOT)/src/s/ms-w32.h \
386         $(EMACS_ROOT)/src/m/intel386.h \
387         $(EMACS_ROOT)/lib-src/../src/config.h
389 $(BLD)/etags.$(O) : \
390         $(SRC)/etags.c \
391         $(EMACS_ROOT)/nt/inc/sys/param.h \
392         $(EMACS_ROOT)/src/s/ms-w32.h \
393         $(EMACS_ROOT)/src/m/intel386.h \
394         $(EMACS_ROOT)/lib-src/../src/config.h \
395         $(SRC)/ntlib.h \
396         $(SRC)/getopt.h
398 $(BLD)/fakemail.$(O) : \
399         $(SRC)/fakemail.c \
400         $(SRC)/ntlib.h \
401         $(EMACS_ROOT)/src/s/ms-w32.h \
402         $(EMACS_ROOT)/src/m/intel386.h \
403         $(EMACS_ROOT)/lib-src/../src/config.h \
404         $(EMACS_ROOT)/nt/inc/pwd.h
406 $(BLD)/getdate.$(O) : \
407         $(SRC)/getdate.c \
408         $(EMACS_ROOT)/src/s/ms-w32.h \
409         $(EMACS_ROOT)/src/m/intel386.h \
410         $(EMACS_ROOT)/src/config.h \
411         $(MSTOOLS_SYS)/types.h
413 $(BLD)/getopt.$(O) : \
414         $(SRC)/getopt.c \
415         $(EMACS_ROOT)/src/s/ms-w32.h \
416         $(EMACS_ROOT)/src/m/intel386.h \
417         $(EMACS_ROOT)/src/config.h \
418         $(SRC)/ntlib.h \
419         $(SRC)/getopt.h
421 $(BLD)/getopt1.$(O) : \
422         $(SRC)/getopt1.c \
423         $(EMACS_ROOT)/src/s/ms-w32.h \
424         $(EMACS_ROOT)/src/m/intel386.h \
425         $(EMACS_ROOT)/src/config.h \
426         $(SRC)/getopt.h
428 $(BLD)/hexl.$(O) : \
429         $(SRC)/hexl.c
431 $(BLD)/leditcfns.$(O) : \
432         $(SRC)/leditcfns.c
434 $(BLD)/make-docfile.$(O) : \
435         $(SRC)/make-docfile.c \
436         $(EMACS_ROOT)/src/config.h
438 $(BLD)/make-path.$(O) : \
439         $(SRC)/make-path.c
441 $(BLD)/movemail.$(O) : \
442         $(SRC)/movemail.c \
443         $(EMACS_ROOT)/src/s/ms-w32.h \
444         $(EMACS_ROOT)/src/m/intel386.h \
445         $(EMACS_ROOT)/lib-src/../src/config.h \
446         $(EMACS_ROOT)/nt/inc/sys/file.h \
447         $(EMACS_ROOT)/lib-src/../src/syswait.h \
448         $(EMACS_ROOT)/nt/inc/pwd.h \
449         $(SRC)/ntlib.h
450         $(CC) $(CFLAGS) -DUSG $(CC_OUT)$@ movemail.c
452 $(BLD)/ntlib.$(O) : \
453         $(SRC)/ntlib.c \
454         $(SRC)/ntlib.h \
455         $(EMACS_ROOT)/nt/inc/pwd.h
457 $(BLD)/pop.$(O) : \
458         $(SRC)/pop.c \
459         $(SRC)/pop.h \
460         $(SRC)/ntlib.h
462 $(BLD)/profile.$(O) : \
463         $(SRC)/profile.c \
464         $(EMACS_ROOT)/src/s/ms-w32.h \
465         $(EMACS_ROOT)/src/m/intel386.h \
466         $(EMACS_ROOT)/lib-src/../src/config.h \
467         $(EMACS_ROOT)/lib-src/../src/systime.h
469 $(BLD)/qsort.$(O) : \
470         $(SRC)/qsort.c
472 $(BLD)/sorted-doc.$(O) : \
473         $(SRC)/sorted-doc.c \
474         $(EMACS_ROOT)/src/s/ms-w32.h \
475         $(EMACS_ROOT)/src/m/intel386.h \
476         $(EMACS_ROOT)/src/config.h \
478 $(BLD)/tcp.$(O) : \
479         $(SRC)/tcp.c
481 $(BLD)/test-distrib.$(O) : \
482         $(SRC)/test-distrib.c
484 $(BLD)/timer.$(O) : \
485         $(SRC)/timer.c \
486         $(EMACS_ROOT)/src/s/ms-w32.h \
487         $(EMACS_ROOT)/src/m/intel386.h \
488         $(EMACS_ROOT)/lib-src/../src/config.h
490 # The following dependencies are for supporting parallel builds, where
491 # we must make sure $(BLD) exists before any compilation starts.
493 $(BLD)/make-docfile.$(O) $(BLD)/hexl.$(O) $(BLD)/fakemail.$(O): stamp_BLD
495 $(BLD)/sorted-doc.$(O) $(BLD)/digest-doc.$(O): stamp_BLD
497 $(BLD)/test-distrib.$(O) $(GETOPTOBJS) $(MOVEMAILOBJS): stamp_BLD
499 $(BLD)/emacsclient.$(O) $(BLD)/etags.$(O) $(BLD)/regex.$(O): stamp_BLD
501 $(BLD)/ebrowse.$(O) $(BLD)/ctags.$(O): stamp_BLD