]> code.delx.au - gnu-emacs/blob - lib-src/makefile.w32-in
Merge from emacs--rel--22
[gnu-emacs] / lib-src / makefile.w32-in
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.
4 #
5 # This file is part of GNU Emacs.
6 #
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.
11 #
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.
16 #
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.
21 #
22
23 ALL = make-docfile hexl ctags etags movemail ebrowse sorted-doc digest-doc emacsclient
24
25 .PHONY: $(ALL)
26
27 VERSION = 23.0.60
28
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
32
33 LIBS = $(BASE_LIBS) $(ADVAPI32)
34
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)
47
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
58
59 test-distrib: stamp_BLD $(BLD)/test-distrib.exe
60 "$(BLD)/test-distrib.exe" "$(SRC)/testfile"
61
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)
68
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)
72
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
79
80 $(CLIENTRES): ../nt/emacsclient.rc
81 @echo Emacsclient resource file must be built from nt directory
82 @exit -1
83
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)
87
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)
91
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
96
97 ETAGSOBJ = $(BLD)/etags.$(O) \
98 $(BLD)/getopt.$(O) \
99 $(BLD)/getopt1.$(O) \
100 $(BLD)/ntlib.$(O) \
101 $(BLD)/regex.$(O)
102
103 $(BLD)/etags.exe: $(ETAGSOBJ)
104 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(ETAGSOBJ) $(LIBS)
105
106
107 EBROWSEOBJ = $(BLD)/ebrowse.$(O) \
108 $(BLD)/getopt.$(O) \
109 $(BLD)/getopt1.$(O) \
110 $(BLD)/ntlib.$(O)
111
112 $(BLD)/ebrowse.exe: $(EBROWSEOBJ)
113 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(EBROWSEOBJ) $(LIBS)
114
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)$@
118
119 ETAGS_CFLAGS = -DHAVE_GETCWD
120 $(BLD)/etags.$(O): etags.c
121 $(CC) $(CFLAGS) $(ETAGS_CFLAGS) $(CC_OUT)$@ etags.c
122
123 CTAGSOBJ = $(BLD)/ctags.$(O) \
124 $(BLD)/getopt.$(O) \
125 $(BLD)/getopt1.$(O) \
126 $(BLD)/ntlib.$(O) \
127 $(BLD)/regex.$(O)
128
129 $(BLD)/ctags.exe: $(CTAGSOBJ)
130 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(CTAGSOBJ) $(LIBS)
131
132 ctags.c: etags.c
133 - $(DEL) ctags.c
134 $(CP) etags.c ctags.c
135
136 CTAGS_CFLAGS = -DCTAGS $(ETAGS_CFLAGS)
137 $(BLD)/ctags.$(O): ctags.c
138 $(CC) $(CFLAGS) $(CTAGS_CFLAGS) $(CC_OUT)$@ ctags.c
139
140 #
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.
145 #
146 obj = dosfns.o msdos.o \
147 xterm.o xfns.o xmenu.o xselect.o xrdb.o xsmfns.o fringe.o image.o \
148 mac.o macterm.o macfns.o macmenu.o macselect.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 font.o w32font.o \
152 dispnew.o frame.o scroll.o xdisp.o window.o \
153 charset.o coding.o category.o ccl.o character.o chartab.o \
154 cm.o term.o terminal.o xfaces.o \
155 emacs.o keyboard.o macros.o keymap.o sysdep.o \
156 buffer.o filelock.o insdel.o marker.o \
157 minibuf.o fileio.o dired.o filemode.o \
158 cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o \
159 alloc.o data.o doc.o editfns.o callint.o \
160 eval.o floatfns.o fns.o print.o lread.o \
161 syntax.o bytecode.o \
162 process.o callproc.o \
163 region-cache.o sound.o atimer.o \
164 doprnt.o strftime.o intervals.o textprop.o composite.o md5.o
165
166 #
167 # These are the lisp files that are loaded up in loadup.el
168 #
169 lispsource = ../lisp/
170
171 MOUSE_SUPPORT = \
172 $(lispsource)select.elc \
173 $(lispsource)scroll-bar.elc \
174 $(lispsource)mouse.elc
175 WINNT_SUPPORT = \
176 $(lispsource)ls-lisp.elc \
177 $(lispsource)disp-table.elc \
178 $(lispsource)w32-fns.elc \
179 $(lispsource)dos-w32.elc \
180 $(lispsource)w32-vars.elc \
181 $(lispsource)term/w32-win.elc
182 TOOLTIP_SUPPORT = $(lispsource)tooltip.elc
183 WINDOW_SUPPORT = \
184 $(lispsource)fringe.elc \
185 $(lispsource)image.elc \
186 $(lispsource)international/fontset.elc \
187 $(lispsource)dnd.elc \
188 $(lispsource)tool-bar.elc \
189 $(lispsource)mwheel.elc
190
191 # lisp files that are loaded up on other platforms
192 OTHER_PLATFORM_SUPPORT = \
193 $(lispsource)dos-fns.elc \
194 $(lispsource)dos-vars.elc \
195 $(lispsource)international/ccl.elc \
196 $(lispsource)international/codepage.elc \
197 $(lispsource)vmsproc.el \
198 $(lispsource)vms-patch.el \
199 $(lispsource)x-dnd.elc \
200 $(lispsource)term/x-win.elc
201
202
203 lisp1= \
204 $(lispsource)abbrev.elc \
205 $(lispsource)buff-menu.elc \
206 $(lispsource)button.elc \
207 $(lispsource)emacs-lisp/byte-run.elc \
208 $(lispsource)composite.elc \
209 $(lispsource)cus-face.elc \
210 $(lispsource)cus-start.elc \
211 $(lispsource)custom.elc \
212 $(lispsource)emacs-lisp/backquote.elc \
213 $(lispsource)emacs-lisp/lisp-mode.elc \
214 $(lispsource)emacs-lisp/lisp.elc \
215 $(lispsource)env.elc \
216 $(lispsource)faces.elc \
217 $(lispsource)files.elc \
218 $(lispsource)format.elc \
219 $(lispsource)facemenu.elc \
220 $(MOUSE_SUPPORT) \
221 $(lispsource)emacs-lisp/float-sup.elc \
222 $(lispsource)frame.elc \
223 $(lispsource)help.elc \
224 $(lispsource)indent.elc \
225 $(lispsource)isearch.elc \
226 $(lispsource)rfn-eshadow.elc \
227 $(lispsource)loadup.el \
228 $(lispsource)loaddefs.el \
229 $(lispsource)bindings.elc \
230 $(lispsource)emacs-lisp/map-ynp.elc \
231 $(lispsource)menu-bar.elc \
232 $(lispsource)international/mule.elc \
233 $(lispsource)international/mule-conf.el \
234 $(lispsource)international/mule-cmds.elc \
235 $(lispsource)international/characters.elc \
236 $(lispsource)international/charprop.el \
237 $(lispsource)case-table.elc
238
239 lisp2 = \
240 $(lispsource)language/chinese.el \
241 $(lispsource)language/cyrillic.el \
242 $(lispsource)language/indian.el \
243 $(lispsource)language/sinhala.el \
244 $(lispsource)language/english.el \
245 $(lispsource)language/ethiopic.elc \
246 $(lispsource)language/european.elc \
247 $(lispsource)language/czech.el \
248 $(lispsource)language/slovak.el \
249 $(lispsource)language/romanian.el \
250 $(lispsource)language/greek.el \
251 $(lispsource)language/hebrew.el \
252 $(lispsource)language/japanese.el \
253 $(lispsource)language/korean.el \
254 $(lispsource)language/lao.el \
255 $(lispsource)language/cham.el \
256 $(lispsource)language/tai-viet.el \
257 $(lispsource)language/thai.el \
258 $(lispsource)language/tibetan.elc \
259 $(lispsource)language/vietnamese.el \
260 $(lispsource)language/misc-lang.el \
261 $(lispsource)language/utf-8-lang.el \
262 $(lispsource)language/georgian.el \
263 $(lispsource)language/khmer.el \
264 $(lispsource)language/burmese.el \
265 $(lispsource)paths.el \
266 $(lispsource)register.elc \
267 $(lispsource)replace.elc \
268 $(lispsource)simple.elc \
269 $(lispsource)startup.elc \
270 $(lispsource)subr.elc \
271 $(lispsource)term/tty-colors.elc \
272 $(lispsource)font-core.elc \
273 $(lispsource)emacs-lisp/syntax.elc \
274 $(lispsource)font-lock.elc \
275 $(lispsource)jit-lock.elc \
276 $(lispsource)textmodes/fill.elc \
277 $(lispsource)textmodes/page.elc \
278 $(lispsource)textmodes/paragraphs.elc \
279 $(lispsource)textmodes/text-mode.elc \
280 $(lispsource)emacs-lisp/timer.elc \
281 $(lispsource)jka-cmpr-hook.elc \
282 $(lispsource)vc-hooks.elc \
283 $(lispsource)ediff-hook.elc \
284 $(TOOLTIP_SUPPORT) \
285 $(WINNT_SUPPORT) \
286 $(WINDOW_SUPPORT) \
287 $(lispsource)widget.elc \
288 $(lispsource)window.elc \
289 $(lispsource)version.el
290
291 # This is needed the first time we build the tree, since temacs.exe
292 # does not exist yet, and the DOC rule needs it to rebuild DOC whenever
293 # Emacs is rebuilt.
294 ../src/$(BLD)/temacs.exe:
295 - mkdir "../src/$(OBJDIR)"
296 - mkdir "../src/$(BLD)"
297 @echo temacs > temacs.exe
298 $(CP) temacs.exe ../src/$(BLD)
299 - $(DEL) temacs.exe
300
301 DOC = DOC
302 $(DOC): stamp_BLD $(BLD)/make-docfile.exe ../src/$(BLD)/temacs.exe $(lisp1) $(lisp2) $(OTHER_PLATFORM_SUPPORT)
303 - $(DEL) $(DOC)
304 "$(THISDIR)/$(BLD)/make-docfile" -o $(DOC) -d ../src $(obj)
305 "$(THISDIR)/$(BLD)/make-docfile" -a $(DOC) -d ../src $(lisp1)
306 "$(THISDIR)/$(BLD)/make-docfile" -a $(DOC) -d ../src $(lisp2)
307 "$(THISDIR)/$(BLD)/make-docfile" -a $(DOC) -d ../src $(OTHER_PLATFORM_SUPPORT)
308 $(CP) $(DOC) ../etc/DOC-X
309 - mkdir "../src/$(OBJDIR)"
310 - mkdir "../src/$(OBJDIR)/etc"
311 $(CP) $(DOC) ../src/$(OBJDIR)/etc/DOC-X
312
313 {$(BLD)}.$(O){$(BLD)}.exe:
314 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $*.$(O) $(LIBS)
315
316 #
317 # Build the executables
318 #
319 all: stamp_BLD $(ALL) $(DOC)
320
321 #
322 # Assuming INSTALL_DIR is defined, build and install emacs in it.
323 #
324 INSTALL_FILES = $(ALL)
325 install: $(INSTALL_FILES)
326 - mkdir "$(INSTALL_DIR)/bin"
327 $(CP) $(BLD)/etags.exe $(INSTALL_DIR)/bin
328 $(CP) $(BLD)/ebrowse.exe $(INSTALL_DIR)/bin
329 $(CP) $(BLD)/ctags.exe $(INSTALL_DIR)/bin
330 $(CP) $(BLD)/hexl.exe $(INSTALL_DIR)/bin
331 $(CP) $(BLD)/movemail.exe $(INSTALL_DIR)/bin
332 $(CP) $(BLD)/sorted-doc.exe $(INSTALL_DIR)/bin
333 $(CP) $(BLD)/digest-doc.exe $(INSTALL_DIR)/bin
334 $(CP) $(BLD)/emacsclient.exe $(INSTALL_DIR)/bin
335 $(CP) $(BLD)/emacsclientw.exe $(INSTALL_DIR)/bin
336 - mkdir "$(INSTALL_DIR)/etc"
337 $(CP) $(DOC) $(INSTALL_DIR)/etc
338
339 #
340 # Maintenance
341 #
342 # We used to delete *~ here, but that might inadvertently remove
343 # precious files if it happens to match their short 8+3 aliases.
344 clean:
345 - $(DEL) DOC* $(COMPILER_TEMP_FILES)
346 - $(DEL) ctags.c
347 - $(DEL) getopt.h
348 - $(DEL_TREE) $(OBJDIR)
349 - $(DEL) stamp_BLD
350
351 distclean: cleanall
352 - $(DEL) TAGS
353 - $(DEL) Makefile
354
355 maintainer-clean: distclean
356
357 cleanall: clean
358 - $(DEL_TREE) obj
359 - $(DEL_TREE) obj-spd
360 - $(DEL_TREE) oo
361 - $(DEL_TREE) oo-spd
362
363 #
364 # Headers we would preprocess if we could.
365 #
366 ../src/config.h: ../nt/$(CONFIG_H)
367 echo $(CONFIG_H) has changed. Re-run configure.bat.
368 exit -1
369
370 getopt.h: getopt_.h
371 $(CP) $(ALL_DEPS) $@
372
373 ### DEPENDENCIES ###
374
375 EMACS_ROOT = ..
376 SRC = .
377
378 $(BLD)/alloca.$(O) : \
379 $(SRC)/alloca.c \
380 $(EMACS_ROOT)/src/s/ms-w32.h \
381 $(EMACS_ROOT)/src/m/intel386.h \
382 $(EMACS_ROOT)/src/config.h \
383 $(EMACS_ROOT)/src/blockinput.h
384
385 $(BLD)/b2m.$(O) : \
386 $(SRC)/b2m.c \
387 $(EMACS_ROOT)/src/s/ms-w32.h \
388 $(EMACS_ROOT)/src/m/intel386.h \
389 $(EMACS_ROOT)/lib-src/../src/config.h
390
391 $(BLD)/ctags.$(O) : \
392 $(SRC)/ctags.c \
393 $(EMACS_ROOT)/nt/inc/sys/param.h \
394 $(EMACS_ROOT)/src/s/ms-w32.h \
395 $(EMACS_ROOT)/src/m/intel386.h \
396 $(EMACS_ROOT)/lib-src/../src/config.h \
397 $(SRC)/ntlib.h \
398 $(SRC)/getopt.h
399
400 $(BLD)/digest-doc.$(O) : \
401 $(SRC)/digest-doc.c
402
403 $(BLD)/emacsclient.$(O) : \
404 $(SRC)/emacsclient.c \
405 $(EMACS_ROOT)/src/s/ms-w32.h \
406 $(EMACS_ROOT)/src/m/intel386.h \
407 $(EMACS_ROOT)/lib-src/../src/config.h
408
409 $(BLD)/etags.$(O) : \
410 $(SRC)/etags.c \
411 $(EMACS_ROOT)/nt/inc/sys/param.h \
412 $(EMACS_ROOT)/src/s/ms-w32.h \
413 $(EMACS_ROOT)/src/m/intel386.h \
414 $(EMACS_ROOT)/lib-src/../src/config.h \
415 $(SRC)/ntlib.h \
416 $(SRC)/getopt.h
417
418 $(BLD)/fakemail.$(O) : \
419 $(SRC)/fakemail.c \
420 $(SRC)/ntlib.h \
421 $(EMACS_ROOT)/src/s/ms-w32.h \
422 $(EMACS_ROOT)/src/m/intel386.h \
423 $(EMACS_ROOT)/lib-src/../src/config.h \
424 $(EMACS_ROOT)/nt/inc/pwd.h
425
426 $(BLD)/getdate.$(O) : \
427 $(SRC)/getdate.c \
428 $(EMACS_ROOT)/src/s/ms-w32.h \
429 $(EMACS_ROOT)/src/m/intel386.h \
430 $(EMACS_ROOT)/src/config.h \
431 $(MSTOOLS_SYS)/types.h
432
433 $(BLD)/getopt.$(O) : \
434 $(SRC)/getopt.c \
435 $(EMACS_ROOT)/src/s/ms-w32.h \
436 $(EMACS_ROOT)/src/m/intel386.h \
437 $(EMACS_ROOT)/src/config.h \
438 $(SRC)/ntlib.h \
439 $(SRC)/getopt.h
440
441 $(BLD)/getopt1.$(O) : \
442 $(SRC)/getopt1.c \
443 $(EMACS_ROOT)/src/s/ms-w32.h \
444 $(EMACS_ROOT)/src/m/intel386.h \
445 $(EMACS_ROOT)/src/config.h \
446 $(SRC)/getopt.h
447
448 $(BLD)/hexl.$(O) : \
449 $(SRC)/hexl.c
450
451 $(BLD)/leditcfns.$(O) : \
452 $(SRC)/leditcfns.c
453
454 $(BLD)/make-docfile.$(O) : \
455 $(SRC)/make-docfile.c \
456 $(EMACS_ROOT)/src/config.h
457
458 $(BLD)/make-path.$(O) : \
459 $(SRC)/make-path.c
460
461 $(BLD)/movemail.$(O) : \
462 $(SRC)/movemail.c \
463 $(EMACS_ROOT)/src/s/ms-w32.h \
464 $(EMACS_ROOT)/src/m/intel386.h \
465 $(EMACS_ROOT)/lib-src/../src/config.h \
466 $(EMACS_ROOT)/nt/inc/sys/file.h \
467 $(EMACS_ROOT)/lib-src/../src/syswait.h \
468 $(EMACS_ROOT)/nt/inc/pwd.h \
469 $(SRC)/ntlib.h
470 $(CC) $(CFLAGS) -DUSG $(CC_OUT)$@ movemail.c
471
472 $(BLD)/ntlib.$(O) : \
473 $(SRC)/ntlib.c \
474 $(SRC)/ntlib.h \
475 $(EMACS_ROOT)/nt/inc/pwd.h
476
477 $(BLD)/pop.$(O) : \
478 $(SRC)/pop.c \
479 $(SRC)/pop.h \
480 $(SRC)/ntlib.h
481
482 $(BLD)/profile.$(O) : \
483 $(SRC)/profile.c \
484 $(EMACS_ROOT)/src/s/ms-w32.h \
485 $(EMACS_ROOT)/src/m/intel386.h \
486 $(EMACS_ROOT)/lib-src/../src/config.h \
487 $(EMACS_ROOT)/lib-src/../src/systime.h
488
489 $(BLD)/qsort.$(O) : \
490 $(SRC)/qsort.c
491
492 $(BLD)/sorted-doc.$(O) : \
493 $(SRC)/sorted-doc.c \
494 $(EMACS_ROOT)/src/s/ms-w32.h \
495 $(EMACS_ROOT)/src/m/intel386.h \
496 $(EMACS_ROOT)/src/config.h \
497
498 $(BLD)/tcp.$(O) : \
499 $(SRC)/tcp.c
500
501 $(BLD)/test-distrib.$(O) : \
502 $(SRC)/test-distrib.c
503
504 $(BLD)/timer.$(O) : \
505 $(SRC)/timer.c \
506 $(EMACS_ROOT)/src/s/ms-w32.h \
507 $(EMACS_ROOT)/src/m/intel386.h \
508 $(EMACS_ROOT)/lib-src/../src/config.h
509
510 # The following dependencies are for supporting parallel builds, where
511 # we must make sure $(BLD) exists before any compilation starts.
512 #
513 $(BLD)/make-docfile.$(O) $(BLD)/hexl.$(O) $(BLD)/fakemail.$(O): stamp_BLD
514
515 $(BLD)/sorted-doc.$(O) $(BLD)/digest-doc.$(O): stamp_BLD
516
517 $(BLD)/test-distrib.$(O) $(GETOPTOBJS) $(MOVEMAILOBJS): stamp_BLD
518
519 $(BLD)/emacsclient.$(O) $(BLD)/etags.$(O) $(BLD)/regex.$(O): stamp_BLD
520
521 $(BLD)/ebrowse.$(O) $(BLD)/ctags.$(O): stamp_BLD