Don't use the abbreviation "win" to refer to Windows (Bug#10421).
[bpt/emacs.git] / lib-src / makefile.w32-in
CommitLineData
b46a6a83 1# -*- Makefile -*- for GNU Emacs on the Microsoft Windows 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
20ALL = $(BLD)/test-distrib.exe $(BLD)/make-docfile.exe $(BLD)/hexl.exe\
21 $(BLD)/ctags.exe $(BLD)/etags.exe $(BLD)/movemail.exe $(BLD)/ebrowse.exe\
31542918 22 $(BLD)/emacsclient.exe $(BLD)/emacsclientw.exe $(BLD)/profile.exe
7bbaaedd 23
d67a9a85 24.PHONY: make-docfile
7bbaaedd 25
0e926e56 26LOCAL_FLAGS = -DWINDOWSNT -DDOS_NT -DNO_LDAV=1 \
cf38a720 27 -DNO_ARCHIVES=1 -I../lib \
8c9afb46 28 -I../nt/inc -I../src $(EMACS_EXTRA_C_FLAGS)
7bbaaedd 29
ad456bcb 30LIBS = $(BASE_LIBS) $(ADVAPI32)
7bbaaedd 31
d67a9a85
EZ
32# The following target is used by makefile.w32-in files in other directories.
33make-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)
65e46515 41 "$(BLD)/test-distrib.exe" "$(LIB_SRC)/testfile"
7bbaaedd 42
7bbaaedd
AI
43MOVEMAILOBJS = $(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 52ECLIENT_CFLAGS = -DHAVE_GETCWD -DHAVE_STRERROR
d20f2a6a 53ECLIENTOBJS = $(BLD)/emacsclient.$(O) \
f915f0f7
EZ
54 $(BLD)/ntlib.$(O) \
55 ../lib/$(BLD)/libgnu.$(A)
4429f88c 56CLIENTRES = ../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
06523364 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 73ETAGSOBJ = $(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 82EBROWSEOBJ = $(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 93ETAGS_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
97CTAGSOBJ = $(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
105ctags.c: etags.c
106 - $(DEL) ctags.c
107 $(CP) etags.c ctags.c
108
b95b7254 109CTAGS_CFLAGS = -DCTAGS $(ETAGS_CFLAGS)
7bbaaedd
AI
110$(BLD)/ctags.$(O): ctags.c
111 $(CC) $(CFLAGS) $(CTAGS_CFLAGS) $(CC_OUT)$@ ctags.c
112
31542918
JB
113PROFILEOBJS = $(BLD)/profile.$(O) \
114 ../lib/$(BLD)/libgnu.$(A) \
115 $(BLD)/ntlib.$(O)
116$(BLD)/profile.exe: $(PROFILEOBJS)
117 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(PROFILEOBJS) $(LIBS)
118
7bbaaedd 119#
3cf5c994
JD
120# From ..\src\Makefile.in
121# It doesn't matter if the real name is *.obj for the files in this list,
122# make-docfile blindly replaces .o with .c anyway. Keep .o in this list
123# as it is required by code in doc.c.
7bbaaedd 124#
f23d76bd 125obj = dosfns.o msdos.o \
eccfc782 126 xterm.o xfns.o xmenu.o xselect.o xrdb.o xsmfns.o fringe.o image.o \
994a7c3b 127 fontset.o menu.o \
c9fc02c7 128 w32.o w32console.o w32fns.o w32heap.o w32inevt.o \
3cf5c994 129 w32menu.o w32proc.o w32reg.o w32select.o w32term.o w32xfns.o \
994a7c3b
EZ
130 font.o w32font.o w32uniscribe.o \
131 dispnew.o frame.o scroll.o xdisp.o window.o bidi.o \
eccfc782
JR
132 charset.o coding.o category.o ccl.o character.o chartab.o \
133 cm.o term.o terminal.o xfaces.o \
3cf5c994
JD
134 emacs.o keyboard.o macros.o keymap.o sysdep.o \
135 buffer.o filelock.o insdel.o marker.o \
602a5739 136 minibuf.o fileio.o dired.o \
3cf5c994
JD
137 cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o \
138 alloc.o data.o doc.o editfns.o callint.o \
139 eval.o floatfns.o fns.o print.o lread.o \
a2666217 140 syntax.o bytecode.o \
994a7c3b 141 process.o callproc.o unexw32.o \
3cf5c994 142 region-cache.o sound.o atimer.o \
418401a5 143 doprnt.o intervals.o textprop.o composite.o \
9078ead6 144 gnutls.o xml.o
3cf5c994 145
7bbaaedd
AI
146#
147# These are the lisp files that are loaded up in loadup.el
148#
149lispsource = ../lisp/
150
a40c6a08
JR
151MOUSE_SUPPORT = \
152 $(lispsource)select.elc \
153 $(lispsource)scroll-bar.elc \
79d48c1a 154 $(lispsource)mouse.elc
a40c6a08
JR
155WINNT_SUPPORT = \
156 $(lispsource)ls-lisp.elc \
157 $(lispsource)disp-table.elc \
158 $(lispsource)w32-fns.elc \
159 $(lispsource)dos-w32.elc \
160 $(lispsource)w32-vars.elc \
f2d6b714 161 $(lispsource)term/common-win.elc \
a40c6a08 162 $(lispsource)term/w32-win.elc
a40c6a08
JR
163TOOLTIP_SUPPORT = $(lispsource)tooltip.elc
164WINDOW_SUPPORT = \
165 $(lispsource)fringe.elc \
166 $(lispsource)image.elc \
167 $(lispsource)international/fontset.elc \
168 $(lispsource)dnd.elc \
169 $(lispsource)tool-bar.elc \
170 $(lispsource)mwheel.elc
7bbaaedd 171
79d48c1a
JR
172# lisp files that are loaded up on other platforms
173OTHER_PLATFORM_SUPPORT = \
174 $(lispsource)dos-fns.elc \
175 $(lispsource)dos-vars.elc \
03dcfe01
CY
176 $(lispsource)term/internal.elc \
177 $(lispsource)term/pc-win.elc \
79d48c1a 178 $(lispsource)x-dnd.elc \
614bd9cf 179 $(lispsource)term/x-win.elc \
42d3cab7 180 $(lispsource)term/ns-win.elc
79d48c1a
JR
181
182
83a9c0b2 183lisp1= \
7f379e5b
JR
184 $(lispsource)abbrev.elc \
185 $(lispsource)buff-menu.elc \
e63e8d3e 186 $(lispsource)button.elc \
8dc48ef0 187 $(lispsource)emacs-lisp/byte-run.elc \
0c55bf82 188 $(lispsource)composite.elc \
98d926f2 189 $(lispsource)cus-face.elc \
7f379e5b
JR
190 $(lispsource)cus-start.elc \
191 $(lispsource)custom.elc \
dd87b4cc 192 $(lispsource)emacs-lisp/backquote.elc \
7f379e5b
JR
193 $(lispsource)emacs-lisp/lisp-mode.elc \
194 $(lispsource)emacs-lisp/lisp.elc \
a40c6a08 195 $(lispsource)env.elc \
98d926f2
EZ
196 $(lispsource)faces.elc \
197 $(lispsource)files.elc \
98d926f2 198 $(lispsource)format.elc \
a40c6a08
JR
199 $(lispsource)facemenu.elc \
200 $(MOUSE_SUPPORT) \
201 $(lispsource)emacs-lisp/float-sup.elc \
8dc48ef0 202 $(lispsource)frame.elc \
7f379e5b
JR
203 $(lispsource)help.elc \
204 $(lispsource)indent.elc \
205 $(lispsource)isearch.elc \
98d926f2 206 $(lispsource)rfn-eshadow.elc \
7bbaaedd
AI
207 $(lispsource)loadup.el \
208 $(lispsource)loaddefs.el \
7f379e5b 209 $(lispsource)bindings.elc \
8dc48ef0 210 $(lispsource)emacs-lisp/map-ynp.elc \
a40c6a08 211 $(lispsource)menu-bar.elc \
7f379e5b 212 $(lispsource)international/mule.elc \
7bbaaedd 213 $(lispsource)international/mule-conf.el \
7f379e5b
JR
214 $(lispsource)international/mule-cmds.elc \
215 $(lispsource)international/characters.elc \
a40c6a08 216 $(lispsource)international/charprop.el \
83a9c0b2
JR
217 $(lispsource)case-table.elc
218
219lisp2 = \
a40c6a08
JR
220 $(lispsource)language/chinese.el \
221 $(lispsource)language/cyrillic.el \
222 $(lispsource)language/indian.el \
9c61c734 223 $(lispsource)language/sinhala.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 \
f09e4c6b 231 $(lispsource)language/hebrew.elc \
76054cc8
AI
232 $(lispsource)language/japanese.el \
233 $(lispsource)language/korean.el \
234 $(lispsource)language/lao.el \
79d48c1a 235 $(lispsource)language/cham.el \
a40c6a08 236 $(lispsource)language/tai-viet.el \
76054cc8 237 $(lispsource)language/thai.el \
7f379e5b 238 $(lispsource)language/tibetan.elc \
a40c6a08 239 $(lispsource)language/vietnamese.el \
76054cc8 240 $(lispsource)language/misc-lang.el \
7f379e5b
JR
241 $(lispsource)language/utf-8-lang.el \
242 $(lispsource)language/georgian.el \
79d48c1a
JR
243 $(lispsource)language/khmer.el \
244 $(lispsource)language/burmese.el \
7f379e5b
JR
245 $(lispsource)register.elc \
246 $(lispsource)replace.elc \
247 $(lispsource)simple.elc \
01b996ad 248 $(lispsource)minibuffer.elc \
7f379e5b
JR
249 $(lispsource)startup.elc \
250 $(lispsource)subr.elc \
251 $(lispsource)term/tty-colors.elc \
7a8940da 252 $(lispsource)font-core.elc \
98d926f2
EZ
253 $(lispsource)emacs-lisp/syntax.elc \
254 $(lispsource)font-lock.elc \
255 $(lispsource)jit-lock.elc \
7f379e5b
JR
256 $(lispsource)textmodes/fill.elc \
257 $(lispsource)textmodes/page.elc \
258 $(lispsource)textmodes/paragraphs.elc \
259 $(lispsource)textmodes/text-mode.elc \
98d926f2 260 $(lispsource)emacs-lisp/timer.elc \
98d926f2 261 $(lispsource)jka-cmpr-hook.elc \
5fee75d4
JB
262 $(lispsource)vc/vc-hooks.elc \
263 $(lispsource)vc/ediff-hook.elc \
86914123 264 $(lispsource)epa-hook.elc \
a40c6a08 265 $(TOOLTIP_SUPPORT) \
7bbaaedd 266 $(WINNT_SUPPORT) \
a40c6a08 267 $(WINDOW_SUPPORT) \
7f379e5b
JR
268 $(lispsource)widget.elc \
269 $(lispsource)window.elc \
7bbaaedd
AI
270 $(lispsource)version.el
271
3b57ab8f
EZ
272# This is needed the first time we build the tree, since temacs.exe
273# does not exist yet, and the DOC rule needs it to rebuild DOC whenever
274# Emacs is rebuilt.
275../src/$(BLD)/temacs.exe:
276 - mkdir "../src/$(OBJDIR)"
277 - mkdir "../src/$(BLD)"
278 @echo temacs > temacs.exe
279 $(CP) temacs.exe ../src/$(BLD)
280 - $(DEL) temacs.exe
7bbaaedd 281
52402e4f 282DOC = DOC
79d48c1a 283$(DOC): stamp_BLD $(BLD)/make-docfile.exe ../src/$(BLD)/temacs.exe $(lisp1) $(lisp2) $(OTHER_PLATFORM_SUPPORT)
7bbaaedd 284 - $(DEL) $(DOC)
cf6d30d7 285 "$(THISDIR)/$(BLD)/make-docfile" -o $(DOC) -d ../src $(obj)
83a9c0b2
JR
286 "$(THISDIR)/$(BLD)/make-docfile" -a $(DOC) -d ../src $(lisp1)
287 "$(THISDIR)/$(BLD)/make-docfile" -a $(DOC) -d ../src $(lisp2)
79d48c1a 288 "$(THISDIR)/$(BLD)/make-docfile" -a $(DOC) -d ../src $(OTHER_PLATFORM_SUPPORT)
7bbaaedd
AI
289 $(CP) $(DOC) ../etc/DOC-X
290 - mkdir "../src/$(OBJDIR)"
291 - mkdir "../src/$(OBJDIR)/etc"
292 $(CP) $(DOC) ../src/$(OBJDIR)/etc/DOC-X
293
294{$(BLD)}.$(O){$(BLD)}.exe:
295 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $*.$(O) $(LIBS)
296
297#
298# Build the executables
299#
d67a9a85 300all: $(ALL) $(DOC)
7bbaaedd
AI
301
302#
303# Assuming INSTALL_DIR is defined, build and install emacs in it.
304#
305INSTALL_FILES = $(ALL)
306install: $(INSTALL_FILES)
307 - mkdir "$(INSTALL_DIR)/bin"
308 $(CP) $(BLD)/etags.exe $(INSTALL_DIR)/bin
88257bc8 309 $(CP) $(BLD)/ebrowse.exe $(INSTALL_DIR)/bin
7bbaaedd
AI
310 $(CP) $(BLD)/ctags.exe $(INSTALL_DIR)/bin
311 $(CP) $(BLD)/hexl.exe $(INSTALL_DIR)/bin
312 $(CP) $(BLD)/movemail.exe $(INSTALL_DIR)/bin
d20f2a6a 313 $(CP) $(BLD)/emacsclient.exe $(INSTALL_DIR)/bin
ba2d3968 314 $(CP) $(BLD)/emacsclientw.exe $(INSTALL_DIR)/bin
31542918 315 $(CP) $(BLD)/profile.exe $(INSTALL_DIR)/bin
7bbaaedd
AI
316 - mkdir "$(INSTALL_DIR)/etc"
317 $(CP) $(DOC) $(INSTALL_DIR)/etc
318
319#
320# Maintenance
52402e4f 321#
9724908a
EZ
322# We used to delete *~ here, but that might inadvertently remove
323# precious files if it happens to match their short 8+3 aliases.
7bbaaedd 324clean:
9724908a 325 - $(DEL) DOC* $(COMPILER_TEMP_FILES)
7bbaaedd
AI
326 - $(DEL) ctags.c
327 - $(DEL_TREE) $(OBJDIR)
e313b518 328 - $(DEL) stamp_BLD
7bbaaedd 329
6948400c
JR
330distclean: cleanall
331 - $(DEL) TAGS
332 - $(DEL) Makefile
333
334maintainer-clean: distclean
335
7bbaaedd
AI
336cleanall: clean
337 - $(DEL_TREE) obj
338 - $(DEL_TREE) obj-spd
339 - $(DEL_TREE) oo
340 - $(DEL_TREE) oo-spd
341
342#
343# Headers we would preprocess if we could.
344#
345../src/config.h: ../nt/$(CONFIG_H)
a69edb8a 346 $(DEL) $@
70846e2a 347 echo $(CONFIG_H) has changed. Re-run configure.bat.
df1b2142
JR
348 exit -1
349
73077a9a
EZ
350### TAGS ###
351
73077a9a
EZ
352TAGS: $(BLD)/etags.exe *.c *.h
353 $(BLD)/etags.exe *.c *.h
354
7bbaaedd
AI
355### DEPENDENCIES ###
356
357EMACS_ROOT = ..
65e46515
JB
358LIB_SRC = .
359SRC = $(EMACS_ROOT)/src
360NT_INC = $(EMACS_ROOT)/nt/inc
361GNU_LIB = $(EMACS_ROOT)/lib
362
363MS_W32_H = $(SRC)/s/ms-w32.h \
364 $(NT_INC)/sys/stat.h
365CONFIG_H = $(SRC)/config.h \
366 $(MS_W32_H)
367INTTYPES_H = $(NT_INC)/inttypes.h \
368 $(NT_INC)/stdint.h
369NTLIB_H = $(LIB_SRC)/ntlib.h \
370 $(NT_INC)/pwd.h
371SYSTIME_H = $(SRC)/systime.h \
372 $(NT_INC)/sys/time.h \
373 $(GNU_LIB)/timespec.h
7bbaaedd 374
7bbaaedd 375$(BLD)/ctags.$(O) : \
65e46515
JB
376 $(LIB_SRC)/ctags.c \
377 $(SRC)/regex.h \
378 $(NT_INC)/sys/stat.h \
379 $(NT_INC)/unistd.h \
380 $(GNU_LIB)/c-strcase.h \
381 $(GNU_LIB)/getopt.h \
382 $(CONFIG_H)
7bbaaedd 383
b97decf2 384$(BLD)/ebrowse.$(O) : \
65e46515
JB
385 $(LIB_SRC)/ebrowse.c \
386 $(GNU_LIB)/getopt.h \
387 $(GNU_LIB)/min-max.h \
388 $(CONFIG_H)
b97decf2 389
7bbaaedd 390$(BLD)/emacsclient.$(O) : \
65e46515
JB
391 $(LIB_SRC)/emacsclient.c \
392 $(NT_INC)/pwd.h \
393 $(NT_INC)/sys/stat.h \
394 $(NT_INC)/unistd.h \
395 $(GNU_LIB)/getopt.h \
396 $(CONFIG_H)
7bbaaedd 397
7bbaaedd 398$(BLD)/etags.$(O) : \
65e46515
JB
399 $(LIB_SRC)/etags.c \
400 $(SRC)/regex.h \
401 $(NT_INC)/sys/stat.h \
402 $(NT_INC)/unistd.h \
403 $(GNU_LIB)/c-strcase.h \
404 $(GNU_LIB)/getopt.h \
405 $(CONFIG_H)
7bbaaedd 406
7bbaaedd 407$(BLD)/hexl.$(O) : \
65e46515
JB
408 $(LIB_SRC)/hexl.c \
409 $(CONFIG_H)
7bbaaedd 410
7bbaaedd 411$(BLD)/make-docfile.$(O) : \
65e46515
JB
412 $(LIB_SRC)/make-docfile.c \
413 $(NT_INC)/unistd.h \
414 $(CONFIG_H)
7bbaaedd 415
7bbaaedd 416$(BLD)/movemail.$(O) : \
65e46515
JB
417 $(LIB_SRC)/movemail.c \
418 $(LIB_SRC)/pop.h \
419 $(SRC)/syswait.h \
420 $(NT_INC)/pwd.h \
421 $(NT_INC)/sys/file.h \
422 $(NT_INC)/sys/stat.h \
423 $(NT_INC)/unistd.h \
424 $(GNU_LIB)/getopt.h \
425 $(CONFIG_H) \
426 $(NTLIB_H)
7bbaaedd
AI
427
428$(BLD)/ntlib.$(O) : \
65e46515
JB
429 $(LIB_SRC)/ntlib.c \
430 $(NT_INC)/sys/stat.h \
431 $(NTLIB_H)
7bbaaedd
AI
432
433$(BLD)/pop.$(O) : \
65e46515
JB
434 $(LIB_SRC)/pop.c \
435 $(LIB_SRC)/pop.h \
436 $(NT_INC)/netdb.h \
437 $(NT_INC)/pwd.h \
438 $(NT_INC)/unistd.h \
439 $(GNU_LIB)/min-max.h \
440 $(CONFIG_H) \
441 $(NTLIB_H)
7bbaaedd
AI
442
443$(BLD)/profile.$(O) : \
65e46515
JB
444 $(LIB_SRC)/profile.c \
445 $(GNU_LIB)/intprops.h \
446 $(CONFIG_H) \
447 $(INTTYPES_H) \
448 $(SYSTIME_H)
449
450$(BLD)/regex.$(O) : \
451 $(SRC)/regex.c \
452 $(SRC)/regex.h \
453 $(NT_INC)/unistd.h \
454 $(CONFIG_H)
7bbaaedd 455
7bbaaedd 456$(BLD)/test-distrib.$(O) : \
65e46515
JB
457 $(LIB_SRC)/test-distrib.c \
458 $(NT_INC)/unistd.h \
459 $(CONFIG_H)
7bbaaedd 460
1a8a626d
EZ
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