# HG changeset patch # User Jason Rumney # Date 975012833 0 # Node ID eacf4d6750aabc68f73076c95aea365429faa121 # Parent ca49851e0850f6e2e171fa5369c0dc1c0cab6110 (ebrowse): New target. (LOCAL_FLAGS): Add -DVERSION flag. diff -r ca49851e0850 -r eacf4d6750aa lib-src/makefile.w32-in --- a/lib-src/makefile.w32-in Thu Nov 23 20:42:46 2000 +0000 +++ b/lib-src/makefile.w32-in Thu Nov 23 20:53:53 2000 +0000 @@ -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 @@ 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 @@ $(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: $(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