[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LYNX-DEV set of changes to Makefile
From: |
Larry W. Virden, x2487 |
Subject: |
LYNX-DEV set of changes to Makefile |
Date: |
Sat, 26 Oct 1996 07:42:02 -0400 |
here are a few changes to the Makefile distributed with lynx2-6.zip.
It provides a bit more generalization of hard coded paths in the Makefile
as well as fixes a bug in the freebsd makefile entry.
*** Makefile-dist Sat Oct 26 05:30:46 1996
--- Makefile Sat Oct 26 07:40:23 1996
***************
*** 4,29 ****
##uncomment the next line if your make fails to set $(MAKE)
#MAKE= make
##this is the name of the directory the lynx source code is in.
##(e.g. lynx2-6, not the full path)
lynxdir= lynx2-6
##change the next line if you want lynx installed somewhere
! ##besides /usr/local/bin
! exec= /usr/local/bin
##change the next line if you want the lynx man file installed somewhere
! ##besides /usr/local/man/man1
! doc= /usr/local/man/man1
##change the next line if you want the lynx.cfg file installed somewhere
! ##besides /usr/local/lib
! cfg= /usr/local/lib
installbin= install -c -s -m 555
installdoc= install -c -m 444
##set the relative location of the WWW library Implementation directory,
##from this directory
##do not set this to be an absolute path!!!
--- 4,86 ----
##uncomment the next line if your make fails to set $(MAKE)
#MAKE= make
+ # Set CCFLAGS= -g if you need the debugging output of cc in your program
+ # or any other special flags you need.
+ #CCFLAGS= -O # Optimise flags for generic compiler
+ #CCFLAGS= -fast -xO3 # Optimise flags for Sun's SunOS4.x compilers
+ CCFLAGS= -fast -xO4 -xdepend # Optimise flags for Sun's SunOS5 4.x compilers
+ CCFLAGS= -fast -xO4 # Optimise flags for Sun's SunOS4 4.x compilers
+
+ # Set LDFLAGS= #-s if you need the debugging output of the linker lynx
+ LDFLAGS= -s
+ # Set CCFLAGS= -g if you need the debugging output of cc in your program
+ # or any other special flags you need.
+ #CCFLAGS= -O # Optimise flags for generic compiler
+ #CCFLAGS= -fast -xO3 # Optimise flags for Sun's SunOS4.x compilers
+ CCFLAGS= -fast -xO4 # Optimise flags for Sun's SunOS4 4.x compilers
+ CCFLAGS= -fast -xO4 -xdepend # Optimise flags for Sun's SunOS5 4.x compilers
+
+ # Set LDFLAGS= #-s if you need the debugging output of the linker lynx
+ LDFLAGS= -s
##this is the name of the directory the lynx source code is in.
##(e.g. lynx2-6, not the full path)
lynxdir= lynx2-6
+ root= /usr/local
+ root= /projects/sprs_lwv/ # SunOS 4
+ root= /projects/sprs_lwv/sol2
+
##change the next line if you want lynx installed somewhere
! ##besides $(root)/bin
! exec= $(root)/bin
##change the next line if you want the lynx man file installed somewhere
! ##besides $(root)/man/man1
! doc= $(root)/man/man1
##change the next line if you want the lynx.cfg file installed somewhere
! ##besides $(root)/lib
! cfg= $(root)/lib
! cfg= $(root)/lib/lynx
installbin= install -c -s -m 555
installdoc= install -c -m 444
+ ##change the next lines if you have ncurses installed somewhere.
+ # Set the NINCLUDE, NLIBDIR and NLIB symbols to the flags appropriate
+ # to where you install ncurses on your system.
+ #NINCLUDE= -I/usr/local/include
+ #NLIBDIR= -L/usr/local/lib #-R/usr/local/lib # use -R on ELF systems
+ #NLIB= -lncurses -ltermcap # SunOS 4.x, NeXT
+ #NLIB= -lncurses -lmytinfo # Convex
+ #NLIB= -lncurses -lcompat -ltermcap # NetBSD
+ #NLIB= -lncurses # BSDi, Linux
+
+ NINCLUDE= -I/projects/gnu/$(GNUOS)/include
+ NLIBDIR= -L/projects/gnu/$(GNUOS)/lib # SunOS 4
+ NLIBDIR= -L/projects/gnu/$(GNUOS)/lib -R/projects/gnu/$(GNUOS)/lib # SunOS 5
+ NLIB= -lncurses -ltermcap
+
+
+
+ ##change the next lines if you have ncurses installed somewhere.
+ # Set the NINCLUDE, NLIBDIR and NLIB symbols to the flags appropriate
+ # to where you install ncurses on your system.
+ #NINCLUDE= -I/usr/local/include
+ #NLIBDIR= -L/usr/local/lib #-R/usr/local/lib # use -R on ELF systems
+ #NLIB= -lncurses -ltermcap # SunOS 4.x, NeXT
+ #NLIB= -lncurses -lmytinfo # Convex
+ #NLIB= -lncurses -lcompat -ltermcap # NetBSD
+ #NLIB= -lncurses # BSDi, Linux
+
+ NINCLUDE= -I/projects/gnu/$(GNUOS)/include
+ NLIBDIR= -L/projects/gnu/$(GNUOS)/lib -R/projects/gnu/$(GNUOS)/lib # SunOS 5
+ NLIBDIR= -L/projects/gnu/$(GNUOS)/lib # SunOS 4
+ NLIB= -lncurses -ltermcap
+
+
+
##set the relative location of the WWW library Implementation directory,
##from this directory
##do not set this to be an absolute path!!!
***************
*** 49,55 ****
# -DSHORTENED_RBIND in your SITE_LYDEFS and SITE_DEFS. If you do
# SOCKSify lynx, you can turn off SOCKS proxy usage via a -nosocks
# command line switch.
! #SOCKSLIB= /usr/local/lib/libsocks.a
# !!!!!!!!!!!!! DIRECT WAIS ACCESS !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# If you are adding direct wais access you must fill in the
--- 106,112 ----
# -DSHORTENED_RBIND in your SITE_LYDEFS and SITE_DEFS. If you do
# SOCKSify lynx, you can turn off SOCKS proxy usage via a -nosocks
# command line switch.
! #SOCKSLIB= $(root)/lib/libsocks.a
# !!!!!!!!!!!!! DIRECT WAIS ACCESS !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# If you are adding direct wais access you must fill in the
***************
*** 71,79 ****
# and headers (slang.h and slcurses.h) here. They may be left commented
# out if the library and headers are in their canonical locations (usr/lib,
# and usr/include).
! #SLANGINC = -I../../slang/src# location of slang.h and slcurses.h
! #SLANGLIB = -L../../slang/src/$(ARCH)objs# location of libslang.a
! #SLANGRRLIB = -R../../slang/src/$(ARCH)objs# for solaris
# !!!!!!!!!!! Lynx Local Directory Listing Formats !!!!!!!!!!!!!!!!!!!!!!!!!!!
# Lynx supports "ls -l" format for local directory listings on Unix if the
--- 128,144 ----
# and headers (slang.h and slcurses.h) here. They may be left commented
# out if the library and headers are in their canonical locations (usr/lib,
# and usr/include).
! SLANGINC = -I/usr/local/lib/slang/src
! SLANGLIB = -L/usr/local/lib
! #SLANGRRLIB = -R../../slangrc/$(ARCH)objs# for solaris
!
! SLANGINC = -I/projects/sprs_lwv/sol2/include
! SLANGLIB = -L/projects/sprs_lwv/sol2/lib
! SLANGRRLIB = -R/projects/sprs_lwv/sol2/lib # for solaris
!
!
! # I have no idea what this is for, but at least two actions use it.
! ADDFLAGS=
# !!!!!!!!!!! Lynx Local Directory Listing Formats !!!!!!!!!!!!!!!!!!!!!!!!!!!
# Lynx supports "ls -l" format for local directory listings on Unix if the
***************
*** 180,194 ****
all:
@echo
@echo "Please run make with one of the following arguments"
- @echo "aix4 -- for RS/6000 running AIX 4.n and some 3.2"
- @echo "aix32 -- for RS/6000 running AIX 3.2"
@echo "aix31 -- for RS/6000 running AIX 3.1 with curses bug"
@echo "apollo -- apollo systems (untested)"
@echo "bsdi -- BSD Interactive"
@echo "bsdi-ncurses -- BSD/OS(v2.0 or later) using ncurses(v1.9.4 or
later) package."
@echo "clix -- for Intergraph CLIX"
@echo "convex -- for Convex C-series"
@echo "convex-ncurses -- for Convex C-series with ncurses package"
@echo "dgux -- for DGUX "
@echo "freebsd -- for FreeBSD"
@echo "freebsd-ncurses -- for FreeBSD using ncurses package"
--- 245,261 ----
all:
@echo
@echo "Please run make with one of the following arguments"
@echo "aix31 -- for RS/6000 running AIX 3.1 with curses bug"
+ @echo "aix32 -- for RS/6000 running AIX 3.2"
+ @echo "aix4 -- for RS/6000 running AIX 4.n and some 3.2"
@echo "apollo -- apollo systems (untested)"
@echo "bsdi -- BSD Interactive"
@echo "bsdi-ncurses -- BSD/OS(v2.0 or later) using ncurses(v1.9.4 or
later) package."
@echo "clix -- for Intergraph CLIX"
@echo "convex -- for Convex C-series"
@echo "convex-ncurses -- for Convex C-series with ncurses package"
+ @echo "decstation -- for DEC Ultrix (same as ultrix)"
+ @echo "decstation-slang -- for DEC Ultrix and color slang (same as
ultrix-slang)"
@echo "dgux -- for DGUX "
@echo "freebsd -- for FreeBSD"
@echo "freebsd-ncurses -- for FreeBSD using ncurses package"
***************
*** 209,245 ****
@echo "osf-slang -- for Alpha OSF/1 with color slang package"
@echo "ptx -- for Sequent's DYNIX/ptx, version 4, (current
version)"
@echo "ptx-slang -- for Sequent's DYNIX/ptx, version 4, with color
slang package"
- @echo "ptx -- for Sequent's DYNIX/ptx, current version"
@echo "ptx2 -- for Sequent's DYNIX/ptx, version 2"
@echo "riscos -- Control Data Unix machine running EP/IX"
@echo "sco -- for SCO machines"
@echo "sco5 -- for SCO OpenServer Release 5 machines"
@echo "sgi -- for SGI machines"
- @echo "sun3 -- for SUN 3 OS with System V curses"
- @echo "sun4 -- for SUN 4 OS with System V curses"
- @echo "sun4-ncurses -- for SUN 4 OS using ncurses package"
- @echo "sun4-pure -- for SUN 4 OS with PURIFY and System V curses"
- @echo "sun4-slang -- for SUN 4 OS with color slang package"
- @echo "svr4 -- for SVR4"
@echo "snake -- for HP-UX lt 9.01 (gcc)"
@echo "snake2 -- for HP-UX gte 9.01 (gcc)"
@echo "snake2-slang -- for HP-UX gte 9.01 (gcc) with color slang"
@echo "snake3 -- for HP-UX (purchased compiler)"
@echo "snake3-slang -- for HP-UX (purchased compiler) with color slang"
@echo "solaris2 -- for solaris 2.x"
! @echo "solaris2cc -- for Solaris 2.x using Sun's unbundled C compiler"
@echo "solaris2-slang -- for Solaris 2 and color slang package"
@echo "solaris2-slangcc -- for Solaris 2 slang using Sun's unbundled C
compiler"
@echo "ultrix -- for DEC Ultrix"
- @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"
@echo "univell-slang -- for Unixware and color slang package"
@echo "clean -- removes all '.o' and 'core' files"
@echo "tar -- runs clean, removes executable, and tars the whole
directory"
@echo "compress -- runs tar, then compresses the result"
--- 276,310 ----
@echo "osf-slang -- for Alpha OSF/1 with color slang package"
@echo "ptx -- for Sequent's DYNIX/ptx, version 4, (current
version)"
@echo "ptx-slang -- for Sequent's DYNIX/ptx, version 4, with color
slang package"
@echo "ptx2 -- for Sequent's DYNIX/ptx, version 2"
@echo "riscos -- Control Data Unix machine running EP/IX"
@echo "sco -- for SCO machines"
@echo "sco5 -- for SCO OpenServer Release 5 machines"
@echo "sgi -- for SGI machines"
@echo "snake -- for HP-UX lt 9.01 (gcc)"
@echo "snake2 -- for HP-UX gte 9.01 (gcc)"
@echo "snake2-slang -- for HP-UX gte 9.01 (gcc) with color slang"
@echo "snake3 -- for HP-UX (purchased compiler)"
@echo "snake3-slang -- for HP-UX (purchased compiler) with color slang"
@echo "solaris2 -- for solaris 2.x"
! @echo "solaris2-ncurses -- for Solaris 2 ncurses using Sun's unbundled
C compiler"
@echo "solaris2-slang -- for Solaris 2 and color slang package"
@echo "solaris2-slangcc -- for Solaris 2 slang using Sun's unbundled C
compiler"
+ @echo "solaris2cc -- for Solaris 2.x using Sun's unbundled C compiler"
+ @echo "sun3 -- for SUN 3 OS with System V curses"
+ @echo "sun4 -- for SUN 4 OS with System V curses"
+ @echo "sun4-ncurses -- for SUN 4 OS using ncurses package"
+ @echo "sun4-pure -- for SUN 4 OS with PURIFY and System V curses"
+ @echo "sun4-slang -- for SUN 4 OS with color slang package"
+ @echo "svr4 -- for SVR4"
@echo "ultrix -- for DEC Ultrix"
@echo "ultrix-slang -- for DEC Ultrix and color slang package"
@echo "umaxv -- for Encore's UMAXV (SVR3.x) "
@echo "umaxv-slang -- for Encore's UMAXV and color slang package"
@echo "univell -- for Novell's Unixware"
@echo "univell-slang -- for Unixware and color slang package"
+ @echo "unixware -- for Novell's Unixware"
+ @echo "unixware-slang -- for Unixware and color slang package"
@echo "clean -- removes all '.o' and 'core' files"
@echo "tar -- runs clean, removes executable, and tars the whole
directory"
@echo "compress -- runs tar, then compresses the result"
***************
*** 261,267 ****
#SITE_LIBS= # Your libraries here (remove the "#")
# Set SITE_LYDEFS to one or more of the defines for the WWW Library:
! SITE_LYDEFS = $(DIR_LYDEFS) # Your defines here (remove the "#")
# Set SITE_DEFS to one or more of the defines for lynx below:
SITE_DEFS = $(DIR_DEFS) # Your defines here (remove the "#")
--- 326,332 ----
#SITE_LIBS= # Your libraries here (remove the "#")
# Set SITE_LYDEFS to one or more of the defines for the WWW Library:
! SITE_LYDEFS = -DNSL_FORK $(DIR_LYDEFS) # Your defines here (remove the "#")
# Set SITE_DEFS to one or more of the defines for lynx below:
SITE_DEFS = $(DIR_DEFS) # Your defines here (remove the "#")
***************
*** 290,295 ****
--- 355,361 ----
# -DSHORTENED_RBIND For a SOCKSified lynx with the short version of Rbind.
# -DNO_UNISTD_H if you don't have <unistd.h>
# -DNOPORT if you must use PASV instead of PORT for FTP
+ # -DNSL_FORK if you have a unixish system, so you can abort name lookups.
#
# if you are linking to freeWAIS-0.202 or older, you should define this
# in MCFLAGS (SITE_DEFS)
***************
*** 326,333 ****
#generic machines with original Berkeley curses
generic:
@echo "You must first compile the WWW library in WWW/Library"
! cd WWW/Library/unix; $(MAKE) LYFLAGS="$(SITE_LYDEFS)"
! cd src; $(MAKE) all CC="cc" MCFLAGS="-O -DFANCY_CURSES -DUNIX \
-I../$(WWWINC) $(SITE_DEFS)" \
LIBS="-lcurses -ltermcap \
$(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
--- 392,401 ----
#generic machines with original Berkeley curses
generic:
@echo "You must first compile the WWW library in WWW/Library"
! cd WWW/Library/unix; $(MAKE) LYFLAGS="$(CCFLAGS) \
! $(SITE_LYDEFS)"
! cd src; $(MAKE) all CC="cc" MCFLAGS="$(CCFLAGS) $(LDFLAGS) \
! -DFANCY_CURSES -DUNIX \
-I../$(WWWINC) $(SITE_DEFS)" \
LIBS="-lcurses -ltermcap \
$(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
***************
*** 338,346 ****
# to be edited and renamed to conform with the Intergraph CLIX 14
# character file name limit.
clix:
! cd WWW/Library/clix; $(MAKE) LYFLAGS="$(SITE_LYDEFS)"
! cd src; $(MAKE) all CC="cc" MCFLAGS="-O -DFANCY_CURSES -DUNIX -DUSG \
! -DCLIX -DNO_UTMP \
-I../$(WWWINC) $(SITE_DEFS)" \
LIBS="-lmalloc -lcurses -ltermcap -lbsd -lc_s \
$(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
--- 406,415 ----
# to be edited and renamed to conform with the Intergraph CLIX 14
# character file name limit.
clix:
! cd WWW/Library/clix; $(MAKE) LYFLAGS="$(CCFLAGS) \
! $(SITE_LYDEFS)"
! cd src; $(MAKE) all CC="cc" MCFLAGS="$(CCFLAGS) $(LDFLAGS) \
! -DFANCY_CURSES -DUNIX -DUSG -DCLIX -DNO_UTMP \
-I../$(WWWINC) $(SITE_DEFS)" \
LIBS="-lmalloc -lcurses -ltermcap -lbsd -lc_s \
$(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
***************
*** 349,356 ****
# Tested on C3 series under ConvexOS 10.1, CC V5.0;
# Should work on other C-series
convex:
! cd WWW/Library/convex; $(MAKE) LYFLAGS="$(SITE_LYDEFS)"
! cd src; $(MAKE) all CC="cc" MCFLAGS="-O \
-D__STDC__ \
-DNO_PUTENV -DNO_CBREAK -DNO_KEYPAD -DUSE_DIRENT -DUNIX \
-DSTDC_HEADERS -I../$(WWWINC) $(SITE_DEFS)" \
--- 418,426 ----
# Tested on C3 series under ConvexOS 10.1, CC V5.0;
# Should work on other C-series
convex:
! cd WWW/Library/convex; $(MAKE) LYFLAGS="$(CCFLAGS) \
! $(SITE_LYDEFS)"
! cd src; $(MAKE) all CC="cc" MCFLAGS="$(CCFLAGS) $(LDFLAGS) \
-D__STDC__ \
-DNO_PUTENV -DNO_CBREAK -DNO_KEYPAD -DUSE_DIRENT -DUNIX \
-DSTDC_HEADERS -I../$(WWWINC) $(SITE_DEFS)" \
***************
*** 359,372 ****
WWWLIB="../WWW/Library/convex/libwww.a"
convex-ncurses:
! cd WWW/Library/convex; $(MAKE) LYFLAGS="$(SITE_LYDEFS)"
! cd src; $(MAKE) all CC="cc" MCFLAGS="-O \
! -I/usr/local/include \
! -DNCURSES -DFANCY_CURSES \
-D__STDC__ \
-DNO_PUTENV -DNO_CBREAK -DNO_KEYPAD -DUSE_DIRENT -DUNIX \
! -DSTDC_HEADERS -I../$(WWWINC) $(SITE_DEFS)" \
! LIBS="-L/usr/local/lib -lncurses -ltermcap \
$(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
WWWLIB="../WWW/Library/convex/libwww.a"
--- 429,443 ----
WWWLIB="../WWW/Library/convex/libwww.a"
convex-ncurses:
! cd WWW/Library/convex; $(MAKE) LYFLAGS="$(CCFLAGS) \
! $(SITE_LYDEFS)"
! cd src; $(MAKE) all CC="cc" MCFLAGS="$(CCFLAGS) $(LDFLAGS) \
-D__STDC__ \
+ -DSTDC_HEADERS \
-DNO_PUTENV -DNO_CBREAK -DNO_KEYPAD -DUSE_DIRENT -DUNIX \
! -DNCURSES -DFANCY_CURSES \
! $(NINCLUDE) -I../$(WWWINC) $(SITE_DEFS)" \
! LIBS="$(NLIBDIR) $(NLIB) \
$(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
WWWLIB="../WWW/Library/convex/libwww.a"
***************
*** 391,397 ****
# FreeBSD doesn't have or need ranlib. (ignore the error message about that :)
freebsd:
cd WWW/Library/freebsd; $(MAKE) LYFLAGS="$(SITE_LYDEFS)"
! cd src; $(MAKE) all CC="cc" MCFLAGS="-O -DUNIX -DNO_KEYPAD -DNO_CUSERID
\
-I../$(WWWINC) $(SITE_DEFS)"\
LIBS="-lcurses -ltermcap \
$(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
--- 462,469 ----
# FreeBSD doesn't have or need ranlib. (ignore the error message about that :)
freebsd:
cd WWW/Library/freebsd; $(MAKE) LYFLAGS="$(SITE_LYDEFS)"
! cd src; $(MAKE) all CC="cc" MCFLAGS="$(CCFLAGS) $(LDFLAGS) \
! -O -DUNIX -DNO_KEYPAD -DNO_CUSERID \
-I../$(WWWINC) $(SITE_DEFS)"\
LIBS="-lcurses -ltermcap \
$(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
***************
*** 400,406 ****
# FreeBSD doesn't have or need ranlib. (ignore the error message about that :)
freebsd-ncurses:
cd WWW/Library/freebsd; $(MAKE) LYFLAGS="$(SITE_LYDEFS)"
! cd src; $(MAKE) all MCFLAGS="$(CFLAGS) -DFANCY_CURSES -DNCURSES -DUNIX \
-DNO_TTYTYPE -DNO_CUSERID -DLOCALE \
-I../$(WWWINC) $(SITE_DEFS)" \
LIBS="-lncurses -lmytinfo \
--- 472,478 ----
# FreeBSD doesn't have or need ranlib. (ignore the error message about that :)
freebsd-ncurses:
cd WWW/Library/freebsd; $(MAKE) LYFLAGS="$(SITE_LYDEFS)"
! cd src; $(MAKE) all MCFLAGS="$(CCFLAGS) -DFANCY_CURSES -DNCURSES -DUNIX
\
-DNO_TTYTYPE -DNO_CUSERID -DLOCALE \
-I../$(WWWINC) $(SITE_DEFS)" \
LIBS="-lncurses -lmytinfo \
***************
*** 521,526 ****
--- 593,618 ----
$(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)"
+
# SEQUENT doesn't have or need ranlib. (ignore the error message about that :)
ptx-slang:
cd WWW/Library/ptx; $(MAKE) $(MFLAGS) LYFLAGS="-DNO_BCOPY \
***************
*** 544,569 ****
$(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 \
$(SITE_LYDEFS)"
--- 636,641 ----
***************
*** 635,646 ****
# define RESOLVLIB (above) for the "LIBS" entry if needed
# Solaris2 doesn't have or need ranlib. (ignore the error message about that
:)
! # (Solaris 2.5 and later actually have a ranlib program - but it does
# nothing and is only there to make Makefiles like this one happy)
solaris2:
! cd WWW/Library/solaris2; $(MAKE) CC="gcc" LYFLAGS="$(SITE_LYDEFS)"
! cd src; $(MAKE) all CC="gcc" MCFLAGS="-O -DFANCY_CURSES -DUNIX -DSVR4 \
! -DSOLARIS2 -DCURS_PERFORMANCE -DUTMPX_FOR_UTMP -DUSE_DIRENT \
-DLOCALE -DHAVE_TERMIOS_H \
-I../$(WWWINC) $(SITE_DEFS)" \
LIBS="-L/usr/ccs/lib -R/usr/ccs/lib -lcurses -lnsl -lsocket \
--- 707,721 ----
# define RESOLVLIB (above) for the "LIBS" entry if needed
# Solaris2 doesn't have or need ranlib. (ignore the error message about that
:)
! # (Solaris 2.5 and later actually have a ranlib program - but it does
# nothing and is only there to make Makefiles like this one happy)
solaris2:
! cd WWW/Library/solaris2; $(MAKE) CC="gcc" LYFLAGS="$(CCFLAGS) \
! $(SITE_LYDEFS)"
! cd src; $(MAKE) all CC="gcc" MCFLAGS="$(CCFLAGS) $(LDFLAGS) \
! -DUNIX -DSOLARIS2 -DSVR4 \
! -DFANCY_CURSES -DCURS_PERFORMANCE \
! -DUTMPX_FOR_UTMP -DUSE_DIRENT \
-DLOCALE -DHAVE_TERMIOS_H \
-I../$(WWWINC) $(SITE_DEFS)" \
LIBS="-L/usr/ccs/lib -R/usr/ccs/lib -lcurses -lnsl -lsocket \
***************
*** 651,659 ****
# define RESOLVLIB (above) for the "LIBS" entry if needed
# Solaris2 doesn't have or need ranlib. (ignore the error message about that
:)
solaris2cc:
! cd WWW/Library/solaris2; $(MAKE) CC="cc" LYFLAGS="$(SITE_LYDEFS)"
! cd src; $(MAKE) all CC="cc" MCFLAGS="-O -DFANCY_CURSES -DUNIX -DSVR4 \
! -DSOLARIS2 -DCURS_PERFORMANCE -DUTMPX_FOR_UTMP -DUSE_DIRENT \
-DLOCALE -DHAVE_TERMIOS_H \
-I../$(WWWINC) $(SITE_DEFS)" \
LIBS="-L/usr/ccs/lib -R/usr/ccs/lib -lcurses -lnsl -lsocket \
--- 726,737 ----
# define RESOLVLIB (above) for the "LIBS" entry if needed
# Solaris2 doesn't have or need ranlib. (ignore the error message about that
:)
solaris2cc:
! cd WWW/Library/solaris2; $(MAKE) CC="cc" LYFLAGS="$(CCFLAGS) \
! $(SITE_LYDEFS)"
! cd src; $(MAKE) all CC="cc" MCFLAGS="$(CCFLAGS) $(LDFLAGS) \
! -DUNIX -DSVR4 -DSOLARIS2 \
! -DFANCY_CURSES -DCURS_PERFORMANCE \
! -DUTMPX_FOR_UTMP -DUSE_DIRENT \
-DLOCALE -DHAVE_TERMIOS_H \
-I../$(WWWINC) $(SITE_DEFS)" \
LIBS="-L/usr/ccs/lib -R/usr/ccs/lib -lcurses -lnsl -lsocket \
***************
*** 663,672 ****
# define RESOLVLIB (above) for the "LIBS" entry if needed
# Solaris2 doesn't have or need ranlib. (ignore the error message about that
:)
solaris2-slang:
! cd WWW/Library/solaris2; $(MAKE) CC="gcc" LYFLAGS="$(SITE_LYDEFS)"
! cd src; $(MAKE) all CC="gcc" MCFLAGS="-O -DUNIX -DSVR4 -DSOLARIS2 \
! -DUSE_SLANG -DCURS_PERFORMANCE -DUTMPX_FOR_UTMP -DUSE_DIRENT \
-DLOCALE -DHAVE_TERMIOS_H \
-I../$(WWWINC) $(SITE_DEFS)" \
LIBS="-L/usr/ccs/lib -R/usr/ccs/lib -lcurses -lnsl -lsocket \
$(RESOLVLIB) $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
--- 741,753 ----
# define RESOLVLIB (above) for the "LIBS" entry if needed
# Solaris2 doesn't have or need ranlib. (ignore the error message about that
:)
solaris2-slang:
! cd WWW/Library/solaris2; $(MAKE) CC="gcc" LYFLAGS="$(CCFLAGS) \
! (SITE_LYDEFS)"
! cd src; $(MAKE) all CC="gcc" MCFLAGS="$(CCFLAGS) $(LDFLAGS) \
! -DUNIX -DSVR4 -DSOLARIS2 \
! -DCURS_PERFORMANCE -DUTMPX_FOR_UTMP -DUSE_DIRENT \
-DLOCALE -DHAVE_TERMIOS_H \
+ -DUSE_SLANG \
-I../$(WWWINC) $(SITE_DEFS)" \
LIBS="-L/usr/ccs/lib -R/usr/ccs/lib -lcurses -lnsl -lsocket \
$(RESOLVLIB) $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
***************
*** 674,694 ****
SLANGLIB="$(SLANGLIB) $(SLANGRRLIB) -lslang -lm" \
SLANGINC="$(SLANGINC)"
- # Solaris 2 slang using Sun's unbundled C compiler
# define RESOLVLIB (above) for the "LIBS" entry if needed
# Solaris2 doesn't have or need ranlib. (ignore the error message about that
:)
solaris2-slangcc:
! cd WWW/Library/solaris2; $(MAKE) CC="cc" LYFLAGS="$(SITE_LYDEFS)"
! cd src; $(MAKE) all CC="cc" MCFLAGS="-O -DUNIX -DSVR4 -DSOLARIS2 \
! -DUSE_SLANG -DCURS_PERFORMANCE -DUTMPX_FOR_UTMP -DUSE_DIRENT \
-DLOCALE -DHAVE_TERMIOS_H \
-I../$(WWWINC) $(SITE_DEFS)" \
LIBS="-L/usr/ccs/lib -R/usr/ccs/lib -lcurses -lnsl -lsocket \
$(RESOLVLIB) $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
WWWLIB="../WWW/Library/solaris2/libwww.a" \
SLANGLIB="$(SLANGLIB) $(SLANGRRLIB) -lslang -lm" \
SLANGINC="$(SLANGINC)"
!
osf:
cd WWW/Library/osf; $(MAKE) LYFLAGS="$(SITE_LYDEFS)"
cd src; $(MAKE) all CC="cc" MCFLAGS="-O -DFANCY_CURSES -DUNIX \
--- 755,794 ----
SLANGLIB="$(SLANGLIB) $(SLANGRRLIB) -lslang -lm" \
SLANGINC="$(SLANGINC)"
# define RESOLVLIB (above) for the "LIBS" entry if needed
# Solaris2 doesn't have or need ranlib. (ignore the error message about that
:)
solaris2-slangcc:
! cd WWW/Library/solaris2; $(MAKE) CC="cc" LYFLAGS="$(CCFLAGS) \
! $(SITE_LYDEFS)"
! cd src; $(MAKE) all CC="cc" MCFLAGS="$(CCFLAGS) $(LDFLAGS) \
! -DUNIX -DSVR4 -DSOLARIS2 \
! -DCURS_PERFORMANCE -DUTMPX_FOR_UTMP -DUSE_DIRENT \
-DLOCALE -DHAVE_TERMIOS_H \
+ -DUSE_SLANG -DSLSC -DSLCS \
-I../$(WWWINC) $(SITE_DEFS)" \
LIBS="-L/usr/ccs/lib -R/usr/ccs/lib -lcurses -lnsl -lsocket \
$(RESOLVLIB) $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
WWWLIB="../WWW/Library/solaris2/libwww.a" \
SLANGLIB="$(SLANGLIB) $(SLANGRRLIB) -lslang -lm" \
SLANGINC="$(SLANGINC)"
!
! # Solaris 2 ncurses using Sun's unbundled C compiler
! # define RESOLVLIB (above) for the "LIBS" entry if needed
! # Solaris2 doesn't have or need ranlib. (ignore the error message about that
:)
! solaris2-ncurses:
! cd WWW/Library/solaris2; $(MAKE) CC="cc" LYFLAGS="$(CCFLAGS) \
! $(SITE_LYDEFS)"
! cd src; $(MAKE) all CC="cc" MCFLAGS="$(CCFLAGS) $(LDFLAGS) \
! -DUNIX -DSVR4 -DSOLARIS2 \
! -DCURS_PERFORMANCE -DUTMPX_FOR_UTMP -DUSE_DIRENT \
! -DLOCALE -DHAVE_TERMIOS_H \
! -DNCURSES -DFANCY_CURSES \
! $(NINCLUDE) -I../$(WWWINC) $(SITE_DEFS)" \
! LIBS="$(NLIBDIR) $(NLIB) \
! -L/usr/ccs/lib -R/usr/ccs/lib -lnsl -lsocket \
! $(RESOLVLIB) $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
! WWWLIB="../WWW/Library/solaris2/libwww.a"
!
osf:
cd WWW/Library/osf; $(MAKE) LYFLAGS="$(SITE_LYDEFS)"
cd src; $(MAKE) all CC="cc" MCFLAGS="-O -DFANCY_CURSES -DUNIX \
***************
*** 750,755 ****
--- 850,875 ----
$(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
WWWLIB="../WWW/Library/unix/libwww.a"
+ linux-ncurses-color:
+ cd WWW/Library/unix; $(MAKE) CC="gcc" LYFLAGS="-DLINUX $(SITE_LYDEFS)"
+ cd src; $(MAKE) all CC="gcc" MCFLAGS="-O -DCS -DUNPAINT_CACHE -DUNIX
-DLINUX -DNCURSES \
+ -DFANCY_CURSES -DNO_KEYPAD -DNO_TTYTYPE \
+ -I/usr/include/ncurses -I../$(WWWINC) $(SITE_DEFS)" \
+ LIBS="-lncurses \
+ $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
+ WWWLIB="../WWW/Library/unix/libwww.a" \
+ STYLE=NCStyle
+
+ linux-ncurses-color-g:
+ cd WWW/Library/unix; $(MAKE) CC="gcc" LYFLAGS="-DLINUX $(SITE_LYDEFS)"
+ cd src; $(MAKE) all CC="gcc" MCFLAGS="-g -DCS -DUNIX -DLINUX -DNCURSES \
+ -DFANCY_CURSES -DNO_KEYPAD -DNO_TTYTYPE \
+ -I/usr/include/ncurses -I../$(WWWINC) $(SITE_DEFS)" \
+ LIBS="-lncurses \
+ $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
+ WWWLIB="../WWW/Library/unix/libwww.a" \
+ STYLE=NCStyle
+
linux-slang:
cd WWW/Library/unix; $(MAKE) CC="gcc" LYFLAGS="-DLINUX $(SITE_LYDEFS)"
cd src; $(MAKE) all CC="gcc" MCFLAGS="-O -DUNIX -DLINUX -DUSE_SLANG \
***************
*** 759,764 ****
--- 879,903 ----
WWWLIB="../WWW/Library/unix/libwww.a" \
SLANGLIB="$(SLANGLIB) -lslang -lm" SLANGINC="$(SLANGINC)"
+ linux-slang-color:
+ cd WWW/Library/unix; $(MAKE) CC="gcc" LYFLAGS="-DLINUX $(SITE_LYDEFS)"
+ cd src; $(MAKE) all CC="gcc" MCFLAGS="-O -DUNIX -DLINUX -DUSE_SLANG \
+ -DNO_KEYPAD -DNO_TTYTYPE -DSLCS -DSLSC \
+ -I../$(WWWINC) $(SITE_DEFS)" \
+ LIBS="$(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
+ WWWLIB="../WWW/Library/unix/libwww.a" \
+ STYLE=SLStyle \
+ SLANGLIB="$(SLANGLIB) -lslang -lm" SLANGINC="$(SLANGINC)"
+
+ dos-slang:
+ cd WWW/Library/unix; $(MAKE) CC="go32gcc" LYFLAGS="-DLINUX
$(SITE_LYDEFS)"
+ cd src; $(MAKE) all CC="go32gcc" MCFLAGS="-O -DUNIX -DLINUX -DUSE_SLANG
\
+ -DNO_KEYPAD -DNO_TTYTYPE \
+ -I../$(WWWINC) $(SITE_DEFS)" \
+ LIBS="$(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
+ WWWLIB="../WWW/Library/unix/libwww.a" \
+ SLANGLIB="$(SLANGLIB) -lslang -lm" SLANGINC="$(SLANGINC)"
+
##Various AIX environments
aix:
@echo "Run make again and use \"make aix4\" or \"make aix32\""
***************
*** 835,846 ****
# define RESOLVLIB (above) for the "LIBS" entry if needed
sun4-ncurses:
! cd WWW/Library/sun4; $(MAKE) CC="gcc" LYFLAGS="$(SITE_LYDEFS)"
! cd src; $(MAKE) all CC="gcc" \
! MCFLAGS="-O -DUNIX -DFANCY_CURSES -DNCURSES \
! -I/usr/local/include -I../$(WWWINC) -DSUN -DSUN4 \
! -DLOCALE $(SITE_DEFS)" \
! LIBS="-L/usr/local/lib -lncurses -ltermcap \
$(RESOLVLIB) $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
WWWLIB="../WWW/Library/sun4/libwww.a"
--- 974,986 ----
# define RESOLVLIB (above) for the "LIBS" entry if needed
sun4-ncurses:
! cd WWW/Library/sun4; $(MAKE) CC="gcc" LYFLAGS="$(CCFLAGS) \
! $(SITE_LYDEFS)"
! cd src; $(MAKE) all CC="gcc" MCFLAGS="$(CCFLAGS) $(LDFLAGS) \
! -DUNIX -DSUN -DSUN4 \
! -DFANCY_CURSES -DNCURSES -DLOCALE \
! -I$(NINCLUDE) -I../$(WWWINC) $(SITE_DEFS)" \
! LIBS="$(NLIBDIR) $(NLIB) \
$(RESOLVLIB) $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
WWWLIB="../WWW/Library/sun4/libwww.a"
***************
*** 861,867 ****
sun4-slang:
cd WWW/Library/sun4; $(MAKE) CC="gcc" LYFLAGS="$(CCFLAGS) \
$(SITE_LYDEFS)"
! cd src; $(MAKE) all CC="gcc" MCFLAGS="-O -DUNIX -DSUN -DSUN4 \
-DUSE_SLANG -DLOCALE \
-I../$(WWWINC) -I/usr/5include \
$(SITE_DEFS)" \
--- 1001,1008 ----
sun4-slang:
cd WWW/Library/sun4; $(MAKE) CC="gcc" LYFLAGS="$(CCFLAGS) \
$(SITE_LYDEFS)"
! cd src; $(MAKE) all CC="gcc" MCFLAGS="$(CCFLAGS) $(LDFLAGS) \
! -DUNIX -DSUN -DSUN4 \
-DUSE_SLANG -DLOCALE \
-I../$(WWWINC) -I/usr/5include \
$(SITE_DEFS)" \
***************
*** 870,875 ****
--- 1011,1033 ----
WWWLIB="../WWW/Library/sun4/libwww.a" \
SLANGLIB="$(SLANGLIB) -lslang -lm" SLANGINC="$(SLANGINC)"
+
+ #Solaris 1 slang using Sun's unbundled C compiler
+ #
+
+ sun4-slangcc:
+ cd WWW/Library/sun4; $(MAKE) CC="acc" LYFLAGS="$(CCFLAGS) \
+ $(SITE_LYDEFS)"
+ cd src; $(MAKE) all CC="acc" MCFLAGS="$(CCFLAGS) $(LDFLAGS) \
+ -DUNIX -DSUN -DSUN4 \
+ -DUSE_SLANG -DNCURSES -DLOCALE \
+ $(NINCLUDE) -I../$(WWWINC) -I/usr/5include \
+ $(SITE_DEFS)" \
+ LIBS="$(NLIBDIR) $(NLIB) \
+ $(RESOLVLIB) $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
+ WWWLIB="../WWW/Library/sun4/libwww.a" \
+ SLANGLIB="$(SLANGLIB) -lslang -lm" SLANGINC="$(SLANGINC)"
+
# news - SONY NEWS-OS 4.2.1R
news:
@echo "You must first compile the WWW library in WWW/Library"
***************
*** 914,921 ****
cd src; $(MAKE) all CC="cc" MCFLAGS="-O -DUNIX -DNEXT -DNO_UNISTD_H \
-DNCURSES -DFANCY_CURSES \
-DNO_CUSERID -DNO_GETCWD -DNO_PUTENV -DNO_KEYPAD \
! -I/usr/local/include -I../$(WWWINC) $(SITE_DEFS)" \
! LIBS="-L/usr/local/lib -lncurses -ltermcap \
$(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
WWWLIB="../WWW/Library/next/libwww.a"
--- 1072,1079 ----
cd src; $(MAKE) all CC="cc" MCFLAGS="-O -DUNIX -DNEXT -DNO_UNISTD_H \
-DNCURSES -DFANCY_CURSES \
-DNO_CUSERID -DNO_GETCWD -DNO_PUTENV -DNO_KEYPAD \
! -I$(root)/include -I../$(WWWINC) $(SITE_DEFS)" \
! LIBS="-L$(root)/lib -lncurses -ltermcap \
$(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
WWWLIB="../WWW/Library/next/libwww.a"
***************
*** 969,971 ****
--- 1127,1144 ----
$(installbin) lynx $(exec)/lynx
$(installdoc) lynx.man $(doc)/lynx.1
$(installdoc) lynx.cfg $(cfg)/lynx.cfg
+
+ lint:
+ cd WWW/Library/solaris2; $(MAKE) lint LYFLAGS=" \
+ $(SITE_LYDEFS)"
+ cd src; $(MAKE) lint MCFLAGS=" $(LDFLAGS) \
+ -DUNIX -DSVR4 -DSOLARIS2 \
+ -DCURS_PERFORMANCE -DUTMPX_FOR_UTMP -DUSE_DIRENT \
+ -DLOCALE -DHAVE_TERMIOS_H \
+ -DUSE_SLANG \
+ -I../$(WWWINC) $(SITE_DEFS)" \
+ LIBS="-L/usr/ccs/lib -R/usr/ccs/lib -lcurses -lnsl -lsocket \
+ $(RESOLVLIB) $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
+ WWWLIB="-L../WWW/Library/solaris2 -lwww" \
+ SLANGLIB="$(SLANGLIB) $(SLANGRRLIB) -lslang -lm" \
+ SLANGINC="$(SLANGINC)"
--
Larry W. Virden INET: address@hidden
<URL:http://www.teraform.com/%7Elvirden/> <*> O- "We are all Kosh."
Unless explicitly stated to the contrary, nothing in this posting should
be construed as representing my employer's opinions.
;
; 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 set of changes to Makefile,
Larry W. Virden, x2487 <=