makefile.w32-in 32.9 KB
Newer Older
1
#  -*- Makefile -*- for GNU Emacs on the Microsoft W32 API.
2
#  Copyright (C) 2000, 2001, 2002, 2003, 2004,
Glenn Morris's avatar
Glenn Morris committed
3
#                2005, 2006, 2007 Free Software Foundation, Inc.
Andrew Innes's avatar
Andrew Innes committed
4 5
#
#  This file is part of GNU Emacs.
6
#
Andrew Innes's avatar
Andrew Innes committed
7 8
#  GNU Emacs is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
9
#  the Free Software Foundation; either version 3, or (at your option)
Andrew Innes's avatar
Andrew Innes committed
10
#  any later version.
11
#
Andrew Innes's avatar
Andrew Innes committed
12 13 14 15
#  GNU Emacs is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
16
#
Andrew Innes's avatar
Andrew Innes committed
17 18
#  You should have received a copy of the GNU General Public License
#  along with GNU Emacs; see the file COPYING.  If not, write to the
Lute Kamstra's avatar
Lute Kamstra committed
19 20
#  Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
#  Boston, MA 02110-1301, USA.
Andrew Innes's avatar
Andrew Innes committed
21 22 23 24 25 26
#

ALL = emacs

.PHONY: $(ALL)

Andrew Innes's avatar
Andrew Innes committed
27 28 29
# Set EMACSLOADPATH correctly (in case already defined in environment).
EMACSLOADPATH=$(CURDIR)/../lisp

Andrew Innes's avatar
Andrew Innes committed
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
#
# HAVE_CONFIG_H is required by some generic gnu sources stuck into
# the emacs source tree.
#
LOCAL_FLAGS     = -Demacs=1 -DWINDOWSNT -DDOS_NT -DHAVE_CONFIG_H -I../nt/inc -D_UCHAR_T -DHAVE_NTGUI=1 $(EMACS_EXTRA_C_FLAGS)

EMACS           = $(BLD)/emacs.exe
TEMACS          = $(BLD)/temacs.exe
TEMACS_TMP      = $(BLD)/temacs.bin
TLIB0           = $(BLD)/temacs0.$(A)
TLIB1           = $(BLD)/temacs1.$(A)
TLIBW32         = $(BLD)/temacw32.$(A)
TOBJ            = $(BLD)/firstfile.$(O)
TRES		= $(BLD)/emacs.res
TLASTLIB	= $(BLD)/lastfile.$(A)

46 47
DOC		= $(OBJDIR)/etc/DOC-X

Andrew Innes's avatar
Andrew Innes committed
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
FULL_LINK_FLAGS      = $(LINK_FLAGS) $(TEMACS_EXTRA_LINK)

#
# Split up the objects into two sets so that we don't run out of
# command line space when we link them into a library.
#
# Put emacs.$(O) in a separate lib, since we need to have firstfile.$(O)
# as the "main" object file when linking.
#
OBJ0 =  $(BLD)/emacs.$(O)

OBJ1 =  $(BLD)/abbrev.$(O)			\
	$(BLD)/alloc.$(O)			\
	$(BLD)/atimer.$(O)			\
	$(BLD)/buffer.$(O)			\
	$(BLD)/bytecode.$(O)			\
	$(BLD)/callint.$(O)			\
	$(BLD)/callproc.$(O)			\
	$(BLD)/casefiddle.$(O)			\
	$(BLD)/cm.$(O)				\
	$(BLD)/cmds.$(O)			\
	$(BLD)/data.$(O)			\
	$(BLD)/dired.$(O)			\
	$(BLD)/dispnew.$(O)			\
	$(BLD)/doc.$(O)				\
	$(BLD)/doprnt.$(O)			\
	$(BLD)/editfns.$(O)			\
	$(BLD)/eval.$(O)			\
	$(BLD)/fileio.$(O)			\
	$(BLD)/filelock.$(O)			\
	$(BLD)/filemode.$(O)			\
	$(BLD)/fns.$(O)				\
	$(BLD)/indent.$(O)			\
	$(BLD)/insdel.$(O)			\
	$(BLD)/keyboard.$(O)			\
	$(BLD)/keymap.$(O)			\
	$(BLD)/lread.$(O)			\
	$(BLD)/macros.$(O)			\
	$(BLD)/marker.$(O)			\
Juanma Barranquero's avatar
Juanma Barranquero committed
87
	$(BLD)/md5.$(O)                         \
Andrew Innes's avatar
Andrew Innes committed
88 89 90 91 92 93 94 95 96 97 98
	$(BLD)/minibuf.$(O)			\
	$(BLD)/w32.$(O)				\
	$(BLD)/w32heap.$(O)			\
	$(BLD)/w32inevt.$(O)			\
	$(BLD)/w32proc.$(O)			\
	$(BLD)/w32console.$(O)			\
	$(BLD)/print.$(O)			\
	$(BLD)/process.$(O)			\
	$(BLD)/regex.$(O)			\
	$(BLD)/scroll.$(O)			\
	$(BLD)/search.$(O)			\
99
	$(BLD)/sound.$(O)			\
Andrew Innes's avatar
Andrew Innes committed
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123
	$(BLD)/syntax.$(O)			\
	$(BLD)/sysdep.$(O)			\
	$(BLD)/term.$(O)			\
	$(BLD)/termcap.$(O)			\
	$(BLD)/tparam.$(O)			\
	$(BLD)/undo.$(O)			\
	$(BLD)/unexw32.$(O)			\
	$(BLD)/window.$(O)			\
	$(BLD)/xdisp.$(O)			\
	$(BLD)/casetab.$(O)			\
	$(BLD)/floatfns.$(O)			\
	$(BLD)/frame.$(O)			\
	$(BLD)/gmalloc.$(O)			\
	$(BLD)/intervals.$(O)			\
	$(BLD)/composite.$(O)			\
	$(BLD)/ralloc.$(O)			\
	$(BLD)/textprop.$(O)			\
	$(BLD)/vm-limit.$(O)			\
	$(BLD)/region-cache.$(O)		\
	$(BLD)/strftime.$(O)			\
	$(BLD)/charset.$(O)			\
	$(BLD)/coding.$(O)			\
	$(BLD)/category.$(O)			\
	$(BLD)/ccl.$(O)				\
