head	1.5;
access;
symbols
	RELEASE_5_2_1:1.4
	RELEASE_5_2_0:1.4
	RELEASE_4_9_0:1.4
	RELEASE_5_1_0:1.4
	RELEASE_4_8_0:1.4
	RELEASE_5_0_0:1.4
	RELEASE_4_7_0:1.4
	RELEASE_4_6_2:1.4
	RELEASE_4_6_1:1.4
	RELEASE_4_6_0:1.4
	RELEASE_5_0_DP1:1.4
	RELEASE_4_5_0:1.4
	RELEASE_4_4_0:1.4
	RELEASE_4_3_0:1.4
	RELEASE_4_2_0:1.4
	RELEASE_4_1_1:1.4
	RELEASE_4_1_0:1.4
	RELEASE_3_5_0:1.4
	RELEASE_4_0_0:1.4
	RELEASE_3_4_0:1.4
	RELEASE_3_3_0:1.4
	RELEASE_3_2_0:1.4
	RELEASE_3_1_0:1.4
	RELEASE_2_2_8:1.4
	RELEASE_3_0_0:1.4
	RELEASE_2_2_7:1.4
	RELEASE_2_2_6:1.4
	RELEASE_2_2_5:1.4
	RELEASE_2_2_1:1.4
	RELEASE_2_2_2:1.4
	mosaic2_6:1.1.1.1
	NCSA:1.1.1;
locks; strict;
comment	@# @;


1.5
date	2004.04.11.01.45.12;	author kris;	state dead;
branches;
next	1.4;

1.4
date	96.08.03.11.11.44;	author ache;	state Exp;
branches;
next	1.3;

1.3
date	96.04.11.09.07.21;	author asami;	state Exp;
branches;
next	1.2;

1.2
date	95.12.05.05.13.00;	author ache;	state Exp;
branches;
next	1.1;

1.1
date	95.08.23.13.38.35;	author jkh;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	95.08.23.13.38.35;	author jkh;	state Exp;
branches;
next	;


desc
@@


1.5
log
@As announced 2 months ago, remove these deprecated or broken ports.
@
text
@*** makefiles/Makefile.bsdi.orig	Wed Jun 12 03:45:25 1996
--- makefiles/Makefile.bsdi	Fri Aug  2 20:40:18 1996
***************
*** 36,46 ****
  sysconfigflags = -DMOTIF1_2
  
  #### System libraries.
! syslibs = -lipc
  
  #### X include file locations -- if your platform puts the X include
! xinc = -I/usr/X11/include
! xlibs = -L/usr/X11/lib -lXm -lXmu -lXt -lXext -lSM -lICE -lXpm -lX11
  
  
  #### DTM AND HDF SUPPORT; READ CAREFULLY
--- 36,46 ----
  sysconfigflags = -DMOTIF1_2
  
  #### System libraries.
! #syslibs = -lipc
  
  #### X include file locations -- if your platform puts the X include
! xinc = -I${X11BASE}/include
! xlibs = ${MOTIFLIB} -L${X11BASE}/lib -lXmu -lXt -lXext -lSM -lICE -lXpm -lX11
  
  
  #### DTM AND HDF SUPPORT; READ CAREFULLY
***************
*** 73,82 ****
  #### 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/bsdi
  pnglibdir = $(pngdir)/lib
  pngincludedir = $(pngdir)/include
! pnglibs = $(pnglibdir)/libpng.a $(pnglibdir)/libz.a -lm
  pngflags =  -I$(pngincludedir) -DHAVE_PNG
  
  #pngdir = /work2/mosaic-libs/libpng
--- 73,82 ----
  #### For inline PNG support, the following should be defined:
  #### The libraries currently used are PNGLIB 0.81 and ZLIB 0.95
  
! pngdir = ${LOCALBASE}
  pnglibdir = $(pngdir)/lib
  pngincludedir = $(pngdir)/include
