aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorEli Zaretskii2012-04-07 13:19:22 +0300
committerEli Zaretskii2012-04-07 13:19:22 +0300
commitd67a9a85f5269ebf4c52ac7d3b9400919f5b890f (patch)
tree3a76eccb3d5889f7ec46587e77cd6754a947064e /lib-src
parent1dcece25987df8bd3e98ed8c936d9179bfa2f830 (diff)
downloademacs-d67a9a85f5269ebf4c52ac7d3b9400919f5b890f.tar.gz
emacs-d67a9a85f5269ebf4c52ac7d3b9400919f5b890f.zip
Fix parallel build and bootstrap on MS-Windows.
nt/makefile.w32-in: (all): Don't depend on stamp_BLD and on maybe-bootstrap. (all-other-dirs-$(MAKETYPE)): Depend on maybe-bootstrap. (bootstrap-gmake): Invoke the "clean" and build targets in 2 separate commands, so they run in that order even under "make -j". lib/makefile.w32-in (gnulib, all): Don't depend on stamp_BLD. lib-src/makefile.w32-in (ALL): Now the list of executables, not of phony targets. (.PHONY): Only make-docfile is its prerequisite now. (make-docfile): Don't depend on stamp_BLD. Add a comment about the need in this target. (ctags, etags, ebrowse, hexl, movemail, emacsclient) (test-distrib): Phony targets removed. ($(BLD)/test-distrib.exe): Run test-distrib as part of the recipe. (all): Don't depend on stamp_BLD.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog12
-rw-r--r--lib-src/makefile.w32-in23
2 files changed, 21 insertions, 14 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index 2384599caf2..ec7f9a626c1 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,15 @@
12012-04-07 Eli Zaretskii <eliz@gnu.org>
2
3 * makefile.w32-in (ALL): Now the list of executables, not of phony
4 targets.
5 (.PHONY): Only make-docfile is its prerequisite now.
6 (make-docfile): Don't depend on stamp_BLD. Add a comment about
7 the need in this target.
8 (ctags, etags, ebrowse, hexl, movemail, emacsclient)
9 (test-distrib): Phony targets removed.
10 ($(BLD)/test-distrib.exe): Run test-distrib as part of the recipe.
11 (all): Don't depend on stamp_BLD.
12
12012-03-11 Andreas Schwab <schwab@linux-m68k.org> 132012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2 14
3 * emacsclient.c (main): Handle -print-nonl command. 15 * emacsclient.c (main): Handle -print-nonl command.
diff --git a/lib-src/makefile.w32-in b/lib-src/makefile.w32-in
index 117a835c03f..b181b1b4d7f 100644
--- a/lib-src/makefile.w32-in
+++ b/lib-src/makefile.w32-in
@@ -17,9 +17,11 @@
17# along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. 17# along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
18 18
19 19
20ALL = make-docfile hexl ctags etags movemail ebrowse emacsclient 20ALL = $(BLD)/make-docfile.exe $(BLD)/hexl.exe $(BLD)/ctags.exe\
21 $(BLD)/etags.exe $(BLD)/movemail.exe $(BLD)/ebrowse.exe\
22 $(BLD)/emacsclient.exe $(BLD)/emacsclientw.exe
21 23
22.PHONY: $(ALL) 24.PHONY: make-docfile
23 25
24LOCAL_FLAGS = -DWINDOWSNT -DDOS_NT -DNO_LDAV=1 \ 26LOCAL_FLAGS = -DWINDOWSNT -DDOS_NT -DNO_LDAV=1 \
25 -DNO_ARCHIVES=1 -DHAVE_CONFIG_H=1 -I../lib \ 27 -DNO_ARCHIVES=1 -DHAVE_CONFIG_H=1 -I../lib \
@@ -27,23 +29,16 @@ LOCAL_FLAGS = -DWINDOWSNT -DDOS_NT -DNO_LDAV=1 \
27 29
28LIBS = $(BASE_LIBS) $(ADVAPI32) 30LIBS = $(BASE_LIBS) $(ADVAPI32)
29 31
32# The following target is used by makefile.w32-in files in other directories.
33make-docfile: $(BLD)/make-docfile.exe
34
30$(BLD)/make-docfile.exe: $(BLD)/make-docfile.$(O) $(BLD)/ntlib.$(O) 35$(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) 36 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/make-docfile.$(O) $(BLD)/ntlib.$(O) $(LIBS)
32$(BLD)/hexl.exe: $(BLD)/hexl.$(O) 37$(BLD)/hexl.exe: $(BLD)/hexl.$(O)
33 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/hexl.$(O) $(LIBS) 38 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/hexl.$(O) $(LIBS)
34$(BLD)/test-distrib.exe: $(BLD)/test-distrib.$(O) 39$(BLD)/test-distrib.exe: $(BLD)/test-distrib.$(O)
35 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/test-distrib.$(O) $(LIBS) 40 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/test-distrib.$(O) $(LIBS)
36 41 "$(BLD)/test-distrib.exe" "$(SRC)/testfile"
37make-docfile: stamp_BLD $(BLD)/make-docfile.exe
38ctags: stamp_BLD $(BLD)/ctags.exe
39etags: stamp_BLD $(BLD)/etags.exe
40ebrowse: stamp_BLD $(BLD)/ebrowse.exe
41hexl: stamp_BLD $(BLD)/hexl.exe
42movemail: stamp_BLD $(BLD)/movemail.exe
43emacsclient: stamp_BLD $(BLD)/emacsclient.exe $(BLD)/emacsclientw.exe
44
45test-distrib: stamp_BLD $(BLD)/test-distrib.exe
46 "$(BLD)/test-distrib.exe" "$(SRC)/testfile"
47 42
48MOVEMAILOBJS = $(BLD)/movemail.$(O) \ 43MOVEMAILOBJS = $(BLD)/movemail.$(O) \
49 $(BLD)/pop.$(O) \ 44 $(BLD)/pop.$(O) \
@@ -297,7 +292,7 @@ $(DOC): stamp_BLD $(BLD)/make-docfile.exe ../src/$(BLD)/temacs.exe $(lisp1) $(l
297# 292#
298# Build the executables 293# Build the executables
299# 294#
300all: stamp_BLD $(ALL) $(DOC) 295all: $(ALL) $(DOC)
301 296
302# 297#
303# Assuming INSTALL_DIR is defined, build and install emacs in it. 298# Assuming INSTALL_DIR is defined, build and install emacs in it.