comparison lib-src/makefile.w32-in @ 71197:4519c2f66b5a

(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.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 03 Jun 2006 15:29:05 +0000
parents 8c23537b2c82
children 1eb33156a937 a8190f7e546e
comparison
equal deleted inserted replaced
71196:ee0ba955e94b 71197:4519c2f66b5a
18 # along with GNU Emacs; see the file COPYING. If not, write to the 18 # along with GNU Emacs; see the file COPYING. If not, write to the
19 # Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 19 # Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 # Boston, MA 02110-1301, USA. 20 # Boston, MA 02110-1301, USA.
21 # 21 #
22 22
23 ALL = make-docfile hexl ctags etags movemail ebrowse 23 ALL = make-docfile hexl ctags etags movemail ebrowse sorted-doc digest-doc
24 24
25 .PHONY: $(ALL) 25 .PHONY: $(ALL)
26 26
27 LOCAL_FLAGS = -DWINDOWSNT -DDOS_NT -DSTDC_HEADERS=1 -DNO_LDAV=1 \ 27 LOCAL_FLAGS = -DWINDOWSNT -DDOS_NT -DSTDC_HEADERS=1 -DNO_LDAV=1 \
28 -DNO_ARCHIVES=1 -DHAVE_CONFIG_H=1 -I../nt/inc \ 28 -DNO_ARCHIVES=1 -DHAVE_CONFIG_H=1 -I../nt/inc \
29 -I../src 29 -I../src
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
42 LIBS = $(BASE_LIBS) $(ADVAPI32) 38 LIBS = $(BASE_LIBS) $(ADVAPI32)
43 39
44 $(BLD)/make-docfile.exe: $(BLD)/make-docfile.$(O) $(BLD)/ntlib.$(O) 40 $(BLD)/make-docfile.exe: $(BLD)/make-docfile.$(O) $(BLD)/ntlib.$(O)
45 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/make-docfile.$(O) $(BLD)/ntlib.$(O) $(LIBS) 41 $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/make-docfile.$(O) $(BLD)/ntlib.$(O) $(LIBS)
46 $(BLD)/hexl.exe: $(BLD)/hexl.$(O) 42 $(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
51 make-docfile: $(BLD) $(BLD)/make-docfile.exe 53 make-docfile: $(BLD) $(BLD)/make-docfile.exe
52 ctags: $(BLD) $(BLD)/ctags.exe 54 ctags: $(BLD) $(BLD)/ctags.exe
53 etags: $(BLD) $(BLD)/etags.exe 55 etags: $(BLD) $(BLD)/etags.exe
54 ebrowse: $(BLD) $(BLD)/ebrowse.exe 56 ebrowse: $(BLD) $(BLD)/ebrowse.exe
55 hexl: $(BLD) $(BLD)/hexl.exe 57 hexl: $(BLD) $(BLD)/hexl.exe
56 movemail: $(BLD) $(BLD)/movemail.exe 58 movemail: $(BLD) $(BLD)/movemail.exe
57 fakemail: $(BLD) $(BLD)/fakemail.exe 59 fakemail: $(BLD) $(BLD)/fakemail.exe
60 sorted-doc: $(BLD) $(BLD)/sorted-doc.exe
61 digest-doc: $(BLD) $(BLD)/digest-doc.exe
62
63 test-distrib: $(BLD) $(BLD)/test-distrib.exe
64 "$(BLD)/test-distrib.exe" "$(SRC)/testfile"
58 65
59 GETOPTOBJS = $(BLD)/getopt.$(O) $(BLD)/getopt1.$(O) 66 GETOPTOBJS = $(BLD)/getopt.$(O) $(BLD)/getopt1.$(O)
60 GETOPTDEPS = $(GETOPTOBJS) getopt.h 67 GETOPTDEPS = $(GETOPTOBJS) getopt.h
61 MOVEMAILOBJS = $(BLD)/movemail.$(O) \ 68 MOVEMAILOBJS = $(BLD)/movemail.$(O) \
62 $(BLD)/pop.$(O) \ 69 $(BLD)/pop.$(O) \
111 $(CC) $(CFLAGS) $(CTAGS_CFLAGS) $(CC_OUT)$@ ctags.c 118 $(CC) $(CFLAGS) $(CTAGS_CFLAGS) $(CC_OUT)$@ ctags.c
112 119
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
127 # It doesn't matter if the real name is *.obj for the files in this list, 131 # It doesn't matter if the real name is *.obj for the files in this list,
128 # make-docfile blindly replaces .o with .c anyway. Keep .o in this list 132 # make-docfile blindly replaces .o with .c anyway. Keep .o in this list
289 $(CP) $(BLD)/etags.exe $(INSTALL_DIR)/bin 293 $(CP) $(BLD)/etags.exe $(INSTALL_DIR)/bin
290 $(CP) $(BLD)/ebrowse.exe $(INSTALL_DIR)/bin 294 $(CP) $(BLD)/ebrowse.exe $(INSTALL_DIR)/bin
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
297 # 303 #
298 # Maintenance 304 # Maintenance
444 450
445 $(BLD)/qsort.$(O) : \ 451 $(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
453 462
454 $(BLD)/test-distrib.$(O) : \ 463 $(BLD)/test-distrib.$(O) : \