! pnglibs = -L$(pnglibdir) -lpng -lz -lm
  pngflags =  -I$(pngincludedir) -DHAVE_PNG
  
  #pngdir = /work2/mosaic-libs/libpng
***************
*** 90,98 ****
  #### For inline JPEG support, the following should be defined:
  #### The library used is Independent JPEG Group (IJG's) 5.0a.
  
! jpegdir = /work2/mosaic-libs/libjpeg-6
! jpeglibs = $(jpegdir)/libjpeg.a
! jpegflags = -I$(jpegdir) -DHAVE_JPEG
  
  
  #### KERBEROS SUPPORT
--- 90,98 ----
  #### For inline JPEG support, the following should be defined:
  #### The library used is Independent JPEG Group (IJG's) 5.0a.
  
! jpegdir = ${LOCALBASE}
! jpeglibs = -L$(jpegdir) -ljpeg
! jpegflags = -I$(jpegdir)/include -DHAVE_JPEG
  
  
  #### KERBEROS SUPPORT
***************
*** 160,166 ****
  ####      modifying the Makefiles, so you may comment it out without harm.
  ########
  ########
! -include local-defines/$(DEV_ARCH)
  
  
  
--- 160,166 ----
  ####      modifying the Makefiles, so you may comment it out without harm.
  ########
  ########
! #-include local-defines/$(DEV_ARCH)
  
  
  
***************
*** 168,174 ****
  # --------------------- Do Not Modify Below This Line ------------------------
  #
  
! CFLAGS = -g $(sysconfigflags) $(prereleaseflags)
  
  # Don't worry about these -- for development purposes only.
  PURIFY = purify
--- 168,174 ----
  # --------------------- Do Not Modify Below This Line ------------------------
  #
  
! CFLAGS += $(sysconfigflags) $(prereleaseflags)
  
  # Don't worry about these -- for development purposes only.
  PURIFY = purify
***************
*** 199,205 ****
  
  src::
  	@@echo --- Building src
! 	cd src; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) LDFLAGS="$(ldflags)" CFLAGS="$(CFLAGS) $(customflags) $(xinc) $(jpegflags) $(dtmflags) $(hdfflags) $(pngflags) $(krbflags) -I.. -I../libXmx -I../libwww2" AUX_CFLAGS=$(knrflag) X_LIBS="$(xlibs)" SYS_LIBS="$(sockslibs) $(syslibs)" DTM_LIBS="$(dtmlibs)" HDF_LIBS="$(hdflibs)" WAIS_LIBS="$(waislibs)" LIBWWW_DIR=../libwww2 JPEG_LIBS="$(jpeglibs)" PNG_LIBS="$(pnglibs)" KRB_LIBS="$(krblibs)" LIBNUT_DIR=../libnut MOSAIC="Mosaic"
  
  src-purifyd::
  	@@echo --- Building Purify'd src
--- 199,205 ----
  
  src::
  	@@echo --- Building src
! 	cd src; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) LDFLAGS="$(ldflags)" CFLAGS="$(CFLAGS) $(customflags) $(xinc) -I.. -I../libXmx -I../libwww2 $(jpegflags) $(dtmflags) $(hdfflags) $(pngflags) $(krbflags)" AUX_CFLAGS=$(knrflag) X_LIBS="$(xlibs)" SYS_LIBS="$(sockslibs) $(syslibs)" DTM_LIBS="$(dtmlibs)" HDF_LIBS="$(hdflibs)" WAIS_LIBS="$(waislibs)" LIBWWW_DIR=../libwww2 JPEG_LIBS="$(jpeglibs)" PNG_LIBS="$(pnglibs)" KRB_LIBS="$(krblibs)" LIBNUT_DIR=../libnut MOSAIC="Mosaic"
  
  src-purifyd::
  	@@echo --- Building Purify'd src
@


1.4
log
@Upgrade to 2.7b5
@
text
@@


