From d19249e73440f9908f79cf43bbf4f10dbe6e88cc Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Thu, 23 Nov 2000 20:56:49 +0000 Subject: [PATCH] (ebrowse): New target. (LOCAL_FLAGS): Add -DVERSION flag. --- lib-src/ChangeLog | 7 ++++++- lib-src/makefile.w32-in | 15 +++++++++++++-- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 3b683b8224f..d2a294d8646 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,3 +1,8 @@ +2000-11-23 Jason Rumney + + * makefile.w32-in: Add targets for ebrowse.exe. + (LOCAL_FLAGS): Add -DVERSION flag. + 2000-09-25 Dave Love * sorted-doc.c: Include config.h. @@ -4231,5 +4236,5 @@ Tue Jul 1 01:09:07 1997 Geoff Voelker * loadst.c (main) [XENIX]: use /usr/spool/mail, not /usr/mail. ;; Local Variables: -;; coding: iso-2022-7bit-unix +;; coding: iso-2022-7bit ;; End: diff --git a/lib-src/makefile.w32-in b/lib-src/makefile.w32-in index 3654e82d01f..807aca6e489 100644 --- a/lib-src/makefile.w32-in +++ b/lib-src/makefile.w32-in @@ -19,12 +19,13 @@ # Boston, MA 02111-1307, USA. # -ALL = make-docfile hexl ctags etags movemail fakemail +ALL = make-docfile hexl ctags etags movemail fakemail ebrowse .PHONY: $(ALL) LOCAL_FLAGS = -DWINDOWSNT -DDOS_NT -DSTDC_HEADERS=1 -DNO_LDAV=1 \ - -DNO_ARCHIVES=1 -DHAVE_CONFIG_H=1 -I../nt/inc -I../src + -DNO_ARCHIVES=1 -DHAVE_CONFIG_H=1 -I../nt/inc \ + -I../src -DVERSION="\"$(VERSION)\"" # don't know what (if) to do with these yet... # @@ -51,6 +52,7 @@ $(BLD)/fakemail.exe: $(BLD)/fakemail.$(O) $(BLD)/ntlib.$(O) make-docfile: $(BLD) $(BLD)/make-docfile.exe ctags: $(BLD) $(BLD)/ctags.exe etags: $(BLD) $(BLD)/etags.exe +ebrowse: $(BLD) $(BLD)/ebrowse.exe hexl: $(BLD) $(BLD)/hexl.exe movemail: $(BLD) $(BLD)/movemail.exe fakemail: $(BLD) $(BLD)/fakemail.exe @@ -76,6 +78,14 @@ $(BLD)/etags.exe: $(ETAGSOBJ) $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(ETAGSOBJ) $(LIBS) +EBROWSEOBJ = $(BLD)/ebrowse.$(O) \ + $(BLD)/getopt.$(O) \ + $(BLD)/getopt1.$(O) \ + $(BLD)/ntlib.$(O) + +$(BLD)/ebrowse.exe: $(EBROWSEOBJ) + $(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(EBROWSEOBJ) $(LIBS) + $(BLD)/regex.$(O): ../src/regex.c ../src/regex.h ../src/config.h $(CC) $(CFLAGS) -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER \ ../src/regex.c $(CC_OUT)$@ @@ -216,6 +226,7 @@ INSTALL_FILES = $(ALL) install: $(INSTALL_FILES) - mkdir "$(INSTALL_DIR)/bin" $(CP) $(BLD)/etags.exe $(INSTALL_DIR)/bin + $(CP) $(BLD)/ebrowse.exe $(INSTALL_DIR)/bin $(CP) $(BLD)/ctags.exe $(INSTALL_DIR)/bin $(CP) $(BLD)/hexl.exe $(INSTALL_DIR)/bin $(CP) $(BLD)/movemail.exe $(INSTALL_DIR)/bin -- 2.39.5