Kim F. Storm's avatar
Kim F. Storm committed
124
	$(BLD)/fontset.$(O)			\
Kim F. Storm's avatar
Kim F. Storm committed
125 126
	$(BLD)/fringe.$(O)			\
	$(BLD)/image.$(O)
Andrew Innes's avatar
Andrew Innes committed
127 128 129 130 131 132 133 134 135 136 137 138 139 140

WIN32OBJ = $(BLD)/w32term.$(O)			\
	   $(BLD)/w32xfns.$(O)			\
	   $(BLD)/w32fns.$(O)			\
	   $(BLD)/xfaces.$(O)			\
	   $(BLD)/w32select.$(O)		\
	   $(BLD)/w32menu.$(O)			\
	   $(BLD)/w32reg.$(O)			\
	   $(BLD)/w32bdf.$(O)

LIBS =  $(TLIB0)	\
	$(TLIB1)	\
	$(TLIBW32)	\
	$(TLASTLIB)	\
Jason Rumney's avatar
Jason Rumney committed
141
	$(WINMM)	\
Andrew Innes's avatar
Andrew Innes committed
142 143 144 145 146 147
	$(ADVAPI32)	\
	$(GDI32)	\
	$(COMDLG32)	\
	$(USER32)	\
	$(MPR)		\
	$(SHELL32)	\
148
	$(WINSPOOL)	\
Jason Rumney's avatar
Jason Rumney committed
149
	$(OLE32)	\
Jason Rumney's avatar
Jason Rumney committed
150
	$(COMCTL32)	\
Andrew Innes's avatar
Andrew Innes committed
151 152 153 154 155 156 157 158 159 160
	$(libc)

#
# Build the executable and dump it.
#
all:            $(ALL)

#
# The dumped executable
#
161
emacs:          stamp_BLD $(EMACS)
Andrew Innes's avatar
Andrew Innes committed
162
$(EMACS):       $(DOC) $(TEMACS)
163
	"$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup dump
Andrew Innes's avatar
Andrew Innes committed
164
	-"$(THISDIR)/$(BLD)/emacs.exe" -q -batch -f list-load-path-shadows
Andrew Innes's avatar
Andrew Innes committed
165 166 167 168 169 170 171

#
# The undumped executable
# Note the extra post-link step to insert a static preload heap section.
# If preload runs out of memory, increase the last argument to addsection
# (it is the preload heap size in MB).
#
172
temacs:         stamp_BLD $(TEMACS)
173 174
$(TEMACS):      $(TLIB0) $(TLIB1) $(TLIBW32) $(TLASTLIB) $(TOBJ) $(TRES) \
		  ../nt/$(BLD)/addsection.exe
Andrew Innes's avatar
Andrew Innes committed
175 176
	$(LINK) $(LINK_OUT)$(TEMACS_TMP) $(FULL_LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS)
	"../nt/$(BLD)/addsection" "$(TEMACS_TMP)" "$(TEMACS)" EMHEAP 16
177 178 179
	echo $(OBJ0) > $(BLD)/buildobj.lst
	echo $(OBJ1) >> $(BLD)/buildobj.lst
	echo $(WIN32OBJ) >> $(BLD)/buildobj.lst
Andrew Innes's avatar
Andrew Innes committed
180 181 182 183 184 185 186

bootstrap: bootstrap-emacs

#
# Build a temacs with a sufficiently large PURESIZE to load the
# Lisp files from loadup.el in source form.
#
187 188
# WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
#          this can break with GNU Make 3.81 and later if sh.exe is used.
189
bootstrap-temacs:
190
	$(MAKE) $(MFLAGS) $(XMFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE)
Andrew Innes's avatar
Andrew Innes committed
191 192

#
193
# Dump an Emacs executable named bootstrap-emacs containing the
Andrew Innes's avatar
Andrew Innes committed
194 195 196
# files from loadup.el in source form.
#
bootstrap-emacs: bootstrap-temacs
197
	"$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup bootstrap
Andrew Innes's avatar
Andrew Innes committed
198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214
	- mkdir "../bin"
	$(CP) $(EMACS) ../bin

#
# Force recompile of files that depend on PURESIZE
#
bootstrap-clean:
	- $(DEL) $(BLD)/alloc.$(O)
	- $(DEL) $(BLD)/data.$(O)
	- $(DEL) $(BLD)/intervals.$(O)
	- $(DEL) $(BLD)/keyboard.$(O)
	- $(DEL) $(BLD)/keymap.$(O)

#
# The resource file.  NT 3.10 requires the use of cvtres; even though
# it is not necessary on later versions, it is still ok to use it.
#
215
$(TRES): ../nt/emacs.rc stamp_BLD
216
	$(RC) $(RC_INCLUDE)../nt $(RC_OUT)$@ ../nt/emacs.rc
Andrew Innes's avatar
Andrew Innes committed
217 218

#
219
# Build the library.  Split up the build into two phases...otherwise we
Andrew Innes's avatar
Andrew Innes committed
220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249
# run out of command line space.
#
$(TLIB0):       $(OBJ0)
	- $(DEL) $@
	$(AR) $(AR_OUT)$@ $(ALL_DEPS)
$(TLIB1):       $(OBJ1)
	- $(DEL) $@
	$(AR) $(AR_OUT)$@ $(ALL_DEPS)
$(TLIBW32):	$(WIN32OBJ)
	- $(DEL) $@
	$(AR) $(AR_OUT)$@ $(ALL_DEPS)

