Add dependencies to lisp.h. Remove dependencies
[emacs.git] / lib-src / makefile.w32-in
blob7fab27d98a900a869aff15ede5fa1084a23bd5d9
1 #  -*- Makefile -*- for GNU Emacs on the Microsoft W32 API.
2 # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
3 #   2009 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 of the License, or
10 # (at your option) 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.  If not, see <http://www.gnu.org/licenses/>.
21 ALL = make-docfile hexl ctags etags movemail ebrowse sorted-doc digest-doc emacsclient
23 .PHONY: $(ALL)
25 VERSION         = 23.1.50
27 LOCAL_FLAGS     = -DWINDOWSNT -DDOS_NT -DSTDC_HEADERS=1 -DNO_LDAV=1 \
28                   -DNO_ARCHIVES=1 -DHAVE_CONFIG_H=1 -I../nt/inc \
29                   -I../src
31 LIBS            = $(BASE_LIBS) $(ADVAPI32)
33 $(BLD)/make-docfile.exe:        $(BLD)/make-docfile.$(O) $(BLD)/ntlib.$(O)
34                 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/make-docfile.$(O) $(BLD)/ntlib.$(O) $(LIBS)
35 $(BLD)/hexl.exe:                $(BLD)/hexl.$(O)
36                 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/hexl.$(O) $(LIBS)
37 $(BLD)/fakemail.exe:            $(BLD)/fakemail.$(O) $(BLD)/ntlib.$(O)
38                 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/fakemail.$(O) $(BLD)/ntlib.$(O) $(LIBS)
39 $(BLD)/sorted-doc.exe:  $(BLD)/sorted-doc.$(O)
40                 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/sorted-doc.$(O) $(LIBS)
41 $(BLD)/digest-doc.exe:  $(BLD)/digest-doc.$(O)
42                 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/digest-doc.$(O) $(LIBS)
43 $(BLD)/test-distrib.exe: $(BLD)/test-distrib.$(O)
44                 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/test-distrib.$(O) $(LIBS)
46 make-docfile:   stamp_BLD $(BLD)/make-docfile.exe
47 ctags:          stamp_BLD $(BLD)/ctags.exe
48 etags:          stamp_BLD $(BLD)/etags.exe
49 ebrowse:        stamp_BLD $(BLD)/ebrowse.exe
50 hexl:           stamp_BLD $(BLD)/hexl.exe
51 movemail:       stamp_BLD $(BLD)/movemail.exe
52 fakemail:       stamp_BLD $(BLD)/fakemail.exe
53 sorted-doc:     stamp_BLD $(BLD)/sorted-doc.exe
54 digest-doc:     stamp_BLD $(BLD)/digest-doc.exe
55 emacsclient:    stamp_BLD $(BLD)/emacsclient.exe $(BLD)/emacsclientw.exe
57 test-distrib:   stamp_BLD $(BLD)/test-distrib.exe
58         "$(BLD)/test-distrib.exe" "$(SRC)/testfile"
60 GETOPTOBJS = $(BLD)/getopt.$(O) $(BLD)/getopt1.$(O)
61 GETOPTDEPS = $(GETOPTOBJS) getopt.h
62 MOVEMAILOBJS =  $(BLD)/movemail.$(O) \
63                 $(BLD)/pop.$(O) \
64                 $(BLD)/ntlib.$(O) \
65                 $(GETOPTOBJS)
67 $(BLD)/movemail.exe:    $(MOVEMAILOBJS) getopt.h
68 # put wsock32.lib before $(LIBS) to ensure we don't link to ws2_32.lib
69                 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(MOVEMAILOBJS) $(WSOCK32) $(LIBS)
71 ECLIENT_CFLAGS = -DHAVE_GETCWD -DHAVE_STRERROR -DVERSION="\"$(VERSION)\""
72 ECLIENTOBJS =   $(BLD)/emacsclient.$(O) \
73                 $(BLD)/getopt.$(O) \
74                 $(BLD)/getopt1.$(O) \
75                 $(BLD)/ntlib.$(O)
76 CLIENTRES =     ../nt/$(BLD)/emacsclient.res
78 $(CLIENTRES):   ../nt/emacsclient.rc
79         @echo Emacsclient resource file must be built from nt directory
80         @exit -1
82 $(BLD)/emacsclient.exe:         $(ECLIENTOBJS)
83 # put wsock32.lib before $(LIBS) to ensure we don't link to ws2_32.lib
84                 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(ECLIENTOBJS) $(WSOCK32) $(USER32) $(COMCTL32) $(LIBS)
86 $(BLD)/emacsclientw.exe:        $(ECLIENTOBJS) $(CLIENTRES)
87 # put wsock32.lib before $(LIBS) to ensure we don't link to ws2_32.lib
88                 $(LINK) $(LINK_OUT)$@ $(CLIENTRES) -mwindows $(LINK_FLAGS) $(ECLIENTOBJS) $(WSOCK32) $(USER32) $(COMCTL32) $(LIBS)
90 # emacsclient.$(O) depends on makefile.w32-in because makefile.w32-in
91 # can be edited to define VERSION string, which is part of ECLIENT_CFLAGS.
92 $(BLD)/emacsclient.$(O):        emacsclient.c makefile.w32-in
93                 $(CC) $(CFLAGS) $(ECLIENT_CFLAGS) $(CC_OUT)$@ emacsclient.c
95 ETAGSOBJ      = $(BLD)/etags.$(O) \
96                 $(BLD)/getopt.$(O) \
97                 $(BLD)/getopt1.$(O) \
98                 $(BLD)/ntlib.$(O) \
99                 $(BLD)/regex.$(O)
101 $(BLD)/etags.exe:       $(ETAGSOBJ)
102                 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(ETAGSOBJ) $(LIBS)
105 EBROWSEOBJ    = $(BLD)/ebrowse.$(O) \
106                 $(BLD)/getopt.$(O) \
107                 $(BLD)/getopt1.$(O) \
108                 $(BLD)/ntlib.$(O)
110 $(BLD)/ebrowse.exe:     $(EBROWSEOBJ)
111                 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(EBROWSEOBJ) $(LIBS)
113 $(BLD)/regex.$(O): ../src/regex.c ../src/regex.h ../src/config.h
114                 $(CC)  $(CFLAGS) -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER \
115                 ../src/regex.c $(CC_OUT)$@
117 ETAGS_CFLAGS  = -DHAVE_GETCWD
118 $(BLD)/etags.$(O): etags.c
119                 $(CC) $(CFLAGS) $(ETAGS_CFLAGS) $(CC_OUT)$@ etags.c
121 CTAGSOBJ      = $(BLD)/ctags.$(O) \
122                 $(BLD)/getopt.$(O) \
123                 $(BLD)/getopt1.$(O) \
124                 $(BLD)/ntlib.$(O) \
125                 $(BLD)/regex.$(O)
127 $(BLD)/ctags.exe:  $(CTAGSOBJ)
128                 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(CTAGSOBJ) $(LIBS)
130 ctags.c:        etags.c
131                 - $(DEL) ctags.c
132                 $(CP) etags.c ctags.c
134 CTAGS_CFLAGS  = -DCTAGS $(ETAGS_CFLAGS)
135 $(BLD)/ctags.$(O): ctags.c
136                 $(CC) $(CFLAGS) $(CTAGS_CFLAGS) $(CC_OUT)$@ ctags.c
139 # From ..\src\Makefile.in
140 # It doesn't matter if the real name is *.obj for the files in this list,
141 # make-docfile blindly replaces .o with .c anyway.  Keep .o in this list
142 # as it is required by code in doc.c.
144 obj =   dosfns.o msdos.o \
145         xterm.o xfns.o xmenu.o xselect.o xrdb.o xsmfns.o fringe.o image.o \
146         fontset.o \
147         w32.o w32console.o w32fns.o w32heap.o w32inevt.o \
148         w32menu.o w32proc.o w32reg.o w32select.o w32term.o w32xfns.o \
149         font.o w32font.o \
150         dispnew.o frame.o scroll.o xdisp.o window.o \
151         charset.o coding.o category.o ccl.o character.o chartab.o \
152         cm.o term.o terminal.o xfaces.o \
153         emacs.o keyboard.o macros.o keymap.o sysdep.o \
154         buffer.o filelock.o insdel.o marker.o \
155         minibuf.o fileio.o dired.o filemode.o \
156         cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o \
157         alloc.o data.o doc.o editfns.o callint.o \
158         eval.o floatfns.o fns.o print.o lread.o \
159         syntax.o bytecode.o \
160         process.o callproc.o \
161         region-cache.o sound.o atimer.o \
162         doprnt.o strftime.o intervals.o textprop.o composite.o md5.o
165 # These are the lisp files that are loaded up in loadup.el
167 lispsource = ../lisp/
169 MOUSE_SUPPORT = \
170         $(lispsource)select.elc \
171         $(lispsource)scroll-bar.elc \
172         $(lispsource)mouse.elc
173 WINNT_SUPPORT = \
174         $(lispsource)ls-lisp.elc \
175         $(lispsource)disp-table.elc \
176         $(lispsource)w32-fns.elc \
177         $(lispsource)dos-w32.elc \
178         $(lispsource)w32-vars.elc \
179         $(lispsource)term/common-win.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}term/internal.elc \
195         ${lispsource}term/pc-win.elc \
196         $(lispsource)x-dnd.elc \
197         $(lispsource)term/x-win.elc \
198         ${lispsource}emacs-lisp/easymenu.elc \
199         ${lispsource}term/ns-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)minibuffer.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         $(lispsource)epa-hook.elc \
285         $(TOOLTIP_SUPPORT) \
286         $(WINNT_SUPPORT) \
287         $(WINDOW_SUPPORT) \
288         $(lispsource)widget.elc \
289         $(lispsource)window.elc \
290         $(lispsource)version.el
292 # Used by batch-update-autoloads.
293 echolisp:
294         @echo $(lisp1)
295         @echo $(lisp2)
297 # This is needed the first time we build the tree, since temacs.exe
298 # does not exist yet, and the DOC rule needs it to rebuild DOC whenever
299 # Emacs is rebuilt.
300 ../src/$(BLD)/temacs.exe:
301         - mkdir "../src/$(OBJDIR)"
302         - mkdir "../src/$(BLD)"
303         @echo temacs > temacs.exe
304         $(CP) temacs.exe ../src/$(BLD)
305         - $(DEL) temacs.exe
307 DOC           = DOC
308 $(DOC):         stamp_BLD $(BLD)/make-docfile.exe ../src/$(BLD)/temacs.exe $(lisp1) $(lisp2) $(OTHER_PLATFORM_SUPPORT)
309                 - $(DEL) $(DOC)
310                 "$(THISDIR)/$(BLD)/make-docfile" -o $(DOC) -d ../src $(obj)
311                 "$(THISDIR)/$(BLD)/make-docfile" -a $(DOC) -d ../src $(lisp1)
312                 "$(THISDIR)/$(BLD)/make-docfile" -a $(DOC) -d ../src $(lisp2)
313                 "$(THISDIR)/$(BLD)/make-docfile" -a $(DOC) -d ../src $(OTHER_PLATFORM_SUPPORT)
314                 $(CP) $(DOC) ../etc/DOC-X
315                 - mkdir "../src/$(OBJDIR)"
316                 - mkdir "../src/$(OBJDIR)/etc"
317                 $(CP) $(DOC) ../src/$(OBJDIR)/etc/DOC-X
319 {$(BLD)}.$(O){$(BLD)}.exe:
320                 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $*.$(O) $(LIBS)
323 # Build the executables
325 all:            stamp_BLD $(ALL) $(DOC)
328 # Assuming INSTALL_DIR is defined, build and install emacs in it.
330 INSTALL_FILES = $(ALL)
331 install:        $(INSTALL_FILES)
332                 - mkdir "$(INSTALL_DIR)/bin"
333                 $(CP) $(BLD)/etags.exe $(INSTALL_DIR)/bin
334                 $(CP) $(BLD)/ebrowse.exe $(INSTALL_DIR)/bin
335                 $(CP) $(BLD)/ctags.exe $(INSTALL_DIR)/bin
336                 $(CP) $(BLD)/hexl.exe $(INSTALL_DIR)/bin
337                 $(CP) $(BLD)/movemail.exe $(INSTALL_DIR)/bin
338                 $(CP) $(BLD)/sorted-doc.exe $(INSTALL_DIR)/bin
339                 $(CP) $(BLD)/digest-doc.exe $(INSTALL_DIR)/bin
340                 $(CP) $(BLD)/emacsclient.exe $(INSTALL_DIR)/bin
341                 $(CP) $(BLD)/emacsclientw.exe $(INSTALL_DIR)/bin
342                 - mkdir "$(INSTALL_DIR)/etc"
343                 $(CP) $(DOC) $(INSTALL_DIR)/etc
346 # Maintenance
348 # We used to delete *~ here, but that might inadvertently remove
349 # precious files if it happens to match their short 8+3 aliases.
350 clean:
351                 - $(DEL) DOC* $(COMPILER_TEMP_FILES)
352                 - $(DEL) ctags.c
353                 - $(DEL) getopt.h
354                 - $(DEL_TREE) $(OBJDIR)
355                 - $(DEL) stamp_BLD
356                 - $(DEL) echolisp.tmp
358 distclean: cleanall
359         - $(DEL) TAGS
360         - $(DEL) Makefile
362 maintainer-clean: distclean
364 cleanall:       clean
365                 - $(DEL_TREE) obj
366                 - $(DEL_TREE) obj-spd
367                 - $(DEL_TREE) oo
368                 - $(DEL_TREE) oo-spd
371 # Headers we would preprocess if we could.
373 ../src/config.h:        ../nt/$(CONFIG_H)
374                         echo $(CONFIG_H) has changed.  Re-run configure.bat.
375                         exit -1
377 getopt.h:               getopt_.h
378                         $(CP) $(ALL_DEPS) $@
380 ### DEPENDENCIES ###
382 EMACS_ROOT      = ..
383 SRC             = .
385 $(BLD)/alloca.$(O) : \
386         $(SRC)/alloca.c \
387         $(EMACS_ROOT)/src/s/ms-w32.h \
388         $(EMACS_ROOT)/src/m/intel386.h \
389         $(EMACS_ROOT)/src/config.h \
390         $(EMACS_ROOT)/src/blockinput.h
392 $(BLD)/b2m.$(O) : \
393         $(SRC)/b2m.c \
394         $(EMACS_ROOT)/src/s/ms-w32.h \
395         $(EMACS_ROOT)/src/m/intel386.h \
396         $(EMACS_ROOT)/lib-src/../src/config.h
398 $(BLD)/ctags.$(O) : \
399         $(SRC)/ctags.c \
400         $(EMACS_ROOT)/nt/inc/sys/param.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         $(SRC)/ntlib.h \
405         $(SRC)/getopt.h
407 $(BLD)/digest-doc.$(O) : \
408         $(SRC)/digest-doc.c
410 $(BLD)/emacsclient.$(O) : \
411         $(SRC)/emacsclient.c \
412         $(EMACS_ROOT)/src/s/ms-w32.h \
413         $(EMACS_ROOT)/src/m/intel386.h \
414         $(EMACS_ROOT)/lib-src/../src/config.h
416 $(BLD)/etags.$(O) : \
417         $(SRC)/etags.c \
418         $(EMACS_ROOT)/nt/inc/sys/param.h \
419         $(EMACS_ROOT)/src/s/ms-w32.h \
420         $(EMACS_ROOT)/src/m/intel386.h \
421         $(EMACS_ROOT)/lib-src/../src/config.h \
422         $(SRC)/ntlib.h \
423         $(SRC)/getopt.h
425 $(BLD)/fakemail.$(O) : \
426         $(SRC)/fakemail.c \
427         $(SRC)/ntlib.h \
428         $(EMACS_ROOT)/src/s/ms-w32.h \
429         $(EMACS_ROOT)/src/m/intel386.h \
430         $(EMACS_ROOT)/lib-src/../src/config.h \
431         $(EMACS_ROOT)/nt/inc/pwd.h
433 $(BLD)/getdate.$(O) : \
434         $(SRC)/getdate.c \
435         $(EMACS_ROOT)/src/s/ms-w32.h \
436         $(EMACS_ROOT)/src/m/intel386.h \
437         $(EMACS_ROOT)/src/config.h \
438         $(MSTOOLS_SYS)/types.h
440 $(BLD)/getopt.$(O) : \
441         $(SRC)/getopt.c \
442         $(EMACS_ROOT)/src/s/ms-w32.h \
443         $(EMACS_ROOT)/src/m/intel386.h \
444         $(EMACS_ROOT)/src/config.h \
445         $(SRC)/ntlib.h \
446         $(SRC)/getopt.h
448 $(BLD)/getopt1.$(O) : \
449         $(SRC)/getopt1.c \
450         $(EMACS_ROOT)/src/s/ms-w32.h \
451         $(EMACS_ROOT)/src/m/intel386.h \
452         $(EMACS_ROOT)/src/config.h \
453         $(SRC)/getopt.h
455 $(BLD)/hexl.$(O) : \
456         $(SRC)/hexl.c
458 $(BLD)/leditcfns.$(O) : \
459         $(SRC)/leditcfns.c
461 $(BLD)/make-docfile.$(O) : \
462         $(SRC)/make-docfile.c \
463         $(EMACS_ROOT)/src/config.h
465 $(BLD)/make-path.$(O) : \
466         $(SRC)/make-path.c
468 $(BLD)/movemail.$(O) : \
469         $(SRC)/movemail.c \
470         $(EMACS_ROOT)/src/s/ms-w32.h \
471         $(EMACS_ROOT)/src/m/intel386.h \
472         $(EMACS_ROOT)/lib-src/../src/config.h \
473         $(EMACS_ROOT)/nt/inc/sys/file.h \
474         $(EMACS_ROOT)/lib-src/../src/syswait.h \
475         $(EMACS_ROOT)/nt/inc/pwd.h \
476         $(SRC)/ntlib.h
477         $(CC) $(CFLAGS) -DUSG $(CC_OUT)$@ movemail.c
479 $(BLD)/ntlib.$(O) : \
480         $(SRC)/ntlib.c \
481         $(SRC)/ntlib.h \
482         $(EMACS_ROOT)/nt/inc/pwd.h
484 $(BLD)/pop.$(O) : \
485         $(SRC)/pop.c \
486         $(SRC)/pop.h \
487         $(SRC)/ntlib.h
489 $(BLD)/profile.$(O) : \
490         $(SRC)/profile.c \
491         $(EMACS_ROOT)/src/s/ms-w32.h \
492         $(EMACS_ROOT)/src/m/intel386.h \
493         $(EMACS_ROOT)/lib-src/../src/config.h \
494         $(EMACS_ROOT)/lib-src/../src/systime.h
496 $(BLD)/qsort.$(O) : \
497         $(SRC)/qsort.c
499 $(BLD)/sorted-doc.$(O) : \
500         $(SRC)/sorted-doc.c \
501         $(EMACS_ROOT)/src/s/ms-w32.h \
502         $(EMACS_ROOT)/src/m/intel386.h \
503         $(EMACS_ROOT)/src/config.h
505 $(BLD)/tcp.$(O) : \
506         $(SRC)/tcp.c
508 $(BLD)/test-distrib.$(O) : \
509         $(SRC)/test-distrib.c
511 $(BLD)/timer.$(O) : \
512         $(SRC)/timer.c \
513         $(EMACS_ROOT)/src/s/ms-w32.h \
514         $(EMACS_ROOT)/src/m/intel386.h \
515         $(EMACS_ROOT)/lib-src/../src/config.h
517 # The following dependencies are for supporting parallel builds, where
518 # we must make sure $(BLD) exists before any compilation starts.
520 $(BLD)/make-docfile.$(O) $(BLD)/hexl.$(O) $(BLD)/fakemail.$(O): stamp_BLD
522 $(BLD)/sorted-doc.$(O) $(BLD)/digest-doc.$(O): stamp_BLD
524 $(BLD)/test-distrib.$(O) $(GETOPTOBJS) $(MOVEMAILOBJS): stamp_BLD
526 $(BLD)/emacsclient.$(O) $(BLD)/etags.$(O) $(BLD)/regex.$(O): stamp_BLD
528 $(BLD)/ebrowse.$(O) $(BLD)/ctags.$(O): stamp_BLD