[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LYNX-DEV Patch to support m88k
From: |
Thanh Ma |
Subject: |
LYNX-DEV Patch to support m88k |
Date: |
Sun, 20 Oct 1996 00:33:36 -0400 (EDT) |
This patch is based on lynx-2.6.
Both native cc and gcc-2.7.2.1 have been tested.
Thanh Ma
address@hidden
diff -u3 -r lynx2-6/Makefile lynx2-6.TM/Makefile
--- lynx2-6/Makefile Fri Aug 30 19:25:42 1996
+++ lynx2-6.TM/Makefile Sat Oct 19 17:58:28 1996
@@ -234,6 +234,8 @@
@echo "decstation -- for DEC Ultrix (same as ultrix)"
@echo "ultrix-slang -- for DEC Ultrix and color slang package"
@echo "decstation-slang -- for DEC Ultrix and color slang (same as
ultrix-slang)"
+ @echo "umaxv -- for Encore's UMAXV (SVR3.x) "
+ @echo "umaxv-slang -- for Encore's UMAXV and color slang package"
@echo "unixware -- for Novell's Unixware"
@echo "univell -- for Novell's Unixware"
@echo "unixware-slang -- for Unixware and color slang package"
@@ -541,6 +543,26 @@
LIBS="-lcurses -lsocket -linet -lnsl \
$(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
WWWLIB="../WWW/Library/ptx/libwww.a"
+
+# Contributed by Thanh Ma (address@hidden).
+umaxv:
+ cd WWW/Library/umaxv-m88k; $(MAKE) LYFLAGS="$(SITE_LYDEFS)"
+ cd src; $(MAKE) all CC="cc" MCFLAGS="-O -DFANCY_CURSES -DUNIX \
+ -D_SYSV3 -DHAVE_TERMIOS -DUSE_DIRENT -DNO_UTMP \
+ -I../$(WWWINC) $(SITE_DEFS)" \
+ LIBS="-lcurses \
+ $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
+ WWWLIB="../WWW/Library/umaxv-m88k/libwww.a"
+
+# Contributed by Thanh Ma (address@hidden).
+umaxv-slang:
+ cd WWW/Library/umaxv-m88k; $(MAKE) LYFLAGS="$(SITE_LYDEFS)"
+ cd src; $(MAKE) all CC="cc" MCFLAGS="-O -DUSE_SLANG -DUNIX \
+ -D_SYSV3 -DHAVE_TERMIOS -DUSE_DIRENT -DNO_UTMP \
+ -I../$(WWWINC) $(SITE_DEFS)" \
+ LIBS="$(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
+ WWWLIB="../WWW/Library/umaxv-m88k/libwww.a" \
+ SLANGLIB="$(SLANGLIB) -lslang -lm" SLANGINC="$(SLANGINC)"
unixware:
cd WWW/Library/svr4; $(MAKE) LYFLAGS="-DNO_BCOPY -DUNIXWARE \
diff -u3 -r lynx2-6/WWW/Library/Implementation/tcp.h
lynx2-6.TM/WWW/Library/Implementation/tcp.h
--- lynx2-6/WWW/Library/Implementation/tcp.h Wed Aug 28 16:40:34 1996
+++ lynx2-6.TM/WWW/Library/Implementation/tcp.h Sat Oct 19 15:59:59 1996
@@ -76,6 +76,11 @@
#define USE_DIRENT /* sys V style directory open */
#endif /* _IBMR2 */
+#ifdef _SYSV3
+#include <fcntl.h>
+#include <dirent.h>
+#endif /* _SYSV3 */
+
/* Solaris. */
#if defined(sun) && defined(__svr4__) && !defined(USE_DIRENT)
#define USE_DIRENT /* sys V style directory open */
diff -u3 -r lynx2-6/WWW/Library/unix/Makefile
lynx2-6.TM/WWW/Library/umaxv-m88k/Makefile
--- lynx2-6.TM/WWW/Library/unix/Makefile Sat Oct 19 22:14:01 1996
+++ lynx2-6.TM/WWW/Library/umaxv-m88k/Makefile Sat Oct 19 16:50:21 1996
@@ -2,13 +2,13 @@
# Use this as a template
# For W3 distribution, machine type for subdirectories
-WWW_MACH = unix
+WWW_MACH = umaxv-m88k
# The ASIS repository's name for the machine we are on
ASIS_MACH = hardware/os
-CFLAGS = -O -DDEBUG
+CFLAGS = -O -DDEBUG -D_SYSV3
LFLAGS =
CC = cc
;
; To UNSUBSCRIBE: Send a mail message to address@hidden
; with "unsubscribe lynx-dev" (without the
; quotation marks) on a line by itself.
;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- LYNX-DEV Patch to support m88k,
Thanh Ma <=