#
# Place lastfile.$(O) in its own library so that it can be loaded after
# the source libraries but before any system libraries.  Doing so defines
# the end of Emacs' data section portably across compilers and systems.
#
$(TLASTLIB):	$(BLD)/lastfile.$(O)
	- $(DEL) $@
	$(AR) $(AR_OUT)$@ $(ALL_DEPS)

#
# Assuming INSTALL_DIR is defined, build and install emacs in it.
#
install:        $(ALL)
	- mkdir "$(INSTALL_DIR)/bin"
	$(CP) $(EMACS) $(INSTALL_DIR)/bin

#
# Maintenance
250
#
Eli Zaretskii's avatar
Eli Zaretskii committed
251 252
# We used to delete *~, s/*~, m/*~ here, but that might inadvertently
# remove precious files if it happens to match their short 8+3 aliases.
Andrew Innes's avatar
Andrew Innes committed
253
clean:
Eli Zaretskii's avatar
Eli Zaretskii committed
254
	- $(DEL) "s/*.h~" "m/*.h~"
255
	- $(DEL) $(COMPILER_TEMP_FILES)
Andrew Innes's avatar
Andrew Innes committed
256
	- $(DEL_TREE) $(OBJDIR)
Eli Zaretskii's avatar
Eli Zaretskii committed
257
	- $(DEL) stamp_BLD
Andrew Innes's avatar
Andrew Innes committed
258 259 260 261 262 263 264 265 266 267 268 269 270 271 272

distclean:	clean
	- $(DEL) config.h epaths.h

cleanall:	clean
	- $(DEL_TREE) obj
	- $(DEL_TREE) obj-spd
	- $(DEL_TREE) oo
	- $(DEL_TREE) oo-spd

### DEPENDENCIES ###

EMACS_ROOT	= ..
SRC		= .

273
$(BLD)/abbrev.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
274 275 276 277 278
	$(SRC)/abbrev.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
	$(SRC)/buffer.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
279 280 281 282 283 284
	$(SRC)/charset.h \
	$(SRC)/commands.h \
	$(SRC)/dispextern.h \
	$(SRC)/syntax.h \
	$(SRC)/w32bdf.h \
	$(SRC)/w32gui.h \
Andrew Innes's avatar
Andrew Innes committed
285 286
	$(SRC)/window.h

287
$(BLD)/alloc.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
288 289 290 291
	$(SRC)/alloc.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
292 293 294 295
	$(SRC)/blockinput.h \
	$(SRC)/buffer.h \
	$(SRC)/charset.h \
	$(SRC)/composite.h \
Andrew Innes's avatar
Andrew Innes committed
296
	$(SRC)/dispextern.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
297
	$(SRC)/frame.h \
Andrew Innes's avatar
Andrew Innes committed
298
	$(SRC)/intervals.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
299 300
	$(SRC)/keyboard.h \
	$(SRC)/process.h \
Andrew Innes's avatar
Andrew Innes committed
301
	$(SRC)/puresize.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
302 303 304 305
	$(SRC)/syssignal.h \
	$(SRC)/w32bdf.h \
	$(SRC)/w32gui.h \
	$(SRC)/window.h
Andrew Innes's avatar
Andrew Innes committed
306

307
$(BLD)/atimer.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
308 309 310 311 312 313 314 315
	$(SRC)/atimer.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
	$(SRC)/s/ms-w32.h \
	$(SRC)/m/intel386.h \
	$(SRC)/config.h \
	$(SRC)/atimer.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
316
	$(SRC)/blockinput.h \
Andrew Innes's avatar
Andrew Innes committed
317
	$(SRC)/syssignal.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
318
	$(SRC)/systime.h
Andrew Innes's avatar
Andrew Innes committed
319

320
$(BLD)/buffer.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
321 322 323 324 325
	$(SRC)/buffer.c \
	$(EMACS_ROOT)/nt/inc/sys/param.h \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
326 327 328 329
	$(SRC)/blockinput.h \
	$(SRC)/buffer.h \
	$(SRC)/charset.h \
	$(SRC)/commands.h \
Andrew Innes's avatar
Andrew Innes committed
330
	$(SRC)/composite.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
331
	$(SRC)/dispextern.h \
Andrew Innes's avatar
Andrew Innes committed
332 333
	$(SRC)/frame.h \
	$(SRC)/indent.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
334 335 336 337 338 339 340
	$(SRC)/intervals.h \
	$(SRC)/keyboard.h \
	$(SRC)/keymap.h \
	$(SRC)/region-cache.h \
	$(SRC)/w32bdf.h \
	$(SRC)/w32gui.h \
	$(SRC)/window.h
Andrew Innes's avatar
Andrew Innes committed
341

342
$(BLD)/bytecode.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
343 344 345 346 347
	$(SRC)/bytecode.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
	$(SRC)/buffer.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
348
	$(SRC)/charset.h \
349 350
	$(SRC)/syntax.h \
	$(SRC)/window.h
Andrew Innes's avatar
Andrew Innes committed
351

352
$(BLD)/callint.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
353 354 355 356 357 358
	$(SRC)/callint.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
	$(SRC)/buffer.h \
	$(SRC)/commands.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
359
	$(SRC)/dispextern.h \
Andrew Innes's avatar
Andrew Innes committed
360
	$(SRC)/keyboard.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
361 362 363
	$(SRC)/keymap.h \
	$(SRC)/w32bdf.h \
	$(SRC)/w32gui.h \
Pavel Janík's avatar
Pavel Janík committed
364
	$(SRC)/window.h
Andrew Innes's avatar
Andrew Innes committed
365

366
$(BLD)/callproc.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
367 368 369 370 371
	$(SRC)/callproc.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
	$(EMACS_ROOT)/nt/inc/sys/param.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
372 373
	$(EMACS_ROOT)/nt/inc/sys/ioctl.h \
	$(EMACS_ROOT)/nt/inc/sys/file.h \
Andrew Innes's avatar
Andrew Innes committed
374
	$(SRC)/buffer.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
