Commit | Line | Data |
---|---|---|
bd6766d3 | 1 | # -*- Makefile -*- for GNU Emacs on the Microsoft W32 API. |
acaf905b | 2 | # Copyright (C) 2000-2012 Free Software Foundation, Inc. |
294981c7 GM |
3 | |
4 | # This file is part of GNU Emacs. | |
5 | ||
6 | # GNU Emacs is free software: you can redistribute it and/or modify | |
7 | # it under the terms of the GNU General Public License as published by | |
8 | # the Free Software Foundation, either version 3 of the License, or | |
9 | # (at your option) any later version. | |
10 | ||
11 | # GNU Emacs is distributed in the hope that it will be useful, | |
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | # GNU General Public License for more details. | |
15 | ||
16 | # You should have received a copy of the GNU General Public License | |
17 | # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | |
18 | ||
7bbaaedd | 19 | |
e4ecc6a2 EZ |
20 | ALL = $(BLD)/test-distrib.exe $(BLD)/make-docfile.exe $(BLD)/hexl.exe\ |
21 | $(BLD)/ctags.exe $(BLD)/etags.exe $(BLD)/movemail.exe $(BLD)/ebrowse.exe\ | |
d67a9a85 | 22 | $(BLD)/emacsclient.exe $(BLD)/emacsclientw.exe |
7bbaaedd | 23 | |
d67a9a85 | 24 | .PHONY: make-docfile |
7bbaaedd | 25 | |
0e926e56 | 26 | LOCAL_FLAGS = -DWINDOWSNT -DDOS_NT -DNO_LDAV=1 \ |
f915f0f7 | 27 | -DNO_ARCHIVES=1 -DHAVE_CONFIG_H=1 -I../lib \ |
8c9afb46 | 28 | -I../nt/inc -I../src $(EMACS_EXTRA_C_FLAGS) |
7bbaaedd | 29 | |
ad456bcb | 30 | LIBS = $(BASE_LIBS) $(ADVAPI32) |
7bbaaedd | 31 | |
d67a9a85 EZ |
32 | # The following target is used by makefile.w32-in files in other directories. |
33 | make-docfile: $(BLD)/make-docfile.exe | |
34 | ||
7bbaaedd AI |
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) | |
9781fb53 EZ |
39 | $(BLD)/test-distrib.exe: $(BLD)/test-distrib.$(O) |
40 | $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/test-distrib.$(O) $(LIBS) | |
d67a9a85 | 41 | "$(BLD)/test-distrib.exe" "$(SRC)/testfile" |
7bbaaedd | 42 | |
7bbaaedd AI |
43 | MOVEMAILOBJS = $(BLD)/movemail.$(O) \ |
44 | $(BLD)/pop.$(O) \ | |
f915f0f7 EZ |
45 | ../lib/$(BLD)/libgnu.$(A) \ |
46 | $(BLD)/ntlib.$(O) | |
7bbaaedd | 47 | |
f915f0f7 | 48 | $(BLD)/movemail.exe: $(MOVEMAILOBJS) ../lib/getopt.h |
7bbaaedd AI |
49 | # put wsock32.lib before $(LIBS) to ensure we don't link to ws2_32.lib |
50 | $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(MOVEMAILOBJS) $(WSOCK32) $(LIBS) | |
51 | ||
70b0d280 | 52 | ECLIENT_CFLAGS = -DHAVE_GETCWD -DHAVE_STRERROR |
d20f2a6a | 53 | ECLIENTOBJS = $(BLD)/emacsclient.$(O) \ |
f915f0f7 EZ |
54 | $(BLD)/ntlib.$(O) \ |
55 | ../lib/$(BLD)/libgnu.$(A) | |
4429f88c | 56 | CLIENTRES = ../nt/$(BLD)/emacsclient.res |
4d91c8f9 | 57 | |
4429f88c JR |
58 | $(CLIENTRES): ../nt/emacsclient.rc |
59 | @echo Emacsclient resource file must be built from nt directory | |
60 | @exit -1 | |
d20f2a6a JB |
61 | |
62 | $(BLD)/emacsclient.exe: $(ECLIENTOBJS) | |
63 | # put wsock32.lib before $(LIBS) to ensure we don't link to ws2_32.lib | |
2e2d2377 | 64 | $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(ECLIENTOBJS) $(WSOCK32) $(USER32) $(COMCTL32) $(LIBS) |
d20f2a6a | 65 | |
4429f88c | 66 | $(BLD)/emacsclientw.exe: $(ECLIENTOBJS) $(CLIENTRES) |
ba2d3968 | 67 | # put wsock32.lib before $(LIBS) to ensure we don't link to ws2_32.lib |
4429f88c | 68 | $(LINK) $(LINK_OUT)$@ $(CLIENTRES) -mwindows $(LINK_FLAGS) $(ECLIENTOBJS) $(WSOCK32) $(USER32) $(COMCTL32) $(LIBS) |
ba2d3968 | 69 | |
70b0d280 | 70 | $(BLD)/emacsclient.$(O): emacsclient.c |
8357b759 | 71 | $(CC) $(CFLAGS) $(ECLIENT_CFLAGS) $(CC_OUT)$@ emacsclient.c |
d20f2a6a | 72 | |
7bbaaedd | 73 | ETAGSOBJ = $(BLD)/etags.$(O) \ |
f915f0f7 | 74 | ../lib/$(BLD)/libgnu.$(A) \ |
7bbaaedd AI |
75 | $(BLD)/ntlib.$(O) \ |
76 | $(BLD)/regex.$(O) | |
77 | ||
78 | $(BLD)/etags.exe: $(ETAGSOBJ) | |
79 | $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(ETAGSOBJ) $(LIBS) | |
80 | ||
81 | ||
d19249e7 | 82 | EBROWSEOBJ = $(BLD)/ebrowse.$(O) \ |
f915f0f7 | 83 | ../lib/$(BLD)/libgnu.$(A) \ |
ba2d3968 | 84 | $(BLD)/ntlib.$(O) |
d19249e7 JR |
85 | |
86 | $(BLD)/ebrowse.exe: $(EBROWSEOBJ) | |
88257bc8 | 87 | $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(EBROWSEOBJ) $(LIBS) |
d19249e7 | 88 | |
7bbaaedd AI |
89 | $(BLD)/regex.$(O): ../src/regex.c ../src/regex.h ../src/config.h |
90 | $(CC) $(CFLAGS) -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER \ | |
91 | ../src/regex.c $(CC_OUT)$@ | |
92 | ||
d9f1f55e | 93 | ETAGS_CFLAGS = -DHAVE_GETCWD -DEMACS_NAME="\"GNU Emacs\"" |
7bbaaedd AI |
94 | $(BLD)/etags.$(O): etags.c |
95 | $(CC) $(CFLAGS) $(ETAGS_CFLAGS) $(CC_OUT)$@ etags.c | |
96 | ||
97 | CTAGSOBJ = $(BLD)/ctags.$(O) \ | |
f915f0f7 | 98 | ../lib/$(BLD)/libgnu.$(A) \ |
7bbaaedd AI |
99 | $(BLD)/ntlib.$(O) \ |
100 | $(BLD)/regex.$(O) | |
101 | ||
102 | $(BLD)/ctags.exe: $(CTAGSOBJ) | |
103 | $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(CTAGSOBJ) $(LIBS) | |
104 | ||
105 | ctags.c: etags.c | |
106 | - $(DEL) ctags.c | |
107 | $(CP) etags.c ctags.c | |
108 | ||
d9f1f55e | 109 | CTAGS_CFLAGS = -DCTAGS $(ETAGS_CFLAGS) -DEMACS_NAME="\"GNU Emacs\"" |
7bbaaedd AI |
110 | $(BLD)/ctags.$(O): ctags.c |
111 | $(CC) $(CFLAGS) $(CTAGS_CFLAGS) $(CC_OUT)$@ ctags.c | |
112 | ||
7bbaaedd | 113 | # |
3cf5c994 JD |
114 | # From ..\src\Makefile.in |
115 | # It doesn't matter if the real name is *.obj for the files in this list, | |
116 | # make-docfile blindly replaces .o with .c anyway. Keep .o in this list | |
117 | # as it is required by code in doc.c. | |
7bbaaedd | 118 | # |
f23d76bd | 119 | obj = dosfns.o msdos.o \ |
eccfc782 | 120 | xterm.o xfns.o xmenu.o xselect.o xrdb.o xsmfns.o fringe.o image.o \ |
994a7c3b | 121 | fontset.o menu.o \ |
c9fc02c7 | 122 | w32.o w32console.o w32fns.o w32heap.o w32inevt.o \ |
3cf5c994 | 123 | w32menu.o w32proc.o w32reg.o w32select.o w32term.o w32xfns.o \ |
994a7c3b EZ |
124 | font.o w32font.o w32uniscribe.o \ |
125 | dispnew.o frame.o scroll.o xdisp.o window.o bidi.o \ | |
eccfc782 JR |
126 | charset.o coding.o category.o ccl.o character.o chartab.o \ |
127 | cm.o term.o terminal.o xfaces.o \ | |
3cf5c994 JD |
128 | emacs.o keyboard.o macros.o keymap.o sysdep.o \ |
129 | buffer.o filelock.o insdel.o marker.o \ | |
602a5739 | 130 | minibuf.o fileio.o dired.o \ |
3cf5c994 JD |
131 | cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o \ |
132 | alloc.o data.o doc.o editfns.o callint.o \ | |
133 | eval.o floatfns.o fns.o print.o lread.o \ | |
a2666217 | 134 | syntax.o bytecode.o \ |
994a7c3b | 135 | process.o callproc.o unexw32.o \ |
3cf5c994 | 136 | region-cache.o sound.o atimer.o \ |
418401a5 TZ |
137 | doprnt.o intervals.o textprop.o composite.o \ |
138 | gnutls.o | |
3cf5c994 | 139 | |
7bbaaedd AI |
140 | # |
141 | # These are the lisp files that are loaded up in loadup.el | |
142 | # | |
143 | lispsource = ../lisp/ | |
144 | ||
a40c6a08 JR |
145 | MOUSE_SUPPORT = \ |
146 | $(lispsource)select.elc \ | |
147 | $(lispsource)scroll-bar.elc \ | |
79d48c1a | 148 | $(lispsource)mouse.elc |
a40c6a08 JR |
149 | WINNT_SUPPORT = \ |
150 | $(lispsource)ls-lisp.elc \ | |
151 | $(lispsource)disp-table.elc \ | |
152 | $(lispsource)w32-fns.elc \ | |
153 | $(lispsource)dos-w32.elc \ | |
154 | $(lispsource)w32-vars.elc \ | |
f2d6b714 | 155 | $(lispsource)term/common-win.elc \ |
a40c6a08 | 156 | $(lispsource)term/w32-win.elc |
a40c6a08 JR |
157 | TOOLTIP_SUPPORT = $(lispsource)tooltip.elc |
158 | WINDOW_SUPPORT = \ | |
159 | $(lispsource)fringe.elc \ | |
160 | $(lispsource)image.elc \ | |
161 | $(lispsource)international/fontset.elc \ | |
162 | $(lispsource)dnd.elc \ | |
163 | $(lispsource)tool-bar.elc \ | |
164 | $(lispsource)mwheel.elc | |
7bbaaedd | 165 | |
79d48c1a JR |
166 | # lisp files that are loaded up on other platforms |
167 | OTHER_PLATFORM_SUPPORT = \ | |
168 | $(lispsource)dos-fns.elc \ | |
169 | $(lispsource)dos-vars.elc \ | |
03dcfe01 CY |
170 | $(lispsource)term/internal.elc \ |
171 | $(lispsource)term/pc-win.elc \ | |
79d48c1a | 172 | $(lispsource)x-dnd.elc \ |
614bd9cf | 173 | $(lispsource)term/x-win.elc \ |
42d3cab7 | 174 | $(lispsource)term/ns-win.elc |
79d48c1a JR |
175 | |
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 \ |
0c55bf82 | 182 | $(lispsource)composite.elc \ |
98d926f2 | 183 | $(lispsource)cus-face.elc \ |
7f379e5b JR |
184 | $(lispsource)cus-start.elc \ |
185 | $(lispsource)custom.elc \ | |
dd87b4cc | 186 | $(lispsource)emacs-lisp/backquote.elc \ |
7f379e5b JR |
187 | $(lispsource)emacs-lisp/lisp-mode.elc \ |
188 | $(lispsource)emacs-lisp/lisp.elc \ | |
a40c6a08 | 189 | $(lispsource)env.elc \ |
98d926f2 EZ |
190 | $(lispsource)faces.elc \ |
191 | $(lispsource)files.elc \ | |
98d926f2 | 192 | $(lispsource)format.elc \ |
a40c6a08 JR |
193 | $(lispsource)facemenu.elc \ |
194 | $(MOUSE_SUPPORT) \ | |
195 | $(lispsource)emacs-lisp/float-sup.elc \ | |
8dc48ef0 | 196 | $(lispsource)frame.elc \ |
7f379e5b JR |
197 | $(lispsource)help.elc \ |
198 | $(lispsource)indent.elc \ | |
199 | $(lispsource)isearch.elc \ | |
98d926f2 | 200 | $(lispsource)rfn-eshadow.elc \ |
7bbaaedd AI |
201 | $(lispsource)loadup.el \ |
202 | $(lispsource)loaddefs.el \ | |
7f379e5b | 203 | $(lispsource)bindings.elc \ |
8dc48ef0 | 204 | $(lispsource)emacs-lisp/map-ynp.elc \ |
a40c6a08 | 205 | $(lispsource)menu-bar.elc \ |
7f379e5b | 206 | $(lispsource)international/mule.elc \ |
7bbaaedd | 207 | $(lispsource)international/mule-conf.el \ |
7f379e5b JR |
208 | $(lispsource)international/mule-cmds.elc \ |
209 | $(lispsource)international/characters.elc \ | |
a40c6a08 | 210 | $(lispsource)international/charprop.el \ |
83a9c0b2 JR |
211 | $(lispsource)case-table.elc |
212 | ||
213 | lisp2 = \ | |
a40c6a08 JR |
214 | $(lispsource)language/chinese.el \ |
215 | $(lispsource)language/cyrillic.el \ | |
216 | $(lispsource)language/indian.el \ | |
9c61c734 | 217 | $(lispsource)language/sinhala.el \ |
76054cc8 | 218 | $(lispsource)language/english.el \ |
7f379e5b JR |
219 | $(lispsource)language/ethiopic.elc \ |
220 | $(lispsource)language/european.elc \ | |
76054cc8 AI |
221 | $(lispsource)language/czech.el \ |
222 | $(lispsource)language/slovak.el \ | |
223 | $(lispsource)language/romanian.el \ | |
224 | $(lispsource)language/greek.el \ | |
f09e4c6b | 225 | $(lispsource)language/hebrew.elc \ |
76054cc8 AI |
226 | $(lispsource)language/japanese.el \ |
227 | $(lispsource)language/korean.el \ | |
228 | $(lispsource)language/lao.el \ | |
79d48c1a | 229 | $(lispsource)language/cham.el \ |
a40c6a08 | 230 | $(lispsource)language/tai-viet.el \ |
76054cc8 | 231 | $(lispsource)language/thai.el \ |
7f379e5b | 232 | $(lispsource)language/tibetan.elc \ |
a40c6a08 | 233 | $(lispsource)language/vietnamese.el \ |
76054cc8 | 234 | $(lispsource)language/misc-lang.el \ |
7f379e5b JR |
235 | $(lispsource)language/utf-8-lang.el \ |
236 | $(lispsource)language/georgian.el \ | |
79d48c1a JR |
237 | $(lispsource)language/khmer.el \ |
238 | $(lispsource)language/burmese.el \ | |
7bbaaedd | 239 | $(lispsource)paths.el \ |
7f379e5b JR |
240 | $(lispsource)register.elc \ |
241 | $(lispsource)replace.elc \ | |
242 | $(lispsource)simple.elc \ | |
01b996ad | 243 | $(lispsource)minibuffer.elc \ |
7f379e5b JR |
244 | $(lispsource)startup.elc \ |
245 | $(lispsource)subr.elc \ | |
246 | $(lispsource)term/tty-colors.elc \ | |
7a8940da | 247 | $(lispsource)font-core.elc \ |
98d926f2 EZ |
248 | $(lispsource)emacs-lisp/syntax.elc \ |
249 | $(lispsource)font-lock.elc \ | |
250 | $(lispsource)jit-lock.elc \ | |
7f379e5b JR |
251 | $(lispsource)textmodes/fill.elc \ |
252 | $(lispsource)textmodes/page.elc \ | |
253 | $(lispsource)textmodes/paragraphs.elc \ | |
254 | $(lispsource)textmodes/text-mode.elc \ | |
98d926f2 | 255 | $(lispsource)emacs-lisp/timer.elc \ |
98d926f2 | 256 | $(lispsource)jka-cmpr-hook.elc \ |
5fee75d4 JB |
257 | $(lispsource)vc/vc-hooks.elc \ |
258 | $(lispsource)vc/ediff-hook.elc \ | |
86914123 | 259 | $(lispsource)epa-hook.elc \ |
a40c6a08 | 260 | $(TOOLTIP_SUPPORT) \ |
7bbaaedd | 261 | $(WINNT_SUPPORT) \ |
a40c6a08 | 262 | $(WINDOW_SUPPORT) \ |
7f379e5b JR |
263 | $(lispsource)widget.elc \ |
264 | $(lispsource)window.elc \ | |
7bbaaedd AI |
265 | $(lispsource)version.el |
266 | ||
3b57ab8f EZ |
267 | # This is needed the first time we build the tree, since temacs.exe |
268 | # does not exist yet, and the DOC rule needs it to rebuild DOC whenever | |
269 | # Emacs is rebuilt. | |
270 | ../src/$(BLD)/temacs.exe: | |
271 | - mkdir "../src/$(OBJDIR)" | |
272 | - mkdir "../src/$(BLD)" | |
273 | @echo temacs > temacs.exe | |
274 | $(CP) temacs.exe ../src/$(BLD) | |
275 | - $(DEL) temacs.exe | |
7bbaaedd | 276 | |
52402e4f | 277 | DOC = DOC |
79d48c1a | 278 | $(DOC): stamp_BLD $(BLD)/make-docfile.exe ../src/$(BLD)/temacs.exe $(lisp1) $(lisp2) $(OTHER_PLATFORM_SUPPORT) |
7bbaaedd | 279 | - $(DEL) $(DOC) |
cf6d30d7 | 280 | "$(THISDIR)/$(BLD)/make-docfile" -o $(DOC) -d ../src $(obj) |
83a9c0b2 JR |
281 | "$(THISDIR)/$(BLD)/make-docfile" -a $(DOC) -d ../src $(lisp1) |
282 | "$(THISDIR)/$(BLD)/make-docfile" -a $(DOC) -d ../src $(lisp2) | |
79d48c1a | 283 | "$(THISDIR)/$(BLD)/make-docfile" -a $(DOC) -d ../src $(OTHER_PLATFORM_SUPPORT) |
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 | # | |
d67a9a85 | 295 | all: $(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 | |
d20f2a6a | 308 | $(CP) $(BLD)/emacsclient.exe $(INSTALL_DIR)/bin |
ba2d3968 | 309 | $(CP) $(BLD)/emacsclientw.exe $(INSTALL_DIR)/bin |
7bbaaedd AI |
310 | - mkdir "$(INSTALL_DIR)/etc" |
311 | $(CP) $(DOC) $(INSTALL_DIR)/etc | |
312 | ||
313 | # | |
314 | # Maintenance | |
52402e4f | 315 | # |
9724908a EZ |
316 | # We used to delete *~ here, but that might inadvertently remove |
317 | # precious files if it happens to match their short 8+3 aliases. | |
7bbaaedd | 318 | clean: |
9724908a | 319 | - $(DEL) DOC* $(COMPILER_TEMP_FILES) |
7bbaaedd AI |
320 | - $(DEL) ctags.c |
321 | - $(DEL_TREE) $(OBJDIR) | |
e313b518 | 322 | - $(DEL) stamp_BLD |
7bbaaedd | 323 | |
6948400c JR |
324 | distclean: cleanall |
325 | - $(DEL) TAGS | |
326 | - $(DEL) Makefile | |
327 | ||
328 | maintainer-clean: distclean | |
329 | ||
7bbaaedd AI |
330 | cleanall: clean |
331 | - $(DEL_TREE) obj | |
332 | - $(DEL_TREE) obj-spd | |
333 | - $(DEL_TREE) oo | |
334 | - $(DEL_TREE) oo-spd | |
335 | ||
336 | # | |
337 | # Headers we would preprocess if we could. | |
338 | # | |
339 | ../src/config.h: ../nt/$(CONFIG_H) | |
a69edb8a | 340 | $(DEL) $@ |
70846e2a | 341 | echo $(CONFIG_H) has changed. Re-run configure.bat. |
df1b2142 JR |
342 | exit -1 |
343 | ||
73077a9a EZ |
344 | ### TAGS ### |
345 | ||
73077a9a EZ |
346 | TAGS: $(BLD)/etags.exe *.c *.h |
347 | $(BLD)/etags.exe *.c *.h | |
348 | ||
7bbaaedd AI |
349 | ### DEPENDENCIES ### |
350 | ||
351 | EMACS_ROOT = .. | |
352 | SRC = . | |
353 | ||
354 | $(BLD)/alloca.$(O) : \ | |
355 | $(SRC)/alloca.c \ | |
356 | $(EMACS_ROOT)/src/s/ms-w32.h \ | |
357 | $(EMACS_ROOT)/src/m/intel386.h \ | |
358 | $(EMACS_ROOT)/src/config.h \ | |
359 | $(EMACS_ROOT)/src/blockinput.h | |
360 | ||
7bbaaedd AI |
361 | $(BLD)/ctags.$(O) : \ |
362 | $(SRC)/ctags.c \ | |
363 | $(EMACS_ROOT)/nt/inc/sys/param.h \ | |
25c51af3 | 364 | $(EMACS_ROOT)/nt/inc/sys/stat.h \ |
7bbaaedd AI |
365 | $(EMACS_ROOT)/src/s/ms-w32.h \ |
366 | $(EMACS_ROOT)/src/m/intel386.h \ | |
367 | $(EMACS_ROOT)/lib-src/../src/config.h \ | |
368 | $(SRC)/ntlib.h \ | |
f915f0f7 | 369 | $(EMACS_ROOT)/lib/getopt.h |
7bbaaedd | 370 | |
b97decf2 EZ |
371 | $(BLD)/ebrowse.$(O) : \ |
372 | $(SRC)/ebrowse.c \ | |
373 | $(EMACS_ROOT)/lib/min-max.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 | ||
7bbaaedd AI |
378 | $(BLD)/emacsclient.$(O) : \ |
379 | $(SRC)/emacsclient.c \ | |
25c51af3 | 380 | $(EMACS_ROOT)/nt/inc/sys/stat.h \ |
7bbaaedd AI |
381 | $(EMACS_ROOT)/src/s/ms-w32.h \ |
382 | $(EMACS_ROOT)/src/m/intel386.h \ | |
383 | $(EMACS_ROOT)/lib-src/../src/config.h | |
384 | ||
7bbaaedd AI |
385 | $(BLD)/etags.$(O) : \ |
386 | $(SRC)/etags.c \ | |
387 | $(EMACS_ROOT)/nt/inc/sys/param.h \ | |
25c51af3 | 388 | $(EMACS_ROOT)/nt/inc/sys/stat.h \ |
7bbaaedd AI |
389 | $(EMACS_ROOT)/src/s/ms-w32.h \ |
390 | $(EMACS_ROOT)/src/m/intel386.h \ | |
391 | $(EMACS_ROOT)/lib-src/../src/config.h \ | |
392 | $(SRC)/ntlib.h \ | |
f915f0f7 | 393 | $(EMACS_ROOT)/lib/getopt.h |
7bbaaedd | 394 | |
7bbaaedd AI |
395 | $(BLD)/getdate.$(O) : \ |
396 | $(SRC)/getdate.c \ | |
397 | $(EMACS_ROOT)/src/s/ms-w32.h \ | |
398 | $(EMACS_ROOT)/src/m/intel386.h \ | |
399 | $(EMACS_ROOT)/src/config.h \ | |
400 | $(MSTOOLS_SYS)/types.h | |
401 | ||
7bbaaedd AI |
402 | $(BLD)/hexl.$(O) : \ |
403 | $(SRC)/hexl.c | |
404 | ||
405 | $(BLD)/leditcfns.$(O) : \ | |
406 | $(SRC)/leditcfns.c | |
407 | ||
408 | $(BLD)/make-docfile.$(O) : \ | |
409 | $(SRC)/make-docfile.c \ | |
410 | $(EMACS_ROOT)/src/config.h | |
411 | ||
412 | $(BLD)/make-path.$(O) : \ | |
413 | $(SRC)/make-path.c | |
414 | ||
415 | $(BLD)/movemail.$(O) : \ | |
416 | $(SRC)/movemail.c \ | |
417 | $(EMACS_ROOT)/src/s/ms-w32.h \ | |
418 | $(EMACS_ROOT)/src/m/intel386.h \ | |
419 | $(EMACS_ROOT)/lib-src/../src/config.h \ | |
420 | $(EMACS_ROOT)/nt/inc/sys/file.h \ | |
25c51af3 | 421 | $(EMACS_ROOT)/nt/inc/sys/stat.h \ |
7bbaaedd AI |
422 | $(EMACS_ROOT)/lib-src/../src/syswait.h \ |
423 | $(EMACS_ROOT)/nt/inc/pwd.h \ | |
424 | $(SRC)/ntlib.h | |
ba2d3968 | 425 | $(CC) $(CFLAGS) -DUSG $(CC_OUT)$@ movemail.c |
7bbaaedd AI |
426 | |
427 | $(BLD)/ntlib.$(O) : \ | |
428 | $(SRC)/ntlib.c \ | |
429 | $(SRC)/ntlib.h \ | |
25c51af3 | 430 | $(EMACS_ROOT)/nt/inc/sys/stat.h \ |
7bbaaedd AI |
431 | $(EMACS_ROOT)/nt/inc/pwd.h |
432 | ||
433 | $(BLD)/pop.$(O) : \ | |
434 | $(SRC)/pop.c \ | |
435 | $(SRC)/pop.h \ | |
b97decf2 | 436 | $(EMACS_ROOT)/lib/min-max.h \ |
7bbaaedd AI |
437 | $(SRC)/ntlib.h |
438 | ||
439 | $(BLD)/profile.$(O) : \ | |
440 | $(SRC)/profile.c \ | |
441 | $(EMACS_ROOT)/src/s/ms-w32.h \ | |
442 | $(EMACS_ROOT)/src/m/intel386.h \ | |
443 | $(EMACS_ROOT)/lib-src/../src/config.h \ | |
7bbaaedd AI |
444 | $(EMACS_ROOT)/lib-src/../src/systime.h |
445 | ||
446 | $(BLD)/qsort.$(O) : \ | |
447 | $(SRC)/qsort.c | |
448 | ||
7bbaaedd AI |
449 | $(BLD)/tcp.$(O) : \ |
450 | $(SRC)/tcp.c | |
451 | ||
452 | $(BLD)/test-distrib.$(O) : \ | |
453 | $(SRC)/test-distrib.c | |
454 | ||
455 | $(BLD)/timer.$(O) : \ | |
456 | $(SRC)/timer.c \ | |
457 | $(EMACS_ROOT)/src/s/ms-w32.h \ | |
458 | $(EMACS_ROOT)/src/m/intel386.h \ | |
459 | $(EMACS_ROOT)/lib-src/../src/config.h | |
1a8a626d EZ |
460 | |
461 | # The following dependencies are for supporting parallel builds, where | |
462 | # we must make sure $(BLD) exists before any compilation starts. | |
463 | # | |
c136e5cd | 464 | $(BLD)/make-docfile.$(O) $(BLD)/hexl.$(O): stamp_BLD |
1a8a626d | 465 | |
f915f0f7 | 466 | $(BLD)/test-distrib.$(O) $(MOVEMAILOBJS): stamp_BLD |
1a8a626d EZ |
467 | |
468 | $(BLD)/emacsclient.$(O) $(BLD)/etags.$(O) $(BLD)/regex.$(O): stamp_BLD | |
469 | ||
470 | $(BLD)/ebrowse.$(O) $(BLD)/ctags.$(O): stamp_BLD |