aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorEli Zaretskii2006-06-03 15:30:02 +0000
committerEli Zaretskii2006-06-03 15:30:02 +0000
commit9781fb53c897dc37a13a490e988977758029a3c2 (patch)
tree5debcf05f5e6dca66986ffd84969704bdd98c147 /lib-src
parent1b178b9902fce72c5e08cb0ef6527615477f510f (diff)
downloademacs-9781fb53c897dc37a13a490e988977758029a3c2.tar.gz
emacs-9781fb53c897dc37a13a490e988977758029a3c2.zip
(ALL): Add sorted-doc and digest-doc.
($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe) ($(BLD)/test-distrib.exe): New targets. (sorted-doc, digest-doc, test-distrib): New targets. (install): Install sorted-doc.exe and digest-doc.exe. ($(BLD)/sorted-doc.$(O)): Update dependencies.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog7
-rw-r--r--lib-src/makefile.w32-in27
2 files changed, 25 insertions, 9 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index c448ac31c5d..eaaa293e293 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,5 +1,12 @@
12006-06-03 Eli Zaretskii <eliz@gnu.org> 12006-06-03 Eli Zaretskii <eliz@gnu.org>
2 2
3 * makefile.w32-in (ALL): Add sorted-doc and digest-doc.
4 ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe)
5 ($(BLD)/test-distrib.exe): New targets.
6 (sorted-doc, digest-doc, test-distrib): New targets.
7 (install): Install sorted-doc.exe and digest-doc.exe.
8 ($(BLD)/sorted-doc.$(O)): Update dependencies.
9
3 * digest-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h. 10 * digest-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
4 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a 11 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
5 terminal device. 12 terminal device.
diff --git a/lib-src/makefile.w32-in b/lib-src/makefile.w32-in
index 7cc4c27aa5b..aaa35aec040 100644
--- a/lib-src/makefile.w32-in
+++ b/lib-src/makefile.w32-in
@@ -20,7 +20,7 @@
20# Boston, MA 02110-1301, USA. 20# Boston, MA 02110-1301, USA.
21# 21#
22 22
23ALL = make-docfile hexl ctags etags movemail ebrowse 23ALL = make-docfile hexl ctags etags movemail ebrowse sorted-doc digest-doc
24 24
25.PHONY: $(ALL) 25.PHONY: $(ALL)
26 26
@@ -30,14 +30,10 @@ LOCAL_FLAGS = -DWINDOWSNT -DDOS_NT -DSTDC_HEADERS=1 -DNO_LDAV=1 \
30 30
31# don't know what (if) to do with these yet... 31# don't know what (if) to do with these yet...
32# 32#
33# $(BLD)/sorted-doc.exe \
34# $(BLD)/env.exe \
35# $(BLD)/server.exe \ 33# $(BLD)/server.exe \
36# $(BLD)/emacstool.exe \ 34# $(BLD)/emacstool.exe \
37# $(BLD)/emacsclient.exe \ 35# $(BLD)/emacsclient.exe \
38# $(BLD)/cvtmail.exe \ 36# $(BLD)/cvtmail.exe \
39# $(BLD)/digest-doc.exe \
40# $(BLD)/test-distrib.exe \
41 37
42LIBS = $(BASE_LIBS) $(ADVAPI32) 38LIBS = $(BASE_LIBS) $(ADVAPI32)
43 39
@@ -47,6 +43,12 @@ $(BLD)/hexl.exe: $(BLD)/hexl.$(O)
47 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/hexl.$(O) $(LIBS) 43 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/hexl.$(O) $(LIBS)
48$(BLD)/fakemail.exe: $(BLD)/fakemail.$(O) $(BLD)/ntlib.$(O) 44$(BLD)/fakemail.exe: $(BLD)/fakemail.$(O) $(BLD)/ntlib.$(O)
49 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/fakemail.$(O) $(BLD)/ntlib.$(O) $(LIBS) 45 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/fakemail.$(O) $(BLD)/ntlib.$(O) $(LIBS)
46$(BLD)/sorted-doc.exe: $(BLD)/sorted-doc.$(O)
47 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/sorted-doc.$(O) $(LIBS)
48$(BLD)/digest-doc.exe: $(BLD)/digest-doc.$(O)
49 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/digest-doc.$(O) $(LIBS)
50$(BLD)/test-distrib.exe: $(BLD)/test-distrib.$(O)
51 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/test-distrib.$(O) $(LIBS)
50 52
51make-docfile: $(BLD) $(BLD)/make-docfile.exe 53make-docfile: $(BLD) $(BLD)/make-docfile.exe
52ctags: $(BLD) $(BLD)/ctags.exe 54ctags: $(BLD) $(BLD)/ctags.exe
@@ -55,6 +57,11 @@ ebrowse: $(BLD) $(BLD)/ebrowse.exe
55hexl: $(BLD) $(BLD)/hexl.exe 57hexl: $(BLD) $(BLD)/hexl.exe
56movemail: $(BLD) $(BLD)/movemail.exe 58movemail: $(BLD) $(BLD)/movemail.exe
57fakemail: $(BLD) $(BLD)/fakemail.exe 59fakemail: $(BLD) $(BLD)/fakemail.exe
60sorted-doc: $(BLD) $(BLD)/sorted-doc.exe
61digest-doc: $(BLD) $(BLD)/digest-doc.exe
62
63test-distrib: $(BLD) $(BLD)/test-distrib.exe
64 "$(BLD)/test-distrib.exe" "$(SRC)/testfile"
58 65
59GETOPTOBJS = $(BLD)/getopt.$(O) $(BLD)/getopt1.$(O) 66GETOPTOBJS = $(BLD)/getopt.$(O) $(BLD)/getopt1.$(O)
60GETOPTDEPS = $(GETOPTOBJS) getopt.h 67GETOPTDEPS = $(GETOPTOBJS) getopt.h
@@ -113,14 +120,11 @@ $(BLD)/ctags.$(O): ctags.c
113# 120#
114# don't know what to do with these yet... 121# don't know what to do with these yet...
115# 122#
116# $(BLD)/sorted-doc.exe: $(BLD)/sorted-doc.$(O)
117# $(BLD)/yow.exe: $(BLD)/yow.$(O) 123# $(BLD)/yow.exe: $(BLD)/yow.$(O)
118# $(BLD)/emacstool.exe: $(BLD)/emacstool.$(O) 124# $(BLD)/emacstool.exe: $(BLD)/emacstool.$(O)
119# $(BLD)/server.exe: $(BLD)/server.$(O) 125# $(BLD)/server.exe: $(BLD)/server.$(O)
120# $(BLD)/cvtmail.exe: $(BLD)/cvtmail.$(O) 126# $(BLD)/cvtmail.exe: $(BLD)/cvtmail.$(O)
121# $(BLD)/digest-doc.exe: $(BLD)/digest-doc.$(O)
122# $(BLD)/emacsclient.exe: $(BLD)/emacsclient.$(O) 127# $(BLD)/emacsclient.exe: $(BLD)/emacsclient.$(O)
123# $(BLD)/test-distrib.exe: $(BLD)/test-distrib.$(O)
124 128
125# 129#
126# From ..\src\Makefile.in 130# From ..\src\Makefile.in
@@ -291,6 +295,8 @@ install: $(INSTALL_FILES)
291 $(CP) $(BLD)/ctags.exe $(INSTALL_DIR)/bin 295 $(CP) $(BLD)/ctags.exe $(INSTALL_DIR)/bin
292 $(CP) $(BLD)/hexl.exe $(INSTALL_DIR)/bin 296 $(CP) $(BLD)/hexl.exe $(INSTALL_DIR)/bin
293 $(CP) $(BLD)/movemail.exe $(INSTALL_DIR)/bin 297 $(CP) $(BLD)/movemail.exe $(INSTALL_DIR)/bin
298 $(CP) $(BLD)/sorted-doc.exe $(INSTALL_DIR)/bin
299 $(CP) $(BLD)/digest-doc.exe $(INSTALL_DIR)/bin
294 - mkdir "$(INSTALL_DIR)/etc" 300 - mkdir "$(INSTALL_DIR)/etc"
295 $(CP) $(DOC) $(INSTALL_DIR)/etc 301 $(CP) $(DOC) $(INSTALL_DIR)/etc
296 302
@@ -446,7 +452,10 @@ $(BLD)/qsort.$(O) : \
446 $(SRC)/qsort.c 452 $(SRC)/qsort.c
447 453
448$(BLD)/sorted-doc.$(O) : \ 454$(BLD)/sorted-doc.$(O) : \
449 $(SRC)/sorted-doc.c 455 $(SRC)/sorted-doc.c \
456 $(EMACS_ROOT)/src/s/ms-w32.h \
457 $(EMACS_ROOT)/src/m/intel386.h \
458 $(EMACS_ROOT)/src/config.h \
450 459
451$(BLD)/tcp.$(O) : \ 460$(BLD)/tcp.$(O) : \
452 $(SRC)/tcp.c 461 $(SRC)/tcp.c