1.3
log
@Upgrade, 2.7b2 -> 2.7b4.  Also make it conform to Motif standard here.
@
text
@d1 122
a122 61
--- ./makefiles/Makefile.bsdi.org	Tue Mar 26 21:25:13 1996
+++ ./makefiles/Makefile.bsdi	Tue Apr  9 22:59:08 1996
@@@@ -36,11 +36,11 @@@@
 sysconfigflags = -DMOTIF1_2
 
 #### System libraries.
-syslibs = -lipc
+#syslibs = -lipc
 
 #### X include file locations -- if your platform puts the X include
-xinc = -I/usr/X11/include
-xlibs = -L/usr/X11/lib -lXm -lXmu -lXt -lXext -lSM -lICE -lXpm -lX11
+xinc = -I${X11BASE}/include
+xlibs = ${MOTIFLIB} -L${X11BASE}/lib -lXmu -lXt -lXext -lSM -lICE -lXpm -lX11
 
 
 #### DTM AND HDF SUPPORT; READ CAREFULLY
@@@@ -73,10 +73,10 @@@@
 #### 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/bsdi
+pngdir = ${LOCALBASE}
 pnglibdir = $(pngdir)/lib
 pngincludedir = $(pngdir)/include
-pnglibs = $(pnglibdir)/libpng.a $(pnglibdir)/libz.a -lm
+pnglibs = -L$(pnglibdir) -lpng -lz -lm
 pngflags =  -I$(pngincludedir) -DHAVE_PNG
 
 #pngdir = /work2/mosaic-libs/libpng
@@@@ -90,9 +90,9 @@@@
 #### For inline JPEG support, the following should be defined:
 #### The library used is Independent JPEG Group (IJG's) 5.0a.
 
-jpegdir = /work2/mosaic-libs/libjpeg-6
-jpeglibs = $(jpegdir)/libjpeg.a
-jpegflags = -I$(jpegdir) -DHAVE_JPEG
+jpegdir = ${LOCALBASE}
+jpeglibs = -L$(jpegdir) -ljpeg
+jpegflags = -I$(jpegdir)/include -DHAVE_JPEG
 
 
 #### KERBEROS SUPPORT
@@@@ -154,7 +154,7 @@@@
 # --------------------- Do Not Modify Below This Line ------------------------
 #
 
-CFLAGS = -g $(sysconfigflags) $(prereleaseflags)
+CFLAGS += $(sysconfigflags) $(prereleaseflags)
 
 # Don't worry about these -- for development purposes only.
 PURIFY = purify
@@@@ -185,7 +185,7 @@@@
 
 src::
 	@@echo --- Building src
-	cd src; make CC=$(CC) RANLIB=$(RANLIB) LDFLAGS="$(ldflags)" CFLAGS="$(CFLAGS) $(customflags) $(xinc) $(jpegflags) $(dtmflags) $(hdfflags) $(pngflags) $(krbflags) -I.. -I../libXmx -I../libwww2" AUX_CFLAGS=$(knrflag) X_LIBS="$(xlibs)" SYS_LIBS="$(sockslibs) $(syslibs)" DTM_LIBS="$(dtmlibs)" HDF_LIBS="$(hdflibs)" WAIS_LIBS="$(waislibs)" LIBWWW_DIR=../libwww2 JPEG_LIBS="$(jpeglibs)" PNG_LIBS="$(pnglibs)" KRB_LIBS="$(krblibs)" LIBNUT_DIR=../libnut MOSAIC="Mosaic"
+	cd src; make CC=$(CC) RANLIB=$(RANLIB) LDFLAGS="$(ldflags)" CFLAGS="$(CFLAGS) $(customflags) $(xinc) -I.. -I../libXmx -I../libwww2 $(jpegflags) $(dtmflags) $(hdfflags) $(pngflags) $(krbflags)" AUX_CFLAGS=$(knrflag) X_LIBS="$(xlibs)" SYS_LIBS="$(sockslibs) $(syslibs)" DTM_LIBS="$(dtmlibs)" HDF_LIBS="$(hdflibs)" WAIS_LIBS="$(waislibs)" LIBWWW_DIR=../libwww2 JPEG_LIBS="$(jpeglibs)" PNG_LIBS="$(pnglibs)" KRB_LIBS="$(krblibs)" LIBNUT_DIR=../libnut MOSAIC="Mosaic"
 
 src-purifyd::
 	@@echo --- Building Purify'd src
