Commit | Line | Data |
---|---|---|
bd6766d3 | 1 | # -*- Makefile -*- for GNU Emacs on the Microsoft W32 API. |
92b47a4a | 2 | # Copyright (C) 2000, 2001, 2002, 2003, 2004, |
4e6835db | 3 | # 2005, 2006, 2007 Free Software Foundation, Inc. |
7bbaaedd AI |
4 | # |
5 | # This file is part of GNU Emacs. | |
52402e4f | 6 | # |
7bbaaedd AI |
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 | |
4a9f99bd | 9 | # the Free Software Foundation; either version 3, or (at your option) |
7bbaaedd | 10 | # any later version. |
52402e4f | 11 | # |
7bbaaedd AI |
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. | |
52402e4f | 16 | # |
7bbaaedd AI |
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 | |
364c38d3 LK |
19 | # Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
20 | # Boston, MA 02110-1301, USA. | |
7bbaaedd AI |
21 | # |
22 | ||
d20f2a6a | 23 | ALL = make-docfile hexl ctags etags movemail ebrowse sorted-doc digest-doc emacsclient |
7bbaaedd AI |
24 | |
25 | .PHONY: $(ALL) | |
26 | ||
bfd9ce71 | 27 | VERSION = 23.0.50 |
ad456bcb | 28 | |
7bbaaedd | 29 | LOCAL_FLAGS = -DWINDOWSNT -DDOS_NT -DSTDC_HEADERS=1 -DNO_LDAV=1 \ |
d19249e7 | 30 | -DNO_ARCHIVES=1 -DHAVE_CONFIG_H=1 -I../nt/inc \ |
ba2d3968 | 31 | -I../src |
7bbaaedd | 32 | |
ad456bcb | 33 | LIBS = $(BASE_LIBS) $(ADVAPI32) |
7bbaaedd AI |
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) | |
9781fb53 EZ |
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) | |
7bbaaedd | 47 | |
1a8a626d EZ |
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 | |
9781fb53 | 60 | "$(BLD)/test-distrib.exe" "$(SRC)/testfile" |
7bbaaedd AI |
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 | ||
ad456bcb | 73 | ECLIENT_CFLAGS = -DHAVE_GETCWD -DHAVE_STRERROR -DVERSION="\"$(VERSION)\"" |
d20f2a6a JB |
74 | ECLIENTOBJS = $(BLD)/emacsclient.$(O) \ |
75 | $(BLD)/getopt.$(O) \ | |
76 | $(BLD)/getopt1.$(O) \ | |
77 | $(BLD)/ntlib.$(O) | |
4d91c8f9 JB |
78 | TRES = ../nt/$(BLD)/emacs.res |
79 | ||
80 | $(TRES): ../nt/emacs.rc | |
81 | $(RC) $(RC_OUT)../nt/$(BLD)/emacs.res $(ALL_DEPS) | |
d20f2a6a JB |
82 | |
83 | $(BLD)/emacsclient.exe: $(ECLIENTOBJS) | |
84 | # put wsock32.lib before $(LIBS) to ensure we don't link to ws2_32.lib | |
2e2d2377 | 85 | $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(ECLIENTOBJS) $(WSOCK32) $(USER32) $(COMCTL32) $(LIBS) |
d20f2a6a | 86 | |
4d91c8f9 | 87 | $(BLD)/emacsclientw.exe: $(ECLIENTOBJS) $(TRES) |
ba2d3968 | 88 | # put wsock32.lib before $(LIBS) to ensure we don't link to ws2_32.lib |
2e2d2377 | 89 | $(LINK) $(LINK_OUT)$@ $(TRES) -mwindows $(LINK_FLAGS) $(ECLIENTOBJS) $(WSOCK32) $(USER32) $(COMCTL32) $(LIBS) |
ba2d3968 | 90 | |
4041a5e6 EZ |
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 | |
8357b759 | 94 | $(CC) $(CFLAGS) $(ECLIENT_CFLAGS) $(CC_OUT)$@ emacsclient.c |
d20f2a6a | 95 | |
7bbaaedd AI |
96 | ETAGSOBJ = $(BLD)/etags.$(O) \ |
97 | $(BLD)/getopt.$(O) \ | |
98 | $(BLD)/getopt1.$(O) \ | |
99 | $(BLD)/ntlib.$(O) \ | |
100 | $(BLD)/regex.$(O) | |
101 | ||
102 | $(BLD)/etags.exe: $(ETAGSOBJ) | |
103 | $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(ETAGSOBJ) $(LIBS) | |
104 | ||
105 | ||
d19249e7 | 106 | EBROWSEOBJ = $(BLD)/ebrowse.$(O) \ |
ba2d3968 JB |
107 | $(BLD)/getopt.$(O) \ |
108 | $(BLD)/getopt1.$(O) \ | |
109 | $(BLD)/ntlib.$(O) | |
d19249e7 JR |
110 | |
111 | $(BLD)/ebrowse.exe: $(EBROWSEOBJ) | |
88257bc8 | 112 | $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(EBROWSEOBJ) $(LIBS) |
d19249e7 | 113 | |
7bbaaedd AI |
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)$@ | |
117 | ||
118 | ETAGS_CFLAGS = -DHAVE_GETCWD | |
119 | $(BLD)/etags.$(O): etags.c | |
120 | $(CC) $(CFLAGS) $(ETAGS_CFLAGS) $(CC_OUT)$@ etags.c | |
121 | ||
122 | CTAGSOBJ = $(BLD)/ctags.$(O) \ | |
123 | $(BLD)/getopt.$(O) \ | |
124 | $(BLD)/getopt1.$(O) \ | |
125 | $(BLD)/ntlib.$(O) \ | |
126 | $(BLD)/regex.$(O) | |
127 | ||
128 | $(BLD)/ctags.exe: $(CTAGSOBJ) | |
129 | $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(CTAGSOBJ) $(LIBS) | |
130 | ||
131 | ctags.c: etags.c | |
132 | - $(DEL) ctags.c | |
133 | $(CP) etags.c ctags.c | |
134 | ||
135 | CTAGS_CFLAGS = -DCTAGS $(ETAGS_CFLAGS) | |
136 | $(BLD)/ctags.$(O): ctags.c | |
137 | $(CC) $(CFLAGS) $(CTAGS_CFLAGS) $(CC_OUT)$@ ctags.c | |
138 | ||
7bbaaedd | 139 | # |
3cf5c994 JD |
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. | |
7bbaaedd | 144 | # |
4086608a | 145 | obj = sunfns.o dosfns.o msdos.o \ |
eccfc782 JR |
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 \ | |
3cf5c994 JD |
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 \ | |
eccfc782 | 150 | font.o w32font.o \ |
3cf5c994 | 151 | dispnew.o frame.o scroll.o xdisp.o window.o \ |
eccfc782 JR |
152 | charset.o coding.o category.o ccl.o character.o chartab.o \ |
153 | cm.o term.o terminal.o xfaces.o \ | |
3cf5c994 JD |
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 | |
164 | ||
7bbaaedd AI |
165 | # |
166 | # These are the lisp files that are loaded up in loadup.el | |
167 | # | |
168 | lispsource = ../lisp/ | |
169 | ||
98d926f2 | 170 | MOUSE_SUPPORT = $(lispsource)select.elc $(lispsource)scroll-bar.elc $(lispsource)mouse.elc $(lispsource)tooltip.elc |
7f379e5b JR |
171 | WINNT_SUPPORT = $(lispsource)ls-lisp.elc $(lispsource)disp-table.elc $(lispsource)w32-fns.elc $(lispsource)dos-w32.elc $(lispsource)w32-vars.elc |
172 | ||
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 | |
7bbaaedd | 176 | |
83a9c0b2 | 177 | lisp1= \ |
7f379e5b JR |
178 | $(lispsource)abbrev.elc \ |
179 | $(lispsource)buff-menu.elc \ | |
e63e8d3e | 180 | $(lispsource)button.elc \ |
8dc48ef0 | 181 | $(lispsource)emacs-lisp/byte-run.elc \ |
98d926f2 | 182 | $(lispsource)cus-face.elc \ |
7f379e5b JR |
183 | $(lispsource)cus-start.elc \ |
184 | $(lispsource)custom.elc \ | |
dd87b4cc | 185 | $(lispsource)emacs-lisp/backquote.elc \ |
7f379e5b JR |
186 | $(lispsource)emacs-lisp/lisp-mode.elc \ |
187 | $(lispsource)emacs-lisp/lisp.elc \ | |
7f379e5b | 188 | $(lispsource)facemenu.elc \ |
7bbaaedd | 189 | $(MOUSE_SUPPORT) \ |
98d926f2 EZ |
190 | $(lispsource)faces.elc \ |
191 | $(lispsource)files.elc \ | |
8dc48ef0 | 192 | $(lispsource)emacs-lisp/float-sup.elc \ |
98d926f2 | 193 | $(lispsource)format.elc \ |
8dc48ef0 | 194 | $(lispsource)frame.elc \ |
7f379e5b JR |
195 | $(lispsource)help.elc \ |
196 | $(lispsource)indent.elc \ | |
197 | $(lispsource)isearch.elc \ | |
98d926f2 | 198 | $(lispsource)rfn-eshadow.elc \ |
7bbaaedd AI |
199 | $(lispsource)loadup.el \ |
200 | $(lispsource)loaddefs.el \ | |
7f379e5b | 201 | $(lispsource)bindings.elc \ |
8dc48ef0 | 202 | $(lispsource)emacs-lisp/map-ynp.elc \ |
98d926f2 | 203 | $(lispsource)env.elc \ |
7f379e5b | 204 | $(lispsource)international/mule.elc \ |
7bbaaedd | 205 | $(lispsource)international/mule-conf.el \ |
7f379e5b JR |
206 | $(lispsource)international/mule-cmds.elc \ |
207 | $(lispsource)international/characters.elc \ | |
d9d2ac69 | 208 | $(lispsource)fringe.elc \ |
4c27dbc4 EZ |
209 | $(lispsource)image.elc \ |
210 | $(lispsource)international/fontset.elc \ | |
211 | $(lispsource)dnd.elc \ | |
212 | $(lispsource)mwheel.elc \ | |
213 | $(lispsource)tool-bar.elc \ | |
83a9c0b2 JR |
214 | $(lispsource)case-table.elc |
215 | ||
216 | lisp2 = \ | |
7f379e5b JR |
217 | $(lispsource)language/chinese.elc \ |
218 | $(lispsource)language/cyrillic.elc \ | |
219 | $(lispsource)language/indian.elc \ | |
52402e4f | 220 | $(lispsource)language/devanagari.el \ |
98d926f2 | 221 | $(lispsource)language/kannada.el \ |
0a0dc511 JB |
222 | $(lispsource)language/malayalam.el \ |
223 | $(lispsource)language/tamil.el \ | |
76054cc8 | 224 | $(lispsource)language/english.el \ |
7f379e5b JR |
225 | $(lispsource)language/ethiopic.elc \ |
226 | $(lispsource)language/european.elc \ | |
76054cc8 AI |
227 | $(lispsource)language/czech.el \ |
228 | $(lispsource)language/slovak.el \ | |
229 | $(lispsource)language/romanian.el \ | |
230 | $(lispsource)language/greek.el \ | |
231 | $(lispsource)language/hebrew.el \ | |
76054cc8 AI |
232 | $(lispsource)language/japanese.el \ |
233 | $(lispsource)language/korean.el \ | |
234 | $(lispsource)language/lao.el \ | |
235 | $(lispsource)language/thai.el \ | |
7f379e5b JR |
236 | $(lispsource)language/tibetan.elc \ |
237 | $(lispsource)language/vietnamese.elc \ | |
76054cc8 | 238 | $(lispsource)language/misc-lang.el \ |
7f379e5b JR |
239 | $(lispsource)language/utf-8-lang.el \ |
240 | $(lispsource)language/georgian.el \ | |
98d926f2 | 241 | $(lispsource)menu-bar.elc \ |
7bbaaedd | 242 | $(lispsource)paths.el \ |
7f379e5b JR |
243 | $(lispsource)register.elc \ |
244 | $(lispsource)replace.elc \ | |
245 | $(lispsource)simple.elc \ | |
246 | $(lispsource)startup.elc \ | |
247 | $(lispsource)subr.elc \ | |
248 | $(lispsource)term/tty-colors.elc \ | |
7a8940da | 249 | $(lispsource)font-core.elc \ |
98d926f2 EZ |
250 | $(lispsource)emacs-lisp/syntax.elc \ |
251 | $(lispsource)font-lock.elc \ | |
252 | $(lispsource)jit-lock.elc \ | |
7f379e5b JR |
253 | $(lispsource)textmodes/fill.elc \ |
254 | $(lispsource)textmodes/page.elc \ | |
255 | $(lispsource)textmodes/paragraphs.elc \ | |
256 | $(lispsource)textmodes/text-mode.elc \ | |
98d926f2 | 257 | $(lispsource)emacs-lisp/timer.elc \ |
7f379e5b | 258 | $(lispsource)vc-hooks.elc \ |
98d926f2 | 259 | $(lispsource)jka-cmpr-hook.elc \ |
7f379e5b | 260 | $(lispsource)ediff-hook.elc \ |
7bbaaedd AI |
261 | $(VMS_SUPPORT) \ |
262 | $(MSDOS_SUPPORT) \ | |
263 | $(WINNT_SUPPORT) \ | |
7f379e5b JR |
264 | $(lispsource)widget.elc \ |
265 | $(lispsource)window.elc \ | |
7bbaaedd AI |
266 | $(lispsource)version.el |
267 | ||
3b57ab8f EZ |
268 | # This is needed the first time we build the tree, since temacs.exe |
269 | # does not exist yet, and the DOC rule needs it to rebuild DOC whenever | |
270 | # Emacs is rebuilt. | |
271 | ../src/$(BLD)/temacs.exe: | |
272 | - mkdir "../src/$(OBJDIR)" | |
273 | - mkdir "../src/$(BLD)" | |
274 | @echo temacs > temacs.exe | |
275 | $(CP) temacs.exe ../src/$(BLD) | |
276 | - $(DEL) temacs.exe | |
7bbaaedd | 277 | |
52402e4f | 278 | DOC = DOC |
1a8a626d | 279 | $(DOC): stamp_BLD $(BLD)/make-docfile.exe ../src/$(BLD)/temacs.exe $(lisp1) $(lisp2) |
7bbaaedd | 280 | - $(DEL) $(DOC) |
cf6d30d7 | 281 | "$(THISDIR)/$(BLD)/make-docfile" -o $(DOC) -d ../src $(obj) |
83a9c0b2 JR |
282 | "$(THISDIR)/$(BLD)/make-docfile" -a $(DOC) -d ../src $(lisp1) |
283 | "$(THISDIR)/$(BLD)/make-docfile" -a $(DOC) -d ../src $(lisp2) | |
7bbaaedd AI |
284 | $(CP) $(DOC) ../etc/DOC-X |
285 | - mkdir "../src/$(OBJDIR)" | |
286 | - mkdir "../src/$(OBJDIR)/etc" | |
287 | $(CP) $(DOC) ../src/$(OBJDIR)/etc/DOC-X | |
288 | ||
289 | {$(BLD)}.$(O){$(BLD)}.exe: | |
290 | $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $*.$(O) $(LIBS) | |
291 | ||
292 | # | |
293 | # Build the executables | |
294 | # | |
1a8a626d | 295 | all: stamp_BLD $(ALL) $(DOC) |
7bbaaedd AI |
296 | |
297 | # | |
298 | # Assuming INSTALL_DIR is defined, build and install emacs in it. | |
299 | # | |
300 | INSTALL_FILES = $(ALL) | |
301 | install: $(INSTALL_FILES) | |
302 | - mkdir "$(INSTALL_DIR)/bin" | |
303 | $(CP) $(BLD)/etags.exe $(INSTALL_DIR)/bin | |
88257bc8 | 304 | $(CP) $(BLD)/ebrowse.exe $(INSTALL_DIR)/bin |
7bbaaedd AI |
305 | $(CP) $(BLD)/ctags.exe $(INSTALL_DIR)/bin |
306 | $(CP) $(BLD)/hexl.exe $(INSTALL_DIR)/bin | |
307 | $(CP) $(BLD)/movemail.exe $(INSTALL_DIR)/bin | |
9781fb53 EZ |
308 | $(CP) $(BLD)/sorted-doc.exe $(INSTALL_DIR)/bin |
309 | $(CP) $(BLD)/digest-doc.exe $(INSTALL_DIR)/bin | |
d20f2a6a | 310 | $(CP) $(BLD)/emacsclient.exe $(INSTALL_DIR)/bin |
ba2d3968 | 311 | $(CP) $(BLD)/emacsclientw.exe $(INSTALL_DIR)/bin |
7bbaaedd AI |
312 | - mkdir "$(INSTALL_DIR)/etc" |
313 | $(CP) $(DOC) $(INSTALL_DIR)/etc | |
314 | ||
315 | # | |
316 | # Maintenance | |
52402e4f | 317 | # |
9724908a EZ |
318 | # We used to delete *~ here, but that might inadvertently remove |
319 | # precious files if it happens to match their short 8+3 aliases. | |
7bbaaedd | 320 | clean: |
9724908a | 321 | - $(DEL) DOC* $(COMPILER_TEMP_FILES) |
7bbaaedd | 322 | - $(DEL) ctags.c |
d238808a | 323 | - $(DEL) getopt.h |
7bbaaedd | 324 | - $(DEL_TREE) $(OBJDIR) |
e313b518 | 325 | - $(DEL) stamp_BLD |
7bbaaedd AI |
326 | |
327 | cleanall: clean | |
328 | - $(DEL_TREE) obj | |
329 | - $(DEL_TREE) obj-spd | |
330 | - $(DEL_TREE) oo | |
331 | - $(DEL_TREE) oo-spd | |
332 | ||
333 | # | |
334 | # Headers we would preprocess if we could. | |
335 | # | |
336 | ../src/config.h: ../nt/$(CONFIG_H) | |
70846e2a | 337 | echo $(CONFIG_H) has changed. Re-run configure.bat. |
df1b2142 JR |
338 | exit -1 |
339 | ||
d238808a JB |
340 | getopt.h: getopt_.h |
341 | $(CP) $(ALL_DEPS) $@ | |
7bbaaedd AI |
342 | |
343 | ### DEPENDENCIES ### | |
344 | ||
345 | EMACS_ROOT = .. | |
346 | SRC = . | |
347 | ||
348 | $(BLD)/alloca.$(O) : \ | |
349 | $(SRC)/alloca.c \ | |
350 | $(EMACS_ROOT)/src/s/ms-w32.h \ | |
351 | $(EMACS_ROOT)/src/m/intel386.h \ | |
352 | $(EMACS_ROOT)/src/config.h \ | |
353 | $(EMACS_ROOT)/src/blockinput.h | |
354 | ||
355 | $(BLD)/b2m.$(O) : \ | |
356 | $(SRC)/b2m.c \ | |
357 | $(EMACS_ROOT)/src/s/ms-w32.h \ | |
358 | $(EMACS_ROOT)/src/m/intel386.h \ | |
359 | $(EMACS_ROOT)/lib-src/../src/config.h | |
360 | ||
361 | $(BLD)/ctags.$(O) : \ | |
362 | $(SRC)/ctags.c \ | |
363 | $(EMACS_ROOT)/nt/inc/sys/param.h \ | |
364 | $(EMACS_ROOT)/src/s/ms-w32.h \ | |
365 | $(EMACS_ROOT)/src/m/intel386.h \ | |
366 | $(EMACS_ROOT)/lib-src/../src/config.h \ | |
367 | $(SRC)/ntlib.h \ | |
368 | $(SRC)/getopt.h | |
369 | ||
7bbaaedd AI |
370 | $(BLD)/digest-doc.$(O) : \ |
371 | $(SRC)/digest-doc.c | |
372 | ||
373 | $(BLD)/emacsclient.$(O) : \ | |
374 | $(SRC)/emacsclient.c \ | |
375 | $(EMACS_ROOT)/src/s/ms-w32.h \ | |
376 | $(EMACS_ROOT)/src/m/intel386.h \ | |
377 | $(EMACS_ROOT)/lib-src/../src/config.h | |
378 | ||
7bbaaedd AI |
379 | $(BLD)/etags.$(O) : \ |
380 | $(SRC)/etags.c \ | |
381 | $(EMACS_ROOT)/nt/inc/sys/param.h \ | |
382 | $(EMACS_ROOT)/src/s/ms-w32.h \ | |
383 | $(EMACS_ROOT)/src/m/intel386.h \ | |
384 | $(EMACS_ROOT)/lib-src/../src/config.h \ | |
385 | $(SRC)/ntlib.h \ | |
386 | $(SRC)/getopt.h | |
387 | ||
388 | $(BLD)/fakemail.$(O) : \ | |
389 | $(SRC)/fakemail.c \ | |
390 | $(SRC)/ntlib.h \ | |
391 | $(EMACS_ROOT)/src/s/ms-w32.h \ | |
392 | $(EMACS_ROOT)/src/m/intel386.h \ | |
393 | $(EMACS_ROOT)/lib-src/../src/config.h \ | |
394 | $(EMACS_ROOT)/nt/inc/pwd.h | |
395 | ||
396 | $(BLD)/getdate.$(O) : \ | |
397 | $(SRC)/getdate.c \ | |
398 | $(EMACS_ROOT)/src/s/ms-w32.h \ | |
399 | $(EMACS_ROOT)/src/m/intel386.h \ | |
400 | $(EMACS_ROOT)/src/config.h \ | |
401 | $(MSTOOLS_SYS)/types.h | |
402 | ||
403 | $(BLD)/getopt.$(O) : \ | |
404 | $(SRC)/getopt.c \ | |
405 | $(EMACS_ROOT)/src/s/ms-w32.h \ | |
406 | $(EMACS_ROOT)/src/m/intel386.h \ | |
407 | $(EMACS_ROOT)/src/config.h \ | |
408 | $(SRC)/ntlib.h \ | |
409 | $(SRC)/getopt.h | |
410 | ||
411 | $(BLD)/getopt1.$(O) : \ | |
412 | $(SRC)/getopt1.c \ | |
413 | $(EMACS_ROOT)/src/s/ms-w32.h \ | |
414 | $(EMACS_ROOT)/src/m/intel386.h \ | |
415 | $(EMACS_ROOT)/src/config.h \ | |
416 | $(SRC)/getopt.h | |
417 | ||
418 | $(BLD)/hexl.$(O) : \ | |
419 | $(SRC)/hexl.c | |
420 | ||
421 | $(BLD)/leditcfns.$(O) : \ | |
422 | $(SRC)/leditcfns.c | |
423 | ||
424 | $(BLD)/make-docfile.$(O) : \ | |
425 | $(SRC)/make-docfile.c \ | |
426 | $(EMACS_ROOT)/src/config.h | |
427 | ||
428 | $(BLD)/make-path.$(O) : \ | |
429 | $(SRC)/make-path.c | |
430 | ||
431 | $(BLD)/movemail.$(O) : \ | |
432 | $(SRC)/movemail.c \ | |
433 | $(EMACS_ROOT)/src/s/ms-w32.h \ | |
434 | $(EMACS_ROOT)/src/m/intel386.h \ | |
435 | $(EMACS_ROOT)/lib-src/../src/config.h \ | |
436 | $(EMACS_ROOT)/nt/inc/sys/file.h \ | |
7bbaaedd AI |
437 | $(EMACS_ROOT)/lib-src/../src/syswait.h \ |
438 | $(EMACS_ROOT)/nt/inc/pwd.h \ | |
439 | $(SRC)/ntlib.h | |
ba2d3968 | 440 | $(CC) $(CFLAGS) -DUSG $(CC_OUT)$@ movemail.c |
7bbaaedd AI |
441 | |
442 | $(BLD)/ntlib.$(O) : \ | |
443 | $(SRC)/ntlib.c \ | |
444 | $(SRC)/ntlib.h \ | |
445 | $(EMACS_ROOT)/nt/inc/pwd.h | |
446 | ||
447 | $(BLD)/pop.$(O) : \ | |
448 | $(SRC)/pop.c \ | |
449 | $(SRC)/pop.h \ | |
450 | $(SRC)/ntlib.h | |
451 | ||
452 | $(BLD)/profile.$(O) : \ | |
453 | $(SRC)/profile.c \ | |
454 | $(EMACS_ROOT)/src/s/ms-w32.h \ | |
455 | $(EMACS_ROOT)/src/m/intel386.h \ | |
456 | $(EMACS_ROOT)/lib-src/../src/config.h \ | |
7bbaaedd AI |
457 | $(EMACS_ROOT)/lib-src/../src/systime.h |
458 | ||
459 | $(BLD)/qsort.$(O) : \ | |
460 | $(SRC)/qsort.c | |
461 | ||
462 | $(BLD)/sorted-doc.$(O) : \ | |
9781fb53 EZ |
463 | $(SRC)/sorted-doc.c \ |
464 | $(EMACS_ROOT)/src/s/ms-w32.h \ | |
465 | $(EMACS_ROOT)/src/m/intel386.h \ | |
466 | $(EMACS_ROOT)/src/config.h \ | |
7bbaaedd AI |
467 | |
468 | $(BLD)/tcp.$(O) : \ | |
469 | $(SRC)/tcp.c | |
470 | ||
471 | $(BLD)/test-distrib.$(O) : \ | |
472 | $(SRC)/test-distrib.c | |
473 | ||
474 | $(BLD)/timer.$(O) : \ | |
475 | $(SRC)/timer.c \ | |
476 | $(EMACS_ROOT)/src/s/ms-w32.h \ | |
477 | $(EMACS_ROOT)/src/m/intel386.h \ | |
478 | $(EMACS_ROOT)/lib-src/../src/config.h | |
1a8a626d EZ |
479 | |
480 | # The following dependencies are for supporting parallel builds, where | |
481 | # we must make sure $(BLD) exists before any compilation starts. | |
482 | # | |
483 | $(BLD)/make-docfile.$(O) $(BLD)/hexl.$(O) $(BLD)/fakemail.$(O): stamp_BLD | |
484 | ||
485 | $(BLD)/sorted-doc.$(O) $(BLD)/digest-doc.$(O): stamp_BLD | |
486 | ||
487 | $(BLD)/test-distrib.$(O) $(GETOPTOBJS) $(MOVEMAILOBJS): stamp_BLD | |
488 | ||
489 | $(BLD)/emacsclient.$(O) $(BLD)/etags.$(O) $(BLD)/regex.$(O): stamp_BLD | |
490 | ||
491 | $(BLD)/ebrowse.$(O) $(BLD)/ctags.$(O): stamp_BLD |