+2000-11-23 Jason Rumney <jasonr@gnu.org>
+
+ * makefile.w32-in: Add targets for ebrowse.exe.
+ (LOCAL_FLAGS): Add -DVERSION flag.
+
2000-09-25 Dave Love <fx@gnu.org>
* sorted-doc.c: Include config.h.
* loadst.c (main) [XENIX]: use /usr/spool/mail, not /usr/mail.
;; Local Variables:
-;; coding: iso-2022-7bit-unix
+;; coding: iso-2022-7bit
;; End:
# 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...
#
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
$(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)$@
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