@


1.2
log
@Upgrade to 2.7b2, support PNG images now
@
text
@d1 61
a61 270
*** Makefile.orig	Thu Oct 19 01:12:16 1995
--- Makefile	Tue Dec  5 07:19:09 1995
***************
*** 10,22 ****
  
  prereleaseflags = -DPRERELEASE
  
! 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
  
  #### Linker Flags -- Primarily for linking static on linux-elf.
  #ldflags = -static
--- 10,22 ----
  
  prereleaseflags = -DPRERELEASE
  
! #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
  
  #### Linker Flags -- Primarily for linking static on linux-elf.
  #ldflags = -static
***************
*** 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
  #### 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
  #### On most systems, no flag is needed.
  knrflag =
  
***************
*** 40,49 ****
  #### 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:
--- 40,49 ----
  #### For Convex whatever, do -DCONVEX
  #### For SCO ODT 3.0, do -DSCO -DSVR4 -DMOTIF1_2
  #### For Motorola SVR4, do -DSVR4 -DMOTOROLA -DMOTIF1_2
! sysconfigflags = -DMOTIF1_2
  
  #### System libraries.
! #syslibs = -lPW -lsun -lmalloc
  #### For AIX 3.2
  # syslibs = -lPW -lbsd
  #### For most other Motif platforms:
***************
*** 73,84 ****
  # xinc = -I/usr/include/X11
  #### BSD/386
  # xinc = -I/usr/X11/include
! xinc = -I/xdev/mosaic/X11R5/include
  
  #### X library locations.
  # xlibs = -lXm_s -lXmu -lXt_s -lX11_s
  #### For Sun's (at least running stock X/Motif as installed on our machines):
! 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
  #### 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
--- 73,85 ----
  # xinc = -I/usr/include/X11
  #### BSD/386
  # xinc = -I/usr/X11/include
! #xinc = -I/xdev/mosaic/X11R5/include
! xinc = -I/usr/X11R6/include
  
  #### X library locations.
  # xlibs = -lXm_s -lXmu -lXt_s -lX11_s
  #### For Sun's (at least running stock X/Motif as installed on our machines):
! #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
  #### 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
***************
*** 97,102 ****
--- 98,109 ----
  # xlibs = -L/usr/X11/lib -lXm -lXmu -lXt -lX11
  #### For Motorola SVR4:
  # xlibs = -lXm -lXmu -lXt -lXext -lX11 -lm
+ #### For FreeBSD 2.x:
+ .if !exists(/usr/X11R6/lib/libXm.a)
+ 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
***************
*** 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
! hdflibs = $(hdfdir)/lib/libnetcdf.a $(hdfdir)/lib/libdf.a
! hdfflags = -DHAVE_HDF -DHDF -I$(hdfdir)/include
  
  
  #### 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
  
  
--- 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.
  
! #dtmmachtype = sun
! #dtmdirs = libdtm libnet
! #dtmlibs = ../libnet/libnet.a ../libdtm/libdtm.a
! #dtmflags = -DHAVE_DTM -I.. -I../libnet
! #hdfdir = /hdf2/install/sun
! #hdflibs = $(hdfdir)/lib/libnetcdf.a $(hdfdir)/lib/libdf.a
! #hdfflags = -DHAVE_HDF -DHDF -I$(hdfdir)/include
  
  
  #### 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 ----
  #### 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
! jpegdir = /usr/local
! #jpeglibs = $(jpegdir)/lib/libjpeg.a
! jpeglibs = -L$(jpegdir)/lib -ljpeg
  jpegflags = -I$(jpegdir)/include -DHAVE_JPEG
  
  