375 376 377 378 379 380
	$(SRC)/ccl.h \
	$(SRC)/charset.h \
	$(SRC)/coding.h \
	$(SRC)/commands.h \
	$(SRC)/composite.h \
	$(SRC)/epaths.h \
Andrew Innes's avatar
Andrew Innes committed
381 382
	$(SRC)/process.h \
	$(SRC)/syssignal.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
383 384
	$(SRC)/systty.h \
	$(SRC)/w32.h
Andrew Innes's avatar
Andrew Innes committed
385

386
$(BLD)/casefiddle.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
387 388 389 390 391
	$(SRC)/casefiddle.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
	$(SRC)/buffer.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
392
	$(SRC)/charset.h \
Andrew Innes's avatar
Andrew Innes committed
393
	$(SRC)/commands.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
394 395
	$(SRC)/composite.h \
	$(SRC)/keymap.h \
Andrew Innes's avatar
Andrew Innes committed
396 397
	$(SRC)/syntax.h

398
$(BLD)/casetab.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
399 400 401 402
	$(SRC)/casetab.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435
	$(SRC)/buffer.h \
	$(SRC)/charset.h

$(BLD)/category.$(O) : \
	$(SRC)/category.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
	$(SRC)/buffer.h \
	$(SRC)/category.h \
	$(SRC)/charset.h \
	$(SRC)/keymap.h

$(BLD)/ccl.$(O) : \
	$(SRC)/ccl.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
	$(SRC)/ccl.h \
	$(SRC)/charset.h \
	$(SRC)/coding.h

$(BLD)/charset.$(O) : \
	$(SRC)/charset.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
	$(SRC)/buffer.h \
	$(SRC)/ccl.h \
	$(SRC)/charset.h \
	$(SRC)/coding.h \
	$(SRC)/composite.h \
	$(SRC)/disptab.h
Andrew Innes's avatar
Andrew Innes committed
436

437
$(BLD)/cm.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
438 439 440 441 442 443 444
	$(SRC)/cm.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
	$(SRC)/cm.h \
	$(SRC)/termhooks.h

445
$(BLD)/cmds.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
446 447 448 449
	$(SRC)/cmds.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
450 451
	$(SRC)/buffer.h \
	$(SRC)/charset.h \
Andrew Innes's avatar
Andrew Innes committed
452
	$(SRC)/commands.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
453 454 455 456 457 458 459 460 461 462 463 464 465
	$(SRC)/dispextern.h \
	$(SRC)/keyboard.h \
	$(SRC)/keymap.h \
	$(SRC)/syntax.h \
	$(SRC)/w32bdf.h \
	$(SRC)/w32gui.h \
	$(SRC)/window.h

$(BLD)/coding.$(O) : \
	$(SRC)/coding.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
Andrew Innes's avatar
Andrew Innes committed
466
	$(SRC)/buffer.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
467 468 469 470 471
	$(SRC)/ccl.h \
	$(SRC)/charset.h \
	$(SRC)/coding.h \
	$(SRC)/composite.h \
	$(SRC)/dispextern.h \
472
	$(SRC)/intervals.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
473 474 475
	$(SRC)/w32bdf.h \
	$(SRC)/w32gui.h \
	$(SRC)/window.h
Andrew Innes's avatar
Andrew Innes committed
476

477
$(BLD)/composite.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
478
	$(SRC)/composite.c \
Juanma Barranquero's avatar
Juanma Barranquero committed
479 480 481
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
Andrew Innes's avatar
Andrew Innes committed
482 483 484
	$(SRC)/buffer.h \
	$(SRC)/charset.h \
	$(SRC)/composite.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
485 486 487 488
	$(SRC)/dispextern.h \
	$(SRC)/intervals.h \
	$(SRC)/w32bdf.h \
	$(SRC)/w32gui.h
Andrew Innes's avatar
Andrew Innes committed
489

490
$(BLD)/data.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
491 492 493 494 495
	$(SRC)/data.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
	$(SRC)/buffer.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
496 497 498 499
	$(SRC)/charset.h \
	$(SRC)/frame.h \
	$(SRC)/keyboard.h \
	$(SRC)/puresize.h \
Andrew Innes's avatar
Andrew Innes committed
500 501
	$(SRC)/syssignal.h

502
$(BLD)/dired.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
503 504 505 506 507
	$(SRC)/dired.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
	$(SRC)/buffer.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
508 509 510
	$(SRC)/ccl.h \
	$(SRC)/charset.h \
	$(SRC)/coding.h \
Andrew Innes's avatar
Andrew Innes committed
511
	$(SRC)/commands.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
512 513 514
	$(SRC)/ndir.h \
	$(SRC)/regex.h \
	$(SRC)/systime.h
Andrew Innes's avatar
Andrew Innes committed
515

516
$(BLD)/dispnew.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
517 518 519 520
	$(SRC)/dispnew.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
521 522 523 524
	$(EMACS_ROOT)/nt/inc/sys/ioctl.h \
	$(EMACS_ROOT)/nt/inc/sys/file.h \
	$(SRC)/atimer.h \
	$(SRC)/blockinput.h \
Andrew Innes's avatar
Andrew Innes committed
525
	$(SRC)/buffer.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
526 527
	$(SRC)/charset.h \
	$(SRC)/cm.h \
Andrew Innes's avatar
Andrew Innes committed
528
	$(SRC)/commands.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
529 530
	$(SRC)/composite.h \
	$(SRC)/dispextern.h \
Andrew Innes's avatar
Andrew Innes committed
531
	$(SRC)/disptab.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
532
	$(SRC)/frame.h \
Andrew Innes's avatar
Andrew Innes committed
533 534
	$(SRC)/indent.h \
	$(SRC)/intervals.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
535 536 537 538 539 540 541 542
	$(SRC)/keyboard.h \
	$(SRC)/process.h \
	$(SRC)/syssignal.h \
	$(SRC)/systime.h \
	$(SRC)/termchar.h \
	$(SRC)/termhooks.h \
	$(SRC)/termopts.h \
	$(SRC)/w32bdf.h \
