1995-12-05 05:13:13 +00:00
|
|
|
*** Makefile.orig Thu Oct 19 01:12:16 1995
|
|
|
|
--- Makefile Tue Dec 5 07:19:09 1995
|
1995-08-23 13:38:36 +00:00
|
|
|
***************
|
1995-12-05 05:13:13 +00:00
|
|
|
*** 10,22 ****
|
1995-08-23 13:38:36 +00:00
|
|
|
|
1995-12-05 05:13:13 +00:00
|
|
|
prereleaseflags = -DPRERELEASE
|
1995-08-23 13:38:36 +00:00
|
|
|
|
|
|
|
! RANLIB = /bin/true
|
|
|
|
#### On non-SGI's, this should be ranlib.
|
|
|
|
RANLIB = ranlib
|
|
|
|
|
|
|
|
CC = cc
|
|
|
|
#### On Sun's, this should be gcc (ANSI required).
|
|
|
|
! CC = gcc
|
|
|
|
|
1995-12-05 05:13:13 +00:00
|
|
|
#### Linker Flags -- Primarily for linking static on linux-elf.
|
|
|
|
#ldflags = -static
|
|
|
|
--- 10,22 ----
|
1995-08-23 13:38:36 +00:00
|
|
|
|
1995-12-05 05:13:13 +00:00
|
|
|
prereleaseflags = -DPRERELEASE
|
1995-08-23 13:38:36 +00:00
|
|
|
|
1995-12-05 05:13:13 +00:00
|
|
|
! #RANLIB = /bin/true
|
1995-08-23 13:38:36 +00:00
|
|
|
#### On non-SGI's, this should be ranlib.
|
|
|
|
RANLIB = ranlib
|
|
|
|
|
|
|
|
CC = cc
|
|
|
|
#### On Sun's, this should be gcc (ANSI required).
|
1995-12-05 05:13:13 +00:00
|
|
|
! #CC = gcc
|
1995-08-23 13:38:36 +00:00
|
|
|
|
1995-12-05 05:13:13 +00:00
|
|
|
#### Linker Flags -- Primarily for linking static on linux-elf.
|
|
|
|
#ldflags = -static
|
|
|
|
***************
|
|
|
|
*** 24,30 ****
|
1995-08-23 13:38:36 +00:00
|
|
|
|
|
|
|
#### For a few files in the source, some compilers may need to be kicked
|
|
|
|
#### in K&R mode. E.g., on SGI's, -cckr does this.
|
1995-12-05 05:13:13 +00:00
|
|
|
! knrflag = -cckr
|
|
|
|
#### On most systems, no flag is needed.
|
|
|
|
knrflag =
|
|
|
|
|
|
|
|
--- 24,30 ----
|
|
|
|
|
|
|
|
#### For a few files in the source, some compilers may need to be kicked
|
|
|
|
#### in K&R mode. E.g., on SGI's, -cckr does this.
|
|
|
|
! #knrflag = -cckr
|
1995-08-23 13:38:36 +00:00
|
|
|
#### On most systems, no flag is needed.
|
|
|
|
knrflag =
|
|
|
|
|
|
|
|
***************
|
1995-12-05 05:13:13 +00:00
|
|
|
*** 40,49 ****
|
1995-08-23 13:38:36 +00:00
|
|
|
#### For Convex whatever, do -DCONVEX
|
|
|
|
#### For SCO ODT 3.0, do -DSCO -DSVR4 -DMOTIF1_2
|
|
|
|
#### For Motorola SVR4, do -DSVR4 -DMOTOROLA -DMOTIF1_2
|
|
|
|
! sysconfigflags =
|
|
|
|
|
|
|
|
#### System libraries.
|
|
|
|
! syslibs = -lPW -lsun -lmalloc
|
|
|
|
#### For AIX 3.2
|
|
|
|
# syslibs = -lPW -lbsd
|
|
|
|
#### For most other Motif platforms:
|
1995-12-05 05:13:13 +00:00
|
|
|
--- 40,49 ----
|
1995-08-23 13:38:36 +00:00
|
|
|
#### For Convex whatever, do -DCONVEX
|
|
|
|
#### For SCO ODT 3.0, do -DSCO -DSVR4 -DMOTIF1_2
|
|
|
|
#### For Motorola SVR4, do -DSVR4 -DMOTOROLA -DMOTIF1_2
|
1995-12-05 05:13:13 +00:00
|
|
|
! sysconfigflags = -DMOTIF1_2
|
1995-08-23 13:38:36 +00:00
|
|
|
|
|
|
|
#### System libraries.
|
1995-12-05 05:13:13 +00:00
|
|
|
! #syslibs = -lPW -lsun -lmalloc
|
1995-08-23 13:38:36 +00:00
|
|
|
#### For AIX 3.2
|
|
|
|
# syslibs = -lPW -lbsd
|
|
|
|
#### For most other Motif platforms:
|
|
|
|
***************
|
1995-12-05 05:13:13 +00:00
|
|
|
*** 73,84 ****
|
1995-08-23 13:38:36 +00:00
|
|
|
# xinc = -I/usr/include/X11
|
|
|
|
#### BSD/386
|
|
|
|
# xinc = -I/usr/X11/include
|
1995-12-05 05:13:13 +00:00
|
|
|
! xinc = -I/xdev/mosaic/X11R5/include
|
1995-08-23 13:38:36 +00:00
|
|
|
|
|
|
|
#### X library locations.
|
1995-12-05 05:13:13 +00:00
|
|
|
# xlibs = -lXm_s -lXmu -lXt_s -lX11_s
|
1995-08-23 13:38:36 +00:00
|
|
|
#### For Sun's (at least running stock X/Motif as installed on our machines):
|
1995-12-05 05:13:13 +00:00
|
|
|
! xlibs = /xdev/mosaic/X11R5/lib/libXm.a /xdev/mosaic/X11R5/lib/libXmu.a /xdev/mosaic/X11R5/lib/libXt.a /xdev/mosaic/X11R5/lib/libXext.a /xdev/mosaic/X11R5/lib/libX11.a -lm
|
1995-08-23 13:38:36 +00:00
|
|
|
#### For HP-UX 8.00:
|
|
|
|
# xlibs = -L/usr/lib/Motif1.1 -lXm -L/usr/lib/X11R4 -lXmu -lXt -lX11
|
|
|
|
#### For HP-UX 9.01: The X11R5 libraries are here on our systems
|
1995-12-05 05:13:13 +00:00
|
|
|
--- 73,85 ----
|
1995-08-23 13:38:36 +00:00
|
|
|
# xinc = -I/usr/include/X11
|
|
|
|
#### BSD/386
|
|
|
|
# xinc = -I/usr/X11/include
|
1995-12-05 05:13:13 +00:00
|
|
|
! #xinc = -I/xdev/mosaic/X11R5/include
|
|
|
|
! xinc = -I/usr/X11R6/include
|
1995-08-23 13:38:36 +00:00
|
|
|
|
|
|
|
#### X library locations.
|
1995-12-05 05:13:13 +00:00
|
|
|
# xlibs = -lXm_s -lXmu -lXt_s -lX11_s
|
1995-08-23 13:38:36 +00:00
|
|
|
#### For Sun's (at least running stock X/Motif as installed on our machines):
|
1995-12-05 05:13:13 +00:00
|
|
|
! #xlibs = /xdev/mosaic/X11R5/lib/libXm.a /xdev/mosaic/X11R5/lib/libXmu.a /xdev/mosaic/X11R5/lib/libXt.a /xdev/mosaic/X11R5/lib/libXext.a /xdev/mosaic/X11R5/lib/libX11.a -lm
|
1995-08-23 13:38:36 +00:00
|
|
|
#### For HP-UX 8.00:
|
|
|
|
# xlibs = -L/usr/lib/Motif1.1 -lXm -L/usr/lib/X11R4 -lXmu -lXt -lX11
|
|
|
|
#### For HP-UX 9.01: The X11R5 libraries are here on our systems
|
|
|
|
***************
|
1995-12-05 05:13:13 +00:00
|
|
|
*** 97,102 ****
|
|
|
|
--- 98,109 ----
|
1995-08-23 13:38:36 +00:00
|
|
|
# xlibs = -L/usr/X11/lib -lXm -lXmu -lXt -lX11
|
|
|
|
#### For Motorola SVR4:
|
|
|
|
# xlibs = -lXm -lXmu -lXt -lXext -lX11 -lm
|
|
|
|
+ #### For FreeBSD 2.x:
|
1995-12-05 05:13:13 +00:00
|
|
|
+ .if !exists(/usr/X11R6/lib/libXm.a)
|
1995-08-23 13:38:36 +00:00
|
|
|
+ xlibs = -L/usr/X11R6/lib -lXm -lXmu -lXt -lXext -lX11 -lm
|
|
|
|
+ .else
|
|
|
|
+ xlibs = -L/usr/X11R6/lib /usr/X11R6/lib/libXm.a -lXmu -lXt -lXext -lX11 -lm
|
|
|
|
+ .endif
|
|
|
|
|
|
|
|
|
|
|
|
#### DTM AND HDF SUPPORT; READ CAREFULLY
|
|
|
|
***************
|
1995-12-05 05:13:13 +00:00
|
|
|
*** 116,138 ****
|
|
|
|
#### If your platform is not one of the above, then either do not compile
|
|
|
|
#### with HDF/DTM support or try hacking libdtm/makefile.
|
|
|
|
|
|
|
|
! dtmmachtype = sun
|
|
|
|
! dtmdirs = libdtm libnet
|
|
|
|
! dtmlibs = ../libnet/libnet.a ../libdtm/libdtm.a
|
|
|
|
! dtmflags = -DHAVE_DTM -I.. -I../libnet
|
|
|
|
! hdfdir = /hdf2/install/sun
|
1995-08-23 13:38:36 +00:00
|
|
|
! hdflibs = $(hdfdir)/lib/libnetcdf.a $(hdfdir)/lib/libdf.a
|
|
|
|
! hdfflags = -DHAVE_HDF -DHDF -I$(hdfdir)/include
|
|
|
|
|
|
|
|
|
1995-12-05 05:13:13 +00:00
|
|
|
#### PNG SUPPORT
|
|
|
|
#### For inline PNG support, the following should be defined:
|
|
|
|
#### The libraries currently used are PNGLIB 0.81 and ZLIB 0.95
|
|
|
|
|
|
|
|
! pngdir = /xdev/mosaic/libpng/sun
|
|
|
|
pnglibdir = $(pngdir)/lib
|
|
|
|
pngincludedir = $(pngdir)/include
|
|
|
|
! pnglibs = $(pnglibdir)/libpng.a $(pnglibdir)/libz.a -lm
|
|
|
|
pngflags = -I$(pngincludedir) -DHAVE_PNG
|
1995-08-23 13:38:36 +00:00
|
|
|
|
|
|
|
|
1995-12-05 05:13:13 +00:00
|
|
|
--- 123,148 ----
|
|
|
|
#### If your platform is not one of the above, then either do not compile
|
|
|
|
#### with HDF/DTM support or try hacking libdtm/makefile.
|
1995-08-23 13:38:36 +00:00
|
|
|
|
1995-12-05 05:13:13 +00:00
|
|
|
! #dtmmachtype = sun
|
|
|
|
! #dtmdirs = libdtm libnet
|
|
|
|
! #dtmlibs = ../libnet/libnet.a ../libdtm/libdtm.a
|
|
|
|
! #dtmflags = -DHAVE_DTM -I.. -I../libnet
|
|
|
|
! #hdfdir = /hdf2/install/sun
|
1995-08-23 13:38:36 +00:00
|
|
|
! #hdflibs = $(hdfdir)/lib/libnetcdf.a $(hdfdir)/lib/libdf.a
|
|
|
|
! #hdfflags = -DHAVE_HDF -DHDF -I$(hdfdir)/include
|
|
|
|
|
|
|
|
|
1995-12-05 05:13:13 +00:00
|
|
|
#### PNG SUPPORT
|
|
|
|
#### For inline PNG support, the following should be defined:
|
|
|
|
#### The libraries currently used are PNGLIB 0.81 and ZLIB 0.95
|
|
|
|
|
|
|
|
! #pngdir = /xdev/mosaic/libpng/sun
|
|
|
|
! pngdir = /usr/local
|
|
|
|
pnglibdir = $(pngdir)/lib
|
|
|
|
pngincludedir = $(pngdir)/include
|
|
|
|
! #pnglibs = $(pnglibdir)/libpng.a $(pnglibdir)/libz.a -lm
|
|
|
|
! #pngflags = -I$(pngincludedir) -DHAVE_PNG
|
|
|
|
! pnglibs = -L$(pnglibdir) -lpng -lz -lm
|
|
|
|
pngflags = -I$(pngincludedir) -DHAVE_PNG
|
|
|
|
|
|
|
|
|
|
|
|
***************
|
|
|
|
*** 140,147 ****
|
|
|
|
#### For inline JPEG support, the following should be defined:
|
|
|
|
#### The library used is Independent JPEG Group (IJG's) 5.0a.
|
|
|
|
|
|
|
|
! jpegdir = /xdev/mosaic/libjpeg/sun
|
|
|
|
! jpeglibs = $(jpegdir)/lib/libjpeg.a
|
|
|
|
jpegflags = -I$(jpegdir)/include -DHAVE_JPEG
|
|
|
|
|
|
|
|
|
|
|
|
--- 150,159 ----
|
1995-08-23 13:38:36 +00:00
|
|
|
#### For inline JPEG support, the following should be defined:
|
|
|
|
#### The library used is Independent JPEG Group (IJG's) 5.0a.
|
|
|
|
|
1995-12-05 05:13:13 +00:00
|
|
|
! #jpegdir = /xdev/mosaic/libjpeg/sun
|
|
|
|
! jpegdir = /usr/local
|
|
|
|
! #jpeglibs = $(jpegdir)/lib/libjpeg.a
|
|
|
|
! jpeglibs = -L$(jpegdir)/lib -ljpeg
|
|
|
|
jpegflags = -I$(jpegdir)/include -DHAVE_JPEG
|
1995-08-23 13:38:36 +00:00
|
|
|
|
|
|
|
|
|
|
|
***************
|
1995-12-05 05:13:13 +00:00
|
|
|
*** 154,167 ****
|
|
|
|
#### define the KRB-ENCRYPT flag.
|
|
|
|
|
|
|
|
##krb4dir = /usr/athena
|
|
|
|
! krb4dir = /xdev/mosaic/libkrb4/sun
|
|
|
|
! krb4libs = $(krb4dir)/lib/libkrb.a $(krb4dir)/lib/libdes.a
|
|
|
|
! krb4flags = -DKRB4 -I$(krb4dir)/include
|
|
|
|
|
|
|
|
##krb5dir = /krb5
|
|
|
|
! krb5dir = /xdev/mosaic/libkrb5/sun
|
|
|
|
! krb5libs = $(krb5dir)/lib/libkrb5.a $(krb5dir)/lib/libcrypto.a $(krb5dir)/util/et/libcom_err.a
|
|
|
|
! krb5flags = -DKRB5 -I$(krb5dir)/include -I$(krb5dir)/include/krb5
|
|
|
|
|
|
|
|
#Do not comment out.
|
|
|
|
krbflags = $(krb4flags) $(krb5flags)
|
|
|
|
--- 166,179 ----
|
|
|
|
#### define the KRB-ENCRYPT flag.
|
|
|
|
|
|
|
|
##krb4dir = /usr/athena
|
|
|
|
! #krb4dir = /xdev/mosaic/libkrb4/sun
|
|
|
|
! #krb4libs = $(krb4dir)/lib/libkrb.a $(krb4dir)/lib/libdes.a
|
|
|
|
! #krb4flags = -DKRB4 -I$(krb4dir)/include
|
|
|
|
|
|
|
|
##krb5dir = /krb5
|
|
|
|
! #krb5dir = /xdev/mosaic/libkrb5/sun
|
|
|
|
! #krb5libs = $(krb5dir)/lib/libkrb5.a $(krb5dir)/lib/libcrypto.a $(krb5dir)/util/et/libcom_err.a
|
|
|
|
! #krb5flags = -DKRB5 -I$(krb5dir)/include -I$(krb5dir)/include/krb5
|
|
|
|
|
|
|
|
#Do not comment out.
|
|
|
|
krbflags = $(krb4flags) $(krb5flags)
|
|
|
|
***************
|
|
|
|
*** 183,192 ****
|
1995-08-23 13:38:36 +00:00
|
|
|
|
1995-12-05 05:13:13 +00:00
|
|
|
#### -lm is required for freeWAIS 0.5, as ceil() is used.
|
1995-08-23 13:38:36 +00:00
|
|
|
|
1995-12-05 05:13:13 +00:00
|
|
|
! waisroot = /xdev/mosaic/freeWAIS/sun4
|
|
|
|
! waisflags = -DDIRECT_WAIS -I$(waisroot)/include
|
1995-08-23 13:38:36 +00:00
|
|
|
! waislibdir = $(waisroot)/bin
|
|
|
|
! waislibs = $(waislibdir)/inv.a $(waislibdir)/wais.a $(waislibdir)/libftw.a -lm
|
|
|
|
|
|
|
|
|
1995-12-05 05:13:13 +00:00
|
|
|
#### Customization flags:
|
|
|
|
--- 195,204 ----
|
1995-08-23 13:38:36 +00:00
|
|
|
|
1995-12-05 05:13:13 +00:00
|
|
|
#### -lm is required for freeWAIS 0.5, as ceil() is used.
|
1995-08-23 13:38:36 +00:00
|
|
|
|
1995-12-05 05:13:13 +00:00
|
|
|
! #waisroot = /xdev/mosaic/freeWAIS/sun4
|
|
|
|
! #waisflags = -DDIRECT_WAIS -I$(waisroot)/include
|
1995-08-23 13:38:36 +00:00
|
|
|
! #waislibdir = $(waisroot)/bin
|
|
|
|
! #waislibs = $(waislibdir)/inv.a $(waislibdir)/wais.a $(waislibdir)/libftw.a -lm
|
|
|
|
|
|
|
|
|
1995-12-05 05:13:13 +00:00
|
|
|
#### Customization flags:
|
1995-08-23 13:38:36 +00:00
|
|
|
***************
|
1995-12-05 05:13:13 +00:00
|
|
|
*** 203,209 ****
|
1995-08-23 13:38:36 +00:00
|
|
|
# ---------------------- END OF CUSTOMIZABLE OPTIONS -------------------------
|
|
|
|
|
|
|
|
|
1995-12-05 05:13:13 +00:00
|
|
|
! CFLAGS = -g $(sysconfigflags) $(prereleaseflags)
|
1995-08-23 13:38:36 +00:00
|
|
|
|
|
|
|
# Don't worry about these -- for development purposes only.
|
|
|
|
PURIFY = purify
|
1995-12-05 05:13:13 +00:00
|
|
|
--- 215,221 ----
|
1995-08-23 13:38:36 +00:00
|
|
|
# ---------------------- END OF CUSTOMIZABLE OPTIONS -------------------------
|
|
|
|
|
|
|
|
|
1995-12-05 05:13:13 +00:00
|
|
|
! CFLAGS += $(sysconfigflags) $(prereleaseflags)
|
1995-08-23 13:38:36 +00:00
|
|
|
|
|
|
|
# Don't worry about these -- for development purposes only.
|
|
|
|
PURIFY = purify
|
1995-12-05 05:13:13 +00:00
|
|
|
***************
|
|
|
|
*** 215,220 ****
|
|
|
|
--- 227,235 ----
|
|
|
|
@echo \*\*\* Welcome to Purify'd NCSA Mosaic.
|
|
|
|
quantifyd: $(dtmdirs) libwww2 libXmx libhtmlw libnut src-quantifyd
|
|
|
|
@echo \*\*\* Welcome to Quantify'd NCSA Mosaic.
|
|
|
|
+
|
|
|
|
+ install:
|
|
|
|
+ $(INSTALL) -c -s -g $(BINGRP) -m $(BINMODE) -o $(BINOWN) src/Mosaic ${PREFIX}/bin/Mosaic
|
|
|
|
|
|
|
|
libXmx::
|
|
|
|
@echo --- Building libXmx
|