***************
*** 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 ****
  
  #### -lm is required for freeWAIS 0.5, as ceil() is used.
  
! waisroot = /xdev/mosaic/freeWAIS/sun4
! waisflags = -DDIRECT_WAIS -I$(waisroot)/include
! waislibdir = $(waisroot)/bin
! waislibs = $(waislibdir)/inv.a $(waislibdir)/wais.a $(waislibdir)/libftw.a -lm
  
  
  #### Customization flags:
--- 195,204 ----
  
  #### -lm is required for freeWAIS 0.5, as ceil() is used.
  
! #waisroot = /xdev/mosaic/freeWAIS/sun4
! #waisflags = -DDIRECT_WAIS -I$(waisroot)/include
! #waislibdir = $(waisroot)/bin
! #waislibs = $(waislibdir)/inv.a $(waislibdir)/wais.a $(waislibdir)/libftw.a -lm
  
  
  #### Customization flags:
***************
*** 203,209 ****
  # ---------------------- END OF CUSTOMIZABLE OPTIONS -------------------------
  
  
! CFLAGS = -g $(sysconfigflags) $(prereleaseflags)
  
  # Don't worry about these -- for development purposes only.
  PURIFY = purify
--- 215,221 ----
  # ---------------------- END OF CUSTOMIZABLE OPTIONS -------------------------
  
  
! CFLAGS += $(sysconfigflags) $(prereleaseflags)
  
  # Don't worry about these -- for development purposes only.
  PURIFY = purify
***************
*** 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
@


1.1
log
@Initial revision
@
text
@d1 2
a2 2
*** Makefile.orig	Thu Jul  6 15:55:23 1995
--- Makefile	Mon Aug 21 20:51:15 1995
d4 1
a4 1
*** 8,25 ****
d6 1
a6 1
  # -------------------------- CUSTOMIZABLE OPTIONS ----------------------------
d16 3
d20 1
a20 7
  #### 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
  #### On most systems, no flag is needed.
  knrflag =
  
--- 8,25 ----
d22 1
a22 3
  # -------------------------- CUSTOMIZABLE OPTIONS ----------------------------
  
! # RANLIB = /bin/true
d28 1
a28 1
! # CC = gcc
d30 4
d37 9
a45 1
! # knrflag = -cckr
d50 1
a50 1
*** 35,50 ****
d61 1
a61 7
  # syslibs = -lPW
  #### For Sun's and Ultrix and HP and BSD/386:
! syslibs =
  #### For Sun's with no DNS:
  #  syslibs = -lresolv
  #### For SCO ODT:
--- 35,50 ----
d65 1
a65 1
! sysconfigflags =  -DMOTIF1_2
d68 1
a68 1
! # syslibs = -lPW -lsun -lmalloc
a71 24
  # syslibs = -lPW
  #### For Sun's and Ultrix and HP and BSD/386:
! # syslibs =
  #### For Sun's with no DNS:
  #  syslibs = -lresolv
  #### For SCO ODT:
***************
*** 55,61 ****
  # syslibs = -lnsl -lsocket -lgen
  #### For Motorola SVR4:
  # syslibs = -lnsl -lsocket -lgen
! 
  
  #### X include file locations -- if your platform puts the X include
  #### files in a strange place, set this variable appropriately.  Else
--- 55,62 ----
  # syslibs = -lnsl -lsocket -lgen
  #### For Motorola SVR4:
  # syslibs = -lnsl -lsocket -lgen
! #### For FreeBSD 2.x:
! syslibs = -lgnumalloc
  
  #### X include file locations -- if your platform puts the X include
  #### files in a strange place, set this variable appropriately.  Else