543
	$(SRC)/w32gui.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
544 545
	$(SRC)/w32term.h \
	$(SRC)/window.h
Andrew Innes's avatar
Andrew Innes committed
546

547
$(BLD)/doc.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
548 549 550 551 552 553
	$(SRC)/doc.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
	$(EMACS_ROOT)/nt/inc/sys/file.h \
	$(SRC)/buffer.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
554 555 556
	$(SRC)/charset.h \
	$(SRC)/keyboard.h \
	$(SRC)/keymap.h
Andrew Innes's avatar
Andrew Innes committed
557

558
$(BLD)/doprnt.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
559 560 561 562
	$(SRC)/doprnt.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
563
	$(SRC)/charset.c
Andrew Innes's avatar
Andrew Innes committed
564

565
$(BLD)/editfns.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
566 567 568 569 570
	$(SRC)/editfns.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
	$(EMACS_ROOT)/nt/inc/pwd.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
571 572 573 574 575
	$(SRC)/buffer.h \
	$(SRC)/ccl.h \
	$(SRC)/charset.h \
	$(SRC)/coding.h \
	$(SRC)/composite.h \
Andrew Innes's avatar
Andrew Innes committed
576
	$(SRC)/dispextern.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
577
	$(SRC)/frame.h \
Andrew Innes's avatar
Andrew Innes committed
578
	$(SRC)/intervals.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
579 580 581 582
	$(SRC)/systime.h \
	$(SRC)/w32bdf.h \
	$(SRC)/w32gui.h \
	$(SRC)/window.h
Andrew Innes's avatar
Andrew Innes committed
583

584
$(BLD)/emacs.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
585 586 587 588
	$(SRC)/emacs.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
589 590 591 592 593
	$(EMACS_ROOT)/nt/inc/sys/ioctl.h \
	$(EMACS_ROOT)/nt/inc/sys/file.h \
	$(SRC)/atimer.h \
	$(SRC)/blockinput.h \
	$(SRC)/buffer.h \
Andrew Innes's avatar
Andrew Innes committed
594
	$(SRC)/commands.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
595
	$(SRC)/composite.h \
Andrew Innes's avatar
Andrew Innes committed
596 597
	$(SRC)/dispextern.h \
	$(SRC)/intervals.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
598 599 600
	$(SRC)/keyboard.h \
	$(SRC)/keymap.h \
	$(SRC)/process.h \
Andrew Innes's avatar
Andrew Innes committed
601
	$(SRC)/syssignal.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
602 603 604 605
	$(SRC)/systime.h \
	$(SRC)/systty.h \
	$(SRC)/termhooks.h \
	$(SRC)/w32bdf.h \
606
	$(SRC)/w32gui.h \
607
	$(SRC)/w32heap.h \
608
	$(SRC)/window.h
Andrew Innes's avatar
Andrew Innes committed
609

610
$(BLD)/eval.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
611 612 613 614
	$(SRC)/eval.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
615
	$(SRC)/atimer.h \
Andrew Innes's avatar
Andrew Innes committed
616 617
	$(SRC)/blockinput.h \
	$(SRC)/commands.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
618 619 620 621 622
	$(SRC)/dispextern.h \
	$(SRC)/keyboard.h \
	$(SRC)/systime.h \
	$(SRC)/w32bdf.h \
	$(SRC)/w32gui.h
Andrew Innes's avatar
Andrew Innes committed
623

624
$(BLD)/fileio.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
625 626 627 628 629 630
	$(SRC)/fileio.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
	$(EMACS_ROOT)/nt/inc/pwd.h \
	$(EMACS_ROOT)/nt/inc/sys/param.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
631 632 633 634 635 636 637
	$(EMACS_ROOT)/nt/inc/sys/file.h \
	$(SRC)/buffer.h \
	$(SRC)/ccl.h \
	$(SRC)/charset.h \
	$(SRC)/coding.h \
	$(SRC)/commands.h \
	$(SRC)/composite.h \
Andrew Innes's avatar
Andrew Innes committed
638 639
	$(SRC)/dispextern.h \
	$(SRC)/intervals.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
640 641 642 643
	$(SRC)/systime.h \
	$(SRC)/w32bdf.h \
	$(SRC)/w32gui.h \
	$(SRC)/window.h
Andrew Innes's avatar
Andrew Innes committed
644

645
$(BLD)/filelock.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
646 647 648 649 650 651 652 653
	$(SRC)/filelock.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
	$(EMACS_ROOT)/nt/inc/pwd.h \
	$(EMACS_ROOT)/nt/inc/sys/file.h \
	$(EMACS_ROOT)/src/epaths.h \
	$(SRC)/buffer.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
654 655 656 657
	$(SRC)/ccl.h \
	$(SRC)/charset.h \
	$(SRC)/coding.h \
	$(SRC)/systime.h
Andrew Innes's avatar
Andrew Innes committed
658

659
$(BLD)/filemode.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
660 661 662 663 664 665 666 667
	$(SRC)/filemode.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
	$(SRC)/s/ms-w32.h \
	$(SRC)/m/intel386.h \
	$(SRC)/config.h

668
$(BLD)/firstfile.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
669 670 671 672 673
	$(SRC)/firstfile.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h

674
$(BLD)/floatfns.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
675 676 677 678 679 680
	$(SRC)/floatfns.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
	$(SRC)/syssignal.h

681
$(BLD)/fns.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
682 683 684 685
	$(SRC)/fns.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
686 687
	$(EMACS_ROOT)/nt/inc/langinfo.h \
	$(EMACS_ROOT)/nt/inc/nl_types.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
688 689
	$(SRC)/atimer.h \
	$(SRC)/blockinput.h \
Andrew Innes's avatar
Andrew Innes committed
690
	$(SRC)/buffer.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
691 692 693 694 695 696 697 698
	$(SRC)/ccl.h \
	$(SRC)/charset.h \
	$(SRC)/coding.h \
	$(SRC)/commands.h \
	$(SRC)/composite.h \
	$(SRC)/dispextern.h \
	$(SRC)/frame.h \
	$(SRC)/intervals.h \
