*** empty log message ***
[bpt/emacs.git] / lib-src / makefile.w32-in
CommitLineData
bd6766d3 1# -*- Makefile -*- for GNU Emacs on the Microsoft W32 API.
92b47a4a 2# Copyright (C) 2000, 2001, 2002, 2003, 2004,
273dc16a 3# 2005, 2006 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
9# the Free Software Foundation; either version 2, or (at your option)
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 23ALL = make-docfile hexl ctags etags movemail ebrowse sorted-doc digest-doc emacsclient
7bbaaedd
AI
24
25.PHONY: $(ALL)
26
27LOCAL_FLAGS = -DWINDOWSNT -DDOS_NT -DSTDC_HEADERS=1 -DNO_LDAV=1 \
d19249e7 28 -DNO_ARCHIVES=1 -DHAVE_CONFIG_H=1 -I../nt/inc \
e260c47a 29 -I../src
7bbaaedd
AI
30
31# don't know what (if) to do with these yet...
32#
7bbaaedd
AI
33# $(BLD)/server.exe \
34# $(BLD)/emacstool.exe \
7bbaaedd 35# $(BLD)/cvtmail.exe \
7bbaaedd 36
7bbaaedd
AI
37LIBS = $(BASE_LIBS) $(ADVAPI32)
38
39$(BLD)/make-docfile.exe: $(BLD)/make-docfile.$(O) $(BLD)/ntlib.$(O)
40 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/make-docfile.$(O) $(BLD)/ntlib.$(O) $(LIBS)
41$(BLD)/hexl.exe: $(BLD)/hexl.$(O)
42 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/hexl.$(O) $(LIBS)
43$(BLD)/fakemail.exe: $(BLD)/fakemail.$(O) $(BLD)/ntlib.$(O)
44 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/fakemail.$(O) $(BLD)/ntlib.$(O) $(LIBS)
9781fb53
EZ
45$(BLD)/sorted-doc.exe: $(BLD)/sorted-doc.$(O)
46 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/sorted-doc.$(O) $(LIBS)
47$(BLD)/digest-doc.exe: $(BLD)/digest-doc.$(O)
48 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/digest-doc.$(O) $(LIBS)
49$(BLD)/test-distrib.exe: $(BLD)/test-distrib.$(O)
50 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/test-distrib.$(O) $(LIBS)
7bbaaedd
AI
51
52make-docfile: $(BLD) $(BLD)/make-docfile.exe
53ctags: $(BLD) $(BLD)/ctags.exe
54etags: $(BLD) $(BLD)/etags.exe
d19249e7 55ebrowse: $(BLD) $(BLD)/ebrowse.exe
7bbaaedd
AI
56hexl: $(BLD) $(BLD)/hexl.exe
57movemail: $(BLD) $(BLD)/movemail.exe
58fakemail: $(BLD) $(BLD)/fakemail.exe
9781fb53
EZ
59sorted-doc: $(BLD) $(BLD)/sorted-doc.exe
60digest-doc: $(BLD) $(BLD)/digest-doc.exe
d20f2a6a 61emacsclient: $(BLD) $(BLD)/emacsclient.exe
9781fb53
EZ
62
63test-distrib: $(BLD) $(BLD)/test-distrib.exe
64 "$(BLD)/test-distrib.exe" "$(SRC)/testfile"
7bbaaedd
AI
65
66GETOPTOBJS = $(BLD)/getopt.$(O) $(BLD)/getopt1.$(O)
67GETOPTDEPS = $(GETOPTOBJS) getopt.h
68MOVEMAILOBJS = $(BLD)/movemail.$(O) \
69 $(BLD)/pop.$(O) \
70 $(BLD)/ntlib.$(O) \
71 $(GETOPTOBJS)
72
73$(BLD)/movemail.exe: $(MOVEMAILOBJS) getopt.h
74# put wsock32.lib before $(LIBS) to ensure we don't link to ws2_32.lib
75 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(MOVEMAILOBJS) $(WSOCK32) $(LIBS)
76
d20f2a6a
JB
77ECLIENT_CFLAGS = -DWINDOWSNT -DHAVE_GETCWD -DHAVE_STRERROR -c
78ECLIENTOBJS = $(BLD)/emacsclient.$(O) \
79 $(BLD)/getopt.$(O) \
80 $(BLD)/getopt1.$(O) \
81 $(BLD)/ntlib.$(O)
82
83$(BLD)/emacsclient.exe: $(ECLIENTOBJS)
84# put wsock32.lib before $(LIBS) to ensure we don't link to ws2_32.lib
85 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(ECLIENTOBJS) $(WSOCK32) $(LIBS)
86
87$(BLD)/emacsclient.$(O): emacsclient.c
88 $(CC) $(ECLIENT_CFLAGS) $(CC_OUT)$@ emacsclient.c
89
7bbaaedd
AI
90ETAGSOBJ = $(BLD)/etags.$(O) \
91 $(BLD)/getopt.$(O) \
92 $(BLD)/getopt1.$(O) \
93 $(BLD)/ntlib.$(O) \
94 $(BLD)/regex.$(O)
95
96$(BLD)/etags.exe: $(ETAGSOBJ)
97 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(ETAGSOBJ) $(LIBS)
98
99
d19249e7
JR
100EBROWSEOBJ = $(BLD)/ebrowse.$(O) \
101 $(BLD)/getopt.$(O) \
102 $(BLD)/getopt1.$(O) \
103 $(BLD)/ntlib.$(O)
104
105$(BLD)/ebrowse.exe: $(EBROWSEOBJ)
88257bc8 106 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(EBROWSEOBJ) $(LIBS)
d19249e7 107
7bbaaedd
AI
108$(BLD)/regex.$(O): ../src/regex.c ../src/regex.h ../src/config.h
109 $(CC) $(CFLAGS) -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER \
110 ../src/regex.c $(CC_OUT)$@
111
112ETAGS_CFLAGS = -DHAVE_GETCWD
113$(BLD)/etags.$(O): etags.c
114 $(CC) $(CFLAGS) $(ETAGS_CFLAGS) $(CC_OUT)$@ etags.c
115
116CTAGSOBJ = $(BLD)/ctags.$(O) \
117 $(BLD)/getopt.$(O) \
118 $(BLD)/getopt1.$(O) \
119 $(BLD)/ntlib.$(O) \
120 $(BLD)/regex.$(O)
121
122$(BLD)/ctags.exe: $(CTAGSOBJ)
123 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(CTAGSOBJ) $(LIBS)
124
125ctags.c: etags.c
126 - $(DEL) ctags.c
127 $(CP) etags.c ctags.c
128
129CTAGS_CFLAGS = -DCTAGS $(ETAGS_CFLAGS)
130$(BLD)/ctags.$(O): ctags.c
131 $(CC) $(CFLAGS) $(CTAGS_CFLAGS) $(CC_OUT)$@ ctags.c
132
133#
134# don't know what to do with these yet...
135#
7bbaaedd 136# $(BLD)/emacstool.exe: $(BLD)/emacstool.$(O)
7bbaaedd
AI
137# $(BLD)/server.exe: $(BLD)/server.$(O)
138# $(BLD)/cvtmail.exe: $(BLD)/cvtmail.$(O)
7bbaaedd 139# $(BLD)/emacsclient.exe: $(BLD)/emacsclient.$(O)
7bbaaedd
AI
140
141#
3cf5c994
JD
142# From ..\src\Makefile.in
143# It doesn't matter if the real name is *.obj for the files in this list,
144# make-docfile blindly replaces .o with .c anyway. Keep .o in this list
145# as it is required by code in doc.c.
7bbaaedd 146#
3cf5c994
JD
147obj= sunfns.o dosfns.o msdos.o \
148 xterm.o xfns.o xmenu.o xselect.o xrdb.o fringe.o image.o \
149 mac.o macterm.o macfns.o macmenu.o fontset.o \
150 w32.o w32bdf.o w32console.o w32fns.o w32heap.o w32inevt.o \
151 w32menu.o w32proc.o w32reg.o w32select.o w32term.o w32xfns.o \
152 dispnew.o frame.o scroll.o xdisp.o window.o \
153 charset.o coding.o category.o ccl.o \
154 cm.o term.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 abbrev.o 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
7bbaaedd
AI
166#
167# These are the lisp files that are loaded up in loadup.el
168#
169lispsource = ../lisp/
170
98d926f2 171MOUSE_SUPPORT = $(lispsource)select.elc $(lispsource)scroll-bar.elc $(lispsource)mouse.elc $(lispsource)tooltip.elc
7f379e5b
JR
172WINNT_SUPPORT = $(lispsource)ls-lisp.elc $(lispsource)disp-table.elc $(lispsource)w32-fns.elc $(lispsource)dos-w32.elc $(lispsource)w32-vars.elc
173
174# lisp files that are loaded up on other platforms
175MSDOS_SUPPORT = $(lispsource)dos-fns.elc $(lispsource)dos-vars.elc $(lispsource)international/ccl.elc $(lispsource)international/codepage.elc
176VMS_SUPPORT = $(lispsource)vmsproc.elc $(lispsource)vms-patch.elc
7bbaaedd 177
83a9c0b2 178lisp1= \
7f379e5b
JR
179 $(lispsource)abbrev.elc \
180 $(lispsource)buff-menu.elc \
e63e8d3e 181 $(lispsource)button.elc \
8dc48ef0 182 $(lispsource)emacs-lisp/byte-run.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 \
7f379e5b 189 $(lispsource)facemenu.elc \
7bbaaedd 190 $(MOUSE_SUPPORT) \
98d926f2
EZ
191 $(lispsource)faces.elc \
192 $(lispsource)files.elc \
8dc48ef0 193 $(lispsource)emacs-lisp/float-sup.elc \
98d926f2 194 $(lispsource)format.elc \
8dc48ef0 195 $(lispsource)frame.elc \
7f379e5b
JR
196 $(lispsource)help.elc \
197 $(lispsource)indent.elc \
198 $(lispsource)isearch.elc \
98d926f2 199 $(lispsource)rfn-eshadow.elc \
7bbaaedd
AI
200 $(lispsource)loadup.el \
201 $(lispsource)loaddefs.el \
7f379e5b 202 $(lispsource)bindings.elc \
8dc48ef0 203 $(lispsource)emacs-lisp/map-ynp.elc \
98d926f2 204 $(lispsource)env.elc \
7f379e5b 205 $(lispsource)international/mule.elc \
7bbaaedd 206 $(lispsource)international/mule-conf.el \
7f379e5b
JR
207 $(lispsource)international/mule-cmds.elc \
208 $(lispsource)international/characters.elc \
7a8940da 209 $(lispsource)international/ucs-tables.elc \
7f379e5b 210 $(lispsource)international/utf-8.elc \
98d926f2 211 $(lispsource)international/utf-16.elc \
7f379e5b
JR
212 $(lispsource)international/latin-1.el \
213 $(lispsource)international/latin-2.el \
214 $(lispsource)international/latin-3.el \
215 $(lispsource)international/latin-4.el \
216 $(lispsource)international/latin-5.el \
217 $(lispsource)international/latin-8.el \
218 $(lispsource)international/latin-9.el \
d9d2ac69 219 $(lispsource)fringe.elc \
4c27dbc4
EZ
220 $(lispsource)image.elc \
221 $(lispsource)international/fontset.elc \
222 $(lispsource)dnd.elc \
223 $(lispsource)mwheel.elc \
224 $(lispsource)tool-bar.elc \
83a9c0b2
JR
225 $(lispsource)case-table.elc
226
227lisp2 = \
7f379e5b
JR
228 $(lispsource)language/chinese.elc \
229 $(lispsource)language/cyrillic.elc \
230 $(lispsource)language/indian.elc \
52402e4f 231 $(lispsource)language/devanagari.el \
98d926f2 232 $(lispsource)language/kannada.el \
0a0dc511
JB
233 $(lispsource)language/malayalam.el \
234 $(lispsource)language/tamil.el \
76054cc8 235 $(lispsource)language/english.el \
7f379e5b
JR
236 $(lispsource)language/ethiopic.elc \
237 $(lispsource)language/european.elc \
76054cc8
AI
238 $(lispsource)language/czech.el \
239 $(lispsource)language/slovak.el \
240 $(lispsource)language/romanian.el \
241 $(lispsource)language/greek.el \
242 $(lispsource)language/hebrew.el \
76054cc8
AI
243 $(lispsource)language/japanese.el \
244 $(lispsource)language/korean.el \
245 $(lispsource)language/lao.el \
246 $(lispsource)language/thai.el \
7f379e5b
JR
247 $(lispsource)language/tibetan.elc \
248 $(lispsource)language/vietnamese.elc \
76054cc8 249 $(lispsource)language/misc-lang.el \
7f379e5b
JR
250 $(lispsource)language/utf-8-lang.el \
251 $(lispsource)language/georgian.el \
98d926f2 252 $(lispsource)menu-bar.elc \
7bbaaedd 253 $(lispsource)paths.el \
7f379e5b
JR
254 $(lispsource)register.elc \
255 $(lispsource)replace.elc \
256 $(lispsource)simple.elc \
257 $(lispsource)startup.elc \
258 $(lispsource)subr.elc \
259 $(lispsource)term/tty-colors.elc \
7a8940da 260 $(lispsource)font-core.elc \
98d926f2
EZ
261 $(lispsource)emacs-lisp/syntax.elc \
262 $(lispsource)font-lock.elc \
263 $(lispsource)jit-lock.elc \
7f379e5b
JR
264 $(lispsource)textmodes/fill.elc \
265 $(lispsource)textmodes/page.elc \
266 $(lispsource)textmodes/paragraphs.elc \
267 $(lispsource)textmodes/text-mode.elc \
98d926f2 268 $(lispsource)emacs-lisp/timer.elc \
7f379e5b 269 $(lispsource)vc-hooks.elc \
98d926f2 270 $(lispsource)jka-cmpr-hook.elc \
7f379e5b 271 $(lispsource)ediff-hook.elc \
7bbaaedd
AI
272 $(VMS_SUPPORT) \
273 $(MSDOS_SUPPORT) \
274 $(WINNT_SUPPORT) \
7f379e5b
JR
275 $(lispsource)widget.elc \
276 $(lispsource)window.elc \
7bbaaedd
AI
277 $(lispsource)version.el
278
3b57ab8f
EZ
279# This is needed the first time we build the tree, since temacs.exe
280# does not exist yet, and the DOC rule needs it to rebuild DOC whenever
281# Emacs is rebuilt.
282../src/$(BLD)/temacs.exe:
283 - mkdir "../src/$(OBJDIR)"
284 - mkdir "../src/$(BLD)"
285 @echo temacs > temacs.exe
286 $(CP) temacs.exe ../src/$(BLD)
287 - $(DEL) temacs.exe
7bbaaedd 288
52402e4f 289DOC = DOC
cb6ccbc9 290$(DOC): $(BLD) $(BLD)/make-docfile.exe ../src/$(BLD)/temacs.exe $(lisp1) $(lisp2)
7bbaaedd 291 - $(DEL) $(DOC)
cf6d30d7 292 "$(THISDIR)/$(BLD)/make-docfile" -o $(DOC) -d ../src $(obj)
83a9c0b2
JR
293 "$(THISDIR)/$(BLD)/make-docfile" -a $(DOC) -d ../src $(lisp1)
294 "$(THISDIR)/$(BLD)/make-docfile" -a $(DOC) -d ../src $(lisp2)
7bbaaedd
AI
295 $(CP) $(DOC) ../etc/DOC-X
296 - mkdir "../src/$(OBJDIR)"
297 - mkdir "../src/$(OBJDIR)/etc"
298 $(CP) $(DOC) ../src/$(OBJDIR)/etc/DOC-X
299
300{$(BLD)}.$(O){$(BLD)}.exe:
301 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $*.$(O) $(LIBS)
302
303#
304# Build the executables
305#
306all: $(BLD) $(ALL) $(DOC)
307
308#
309# Assuming INSTALL_DIR is defined, build and install emacs in it.
310#
311INSTALL_FILES = $(ALL)
312install: $(INSTALL_FILES)
313 - mkdir "$(INSTALL_DIR)/bin"
314 $(CP) $(BLD)/etags.exe $(INSTALL_DIR)/bin
88257bc8 315 $(CP) $(BLD)/ebrowse.exe $(INSTALL_DIR)/bin
7bbaaedd
AI
316 $(CP) $(BLD)/ctags.exe $(INSTALL_DIR)/bin
317 $(CP) $(BLD)/hexl.exe $(INSTALL_DIR)/bin
318 $(CP) $(BLD)/movemail.exe $(INSTALL_DIR)/bin
9781fb53
EZ
319 $(CP) $(BLD)/sorted-doc.exe $(INSTALL_DIR)/bin
320 $(CP) $(BLD)/digest-doc.exe $(INSTALL_DIR)/bin
d20f2a6a 321 $(CP) $(BLD)/emacsclient.exe $(INSTALL_DIR)/bin
7bbaaedd
AI
322 - mkdir "$(INSTALL_DIR)/etc"
323 $(CP) $(DOC) $(INSTALL_DIR)/etc
324
325#
326# Maintenance
52402e4f 327#
7bbaaedd 328clean:
5cdd7eef 329 - $(DEL) *~ DOC* $(COMPILER_TEMP_FILES)
7bbaaedd 330 - $(DEL) ctags.c
d238808a 331 - $(DEL) getopt.h
7bbaaedd
AI
332 - $(DEL_TREE) $(OBJDIR)
333
334cleanall: clean
335 - $(DEL_TREE) obj
336 - $(DEL_TREE) obj-spd
337 - $(DEL_TREE) oo
338 - $(DEL_TREE) oo-spd
339
340#
341# Headers we would preprocess if we could.
342#
343../src/config.h: ../nt/$(CONFIG_H)
70846e2a 344 echo $(CONFIG_H) has changed. Re-run configure.bat.
df1b2142
JR
345 exit -1
346
d238808a
JB
347getopt.h: getopt_.h
348 $(CP) $(ALL_DEPS) $@
7bbaaedd
AI
349
350### DEPENDENCIES ###
351
352EMACS_ROOT = ..
353SRC = .
354
355$(BLD)/alloca.$(O) : \
356 $(SRC)/alloca.c \
357 $(EMACS_ROOT)/src/s/ms-w32.h \
358 $(EMACS_ROOT)/src/m/intel386.h \
359 $(EMACS_ROOT)/src/config.h \
360 $(EMACS_ROOT)/src/blockinput.h
361
362$(BLD)/b2m.$(O) : \
363 $(SRC)/b2m.c \
364 $(EMACS_ROOT)/src/s/ms-w32.h \
365 $(EMACS_ROOT)/src/m/intel386.h \
366 $(EMACS_ROOT)/lib-src/../src/config.h
367
368$(BLD)/ctags.$(O) : \
369 $(SRC)/ctags.c \
370 $(EMACS_ROOT)/nt/inc/sys/param.h \
371 $(EMACS_ROOT)/src/s/ms-w32.h \
372 $(EMACS_ROOT)/src/m/intel386.h \
373 $(EMACS_ROOT)/lib-src/../src/config.h \
374 $(SRC)/ntlib.h \
375 $(SRC)/getopt.h
376
377$(BLD)/cvtmail.$(O) : \
378 $(SRC)/cvtmail.c
379
380$(BLD)/digest-doc.$(O) : \
381 $(SRC)/digest-doc.c
382
383$(BLD)/emacsclient.$(O) : \
384 $(SRC)/emacsclient.c \
385 $(EMACS_ROOT)/src/s/ms-w32.h \
386 $(EMACS_ROOT)/src/m/intel386.h \
387 $(EMACS_ROOT)/lib-src/../src/config.h
388
7bbaaedd
AI
389$(BLD)/emacstool.$(O) : \
390 $(SRC)/emacstool.c \
391 $(EMACS_ROOT)/nt/inc/sys/file.h
392
393$(BLD)/etags.$(O) : \
394 $(SRC)/etags.c \
395 $(EMACS_ROOT)/nt/inc/sys/param.h \
396 $(EMACS_ROOT)/src/s/ms-w32.h \
397 $(EMACS_ROOT)/src/m/intel386.h \
398 $(EMACS_ROOT)/lib-src/../src/config.h \
399 $(SRC)/ntlib.h \
400 $(SRC)/getopt.h
401
402$(BLD)/fakemail.$(O) : \
403 $(SRC)/fakemail.c \
404 $(SRC)/ntlib.h \
405 $(EMACS_ROOT)/src/s/ms-w32.h \
406 $(EMACS_ROOT)/src/m/intel386.h \
407 $(EMACS_ROOT)/lib-src/../src/config.h \
408 $(EMACS_ROOT)/nt/inc/pwd.h
409
410$(BLD)/getdate.$(O) : \
411 $(SRC)/getdate.c \
412 $(EMACS_ROOT)/src/s/ms-w32.h \
413 $(EMACS_ROOT)/src/m/intel386.h \
414 $(EMACS_ROOT)/src/config.h \
415 $(MSTOOLS_SYS)/types.h
416
417$(BLD)/getopt.$(O) : \
418 $(SRC)/getopt.c \
419 $(EMACS_ROOT)/src/s/ms-w32.h \
420 $(EMACS_ROOT)/src/m/intel386.h \
421 $(EMACS_ROOT)/src/config.h \
422 $(SRC)/ntlib.h \
423 $(SRC)/getopt.h
424
425$(BLD)/getopt1.$(O) : \
426 $(SRC)/getopt1.c \
427 $(EMACS_ROOT)/src/s/ms-w32.h \
428 $(EMACS_ROOT)/src/m/intel386.h \
429 $(EMACS_ROOT)/src/config.h \
430 $(SRC)/getopt.h
431
432$(BLD)/hexl.$(O) : \
433 $(SRC)/hexl.c
434
435$(BLD)/leditcfns.$(O) : \
436 $(SRC)/leditcfns.c
437
438$(BLD)/make-docfile.$(O) : \
439 $(SRC)/make-docfile.c \
440 $(EMACS_ROOT)/src/config.h
441
442$(BLD)/make-path.$(O) : \
443 $(SRC)/make-path.c
444
445$(BLD)/movemail.$(O) : \
446 $(SRC)/movemail.c \
447 $(EMACS_ROOT)/src/s/ms-w32.h \
448 $(EMACS_ROOT)/src/m/intel386.h \
449 $(EMACS_ROOT)/lib-src/../src/config.h \
450 $(EMACS_ROOT)/nt/inc/sys/file.h \
7bbaaedd
AI
451 $(EMACS_ROOT)/lib-src/../src/syswait.h \
452 $(EMACS_ROOT)/nt/inc/pwd.h \
453 $(SRC)/ntlib.h
454 $(CC) $(CFLAGS) -DUSG $(CC_OUT)$@ movemail.c
455
456$(BLD)/ntlib.$(O) : \
457 $(SRC)/ntlib.c \
458 $(SRC)/ntlib.h \
459 $(EMACS_ROOT)/nt/inc/pwd.h
460
461$(BLD)/pop.$(O) : \
462 $(SRC)/pop.c \
463 $(SRC)/pop.h \
464 $(SRC)/ntlib.h
465
466$(BLD)/profile.$(O) : \
467 $(SRC)/profile.c \
468 $(EMACS_ROOT)/src/s/ms-w32.h \
469 $(EMACS_ROOT)/src/m/intel386.h \
470 $(EMACS_ROOT)/lib-src/../src/config.h \
7bbaaedd
AI
471 $(EMACS_ROOT)/lib-src/../src/systime.h
472
473$(BLD)/qsort.$(O) : \
474 $(SRC)/qsort.c
475
476$(BLD)/sorted-doc.$(O) : \
9781fb53
EZ
477 $(SRC)/sorted-doc.c \
478 $(EMACS_ROOT)/src/s/ms-w32.h \
479 $(EMACS_ROOT)/src/m/intel386.h \
480 $(EMACS_ROOT)/src/config.h \
7bbaaedd
AI
481
482$(BLD)/tcp.$(O) : \
483 $(SRC)/tcp.c
484
485$(BLD)/test-distrib.$(O) : \
486 $(SRC)/test-distrib.c
487
488$(BLD)/timer.$(O) : \
489 $(SRC)/timer.c \
490 $(EMACS_ROOT)/src/s/ms-w32.h \
491 $(EMACS_ROOT)/src/m/intel386.h \
492 $(EMACS_ROOT)/lib-src/../src/config.h