d73 1
a73 1
*** 68,78 ****
d77 1
d80 1
a80 1
! xlibs = -lXm_s -lXmu -lXt_s -lX11_s
d82 1
a82 1
! xlibs = /usr/lib/libXm.a /usr/lib/libXmu.a /usr/lib/libXt.a /usr/lib/libXext.a /usr/lib/libX11.a -lm
d86 1
a86 1
--- 69,81 ----
d90 2
a91 2
+ #### FreeBSD 2.x
+ xinc = -I/usr/X11R6/include
d94 1
a94 1
! # xlibs = -lXm_s -lXmu -lXt_s -lX11_s
d96 1
a96 1
! # xlibs = /usr/lib/libXm.a /usr/lib/libXmu.a /usr/lib/libXt.a /usr/lib/libXext.a /usr/lib/libX11.a -lm
d101 2
a102 2
*** 91,96 ****
--- 94,105 ----
d107 1
a107 1
+ .ifdef SHARED_MOTIF
d116 9
a124 5
*** 114,131 ****
  #dtmdirs = libdtm libnet
  #dtmlibs = ../libnet/libnet.a ../libdtm/libdtm.a
  #dtmflags = -DHAVE_DTM -I.. -I../libnet
! hdfdir = /hdf2/scratch/sxu/4.0b1_SunOS
d129 40
a168 1
  #### JPEG SUPPORT
d172 3
a174 3
! jpegdir = /X11/mosaic/libjpeg/sun4
! jpeglibs = $(jpegdir)/libjpeg.a
! jpegflags = -I$(jpegdir) -DHAVE_JPEG
d177 3
a179 8
  #### DIRECT WAIS SUPPORT
--- 123,140 ----
  #dtmdirs = libdtm libnet
  #dtmlibs = ../libnet/libnet.a ../libdtm/libdtm.a
  #dtmflags = -DHAVE_DTM -I.. -I../libnet
! #hdfdir = /hdf2/scratch/sxu/4.0b1_SunOS
! #hdflibs = $(hdfdir)/lib/libnetcdf.a $(hdfdir)/lib/libdf.a
! #hdfflags = -DHAVE_HDF -DHDF -I$(hdfdir)/include
d181 5
a186 3
  #### JPEG SUPPORT
  #### For inline JPEG support, the following should be defined:
  #### The library used is Independent JPEG Group (IJG's) 5.0a.
d188 3
a190 3
! jpegdir = # ../libjpeg
! jpeglibs = -L/usr/local/lib -ljpeg # $(jpegdir)/libjpeg.a
! jpegflags = -I/usr/local/include -DHAVE_JPEG # -I$(jpegdir) -DHAVE_JPEG
d192 24
d217 2
a218 1
  #### DIRECT WAIS SUPPORT
d220 1
a220 1
*** 143,152 ****
d222 1
a222 1
  #### -lm is required for freeWAIS 0.1, as ceil() is used.
d224 2
a225 2
! waisroot = /X11/mosaic/freeWAIS-0.202-sun
! waisflags = -DDIRECT_WAIS -I$(waisroot)/ir
d230 2
a231 2
  #### PEM/PGP SUPPORT
--- 152,161 ----
d233 1
a233 1
  #### -lm is required for freeWAIS 0.1, as ceil() is used.
d235 2
a236 2
! #waisroot = /X11/mosaic/freeWAIS-0.202-sun
! #waisflags = -DDIRECT_WAIS -I$(waisroot)/ir
d241 1
a241 1
  #### PEM/PGP SUPPORT
d243 1
a243 2
*** 184,191 ****
  
d247 1
a247 1
! CFLAGS = -g $(sysconfigflags)
d251 1
a251 2
--- 193,203 ----
  
a253 3
+ install:
+ 	install -c -s -g bin -m 0555 -o bin src/Mosaic ${PREFIX}/bin/Mosaic
+ 
d255 1
a255 1
! CFLAGS+= $(sysconfigflags)
d259 12
@


1.1.1.1
log
@Bring in a port of Mosaic.  This can only be built by people with Motif,
so we'll not enable it by default.
Submitted by:	torstenb
@
text
@@