Andrew Innes's avatar
Andrew Innes committed
699
	$(SRC)/keyboard.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
700 701 702 703 704 705 706 707 708 709 710 711 712 713 714
	$(SRC)/keymap.h \
	$(SRC)/md5.h \
	$(SRC)/systime.h \
	$(SRC)/w32bdf.h \
	$(SRC)/w32gui.h \
	$(SRC)/window.h

$(BLD)/fontset.$(O) : \
	$(SRC)/fontset.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
	$(SRC)/buffer.h \
	$(SRC)/ccl.h \
	$(SRC)/charset.h \
Andrew Innes's avatar
Andrew Innes committed
715
	$(SRC)/dispextern.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
716 717 718 719
	$(SRC)/fontset.h \
	$(SRC)/frame.h \
	$(SRC)/keyboard.h \
	$(SRC)/w32bdf.h \
720
	$(SRC)/w32gui.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
721
	$(SRC)/window.h
Andrew Innes's avatar
Andrew Innes committed
722

723
$(BLD)/frame.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
724 725 726 727
	$(SRC)/frame.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
728 729
	$(SRC)/atimer.h \
	$(SRC)/blockinput.h \
Andrew Innes's avatar
Andrew Innes committed
730
	$(SRC)/buffer.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
731
	$(SRC)/charset.h \
Andrew Innes's avatar
Andrew Innes committed
732
	$(SRC)/commands.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
733 734 735 736
	$(SRC)/dispextern.h \
	$(SRC)/fontset.h \
	$(SRC)/frame.h \
	$(SRC)/keyboard.h \
737
	$(SRC)/systime.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
738 739 740 741 742
	$(SRC)/termhooks.h \
	$(SRC)/w32bdf.h \
	$(SRC)/w32gui.h \
	$(SRC)/w32term.h \
	$(SRC)/window.h
Andrew Innes's avatar
Andrew Innes committed
743

744 745 746 747 748 749 750 751 752 753 754 755 756 757 758
$(BLD)/fringe.$(O) : \
	$(SRC)/fringe.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
	$(SRC)/atimer.h \
	$(SRC)/blockinput.h \
	$(SRC)/buffer.h \
	$(SRC)/dispextern.h \
	$(SRC)/frame.h \
	$(SRC)/systime.h \
	$(SRC)/w32bdf.h \
	$(SRC)/w32gui.h \
	$(SRC)/window.h

759
$(BLD)/gmalloc.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
760 761 762 763 764 765 766
	$(SRC)/gmalloc.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
	$(EMACS_ROOT)/nt/inc/sys/param.h \
	$(SRC)/getpagesize.h

Kim F. Storm's avatar
Kim F. Storm committed
767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784
$(BLD)/image.$(O): \
	$(SRC)/image.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
	$(SRC)/atimer.h \
	$(SRC)/blockinput.h \
	$(SRC)/dispextern.h \
	$(SRC)/epaths.h \
	$(SRC)/frame.h \
	$(SRC)/systime.h \
	$(SRC)/termhooks.h \
	$(SRC)/w32bdf.h \
	$(SRC)/w32gui.h \
	$(SRC)/w32heap.h \
	$(SRC)/w32term.h \
	$(SRC)/window.h

785
$(BLD)/indent.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
786 787 788 789 790
	$(SRC)/indent.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
	$(SRC)/buffer.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
791 792 793 794 795
	$(SRC)/category.h \
	$(SRC)/charset.h \
	$(SRC)/composite.h \
	$(SRC)/dispextern.h \
	$(SRC)/disptab.h \
Andrew Innes's avatar
Andrew Innes committed
796
	$(SRC)/frame.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
797 798 799 800
	$(SRC)/indent.h \
	$(SRC)/intervals.h \
	$(SRC)/keyboard.h \
	$(SRC)/region-cache.h \
Andrew Innes's avatar
Andrew Innes committed
801 802
	$(SRC)/termchar.h \
	$(SRC)/termopts.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
803
	$(SRC)/w32bdf.h \
804
	$(SRC)/w32gui.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
805
	$(SRC)/window.h
Andrew Innes's avatar
Andrew Innes committed
806

807
$(BLD)/insdel.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
808 809 810 811
	$(SRC)/insdel.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
812 813 814 815 816
	$(SRC)/atimer.h \
	$(SRC)/blockinput.h \
	$(SRC)/buffer.h \
	$(SRC)/charset.h \
	$(SRC)/composite.h \
Andrew Innes's avatar
Andrew Innes committed
817 818
	$(SRC)/dispextern.h \
	$(SRC)/intervals.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
819 820 821 822 823
	$(SRC)/region-cache.h \
	$(SRC)/systime.h \
	$(SRC)/w32bdf.h \
	$(SRC)/w32gui.h \
	$(SRC)/window.h
Andrew Innes's avatar
Andrew Innes committed
824

825
$(BLD)/intervals.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
826 827 828 829
	$(SRC)/intervals.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
830 831
	$(SRC)/buffer.h \
	$(SRC)/composite.h \
Andrew Innes's avatar
Andrew Innes committed
832 833 834
	$(SRC)/dispextern.h \
	$(SRC)/intervals.h \
	$(SRC)/keyboard.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
835 836 837 838
	$(SRC)/keymap.h \
	$(SRC)/puresize.h \
	$(SRC)/w32bdf.h \
	$(SRC)/w32gui.h
Andrew Innes's avatar
Andrew Innes committed
839

840
$(BLD)/keyboard.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
841 842 843 844
	$(SRC)/keyboard.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
845 846 847 848
	$(EMACS_ROOT)/nt/inc/sys/ioctl.h \
	$(EMACS_ROOT)/nt/inc/sys/file.h \
	$(SRC)/atimer.h \
	$(SRC)/blockinput.h \
