aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Rumney <[email protected]>2000-11-23 20:56:49 +0000
committerJason Rumney <[email protected]>2000-11-23 20:56:49 +0000
commitd19249e73440f9908f79cf43bbf4f10dbe6e88cc (patch)
treea900afb1b5423886e3a7b6bb1fc5cf187bcdf67c
parentcc362d7696cdec02097005bb20109facd0c39fe6 (diff)
(ebrowse): New target.
(LOCAL_FLAGS): Add -DVERSION flag.
-rw-r--r--lib-src/ChangeLog7
-rw-r--r--lib-src/makefile.w32-in15
2 files changed, 19 insertions, 3 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index 3b683b8224..d2a294d864 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,8 @@
+2000-11-23 Jason Rumney <[email protected]>
+
+ * makefile.w32-in: Add targets for ebrowse.exe.
+ (LOCAL_FLAGS): Add -DVERSION flag.
+
2000-09-25 Dave Love <[email protected]>
* sorted-doc.c: Include config.h.
@@ -4231,5 +4236,5 @@ Tue Jul 1 01:09:07 1997 Geoff Voelker <[email protected]>
* 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 3654e82d01..807aca6e48 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