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