Andrew Innes's avatar
Andrew Innes committed
849
	$(SRC)/buffer.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
850 851 852
	$(SRC)/charset.h \
	$(SRC)/commands.h \
	$(SRC)/composite.h \
Andrew Innes's avatar
Andrew Innes committed
853
	$(SRC)/dispextern.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
854 855
	$(SRC)/disptab.h \
	$(SRC)/frame.h \
Andrew Innes's avatar
Andrew Innes committed
856
	$(SRC)/intervals.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
857 858 859 860 861
	$(SRC)/keyboard.h \
	$(SRC)/keymap.h \
	$(SRC)/macros.h \
	$(SRC)/puresize.h \
	$(SRC)/syntax.h \
Andrew Innes's avatar
Andrew Innes committed
862
	$(SRC)/syssignal.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
863
	$(SRC)/systime.h \
Andrew Innes's avatar
Andrew Innes committed
864
	$(SRC)/systty.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
865 866 867 868
	$(SRC)/termchar.h \
	$(SRC)/termhooks.h \
	$(SRC)/termopts.h \
	$(SRC)/w32bdf.h \
869
	$(SRC)/w32gui.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
870 871
	$(SRC)/w32term.h \
	$(SRC)/window.h
Andrew Innes's avatar
Andrew Innes committed
872

873
$(BLD)/keymap.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
874 875 876 877
	$(SRC)/keymap.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
878 879
	$(SRC)/atimer.h \
	$(SRC)/blockinput.h \
Andrew Innes's avatar
Andrew Innes committed
880
	$(SRC)/buffer.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
881 882 883 884 885
	$(SRC)/charset.h \
	$(SRC)/commands.h \
	$(SRC)/composite.h \
	$(SRC)/dispextern.h \
	$(SRC)/intervals.h \
Andrew Innes's avatar
Andrew Innes committed
886
	$(SRC)/keyboard.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
887 888 889
	$(SRC)/keymap.h \
	$(SRC)/puresize.h \
	$(SRC)/systime.h \
Andrew Innes's avatar
Andrew Innes committed
890
	$(SRC)/termhooks.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
891 892
	$(SRC)/w32bdf.h \
	$(SRC)/w32gui.h
Andrew Innes's avatar
Andrew Innes committed
893

894
$(BLD)/lastfile.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
895 896 897 898 899
	$(SRC)/lastfile.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h

900
$(BLD)/lread.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
901 902 903 904 905 906
	$(SRC)/lread.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
	$(EMACS_ROOT)/nt/inc/sys/file.h \
	$(EMACS_ROOT)/src/epaths.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
907 908 909 910
	$(SRC)/buffer.h \
	$(SRC)/ccl.h \
	$(SRC)/charset.h \
	$(SRC)/coding.h \
Andrew Innes's avatar
Andrew Innes committed
911
	$(SRC)/commands.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
912 913 914
	$(SRC)/composite.h \
	$(SRC)/dispextern.h \
	$(SRC)/intervals.h \
Andrew Innes's avatar
Andrew Innes committed
915 916
	$(SRC)/keyboard.h \
	$(SRC)/termhooks.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
917 918
	$(SRC)/w32bdf.h \
	$(SRC)/w32gui.h
Andrew Innes's avatar
Andrew Innes committed
919

920
$(BLD)/macros.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
921 922 923 924 925
	$(SRC)/macros.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
	$(SRC)/buffer.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
926 927 928 929 930 931
	$(SRC)/commands.h \
	$(SRC)/dispextern.h \
	$(SRC)/keyboard.h \
	$(SRC)/macros.h \
	$(SRC)/w32bdf.h \
	$(SRC)/w32gui.h \
Andrew Innes's avatar
Andrew Innes committed
932 933
	$(SRC)/window.h

934
$(BLD)/marker.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
935 936 937 938
	$(SRC)/marker.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
939 940
	$(SRC)/buffer.h \
	$(SRC)/charset.h
Andrew Innes's avatar
Andrew Innes committed
941

Jason Rumney's avatar
Jason Rumney committed
942
$(BLD)/md5.$(O) : \
Juanma Barranquero's avatar
Juanma Barranquero committed
943 944
	$(SRC)/md5.c \
	$(SRC)/md5.h
Jason Rumney's avatar
Jason Rumney committed
945

946
$(BLD)/minibuf.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
947 948 949 950 951
	$(SRC)/minibuf.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
	$(SRC)/buffer.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
952 953 954
	$(SRC)/charset.h \
	$(SRC)/commands.h \
	$(SRC)/composite.h \
Andrew Innes's avatar
Andrew Innes committed
955 956
	$(SRC)/dispextern.h \
	$(SRC)/frame.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
957 958 959 960 961 962 963
	$(SRC)/intervals.h \
	$(SRC)/keyboard.h \
	$(SRC)/keymap.h \
	$(SRC)/syntax.h \
	$(SRC)/w32bdf.h \
	$(SRC)/w32gui.h \
	$(SRC)/window.h
Andrew Innes's avatar
Andrew Innes committed
964

965
$(BLD)/w32.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
966
	$(SRC)/w32.c \
Juanma Barranquero's avatar
Juanma Barranquero committed
967
	$(EMACS_ROOT)/nt/inc/pwd.h \
Andrew Innes's avatar
Andrew Innes committed
968 969 970
	$(SRC)/s/ms-w32.h \
	$(SRC)/m/intel386.h \
	$(SRC)/config.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
971 972 973
	$(SRC)/ndir.h \
	$(SRC)/systime.h \
	$(SRC)/w32.h \
Andrew Innes's avatar
Andrew Innes committed
974 975
	$(SRC)/w32heap.h

976
$(BLD)/w32heap.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
977 978 979
	$(SRC)/w32heap.c \
	$(SRC)/s/ms-w32.h \
	$(SRC)/m/intel386.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
980 981
	$(SRC)/config.h \
	$(SRC)/w32heap.h
Andrew Innes's avatar
Andrew Innes committed
982

983
$(BLD)/w32inevt.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
984 985 986 987
	$(SRC)/w32inevt.c \
	$(SRC)/s/ms-w32.h \
	$(SRC)/m/intel386.h \
	$(SRC)/config.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
988
	$(SRC)/atimer.h \
Andrew Innes's avatar
Andrew Innes committed
989
	$(SRC)/blockinput.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
990 991 992
	$(SRC)/frame.h \
	$(SRC)/keyboard.h \
	$(SRC)/systime.h \
Andrew Innes's avatar
Andrew Innes committed
993
	$(SRC)/termhooks.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
994 995
	$(SRC)/w32bdf.h \
	$(SRC)/w32gui.h \
Andrew Innes's avatar
Andrew Innes committed
996
	$(SRC)/w32heap.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
997
	$(SRC)/w32term.h
Andrew Innes's avatar
Andrew Innes committed
998

999
$(BLD)/w32proc.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
1000 1001 1002
	$(SRC)/w32proc.c \
	$(SRC)/s/ms-w32.h \
	$(SRC)/m/intel386.h \
1003 1004
	$(EMACS_ROOT)/nt/inc/langinfo.h \
	$(EMACS_ROOT)/nt/inc/nl_types.h \
Andrew Innes's avatar
Andrew Innes committed
1005
	$(SRC)/config.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
1006 1007 1008 1009
	$(SRC)/process.h \
	$(SRC)/syssignal.h \
	$(SRC)/systime.h \
	$(SRC)/syswait.h \
Andrew Innes's avatar
Andrew Innes committed
1010
	$(SRC)/w32.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
1011 1012
	$(SRC)/w32bdf.h \
	$(SRC)/w32gui.h \
Andrew Innes's avatar
Andrew Innes committed
1013
	$(SRC)/w32heap.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
1014
	$(SRC)/w32term.h
Andrew Innes's avatar
Andrew Innes committed
1015

1016
$(BLD)/w32console.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
1017 1018 1019
	$(SRC)/w32console.c \
	$(SRC)/s/ms-w32.h \
	$(SRC)/m/intel386.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
1020 1021 1022
	$(SRC)/ccl.h \
	$(SRC)/charset.h \
	$(SRC)/coding.h \
Andrew Innes's avatar
Andrew Innes committed
1023
	$(SRC)/config.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
1024
	$(SRC)/dispextern.h \
Andrew Innes's avatar
Andrew Innes committed
1025
	$(SRC)/disptab.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
1026
	$(SRC)/frame.h \
Andrew Innes's avatar
Andrew Innes committed
1027
	$(SRC)/termhooks.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
1028 1029
	$(SRC)/w32bdf.h \
	$(SRC)/w32gui.h \
Andrew Innes's avatar
Andrew Innes committed
1030 1031
	$(SRC)/w32inevt.h

1032
$(BLD)/print.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
1033 1034 1035 1036 1037
	$(SRC)/print.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
	$(SRC)/buffer.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
1038 1039 1040
	$(SRC)/charset.h \
	$(SRC)/composite.h \
	$(SRC)/dispextern.h \
Andrew Innes's avatar
Andrew Innes committed
1041
	$(SRC)/frame.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
1042 1043
	$(SRC)/intervals.h \
	$(SRC)/keyboard.h \
Andrew Innes's avatar
Andrew Innes committed
1044 1045
	$(SRC)/process.h \
	$(SRC)/termchar.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
1046
	$(SRC)/w32bdf.h \
1047
	$(SRC)/w32gui.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
1048
	$(SRC)/window.h
Andrew Innes's avatar
Andrew Innes committed
1049

1050
$(BLD)/process.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
1051 1052 1053 1054 1055 1056
	$(SRC)/process.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
	$(EMACS_ROOT)/nt/inc/sys/ioctl.h \
	$(EMACS_ROOT)/nt/inc/sys/file.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
1057 1058
	$(SRC)/atimer.h \
	$(SRC)/blockinput.h \
Andrew Innes's avatar
Andrew Innes committed
1059
	$(SRC)/buffer.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
1060 1061 1062
	$(SRC)/ccl.h \
	$(SRC)/charset.h \
	$(SRC)/coding.h \
Andrew Innes's avatar
Andrew Innes committed
1063
	$(SRC)/commands.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
1064 1065
	$(SRC)/composite.h \
	$(SRC)/dispextern.h \
Andrew Innes's avatar
Andrew Innes committed
1066
	$(SRC)/frame.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
1067 1068 1069
	$(SRC)/keyboard.h \
	$(SRC)/process.h \
	$(SRC)/sysselect.h \
Andrew Innes's avatar
Andrew Innes committed
1070 1071
	$(SRC)/syssignal.h \
	$(SRC)/systime.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
1072 1073 1074
	$(SRC)/systty.h \
	$(SRC)/syswait.h \
	$(SRC)/termhooks.h \
Andrew Innes's avatar
Andrew Innes committed
1075
	$(SRC)/termopts.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
1076 1077 1078
	$(SRC)/w32bdf.h \
	$(SRC)/w32gui.h \
	$(SRC)/window.h
Andrew Innes's avatar
Andrew Innes committed
1079

1080
$(BLD)/ralloc.$(O) : \
Andrew Innes's avatar
Andrew Innes committed
1081 1082 1083 1084
	$(SRC)/ralloc.c \
	$(EMACS_ROOT)/src/s/ms-w32.h \
	$(EMACS_ROOT)/src/m/intel386.h \
	$(EMACS_ROOT)/src/config.h \
Juanma Barranquero's avatar
Juanma Barranquero committed
1085
	$(EMACS_ROOT)/nt/inc/sys/param.h \
Andrew Innes's avatar
Andrew Innes committed
1086 1087 1088 1089 1090
	$(SRC)/s/ms-w32.h \
	$(SRC)/m/intel386.h \
	$(SRC)/config.h \
	$(SRC)/getpagesize.h

1091
$(BLD)/regex.$(O) : \