From ecefd4e617de55ad1faeacbade0f288ac2366a0b Mon Sep 17 00:00:00 2001 From: Alan Dipert Date: Mon, 8 Mar 2010 06:16:25 -0500 Subject: [PATCH] trimming down --- Makefile.in | 125 ------------ Makefile.orig | 186 ----------------- makefiles/Makefile.alpha | 296 --------------------------- makefiles/Makefile.bsdi | 238 ---------------------- makefiles/Makefile.dec | 300 --------------------------- makefiles/Makefile.hp | 300 --------------------------- makefiles/Makefile.ibm | 300 --------------------------- makefiles/Makefile.indy | 326 ------------------------------ makefiles/Makefile.sco | 305 ---------------------------- makefiles/Makefile.sgi | 322 ----------------------------- makefiles/Makefile.solaris-23 | 304 ---------------------------- makefiles/Makefile.solaris-24 | 303 --------------------------- makefiles/Makefile.solaris-24-x86 | 303 --------------------------- makefiles/Makefile.sun | 299 --------------------------- makefiles/Makefile.sun-lresolv | 297 --------------------------- revert_makefiles | 8 - 16 files changed, 4212 deletions(-) delete mode 100644 Makefile.in delete mode 100644 Makefile.orig delete mode 100755 makefiles/Makefile.alpha delete mode 100755 makefiles/Makefile.bsdi delete mode 100755 makefiles/Makefile.dec delete mode 100755 makefiles/Makefile.hp delete mode 100755 makefiles/Makefile.ibm delete mode 100755 makefiles/Makefile.indy delete mode 100755 makefiles/Makefile.sco delete mode 100755 makefiles/Makefile.sgi delete mode 100755 makefiles/Makefile.solaris-23 delete mode 100755 makefiles/Makefile.solaris-24 delete mode 100755 makefiles/Makefile.solaris-24-x86 delete mode 100755 makefiles/Makefile.sun delete mode 100755 makefiles/Makefile.sun-lresolv delete mode 100755 revert_makefiles diff --git a/Makefile.in b/Makefile.in deleted file mode 100644 index 8556767..0000000 --- a/Makefile.in +++ /dev/null @@ -1,125 +0,0 @@ -#/**************************************************************************** -# * NCSA Mosaic for the X Window System * -# * Software Development Group * -# * National Center for Supercomputing Applications * -# * University of Illinois at Urbana-Champaign * -# * 605 E. Springfield, Champaign IL 61820 * -# * mosaic@ncsa.uiuc.edu * -# * * -# * Copyright (C) 1993, Board of Trustees of the University of Illinois * -# * * -# * NCSA Mosaic software, both binary and source (hereafter, Software) is * -# * copyrighted by The Board of Trustees of the University of Illinois * -# * (UI), and ownership remains with the UI. * -# * * -# * The UI grants you (hereafter, Licensee) a license to use the Software * -# * for academic, research and internal business purposes only, without a * -# * fee. Licensee may distribute the binary and source code (if released) * -# * to third parties provided that the copyright notice and this statement * -# * appears on all copies and that no charge is associated with such * -# * copies. * -# * * -# * Licensee may make derivative works. However, if Licensee distributes * -# * any derivative work based on or derived from the Software, then * -# * Licensee will (1) notify NCSA regarding its distribution of the * -# * derivative work, and (2) clearly notify users that such derivative * -# * work is a modified version and not the original NCSA Mosaic * -# * distributed by the UI. * -# * * -# * Any Licensee wishing to make commercial use of the Software should * -# * contact the UI, c/o NCSA, to negotiate an appropriate license for such * -# * commercial use. Commercial use includes (1) integration of all or * -# * part of the source code into a product for sale or license by or on * -# * behalf of Licensee to third parties, or (2) distribution of the binary * -# * code or source code to third parties that need it to utilize a * -# * commercial product sold or licensed by or on behalf of Licensee. * -# * * -# * UI MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOFTWARE FOR * -# * ANY PURPOSE. IT IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED * -# * WARRANTY. THE UI SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY THE * -# * USERS OF THIS SOFTWARE. * -# * * -# * By using or copying this Software, Licensee agrees to abide by the * -# * copyright law and all other applicable laws of the U.S. including, but * -# * not limited to, export control laws, and the terms of this license. * -# * UI shall have the right to terminate this license immediately by * -# * written notice upon Licensee's breach of, or non-compliance with, any * -# * of its terms. Licensee may be held legally responsible for any * -# * copyright infringement that is caused or encouraged by Licensee's * -# * failure to abide by the terms of this license. * -# * * -# * Comments and questions are welcome and can be sent to * -# * mosaic-x@ncsa.uiuc.edu. * -# ****************************************************************************/ -# @configure_input@ - -# end of variables: The remaining are the basic targets - -dtmdirs=@dtmdirs@ -bindir=@bindir@ - -all: default - -default: $(dtmdirs) libwww2 libXmx libhtmlw libnut src - @echo \*\*\* Welcome to NCSA Mosaic. - -purifyd: $(dtmdirs) libwww2 libXmx libhtmlw libnut src-purifyd - @echo \*\*\* Welcome to Purify'd NCSA Mosaic. - -quantifyd: $(dtmdirs) libwww2 libXmx libhtmlw libnut src-quantifyd - @echo \*\*\* Welcome to Quantify'd NCSA Mosaic. - -libXmx:: - @echo --- Building libXmx - cd libXmx; $(MAKE) - -libhtmlw:: - @echo --- Building libhtmlw - cd libhtmlw; $(MAKE) -libwww2:: - @echo --- Building libwww2 - cd libwww2; $(MAKE) - -libnut:: - @echo --- Building libnut - cd libnut; $(MAKE) - -src:: - @echo --- Building src - cd src; $(MAKE) MOSAIC=Mosaic - -src-purifyd:: - @echo --- Building Purify'd src - cd src; $(MAKE) PURIFY=purify MOSAIC=Mosaic-p - -src-quantifyd:: - @echo --- Building Quantify'd src - cd src; $(MAKE) PURIFY=quantify MOSAIC=Mosaic-q - -libnet:: - @echo --- Building libnet - cd libnet; $(MAKE) - -libdtm:: - @echo --- Building libdtm - cd libdtm; $(MAKE) - -clean: - rm config.cache config.h config.status *~ core config.log - cd libXmx; $(MAKE) $@ - cd libhtmlw; $(MAKE) $@ - cd libwww2; $(MAKE) $@ - cd src; $(MAKE) MOSAIC=Mosaic $@ - cd libnet; $(MAKE) $@ - cd libdtm; $(MAKE) $@ - cd libnut; $(MAKE) $@ - -wclean: - cd libhtmlw; $(MAKE) $@ - cd src; $(MAKE) MOSAIC=Mosaic $@ - -install: - $(INSTALL) ./src/Mosaic $(bindir)/ - -uninstall: - $(UNINSTALL) $(bindir)/Mosaic diff --git a/Makefile.orig b/Makefile.orig deleted file mode 100644 index 6a04100..0000000 --- a/Makefile.orig +++ /dev/null @@ -1,186 +0,0 @@ -## -## Toplevel Makefile for all Makefiles -## - -## -## Scott Powers -## - -all: dev_$(DEV_ARCH) - -list: dev_ -help: dev_ -dev_:: - @echo "You must specify one of the following or set the environment variable" - @echo "[DEV_ARCH] to one of the following:" - @echo " alpha -- DEC Alpha AXP running OSF/1" - @echo " bsdi -- x86 running BSDI BSD/OS 2.1" - @echo " dec -- DEC 2100 running Ultrix 4.3" - @echo " hp -- HP 9000/735 running HP-UX A.09.01" - @echo " ibm -- IBM RS6000 running AIX 4.4 BSD" - @echo " indy -- SGI Indy running IRIX 5.3" - @echo " linux -- x86 running Linux 1.2.13 DYNAMIC" - @echo " linux-static -- x86 running Linux 1.2.13 ALL STATIC" - @echo " linux-static-motif -- x86 running Linux 1.2.13 STATIC MOTIF" - @echo " sco -- x86 running SCO System V 3.2" - @echo " sgi -- SGI Iris running IRIS 4.0.2" - @echo " solaris-23 -- SPARCstation 20 running Solaris 2.3" - @echo " solaris-24 -- SPARCstation 20 running Solaris 2.4" - @echo " solaris-24-x86 -- x86 running Solaris 2.4 for x86" - @echo " sun -- SPARCserver 690MP running SunOS 4.1.3" - @echo " sun-lresolv -- SPARCserver 690MP running SunOS 4.1.3" - @echo " " - @echo "To make a Purify or Quantify version of Mosaic, put a 'p_' or" - @echo " 'q_' in front of the platform." - @echo "If your OS is not listed, you will need to copy one of the" - @echo " the Makefiles.OS in the 'makefiles' directory, edit it for" - @echo " your system, edit this Makefile to add your system, compile," - @echo " and send in your changes to: mosaic-x@ncsa.uiuc.edu." - -purifyd: - $(MAKE) p_$(DEV_ARCH) - -quantifyd: - $(MAKE) q_$(DEV_ARCH) - -rm_and_touch: - @rm -f config.h - @touch config.h - -dev_alpha: rm_and_touch alpha -alpha: rm_and_touch - $(MAKE) -f makefiles/Makefile.alpha DEV_ARCH=alpha -p_alpha: rm_and_touch - $(MAKE) -f makefiles/Makefile.alpha purifyd DEV_ARCH=alpha -q_alpha: rm_and_touch - $(MAKE) -f makefiles/Makefile.alpha quantifyd DEV_ARCH=alpha - -dev_bsdi: rm_and_touch bsdi -bsdi: rm_and_touch - $(MAKE) -f makefiles/Makefile.bsdi DEV_ARCH=bsdi -p_bsdi: rm_and_touch - $(MAKE) -f makefiles/Makefile.bsdi purifyd DEV_ARCH=bsdi -q_bsdi: rm_and_touch - $(MAKE) -f makefiles/Makefile.bsdi quantifyd DEV_ARCH=bsdi - -dev_dec: rm_and_touch dec -dec: rm_and_touch - $(MAKE) -f makefiles/Makefile.dec DEV_ARCH=dec -p_dec: rm_and_touch - $(MAKE) -f makefiles/Makefile.dec purifyd DEV_ARCH=dec -q_dec: rm_and_touch - $(MAKE) -f makefiles/Makefile.dec quantifyd DEV_ARCH=dec - -dev_hp: rm_and_touch hp -hp: rm_and_touch - $(MAKE) -f makefiles/Makefile.hp DEV_ARCH=hp -p_hp: rm_and_touch - $(MAKE) -f makefiles/Makefile.hp purifyd DEV_ARCH=hp -q_hp: rm_and_touch - $(MAKE) -f makefiles/Makefile.hp quantifyd DEV_ARCH=hp - -dev_ibm: rm_and_touch ibm -ibm: rm_and_touch - $(MAKE) -f makefiles/Makefile.ibm DEV_ARCH=ibm -p_ibm: rm_and_touch - $(MAKE) -f makefiles/Makefile.ibm purifyd DEV_ARCH=ibm -q_ibm: rm_and_touch - $(MAKE) -f makefiles/Makefile.ibm quantifyd DEV_ARCH=ibm - -dev_indy: rm_and_touch indy -indy: rm_and_touch - $(MAKE) -f makefiles/Makefile.indy DEV_ARCH=indy -p_indy: rm_and_touch - $(MAKE) -f makefiles/Makefile.indy purifyd DEV_ARCH=indy -q_indy: rm_and_touch - $(MAKE) -f makefiles/Makefile.indy quantifyd DEV_ARCH=indy - -dev_linux: rm_and_touch linux -linux: rm_and_touch - $(MAKE) -f makefiles/Makefile.linux DEV_ARCH=linux -p_linux: rm_and_touch - $(MAKE) -f makefiles/Makefile.linux purifyd DEV_ARCH=linux -q_linux: rm_and_touch - $(MAKE) -f makefiles/Makefile.linux quantifyd DEV_ARCH=linux - -dev_linux_static: rm_and_touch linux_static -linux_static: rm_and_touch - $(MAKE) -f makefiles/Makefile.linux staticd DEV_ARCH=linux -p_linux_static: rm_and_touch - $(MAKE) -f makefiles/Makefile.linux p_staticd DEV_ARCH=linux -q_linux_static: rm_and_touch - $(MAKE) -f makefiles/Makefile.linux q_staticd DEV_ARCH=linux - -dev_linux_static_motif: rm_and_touch linux_static_motif -linux_static_motif: rm_and_touch - $(MAKE) -f makefiles/Makefile.linux static_motifd DEV_ARCH=linux -p_linux_static_motif: rm_and_touch - $(MAKE) -f makefiles/Makefile.linux p_static_motifd DEV_ARCH=linux -q_linux_static_motif: rm_and_touch - $(MAKE) -f makefiles/Makefile.linux q_static_motifd DEV_ARCH=linux - -dev_sco: rm_and_touch sco -sco: rm_and_touch - $(MAKE) -f makefiles/Makefile.sco DEV_ARCH=sco -p_sco: rm_and_touch - $(MAKE) -f makefiles/Makefile.sco purifyd DEV_ARCH=sco -q_sco: rm_and_touch - $(MAKE) -f makefiles/Makefile.sco quantifyd DEV_ARCH=sco - -dev_sgi: rm_and_touch sgi -sgi: rm_and_touch - $(MAKE) -f makefiles/Makefile.sgi DEV_ARCH=sgi -p_sgi: rm_and_touch - $(MAKE) -f makefiles/Makefile.sgi purifyd DEV_ARCH=sgi -q_sgi: rm_and_touch - $(MAKE) -f makefiles/Makefile.sgi quantifyd DEV_ARCH=sgi - -dev_solaris-23: rm_and_touch solaris-23 -solaris-23: rm_and_touch - $(MAKE) -f makefiles/Makefile.solaris-23 DEV_ARCH=solaris-23 -p_solaris-23: rm_and_touch - $(MAKE) -f makefiles/Makefile.solaris-23 purifyd DEV_ARCH=solaris-23 -q_solaris-23: rm_and_touch - $(MAKE) -f makefiles/Makefile.solaris-23 quantifyd DEV_ARCH=solaris-23 - -dev_solaris-24: rm_and_touch solaris-24 -solaris-24: rm_and_touch - $(MAKE) -f makefiles/Makefile.solaris-24 DEV_ARCH=solaris-24 -p_solaris-24: rm_and_touch - $(MAKE) -f makefiles/Makefile.solaris-24 purifyd DEV_ARCH=solaris-24 -q_solaris-24: rm_and_touch - $(MAKE) -f makefiles/Makefile.solaris-24 quantifyd DEV_ARCH=solaris-24 - -dev_solaris-24-x86: rm_and_touch solaris-24-x86 -solaris-24-x86: rm_and_touch - $(MAKE) -f makefiles/Makefile.solaris-24-x86 DEV_ARCH=solaris-24-x86 -p_solaris-24-x86: rm_and_touch - $(MAKE) -f makefiles/Makefile.solaris-24-x86 purifyd DEV_ARCH=solaris-24-x86 -q_solaris-24-x86: rm_and_touch - $(MAKE) -f makefiles/Makefile.solaris-24-x86 quantifyd DEV_ARCH=solaris-24-x86 - -dev_sun: rm_and_touch sun -sun: rm_and_touch - $(MAKE) -f makefiles/Makefile.sun DEV_ARCH=sun -p_sun: rm_and_touch - $(MAKE) -f makefiles/Makefile.sun purifyd DEV_ARCH=sun -q_sun: rm_and_touch - $(MAKE) -f makefiles/Makefile.sun quantifyd DEV_ARCH=sun - -dev_sun-lresolv: rm_and_touch sun-lresolv -sun-lresolv: rm_and_touch - $(MAKE) -f makefiles/Makefile.sun-lresolv DEV_ARCH=sun-lresolv -p_sun-lresolv: rm_and_touch - $(MAKE) -f makefiles/Makefile.sun-lresolv purifyd DEV_ARCH=sun-lresolv -q_sun-lresolv: rm_and_touch - $(MAKE) -f makefiles/Makefile.sun-lresolv quantifyd DEV_ARCH=sun-lresolv - -clean: - cd libXmx; $(MAKE) clean - cd libdtm; $(MAKE) clean - cd libhtmlw; $(MAKE) clean - cd libnet; $(MAKE) clean - cd libnut; $(MAKE) clean - cd libwww2; $(MAKE) clean - cd src; $(MAKE) clean MOSAIC="Mosaic" - @echo "Done cleaning..." diff --git a/makefiles/Makefile.alpha b/makefiles/Makefile.alpha deleted file mode 100755 index a9f6101..0000000 --- a/makefiles/Makefile.alpha +++ /dev/null @@ -1,296 +0,0 @@ -# Toplevel Makefile for NCSA Mosaic. - -# You shouldn't need to touch any of the Makefiles in the various -# subdirectories if you configure this Makefile correctly. - -# If you need to make serious changes to get Mosaic to compile on your -# platform, send context diffs to mosaic-x@ncsa.uiuc.edu. - -# -------------------------- CUSTOMIZABLE OPTIONS ---------------------------- - - -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 -ldflags = - -#### 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 = - - -#### Random system configuration flags. -#### --> *** For Motif 1.2 ON ANY PLATFORM, do -DMOTIF1_2 *** <-- -#### For IBM AIX 3.2, do -D_BSD -#### For NeXT, do -DNEXT -#### For HP/UX, do -Aa -D_HPUX_SOURCE -#### For Dell SVR4, do -DSVR4 -#### For Solaris, do -DSVR4 -#### For Esix 4.0.4 and Solaris x86 2.1, do -DSVR4 -#### 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: -syslibs = -lPW -#### For Sun's and Ultrix and HP and BSD/386: -# syslibs = -#### For Sun's with no DNS: -# syslibs = -lresolv -#### For SCO ODT: -# syslibs = -lPW -lsocket -lmalloc -#### For Dell SVR4: -# syslibs = -lnsl -lsocket -lc -lucb -#### For Solaris (?) -# 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 -#### don't worry about it. -#### HP X11R4 version: -# xinc = -I/usr/include/Motif1.1 -I/usr/include/X11R4 -#### HP X11R5 version: -# xinc = -I/usr/include/Motif1.2 -I/usr/local/X11R5/include -#### NeXT version: -# xinc = -I/usr/include/X11 -#### BSD/386 -# xinc = -I/usr/X11/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 = /usr/lib/libXm.a /usr/lib/libXmu.a /usr/lib/libXt.a /usr/lib/libXext.a /usr/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 -# xlibs = -L/usr/lib/Motif1.2 -lXm -L/usr/lib/X11R5 -L/usr/lib/X11R4 -lXmu -lXt -lX11 -#### For NeXT: -# xlibs = -L/usr/lib/X11 -lXm -lXmu -lXt -lX11 -#### For Dell SVR4: -# xlibs = -L/usr/X5/lib -lXm -lXmu -lXt -lXext -lX11 -#### For Solaris (?) -# xlibs = -lXm -lXmu -lXt -lXext -lX11 -lm -#### For SCO ODT 3.0 (I'm told that -lXtXm_s is *not* a typo :-): -# xlibs = -lXtXm_s -lXmu -lX11_s -#### For nearly everyone else: -xlibs = -lXm -lXmu -lXt -lX11 -#### For BSD/386: -# xlibs = -L/usr/X11/lib -lXm -lXmu -lXt -lX11 -#### For Motorola SVR4: -# xlibs = -lXm -lXmu -lXt -lXext -lX11 -lm - - -#### DTM AND HDF SUPPORT; READ CAREFULLY - -#### If you want to compile with DTM and HDF support, you should leave -#### the following lines uncommented and make sure you have a copy of -#### HDF 3.3 (r1 or later) installed and ready. You can find HDF on -#### ftp.ncsa.uiuc.edu in /HDF. - -#### If you do not want to compile with DTM and HDF support, comment -#### the following lines out. (If you are compiling from source for -#### the first time, you should probably not bother with HDF and DTM -#### support.) - -#### dtmmachtype needs to be set to one of the following: -#### sun, sgi, dec, ibm, next, cray, convex -#### If your platform is not one of the above, then either do not compile -#### with HDF/DTM support or try hacking libdtm/makefile. - -#dtmmachtype = alpha -#dtmdirs = libdtm libnet -#dtmlibs = ../libnet/libnet.a ../libdtm/libdtm.a -#dtmflags = -DHAVE_DTM -I.. -I../libnet -#hdfdir = /hdf2/install/osf -#hdflibs = $(hdfdir)/lib/libmfhdf.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/alpha -pnglibdir = $(pngdir)/lib -pngincludedir = $(pngdir)/include -pnglibs = $(pnglibdir)/libpng.a $(pnglibdir)/libz.a -lm -pngflags = -I$(pngincludedir) -DHAVE_PNG - -#### JPEG SUPPORT -#### For inline JPEG support, the following should be defined: -#### The library used is Independent JPEG Group (IJG's) 5.0a. - -jpegdir = /xdev/mosaic/libjpeg/alpha -jpeglibs = $(jpegdir)/lib/libjpeg.a -jpegflags = -I$(jpegdir)/include -DHAVE_JPEG - - -#### KERBEROS SUPPORT -#### -#### If you want Mosaic to support Kerberos authentication, set the -#### following flags appropriately. You can support Kerberos V4 and/or V5, -#### although it's most likely that your realm supports one or the other. -#### To enable DES-encryption of HTTP messages via Kerberos key exchange, -#### define the KRB-ENCRYPT flag. - -##krb4dir = /usr/athena -krb4dir = /xdev/mosaic/libkrb4/alpha -krb4libs = $(krb4dir)/lib/libkrb.a $(krb4dir)/lib/libdes.a -krb4flags = -DKRB4 -I$(krb4dir)/include - -##krb5dir = /krb5 -krb5dir = /xdev/mosaic/libkrb5/alpha -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) -krblibs = $(krb4libs) $(krb5libs) - - -#### DIRECT WAIS SUPPORT - -#### If you want to have Mosaic be able to communicate directly with -#### WAIS servers, do set the following flags appropriately. We -#### recommend linking with CNIDR's freeWAIS 0.5 distribution; other -#### WAIS distributions may work but we have not tested them with -#### Mosaic. freeWAIS 0.5 can currently (Sept.1995) be found at -#### ftp://sunsite.unc.edu/pub/wais/servers/freeWAIS - -#### If you do not wish to link to the WAIS libraries, then comment -#### the following lines out. Mosaic will then communicate with WAIS -#### servers via a HTTP gateway. - -#### -lm is required for freeWAIS 0.5, as ceil() is used. - -waisroot = /xdev/mosaic/freeWAIS/alpha -waisflags = -DDIRECT_WAIS -I$(waisroot)/include -waislibdir = $(waisroot)/bin -waislibs = $(waislibdir)/inv.a $(waislibdir)/wais.a $(waislibdir)/libftw.a -lm - - -#### Customization flags: -#### . If you want Mosaic to come up with monochrome colors by default, -#### use -DMONO_DEFAULT -#### . If you want to define the default Mosaic home page, set -#### -DHOME_PAGE_DEFAULT=\\\"url\\\" -#### . If you want to define the default Mosaic documentation directory -#### (should be a URL), set -DDOCS_DIRECTORY_DEFAULT=\\\"url\\\" -#### . Other things you can define are spelled out in src/mosaic.h. -customflags = - - - -######## -######## -#### NOTE! If you get errors because of the following line, it means -#### you are NOT using GNUs Make program. The following line is basically -#### for the developers at NCSA to customize the build process without -#### modifying the Makefiles, so you may comment it out without harm. -######## -######## --include local-defines/$(DEV_ARCH) - - - -# ---------------------- END OF CUSTOMIZABLE OPTIONS ------------------------- - -CFLAGS = -g $(sysconfigflags) $(prereleaseflags) - - -# Don't worry about these -- for development purposes only. -PURIFY = purify -QUANTIFY = quantify - -default: $(dtmdirs) libwww2 libXmx libhtmlw libnut src - @echo \*\*\* Welcome to NCSA Mosaic. -purifyd: $(dtmdirs) libwww2 libXmx libhtmlw libnut src-purifyd - @echo \*\*\* Welcome to Purify'd NCSA Mosaic. -quantifyd: $(dtmdirs) libwww2 libXmx libhtmlw libnut src-quantifyd - @echo \*\*\* Welcome to Quantify'd NCSA Mosaic. - -libXmx:: - @echo --- Building libXmx - cd libXmx; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(xinc)" - -libhtmlw:: - @echo --- Building libhtmlw - cd libhtmlw; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag) $(xinc) -DMOTIF -DXMOSAIC" - -libwww2:: - @echo --- Building libwww2 - cd libwww2; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag) $(waisflags) $(krbflags) $(xinc)" - -libnut:: - @echo --- Building libnut - cd libnut; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag)" - -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 - cd src; $(MAKE) PURIFY=$(PURIFY) 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-p" - -src-quantifyd:: - @echo --- Building Quantify'd src - cd src; $(MAKE) PURIFY=$(QUANTIFY) 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-q" - -libnet:: - @echo --- Building libnet - cd libnet; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(dtmflags)" - -libdtm:: - @echo --- Building libdtm - cd libdtm; $(MAKE) $(dtmmachtype) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(dtmflags)" - -clean: - cd libXmx; $(MAKE) $@ - cd libhtmlw; $(MAKE) $@ - cd libwww2; $(MAKE) $@ - cd src; $(MAKE) MOSAIC="Mosaic" $@ - cd libnet; $(MAKE) $@ - cd libdtm; $(MAKE) $@ - cd libnut; $(MAKE) $@ - -wclean: - cd libhtmlw; $(MAKE) $@ - cd src; $(MAKE) MOSAIC="Mosaic" $@ - -commit: - cvs commit -update: - cvs update -countlines: - wc libdtm/*.[ch] libnet/*.[ch] libXmx/*.[ch] libhtmlw/*.[ch] libwww2/*.[ch] src/*.[ch] -replicate: - cp Makefile Makefile.sun - cp Makefile Makefile.ibm - cp Makefile Makefile.dec - cp Makefile Makefile.alpha - cp Makefile Makefile.hp -prune: - mv Makefile.sun Makefile.sun.old - mv Makefile.ibm Makefile.ibm.old - mv Makefile.dec Makefile.dec.old - mv Makefile.alpha Makefile.alpha.old - mv Makefile.hp Makefile.hp.old diff --git a/makefiles/Makefile.bsdi b/makefiles/Makefile.bsdi deleted file mode 100755 index e401d14..0000000 --- a/makefiles/Makefile.bsdi +++ /dev/null @@ -1,238 +0,0 @@ -# Toplevel Makefile for NCSA Mosaic. - -# You shouldn't need to touch any of the Makefiles in the various -# subdirectories if you configure this Makefile correctly. - -# If you need to make serious changes to get Mosaic to compile on your -# platform, send context diffs to mosaic-x@ncsa.uiuc.edu. -# -------------------------- CUSTOMIZABLE OPTIONS ---------------------------- - -prereleaseflags = -DPRERELEASE - -RANLIB = ranlib - -CC = gcc - -#### Linker Flags -- Primarily for linking static on linux-elf. -ldflags = - -#### 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. -#### On most systems, no flag is needed. -knrflag = - - -#### Random system configuration flags. -#### --> *** For Motif 1.2 ON ANY PLATFORM, do -DMOTIF1_2 *** <-- -#### For IBM AIX 3.2, do -D_BSD -#### For NeXT, do -DNEXT -#### For HP/UX, do -Aa -D_HPUX_SOURCE -#### For Dell SVR4, do -DSVR4 -#### For Solaris, do -DSVR4 -#### For Esix 4.0.4 and Solaris x86 2.1, do -DSVR4 -#### 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 = -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 - -#### If you want to compile with DTM and HDF support, you should leave -#### the following lines uncommented and make sure you have a copy of -#### HDF 3.3 (r1 or later) installed and ready. You can find HDF on -#### ftp.ncsa.uiuc.edu in /HDF. - -#### If you do not want to compile with DTM and HDF support, comment -#### the following lines out. (If you are compiling from source for -#### the first time, you should probably not bother with HDF and DTM -#### support.) - -#### dtmmachtype needs to be set to one of the following: -#### sun, sgi, dec, ibm, next, cray, convex -#### 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/libmfhdf.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/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 -#pnglibdir = $(pngdir) -#pngincludedir = $(pngdir) -#pnglibs = $(pnglibdir)/libpng.a $(pnglibdir)/libz.a -lm -#pngflags = -I$(pngincludedir) -DHAVE_PNG - - -#### JPEG SUPPORT -#### 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 -#### -#### If you want Mosaic to support Kerberos authentication, set the -#### following flags appropriately. You can support Kerberos V4 and/or V5, -#### although it's most likely that your realm supports one or the other. -#### To enable DES-encryption of HTTP messages via Kerberos key exchange, -#### 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) -krblibs = $(krb4libs) $(krb5libs) - - -#### DIRECT WAIS SUPPORT - -#### If you want to have Mosaic be able to communicate directly with -#### WAIS servers, do set the following flags appropriately. We -#### recommend linking with CNIDR's freeWAIS 0.5 distribution; other -#### WAIS distributions may work but we have not tested them with -#### Mosaic. freeWAIS 0.5 can currently (Sept.1995) be found at -#### ftp://sunsite.unc.edu/pub/wais/servers/freeWAIS - -#### If you do not wish to link to the WAIS libraries, then comment -#### the following lines out. Mosaic will then communicate with WAIS -#### servers via a HTTP gateway. - -#### -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: -#### . If you want Mosaic to come up with monochrome colors by default, -#### use -DMONO_DEFAULT -#### . If you want to define the default Mosaic home page, set -#### -DHOME_PAGE_DEFAULT=\\\"url\\\" -#### . If you want to define the default Mosaic documentation directory -#### (should be a URL), set -DDOCS_DIRECTORY_DEFAULT=\\\"url\\\" -#### . Other things you can define are spelled out in src/mosaic.h. -customflags = - - - - -######## -######## -#### NOTE! If you get errors because of the following line, it means -#### you are NOT using GNUs Make program. The following line is basically -#### for the developers at NCSA to customize the build process without -#### modifying the Makefiles, so you may comment it out without harm. -######## -######## --include local-defines/$(DEV_ARCH) - - - -# ---------------------- END OF CUSTOMIZABLE OPTIONS ------------------------- -# --------------------- Do Not Modify Below This Line ------------------------ -# - -CFLAGS = -g $(sysconfigflags) $(prereleaseflags) - -# Don't worry about these -- for development purposes only. -PURIFY = purify -QUANTIFY = quantify - -default: $(dtmdirs) libwww2 libXmx libhtmlw libnut src - @echo \*\*\* Welcome to NCSA Mosaic. -purifyd: $(dtmdirs) libwww2 libXmx libhtmlw libnut src-purifyd - @echo \*\*\* Welcome to Purify'd NCSA Mosaic. -quantifyd: $(dtmdirs) libwww2 libXmx libhtmlw libnut src-quantifyd - @echo \*\*\* Welcome to Quantify'd NCSA Mosaic. - -libXmx:: - @echo --- Building libXmx - cd libXmx; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(xinc)" - -libhtmlw:: - @echo --- Building libhtmlw - cd libhtmlw; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag) $(xinc) -DMOTIF -DXMOSAIC" - -libwww2:: - @echo --- Building libwww2 - cd libwww2; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag) $(waisflags) $(krbflags) $(xinc)" - -libnut:: - @echo --- Building libnut - cd libnut; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag)" - -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 - cd src; $(MAKE) PURIFY=$(PURIFY) 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-p" - -src-quantifyd:: - @echo --- Building Quantify'd src - cd src; $(MAKE) PURIFY=$(QUANTIFY) 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-q" - -libnet:: - @echo --- Building libnet - cd libnet; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(dtmflags)" - -libdtm:: - @echo --- Building libdtm - cd libdtm; $(MAKE) $(dtmmachtype) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(dtmflags)" - -clean: - cd libXmx; $(MAKE) $@ - cd libhtmlw; $(MAKE) $@ - cd libwww2; $(MAKE) $@ - cd src; $(MAKE) MOSAIC="Mosaic" $@ - cd libnet; $(MAKE) $@ - cd libdtm; $(MAKE) $@ - cd libnut; $(MAKE) $@ - -wclean: - cd libhtmlw; $(MAKE) $@ - cd src; $(MAKE) MOSAIC="Mosaic" $@ - -commit: - cvs commit -update: - cvs update -countlines: - wc libdtm/*.[ch] libnet/*.[ch] libXmx/*.[ch] libhtmlw/*.[ch] libwww2/*.[ch] src/*.[ch] diff --git a/makefiles/Makefile.dec b/makefiles/Makefile.dec deleted file mode 100755 index 89e150a..0000000 --- a/makefiles/Makefile.dec +++ /dev/null @@ -1,300 +0,0 @@ -# Toplevel Makefile for NCSA Mosaic. - -# You shouldn't need to touch any of the Makefiles in the various -# subdirectories if you configure this Makefile correctly. - -# If you need to make serious changes to get Mosaic to compile on your -# platform, send context diffs to mosaic-x@ncsa.uiuc.edu. - -# -------------------------- CUSTOMIZABLE OPTIONS ---------------------------- - -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 -ldflags = - -#### 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 = - - -#### Random system configuration flags. -#### --> *** For Motif 1.2 ON ANY PLATFORM, do -DMOTIF1_2 *** <-- -#### For IBM AIX 3.2, do -D_BSD -#### For NeXT, do -DNEXT -#### For HP/UX, do -Aa -D_HPUX_SOURCE -#### For Dell SVR4, do -DSVR4 -#### For Solaris, do -DSVR4 -#### For Esix 4.0.4 and Solaris x86 2.1, do -DSVR4 -#### For Convex whatever, do -DCONVEX -#### For SCO ODT 3.0, do -DSCO -DSVR4 -DMOTIF1_2 -#### For Motorola SVR4, do -DSVR4 -DMOTOROLA -DMOTIF1_2 -sysconfigflags = -DBROKEN_MOTIF - -#### System libraries. -syslibs = -lPW -lsun -lmalloc -#### For AIX 3.2 -# syslibs = -lPW -lbsd -#### For most other Motif platforms: -# syslibs = -lPW -#### For Sun's and Ultrix and HP and BSD/386: -syslibs = -#### For Sun's with no DNS: -# syslibs = -lresolv -#### For SCO ODT: -# syslibs = -lPW -lsocket -lmalloc -#### For Dell SVR4: -# syslibs = -lnsl -lsocket -lc -lucb -#### For Solaris (?) -# 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 -#### don't worry about it. -#### HP X11R4 version: -# xinc = -I/usr/include/Motif1.1 -I/usr/include/X11R4 -#### HP X11R5 version: -# xinc = -I/usr/include/Motif1.2 -I/usr/local/X11R5/include -#### NeXT version: -# xinc = -I/usr/include/X11 -#### BSD/386 -# xinc = -I/usr/X11/include -xinc = -I/usr/X11R6.1/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 = /usr/lib/libXm.a /usr/lib/libXmu.a /usr/lib/libXt.a /usr/lib/libXext.a /usr/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 -# xlibs = -L/usr/lib/Motif1.2 -lXm -L/usr/lib/X11R5 -L/usr/lib/X11R4 -lXmu -lXt -lX11 -#### For NeXT: -# xlibs = -L/usr/lib/X11 -lXm -lXmu -lXt -lX11 -#### For Dell SVR4: -# xlibs = -L/usr/X5/lib -lXm -lXmu -lXt -lXext -lX11 -#### For Solaris (?) -# xlibs = -lXm -lXmu -lXt -lXext -lX11 -lm -#### For SCO ODT 3.0 (I'm told that -lXtXm_s is *not* a typo :-): -# xlibs = -lXtXm_s -lXmu -lX11_s -#### For nearly everyone else: -#xlibs = -lXm -lXmu -lXt -lX11 -#xlibs = -L/usr/lib -lXm -lXmu -lXt -lX11 -#xlibs = -L/usr/X11R6.1/lib -lXm -lXmu -lXt -lXext -lX11 -xlibs = /usr/lib/libXm.a /usr/lib/libXmu.a /usr/lib/libXt.a /usr/lib/libXext.a /usr/lib/libSM.a /usr/lib/libICE.a /usr/lib/libXpm.a /usr/lib/libX11.a -#### For BSD/386: -# xlibs = -L/usr/X11/lib -lXm -lXmu -lXt -lX11 -#### For Motorola SVR4: -# xlibs = -lXm -lXmu -lXt -lXext -lX11 -lm - - -#### DTM AND HDF SUPPORT; READ CAREFULLY - -#### If you want to compile with DTM and HDF support, you should leave -#### the following lines uncommented and make sure you have a copy of -#### HDF 3.3 (r1 or later) installed and ready. You can find HDF on -#### ftp.ncsa.uiuc.edu in /HDF. - -#### If you do not want to compile with DTM and HDF support, comment -#### the following lines out. (If you are compiling from source for -#### the first time, you should probably not bother with HDF and DTM -#### support.) - -#### dtmmachtype needs to be set to one of the following: -#### sun, sgi, dec, ibm, next, cray, convex -#### If your platform is not one of the above, then either do not compile -#### with HDF/DTM support or try hacking libdtm/makefile. - -#dtmmachtype = dec -#dtmdirs = libdtm libnet -#dtmlibs = ../libnet/libnet.a ../libdtm/libdtm.a -#dtmflags = -DHAVE_DTM -I.. -I../libnet -#hdfdir = /hdf2/install/dec_mipsel -#hdflibs = $(hdfdir)/lib/libmfhdf.a $(hdfdir)/lib/libdf.a -#hdfflags = -DHAVE_HDF -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/dec -pnglibdir = $(pngdir)/lib -pngincludedir = $(pngdir)/include -pnglibs = $(pnglibdir)/libpng.a $(pnglibdir)/libz.a -lm -pngflags = -I$(pngincludedir) -DHAVE_PNG - -#### JPEG SUPPORT -#### For inline JPEG support, the following should be defined: -#### The library used is Independent JPEG Group (IJG's) 5.0a. - -jpegdir = /xdev/mosaic/libjpeg/dec -jpeglibs = $(jpegdir)/lib/libjpeg.a -jpegflags = -I$(jpegdir)/include -DHAVE_JPEG - - -#### KERBEROS SUPPORT -#### -#### If you want Mosaic to support Kerberos authentication, set the -#### following flags appropriately. You can support Kerberos V4 and/or V5, -#### although it's most likely that your realm supports one or the other. -#### To enable DES-encryption of HTTP messages via Kerberos key exchange, -#### define the KRB-ENCRYPT flag. - -##krb4dir = /usr/athena -#krb4dir = /xdev/mosaic/libkrb4/dec -#krb4libs = $(krb4dir)/lib/libkrb.a $(krb4dir)/lib/libdes.a -#krb4flags = -DKRB4 -I$(krb4dir)/include - -##krb5dir = /krb5 -#krb5dir = /xdev/mosaic/libkrb5/dec -#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) -krblibs = $(krb4libs) $(krb5libs) - - -#### DIRECT WAIS SUPPORT - -#### If you want to have Mosaic be able to communicate directly with -#### WAIS servers, do set the following flags appropriately. We -#### recommend linking with CNIDR's freeWAIS 0.5 distribution; other -#### WAIS distributions may work but we have not tested them with -#### Mosaic. freeWAIS 0.5 can currently (Sept.1995) be found at -#### ftp://sunsite.unc.edu/pub/wais/servers/freeWAIS - -#### If you do not wish to link to the WAIS libraries, then comment -#### the following lines out. Mosaic will then communicate with WAIS -#### servers via a HTTP gateway. - -#### -lm is required for freeWAIS 0.5, as ceil() is used. - -waisroot = /xdev/mosaic/freeWAIS/dec -waisflags = -DDIRECT_WAIS -I$(waisroot)/include -waislibdir = $(waisroot)/bin -waislibs = $(waislibdir)/inv.a $(waislibdir)/wais.a $(waislibdir)/libftw.a -lm - - -#### Customization flags: -#### . If you want Mosaic to come up with monochrome colors by default, -#### use -DMONO_DEFAULT -#### . If you want to define the default Mosaic home page, set -#### -DHOME_PAGE_DEFAULT=\\\"url\\\" -#### . If you want to define the default Mosaic documentation directory -#### (should be a URL), set -DDOCS_DIRECTORY_DEFAULT=\\\"url\\\" -#### . Other things you can define are spelled out in src/mosaic.h. -customflags = - - - - -######## -######## -#### NOTE! If you get errors because of the following line, it means -#### you are NOT using GNUs Make program. The following line is basically -#### for the developers at NCSA to customize the build process without -#### modifying the Makefiles, so you may comment it out without harm. -######## -######## --include local-defines/$(DEV_ARCH) - - - -# ---------------------- END OF CUSTOMIZABLE OPTIONS ------------------------- - - -CFLAGS = -g $(sysconfigflags) $(prereleaseflags) - -# Don't worry about these -- for development purposes only. -PURIFY = purify -QUANTIFY = quantify - -default: $(dtmdirs) libwww2 libXmx libhtmlw libnut src - @echo \*\*\* Welcome to NCSA Mosaic. -purifyd: $(dtmdirs) libwww2 libXmx libhtmlw libnnut src-purifyd - @echo \*\*\* Welcome to Purify'd NCSA Mosaic. -quantifyd: $(dtmdirs) libwww2 libXmx libhtmlw libnut src-quantifyd - @echo \*\*\* Welcome to Quantify'd NCSA Mosaic. - -libXmx:: - @echo --- Building libXmx - cd libXmx; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(xinc)" - -libhtmlw:: - @echo --- Building libhtmlw - cd libhtmlw; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag) $(xinc) -DMOTIF -DXMOSAIC" - -libwww2:: - @echo --- Building libwww2 - cd libwww2; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag) $(waisflags) $(krbflags) $(xinc)" - -libnut:: - @echo --- Building libnut - cd libnut; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag)" - -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 - cd src; $(MAKE) PURIFY=$(PURIFY) 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-p" - -src-quantifyd:: - @echo --- Building Quantify'd src - cd src; $(MAKE) PURIFY=$(QUANTIFY) 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-q" - -libnet:: - @echo --- Building libnet - cd libnet; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(dtmflags)" - -libdtm:: - @echo --- Building libdtm - cd libdtm; $(MAKE) $(dtmmachtype) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(dtmflags)" - -clean: - cd libXmx; $(MAKE) $@ - cd libhtmlw; $(MAKE) $@ - cd libwww2; $(MAKE) $@ - cd src; $(MAKE) MOSAIC="Mosaic" $@ - cd libnet; $(MAKE) $@ - cd libdtm; $(MAKE) $@ - cd libnut; $(MAKE) $@ - -wclean: - cd libhtmlw; $(MAKE) $@ - cd src; $(MAKE) MOSAIC="Mosaic" $@ - -commit: - cvs commit -update: - cvs update -countlines: - wc libdtm/*.[ch] libnet/*.[ch] libXmx/*.[ch] libhtmlw/*.[ch] libwww2/*.[ch] libnut/*.[ch] src/*.[ch] -replicate: - cp Makefile Makefile.sun - cp Makefile Makefile.ibm - cp Makefile Makefile.dec - cp Makefile Makefile.alpha - cp Makefile Makefile.hp -prune: - mv Makefile.sun Makefile.sun.old - mv Makefile.ibm Makefile.ibm.old - mv Makefile.dec Makefile.dec.old - mv Makefile.alpha Makefile.alpha.old - mv Makefile.hp Makefile.hp.old diff --git a/makefiles/Makefile.hp b/makefiles/Makefile.hp deleted file mode 100755 index 9ec1007..0000000 --- a/makefiles/Makefile.hp +++ /dev/null @@ -1,300 +0,0 @@ -# Toplevel Makefile for NCSA Mosaic. - -# You shouldn't need to touch any of the Makefiles in the various -# subdirectories if you configure this Makefile correctly. - -# The default configuration is for SGI IRIX 4.0.x. - -# If you need to make serious changes to get Mosaic to compile on your -# platform, send context diffs to mosaic-x@ncsa.uiuc.edu. - -# -------------------------- CUSTOMIZABLE OPTIONS ---------------------------- - -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 -ldflags = - -#### 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 = - - -#### Random system configuration flags. -#### --> *** For Motif 1.2 ON ANY PLATFORM, do -DMOTIF1_2 *** <-- -#### For IBM AIX 3.2, do -D_BSD -#### For NeXT, do -DNEXT -#### For HP/UX, do -Aa -D_HPUX_SOURCE -DMOTIF1_2 -#### For Dell SVR4, do -DSVR4 -#### For Solaris, do -DSVR4 -#### For Esix 4.0.4 and Solaris x86 2.1, do -DSVR4 -#### For Convex whatever, do -DCONVEX -#### For SCO ODT 3.0, do -DSCO -DSVR4 -DMOTIF1_2 -#### For Motorola SVR4, do -DSVR4 -DMOTOROLA -DMOTIF1_2 -sysconfigflags =-Aa -D_HPUX_SOURCE -DMOTIF1_2 - -#### System libraries. -syslibs = -lPW -lsun -lmalloc -#### For AIX 3.2 -# syslibs = -lPW -lbsd -#### For most other Motif platforms: -# syslibs = -lPW -#### For Sun's and Ultrix and HP and BSD/386: -syslibs = -#### For Sun's with no DNS: -# syslibs = -lresolv -#### For SCO ODT: -# syslibs = -lPW -lsocket -lmalloc -#### For Dell SVR4: -# syslibs = -lnsl -lsocket -lc -lucb -#### For Solaris (?) -# 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 -#### don't worry about it. -#### HP X11R4 version: -# xinc = -I/usr/include/Motif1.1 -I/usr/include/X11R4 -#### HP X11R5 version: -xinc = -I/usr/include/Motif1.2 -I/usr/local/include -#### NeXT version: -# xinc = -I/usr/include/X11 -#### BSD/386 -# xinc = -I/usr/X11/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 = /usr/lib/libXm.a /usr/lib/libXmu.a /usr/lib/libXt.a /usr/lib/libXext.a /usr/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 -#xlibs = /usr/lib/Motif1.2/libXm.a -L/bert/X11r5/hpux/X11R5/lib -lXmu -lXt -lX11 /usr/lib/X11R5/libXhp11.a -xlibs = -L/usr/lib/Motif1.2 -lXm -L/usr/lib/X11R5 -L/usr/lib/X11R4 -lXmu -lXt -lX11 -#### For NeXT: -# xlibs = -L/usr/lib/X11 -lXm -lXmu -lXt -lX11 -#### For Dell SVR4: -# xlibs = -L/usr/X5/lib -lXm -lXmu -lXt -lXext -lX11 -#### For Solaris (?) -# xlibs = -lXm -lXmu -lXt -lXext -lX11 -lm -#### For SCO ODT 3.0 (I'm told that -lXtXm_s is *not* a typo :-): -# xlibs = -lXtXm_s -lXmu -lX11_s -#### For nearly everyone else: -# xlibs = -lXm -lXmu -lXt -lX11 -#### For BSD/386: -# xlibs = -L/usr/X11/lib -lXm -lXmu -lXt -lX11 -#### For Motorola SVR4: -# xlibs = -lXm -lXmu -lXt -lXext -lX11 -lm - - -#### DTM AND HDF SUPPORT; READ CAREFULLY - -#### If you want to compile with DTM and HDF support, you should leave -#### the following lines uncommented and make sure you have a copy of -#### HDF 3.3 (r1 or later) installed and ready. You can find HDF on -#### ftp.ncsa.uiuc.edu in /HDF. - -#### If you do not want to compile with DTM and HDF support, comment -#### the following lines out. (If you are compiling from source for -#### the first time, you should probably not bother with HDF and DTM -#### support.) - -#### dtmmachtype needs to be set to one of the following: -#### sun, sgi, dec, ibm, next, cray, convex -#### If your platform is not one of the above, then either do not compile -#### with HDF/DTM support or try hacking libdtm/makefile. - -#dtmmachtype = sgi -#dtmdirs = libdtm libnet -#dtmlibs = ../libnet/libnet.a ../libdtm/libdtm.a -#dtmflags = -DHAVE_DTM -I.. -I../libnet -#hdfdir = /hdf2/install/hp -#hdflibs = $(hdfdir)/lib/libmfhdf.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/hp -pnglibdir = $(pngdir)/lib -pngincludedir = $(pngdir)/include -pnglibs = $(pnglibdir)/libpng.a $(pnglibdir)/libz.a -lm -pngflags = -I$(pngincludedir) -DHAVE_PNG - -#### JPEG SUPPORT -#### For inline JPEG support, the following should be defined: -#### The library used is Independent JPEG Group (IJG's) 5.0a. - -jpegdir = /xdev/mosaic/libjpeg/hp -jpeglibs = $(jpegdir)/lib/libjpeg.a -jpegflags = -I$(jpegdir)/include -DHAVE_JPEG - - -#### KERBEROS SUPPORT -#### -#### If you want Mosaic to support Kerberos authentication, set the -#### following flags appropriately. You can support Kerberos V4 and/or V5, -#### although it's most likely that your realm supports one or the other. -#### To enable DES-encryption of HTTP messages via Kerberos key exchange, -#### define the KRB-ENCRYPT flag. - -##krb4dir = /usr/athena -#krb4dir = /xdev/mosaic/libkrb4/hp -#krb4libs = $(krb4dir)/lib/libkrb.a $(krb4dir)/lib/libdes.a -#krb4flags = -DKRB4 -I$(krb4dir)/include - -##krb5dir = /krb5 -#krb5dir = /xdev/mosaic/libkrb5/hp -#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) -krblibs = $(krb4libs) $(krb5libs) - - -#### DIRECT WAIS SUPPORT - -#### If you want to have Mosaic be able to communicate directly with -#### WAIS servers, do set the following flags appropriately. We -#### recommend linking with CNIDR's freeWAIS 0.5 distribution; other -#### WAIS distributions may work but we have not tested them with -#### Mosaic. freeWAIS 0.5 can currently (Sept.1995) be found at -#### ftp://sunsite.unc.edu/pub/wais/servers/freeWAIS - -#### If you do not wish to link to the WAIS libraries, then comment -#### the following lines out. Mosaic will then communicate with WAIS -#### servers via a HTTP gateway. - -#### -lm is required for freeWAIS 0.5, as ceil() is used. - -waisroot = /xdev/mosaic/freeWAIS/hp -waisflags = -DDIRECT_WAIS -I$(waisroot)/include -waislibdir = $(waisroot)/bin -waislibs = $(waislibdir)/inv.a $(waislibdir)/wais.a $(waislibdir)/libftw.a -lm - - -#### Customization flags: -#### . If you want Mosaic to come up with monochrome colors by default, -#### use -DMONO_DEFAULT -#### . If you want to define the default Mosaic home page, set -#### -DHOME_PAGE_DEFAULT=\\\"url\\\" -#### . If you want to define the default Mosaic documentation directory -#### (should be a URL), set -DDOCS_DIRECTORY_DEFAULT=\\\"url\\\" -#### . Other things you can define are spelled out in src/mosaic.h. -customflags = - - - - -######## -######## -#### NOTE! If you get errors because of the following line, it means -#### you are NOT using GNUs Make program. The following line is basically -#### for the developers at NCSA to customize the build process without -#### modifying the Makefiles, so you may comment it out without harm. -######## -######## --include local-defines/$(DEV_ARCH) - - - -# ---------------------- END OF CUSTOMIZABLE OPTIONS ------------------------- - - -CFLAGS = -g $(sysconfigflags) $(prereleaseflags) - -# Don't worry about these -- for development purposes only. -PURIFY = purify -QUANTIFY = quantify - -default: $(dtmdirs) libwww2 libXmx libhtmlw libnut src - @echo \*\*\* Welcome to NCSA Mosaic. -purifyd: $(dtmdirs) libwww2 libXmx libhtmlw libnut src-purifyd - @echo \*\*\* Welcome to Purify'd NCSA Mosaic. -quantifyd: $(dtmdirs) libwww2 libXmx libhtmlw libnut src-quantifyd - @echo \*\*\* Welcome to Quantify'd NCSA Mosaic. - -libXmx:: - @echo --- Building libXmx - cd libXmx; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(xinc)" - -libhtmlw:: - @echo --- Building libhtmlw - cd libhtmlw; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag) $(xinc) -DMOTIF -DXMOSAIC" - -libwww2:: - @echo --- Building libwww2 - cd libwww2; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag) $(waisflags) $(krbflags) $(xinc)" - -libnut:: - @echo --- Building libnut - cd libnut; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag)" - -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 - cd src; $(MAKE) PURIFY=$(PURIFY) 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-p" - -src-quantifyd:: - @echo --- Building Quantify'd src - cd src; $(MAKE) PURIFY=$(QUANTIFY) 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-q" - - -libnet:: - @echo --- Building libnet - cd libnet; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(dtmflags)" - -libdtm:: - @echo --- Building libdtm - cd libdtm; $(MAKE) $(dtmmachtype) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(dtmflags)" - -clean: - cd libXmx; $(MAKE) $@ - cd libhtmlw; $(MAKE) $@ - cd libwww2; $(MAKE) $@ - cd src; $(MAKE) MOSAIC="Mosaic" $@ - cd libnet; $(MAKE) $@ - cd libdtm; $(MAKE) $@ - cd libnut; $(MAKE) $@ - -wclean: - cd libhtmlw; $(MAKE) $@ - cd src; $(MAKE) MOSAIC="Mosaic" $@ - -commit: - cvs commit -update: - cvs update -countlines: - wc libdtm/*.[ch] libnet/*.[ch] libXmx/*.[ch] libhtmlw/*.[ch] libwww2/*.[ch] src/*.[ch] -replicate: - cp Makefile Makefile.sun - cp Makefile Makefile.ibm - cp Makefile Makefile.dec - cp Makefile Makefile.alpha - cp Makefile Makefile.hp -prune: - mv Makefile.sun Makefile.sun.old - mv Makefile.ibm Makefile.ibm.old - mv Makefile.dec Makefile.dec.old - mv Makefile.alpha Makefile.alpha.old - mv Makefile.hp Makefile.hp.old diff --git a/makefiles/Makefile.ibm b/makefiles/Makefile.ibm deleted file mode 100755 index b15a76a..0000000 --- a/makefiles/Makefile.ibm +++ /dev/null @@ -1,300 +0,0 @@ -# Toplevel Makefile for NCSA Mosaic. - -# You shouldn't need to touch any of the Makefiles in the various -# subdirectories if you configure this Makefile correctly. - -# The default configuration is for SGI IRIX 4.0.x. - -# If you need to make serious changes to get Mosaic to compile on your -# platform, send context diffs to mosaic-x@ncsa.uiuc.edu. - -# -------------------------- CUSTOMIZABLE OPTIONS ---------------------------- - -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 -ldflags = - -#### 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 = - - -#### Random system configuration flags. -#### --> *** For Motif 1.2 ON ANY PLATFORM, do -DMOTIF1_2 *** <-- -#### For IBM AIX 3.2, do -D_BSD -#### For NeXT, do -DNEXT -#### For HP/UX, do -Aa -D_HPUX_SOURCE -#### For Dell SVR4, do -DSVR4 -#### For Solaris, do -DSVR4 -#### For Esix 4.0.4 and Solaris x86 2.1, do -DSVR4 -#### For Convex whatever, do -DCONVEX -#### For SCO ODT 3.0, do -DSCO -DSVR4 -DMOTIF1_2 -#### For Motorola SVR4, do -DSVR4 -DMOTOROLA -DMOTIF1_2 -sysconfigflags = -D_BSD - -#### System libraries. -syslibs = -lPW -lsun -lmalloc -#### For AIX 3.2 -syslibs = -lPW -lbsd -#### For most other Motif platforms: -# syslibs = -lPW -#### For Sun's and Ultrix and HP and BSD/386: -# syslibs = -#### For Sun's with no DNS: -# syslibs = -lresolv -#### For SCO ODT: -# syslibs = -lPW -lsocket -lmalloc -#### For Dell SVR4: -# syslibs = -lnsl -lsocket -lc -lucb -#### For Solaris (?) -# 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 -#### don't worry about it. -#### HP X11R4 version: -# xinc = -I/usr/include/Motif1.1 -I/usr/include/X11R4 -#### HP X11R5 version: -# xinc = -I/usr/include/Motif1.2 -I/usr/local/X11R5/include -#### NeXT version: -# xinc = -I/usr/include/X11 -#### BSD/386 -# xinc = -I/usr/X11/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 = /usr/lib/libXm.a /usr/lib/libXmu.a /usr/lib/libXt.a /usr/lib/libXext.a /usr/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 -# xlibs = -L/usr/lib/Motif1.2 -lXm -L/usr/lib/X11R5 -L/usr/lib/X11R4 -lXmu -lXt -lX11 -#### For NeXT: -# xlibs = -L/usr/lib/X11 -lXm -lXmu -lXt -lX11 -#### For Dell SVR4: -# xlibs = -L/usr/X5/lib -lXm -lXmu -lXt -lXext -lX11 -#### For Solaris (?) -# xlibs = -lXm -lXmu -lXt -lXext -lX11 -lm -#### For SCO ODT 3.0 (I'm told that -lXtXm_s is *not* a typo :-): -# xlibs = -lXtXm_s -lXmu -lX11_s -#### For nearly everyone else: -xlibs = -lXm -lXmu -lXt -lX11 -#### For BSD/386: -# xlibs = -L/usr/X11/lib -lXm -lXmu -lXt -lX11 -#### For Motorola SVR4: -# xlibs = -lXm -lXmu -lXt -lXext -lX11 -lm - - -#### DTM AND HDF SUPPORT; READ CAREFULLY - -#### If you want to compile with DTM and HDF support, you should leave -#### the following lines uncommented and make sure you have a copy of -#### HDF 3.3 (r1 or later) installed and ready. You can find HDF on -#### ftp.ncsa.uiuc.edu in /HDF. - -#### If you do not want to compile with DTM and HDF support, comment -#### the following lines out. (If you are compiling from source for -#### the first time, you should probably not bother with HDF and DTM -#### support.) - -#### dtmmachtype needs to be set to one of the following: -#### sun, sgi, dec, ibm, next, cray, convex -#### If your platform is not one of the above, then either do not compile -#### with HDF/DTM support or try hacking libdtm/makefile. - -#dtmmachtype = ibm -#dtmdirs = libdtm libnet -#dtmlibs = ../libnet/libnet.a ../libdtm/libdtm.a -#dtmflags = -DHAVE_DTM -I.. -I../libnet -#hdfdir = /hdf2/install/ibm -#hdflibs = $(hdfdir)/lib/libmfhdf.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/ibm -pnglibdir = $(pngdir)/lib -pngincludedir = $(pngdir)/include -pnglibs = $(pnglibdir)/libpng.a $(pnglibdir)/libz.a -lm -pngflags = -I$(pngincludedir) -DHAVE_PNG - -#### JPEG SUPPORT -#### For inline JPEG support, the following should be defined: -#### The library used is Independent JPEG Group (IJG's) 5.0a. - -jpegdir = /xdev/mosaic/libjpeg/ibm -jpeglibs = $(jpegdir)/lib/libjpeg.a -jpegflags = -I$(jpegdir)/include -DHAVE_JPEG - - -#### KERBEROS SUPPORT -#### -#### If you want Mosaic to support Kerberos authentication, set the -#### following flags appropriately. You can support Kerberos V4 and/or V5, -#### although it's most likely that your realm supports one or the other. -#### To enable DES-encryption of HTTP messages via Kerberos key exchange, -#### define the KRB-ENCRYPT flag. - -##krb4dir = /usr/athena -#krb4dir = /xdev/mosaic/libkrb4/ibm -#krb4libs = $(krb4dir)/lib/libkrb.a $(krb4dir)/lib/libdes.a -#krb4flags = -DKRB4 -I$(krb4dir)/include - -##krb5dir = /krb5 -#krb5dir = /xdev/mosaic/libkrb5/ibm -#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) -krblibs = $(krb4libs) $(krb5libs) - - -#### DIRECT WAIS SUPPORT - -#### If you want to have Mosaic be able to communicate directly with -#### WAIS servers, do set the following flags appropriately. We -#### recommend linking with CNIDR's freeWAIS 0.5 distribution; other -#### WAIS distributions may work but we have not tested them with -#### Mosaic. freeWAIS 0.5 can currently (Sept.1995) be found at -#### ftp://sunsite.unc.edu/pub/wais/servers/freeWAIS - -#### If you do not wish to link to the WAIS libraries, then comment -#### the following lines out. Mosaic will then communicate with WAIS -#### servers via a HTTP gateway. - -#### -lm is required for freeWAIS 0.5, as ceil() is used. - -#waisroot = /xdev/mosaic/freeWAIS/ibm -#waisflags = -DDIRECT_WAIS -I$(waisroot)/include -#waislibdir = $(waisroot)/bin -#waislibs = $(waislibdir)/inv.a $(waislibdir)/wais.a $(waislibdir)/libftw.a -lm - - -#### Customization flags: -#### . If you want Mosaic to come up with monochrome colors by default, -#### use -DMONO_DEFAULT -#### . If you want to define the default Mosaic home page, set -#### -DHOME_PAGE_DEFAULT=\\\"url\\\" -#### . If you want to define the default Mosaic documentation directory -#### (should be a URL), set -DDOCS_DIRECTORY_DEFAULT=\\\"url\\\" -#### . Other things you can define are spelled out in src/mosaic.h. -customflags = - - - - -######## -######## -#### NOTE! If you get errors because of the following line, it means -#### you are NOT using GNUs Make program. The following line is basically -#### for the developers at NCSA to customize the build process without -#### modifying the Makefiles, so you may comment it out without harm. -######## -######## --include local-defines/$(DEV_ARCH) - - - -# ---------------------- END OF CUSTOMIZABLE OPTIONS ------------------------- - - -CFLAGS = -g $(sysconfigflags) $(prereleaseflags) - -# Don't worry about these -- for development purposes only. -PURIFY = purify -QUANTIFY = quantify - -default: $(dtmdirs) libwww2 libXmx libhtmlw libnut src - @echo \*\*\* Welcome to NCSA Mosaic. -purifyd: $(dtmdirs) libwww2 libXmx libhtmlw libnut src-purifyd - @echo \*\*\* Welcome to Purify'd NCSA Mosaic. -quantifyd: $(dtmdirs) libwww2 libXmx libhtmlw libnut src-quantifyd - @echo \*\*\* Welcome to Quantify'd NCSA Mosaic. - -libXmx:: - @echo --- Building libXmx - cd libXmx; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(xinc)" - -libhtmlw:: - @echo --- Building libhtmlw - cd libhtmlw; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag) $(xinc) -DMOTIF -DXMOSAIC" - -libwww2:: - @echo --- Building libwww2 - cd libwww2; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag) $(waisflags) $(krbflags) $(xinc)" - - -libnut:: - @echo --- Building libnut - cd libnut; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag)" - -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 - cd src; $(MAKE) PURIFY=$(PURIFY) 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-p" - -src-quantifyd:: - @echo --- Building Quantify'd src - cd src; $(MAKE) PURIFY=$(QUANTIFY) 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-q" - - -libnet:: - @echo --- Building libnet - cd libnet; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(dtmflags)" - -libdtm:: - @echo --- Building libdtm - cd libdtm; $(MAKE) $(dtmmachtype) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(dtmflags)" - -clean: - cd libXmx; $(MAKE) $@ - cd libhtmlw; $(MAKE) $@ - cd libwww2; $(MAKE) $@ - cd src; $(MAKE) MOSAIC="Mosaic" $@ - cd libnet; $(MAKE) $@ - cd libdtm; $(MAKE) $@ - cd libnut; $(MAKE) $@ - -wclean: - cd libhtmlw; $(MAKE) $@ - cd src; $(MAKE) MOSAIC="Mosaic" $@ - -commit: - cvs commit -update: - cvs update -countlines: - wc libdtm/*.[ch] libnet/*.[ch] libXmx/*.[ch] libhtmlw/*.[ch] libwww2/*.[ch] src/*.[ch] -replicate: - cp Makefile Makefile.sun - cp Makefile Makefile.ibm - cp Makefile Makefile.dec - cp Makefile Makefile.alpha - cp Makefile Makefile.hp -prune: - mv Makefile.sun Makefile.sun.old - mv Makefile.ibm Makefile.ibm.old - mv Makefile.dec Makefile.dec.old - mv Makefile.alpha Makefile.alpha.old - mv Makefile.hp Makefile.hp.old diff --git a/makefiles/Makefile.indy b/makefiles/Makefile.indy deleted file mode 100755 index a920c23..0000000 --- a/makefiles/Makefile.indy +++ /dev/null @@ -1,326 +0,0 @@ -# Toplevel Makefile for NCSA Mosaic. - -# You shouldn't need to touch any of the Makefiles in the various -# subdirectories if you configure this Makefile correctly. - -# The default configuration is for SGI IRIX 4.0.x. - -# If you need to make serious changes to get Mosaic to compile on your -# platform, send context diffs to mosaic-x@ncsa.uiuc.edu. - -# -------------------------- CUSTOMIZABLE OPTIONS ---------------------------- - -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 -ldflags = - -#### 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 = - - -#### Random system configuration flags. -#### --> *** For Motif 1.2 ON ANY PLATFORM, do -DMOTIF1_2 *** <-- -#### For IBM AIX 3.2, do -D_BSD -#### For NeXT, do -DNEXT -#### For HP/UX, do -Aa -D_HPUX_SOURCE -#### For Dell SVR4, do -DSVR4 -#### For Solaris, do -DSVR4 -#### For Esix 4.0.4 and Solaris x86 2.1, do -DSVR4 -#### For Convex whatever, do -DCONVEX -#### For SCO ODT 3.0, do -DSCO -DSVR4 -DMOTIF1_2 -#### For Motorola SVR4, do -DSVR4 -DMOTOROLA -DMOTIF1_2 -sysconfigflags = -DMO_IRIX5 - -#### System libraries. -syslibs = -lPW -lsun -lmalloc -#### For AIX 3.2 -# syslibs = -lPW -lbsd -#### For most other Motif platforms: -# syslibs = -lPW -#### For Sun's and Ultrix and HP and BSD/386: -# syslibs = -#### For Sun's with no DNS: -# syslibs = -lresolv -#### For SCO ODT: -# syslibs = -lPW -lsocket -lmalloc -#### For Dell SVR4: -# syslibs = -lnsl -lsocket -lc -lucb -#### For Solaris (?) -# 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 -#### don't worry about it. -#### HP X11R4 version: -# xinc = -I/usr/include/Motif1.1 -I/usr/include/X11R4 -#### HP X11R5 version: -# xinc = -I/usr/include/Motif1.2 -I/usr/local/X11R5/include -#### NeXT version: -# xinc = -I/usr/include/X11 -#### BSD/386 -# xinc = -I/usr/X11/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 = /usr/lib/libXm.a /usr/lib/libXmu.a /usr/lib/libXt.a /usr/lib/libXext.a /usr/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 -# xlibs = -L/usr/lib/Motif1.2 -lXm -L/usr/lib/X11R5 -L/usr/lib/X11R4 -lXmu -lXt -lX11 -#### For NeXT: -# xlibs = -L/usr/lib/X11 -lXm -lXmu -lXt -lX11 -#### For Dell SVR4: -# xlibs = -L/usr/X5/lib -lXm -lXmu -lXt -lXext -lX11 -#### For Solaris (?) -# xlibs = -lXm -lXmu -lXt -lXext -lX11 -lm -#### For SCO ODT 3.0 (I'm told that -lXtXm_s is *not* a typo :-): -# xlibs = -lXtXm_s -lXmu -lX11_s -#### For nearly everyone else: -# xlibs = -lXm -lXmu -lXt -lX11 -#### For BSD/386: -# xlibs = -L/usr/X11/lib -lXm -lXmu -lXt -lX11 -#### For Motorola SVR4: -# xlibs = -lXm -lXmu -lXt -lXext -lX11 -lm - - -#### DTM AND HDF SUPPORT; READ CAREFULLY - -#### If you want to compile with DTM and HDF support, you should leave -#### the following lines uncommented and make sure you have a copy of -#### HDF 3.3 (r1 or later) installed and ready. You can find HDF on -#### ftp.ncsa.uiuc.edu in /HDF. - -#### If you do not want to compile with DTM and HDF support, comment -#### the following lines out. (If you are compiling from source for -#### the first time, you should probably not bother with HDF and DTM -#### support.) - -#### dtmmachtype needs to be set to one of the following: -#### sun, sgi, dec, ibm, next, cray, convex -#### If your platform is not one of the above, then either do not compile -#### with HDF/DTM support or try hacking libdtm/makefile. - -#dtmmachtype = sgi -#dtmdirs = libdtm libnet -#dtmlibs = ../libnet/libnet.a ../libdtm/libdtm.a -#dtmflags = -DHAVE_DTM -I.. -I../libnet -#hdfdir = /hdf2/install/sgi -#hdflibs = $(hdfdir)/lib/libmfhdf.a $(hdfdir)/lib/libdf.a -##hdfflags = -DHAVE_HDF -DHDF -I$(hdfdir)/include -#hdfflags = -DHAVE_HDF -DHDF -I/xdev/spowers/sgi_hdf_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/indy -pnglibdir = $(pngdir)/lib -pngincludedir = $(pngdir)/include -pnglibs = $(pnglibdir)/libpng.a $(pnglibdir)/libz.a -lm -pngflags = -I$(pngincludedir) -DHAVE_PNG - - -#### JPEG SUPPORT -#### For inline JPEG support, the following should be defined: -#### The library used is Independent JPEG Group (IJG's) 5.0a. - -jpegdir = /xdev/mosaic/libjpeg/indy -jpeglibs = $(jpegdir)/lib/libjpeg.a -jpegflags = -I$(jpegdir)/include -DHAVE_JPEG - - -#### KERBEROS SUPPORT -#### -#### If you want Mosaic to support Kerberos authentication, set the -#### following flags appropriately. You can support Kerberos V4 and/or V5, -#### although it's most likely that your realm supports one or the other. -#### To enable DES-encryption of HTTP messages via Kerberos key exchange, -#### define the KRB-ENCRYPT flag. - -##krb4dir = /usr/athena -#krb4dir = /xdev/mosaic/libkrb4/indy -#krb4libs = $(krb4dir)/lib/libkrb.a $(krb4dir)/lib/libdes.a -#krb4flags = -DKRB4 -I$(krb4dir)/include - -##krb5dir = /krb5 -#krb5dir = /xdev/mosaic/libkrb5/indy -#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) -krblibs = $(krb4libs) $(krb5libs) - - -#### DIRECT WAIS SUPPORT - -#### If you want to have Mosaic be able to communicate directly with -#### WAIS servers, do set the following flags appropriately. We -#### recommend linking with CNIDR's freeWAIS 0.5 distribution; other -#### WAIS distributions may work but we have not tested them with -#### Mosaic. freeWAIS 0.5 can currently (Sept.1995) be found at -#### ftp://sunsite.unc.edu/pub/wais/servers/freeWAIS - -#### If you do not wish to link to the WAIS libraries, then comment -#### the following lines out. Mosaic will then communicate with WAIS -#### servers via a HTTP gateway. - -#### -lm is required for freeWAIS 0.5, as ceil() is used. - -waisroot = /xdev/mosaic/freeWAIS/irix5 -waisflags = -DDIRECT_WAIS -I$(waisroot)/include -waislibdir = $(waisroot)/bin -waislibs = $(waislibdir)/inv.a $(waislibdir)/wais.a $(waislibdir)/libftw.a -lm - - -#### Customization flags: -#### . If you want Mosaic to come up with monochrome colors by default, -#### use -DMONO_DEFAULT -#### . If you want to define the default Mosaic home page, set -#### -DHOME_PAGE_DEFAULT=\\\"url\\\" -#### . If you want to define the default Mosaic documentation directory -#### (should be a URL), set -DDOCS_DIRECTORY_DEFAULT=\\\"url\\\" -#### . Other things you can define are spelled out in src/mosaic.h. -customflags = - - - -#### SOCKS SUPPORT -#### -#### SOCKS is a toolkit that allows Internet applications to be -#### operated on systems inside firewalls in some instances. This -#### version of Mosaic includes support for compiling with SOCKS -#### support enabled; you will need the version of SOCKS found at: -#### -#### file://ftp.nec.com/pub/security/socks.cstc -#### -#### SOCKS and the SOCKS support code in Mosaic are NOT supported by -#### NCSA; if you choose to use SOCKS and/or Mosaic compiled with -#### SOCKS, you are on your own. Note that DTM and WAIS have not been -#### SOCKS-ified and therefore will probably not work under SOCKS. -#### -#### Normally, do not compile with SOCKS enabled; therefore, use the -#### following lines. -socksflags = -sockslibs = -#### To compile with SOCKS support, use the following lines: -# socksflags = -DSOCKS -# sockslibs = /usr/local/lib/libsocks.a - - - - -######## -######## -#### NOTE! If you get errors because of the following line, it means -#### you are NOT using GNUs Make program. The following line is basically -#### for the developers at NCSA to customize the build process without -#### modifying the Makefiles, so you may comment it out without harm. -######## -######## --include local-defines/$(DEV_ARCH) - - - -# ---------------------- END OF CUSTOMIZABLE OPTIONS ------------------------- - - -CFLAGS = -g $(sysconfigflags) $(socksflags) $(prereleaseflags) - -# Don't worry about these -- for development purposes only. -PURIFY = purify -QUANTIFY = quantify - -default: $(dtmdirs) libwww2 libXmx libhtmlw libnut src - @echo \*\*\* Welcome to NCSA Mosaic. -purifyd: $(dtmdirs) libwww2 libXmx libhtmlw libnut src-purifyd - @echo \*\*\* Welcome to Purify'd NCSA Mosaic. -quantifyd: $(dtmdirs) libwww2 libXmx libhtmlw libnut src-quantifyd - @echo \*\*\* Welcome to Quantify'd NCSA Mosaic. - -libXmx:: - @echo --- Building libXmx - cd libXmx; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(xinc)" - -libhtmlw:: - @echo --- Building libhtmlw - cd libhtmlw; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag) $(xinc) -DMOTIF -DXMOSAIC" - -libwww2:: - @echo --- Building libwww2 - cd libwww2; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag) $(waisflags) $(krbflags) $(xinc)" - -libnut:: - @echo --- Building libnut - cd libnut; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag)" - -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 - cd src; $(MAKE) PURIFY=$(PURIFY) 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-p" - -src-quantifyd:: - @echo --- Building Quantify'd src - cd src; $(MAKE) PURIFY=$(QUANTIFY) 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-q" - -libnet:: - @echo --- Building libnet - cd libnet; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(xinc) $(dtmflags)" - -libdtm:: - @echo --- Building libdtm - cd libdtm; $(MAKE) $(dtmmachtype) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(xinc) $(dtmflags)" - -clean: - cd libXmx; $(MAKE) $@ - cd libhtmlw; $(MAKE) $@ - cd libwww2; $(MAKE) $@ - cd src; $(MAKE) MOSAIC="Mosaic" $@ - cd libnet; $(MAKE) $@ - cd libdtm; $(MAKE) $@ - cd libnut; $(MAKE) $@ - -wclean: - cd libhtmlw; $(MAKE) $@ - cd src; $(MAKE) MOSAIC="Mosaic" $@ - -commit: - cvs commit -update: - cvs update -countlines: - wc libdtm/*.[ch] libnet/*.[ch] libXmx/*.[ch] libhtmlw/*.[ch] libwww2/*.[ch] src/*.[ch] -replicate: - cp Makefile Makefile.sun - cp Makefile Makefile.ibm - cp Makefile Makefile.dec - cp Makefile Makefile.alpha - cp Makefile Makefile.hp - cp Makefile Makefile.indy - cp Makefile Makefile.linux -prune: - mv Makefile.sun Makefile.sun.old - mv Makefile.ibm Makefile.ibm.old - mv Makefile.dec Makefile.dec.old - mv Makefile.alpha Makefile.alpha.old - mv Makefile.hp Makefile.hp.old diff --git a/makefiles/Makefile.sco b/makefiles/Makefile.sco deleted file mode 100755 index 76adeee..0000000 --- a/makefiles/Makefile.sco +++ /dev/null @@ -1,305 +0,0 @@ -# Toplevel Makefile for NCSA Mosaic. - -# You shouldn't need to touch any of the Makefiles in the various -# subdirectories if you configure this Makefile correctly. - -# If you need to make serious changes to get Mosaic to compile on your -# platform, send context diffs to mosaic-x@ncsa.uiuc.edu. - -# -------------------------- CUSTOMIZABLE OPTIONS ---------------------------- - -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 = cc - -#### Linker Flags -- Primarily for linking static on linux-elf. -#ldflags = -static -ldflags = - -#### 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 = - - -#### Random system configuration flags. -#### --> *** For Motif 1.2 ON ANY PLATFORM, do -DMOTIF1_2 *** <-- -#### For IBM AIX 3.2, do -D_BSD -#### For NeXT, do -DNEXT -#### For HP/UX, do -Aa -D_HPUX_SOURCE -#### For Dell SVR4, do -DSVR4 -#### For Solaris, do -DSVR4 -DSOLARIS -#### For Esix 4.0.4 and Solaris x86 2.1, do -DSVR4 -#### For Convex whatever, do -DCONVEX -#### For SCO ODT 3.0, do -DSCO -DSVR4 -DMOTIF1_2 -#### For Motorola SVR4, do -DSVR4 -DMOTOROLA -DMOTIF1_2 -sysconfigflags = -DSVR4 -DMOTIF1_2 -DSCO -g - -#### System libraries. -# syslibs = -lPW -lsun -lmalloc -#### For AIX 3.2 -# syslibs = -lPW -lbsd -#### For most other Motif platforms: -# syslibs = -lPW -#### For Sun's and Ultrix and HP and BSD/386: -# syslibs = -#### For Sun's with no DNS: -# syslibs = -lresolv -#### For SCO ODT: -syslibs = -lPW -lsocket -lmalloc -#### For Dell SVR4: -# syslibs = -lnsl -lsocket -lc -lucb -#### For Solaris (2.x) --nsl does not link correctly staticly. -# syslibs = -lnsl /usr/lib/libsocket.a /usr/ccs/lib/libgen.a -#### 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 -#### don't worry about it. -#### HP X11R4 version: -# xinc = -I/usr/include/Motif1.1 -I/usr/include/X11R4 -#### HP X11R5 version: -# xinc = -I/usr/include/Motif1.2 -I/usr/local/X11R5/include -#### NeXT version: -# xinc = -I/usr/include/X11 -#### BSD/386 -# xinc = -I/usr/X11/include -#### Solaris 2.x (Patched X11R5 and Motif libs) -# xinc = -I/usr/openwin/include -I/usr/dt/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 = /usr/lib/libXm.a /usr/lib/libXmu.a /usr/lib/libXt.a /usr/lib/libXext.a /usr/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 -# xlibs = -L/usr/lib/Motif1.2 -lXm -L/usr/lib/X11R5 -L/usr/lib/X11R4 -lXmu -lXt -lX11 -#### For NeXT: -# xlibs = -L/usr/lib/X11 -lXm -lXmu -lXt -lX11 -#### For Dell SVR4: -# xlibs = -L/usr/X5/lib -lXm -lXmu -lXt -lXext -lX11 -#### For Solaris (2.x) (Use static to go from machine to machine) -#xlibs = -L/usr/openwin/lib -L/usr/dt/lib -R/usr/dt/lib -lXm -#xlibs += /usr/openwin/lib/libXmu.a /usr/openwin/lib/libXt.a -#xlibs += /usr/openwin/lib/libXext.a -lX11 -#xlibs += /usr/lib/libm.a -#### For SCO ODT 3.0 (I'm told that -lXtXm_s is *not* a typo :-): -#xlibs = -lXtXm_s -lXmu -lX11_s -#### For SCO OpenServer 5.0 -xlibs = -lXm -lXt -lXmu -lX11 -#### For nearly everyone else: -# xlibs = -lXm -lXmu -lXt -lX11 -#### For BSD/386: -# xlibs = -L/usr/X11/lib -lXm -lXmu -lXt -lX11 -#### For Motorola SVR4: -# xlibs = -lXm -lXmu -lXt -lXext -lX11 -lm - - -#### DTM AND HDF SUPPORT; READ CAREFULLY - -#### If you want to compile with DTM and HDF support, you should leave -#### the following lines uncommented and make sure you have a copy of -#### HDF 3.3 (r1 or later) installed and ready. You can find HDF on -#### ftp.ncsa.uiuc.edu in /HDF. - -#### If you do not want to compile with DTM and HDF support, comment -#### the following lines out. (If you are compiling from source for -#### the first time, you should probably not bother with HDF and DTM -#### support.) - -#### dtmmachtype needs to be set to one of the following: -#### sun, sgi, dec, ibm, next, cray, convex -#### If your platform is not one of the above, then either do not compile -#### with HDF/DTM support or try hacking libdtm/makefile. - -#dtmmachtype = solarisx86 -#dtmdirs = libdtm libnet -#dtmlibs = ../libnet/libnet.a ../libdtm/libdtm.a -#dtmflags = -DHAVE_DTM -I.. -I../libnet -#hdfdir = /hdf2/install/solarisx86 -#hdflibs = $(hdfdir)/lib/libmfhdf.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/sco -pnglibdir = $(pngdir)/lib -pngincludedir = $(pngdir)/include -pnglibs = $(pnglibdir)/libpng.a $(pnglibdir)/libz.a -lm -pngflags = -I$(pngincludedir) -DHAVE_PNG - -#### JPEG SUPPORT -#### For inline JPEG support, the following should be defined: -#### The library used is Independent JPEG Group (IJG's) 5.0a. - -jpegdir = /xdev/mosaic/libjpeg/sco -jpeglibs = $(jpegdir)/lib/libjpeg.a -jpegflags = -I$(jpegdir)/include -DHAVE_JPEG - - -#### KERBEROS SUPPORT -#### -#### If you want Mosaic to support Kerberos authentication, set the -#### following flags appropriately. You can support Kerberos V4 and/or V5, -#### although it's most likely that your realm supports one or the other. -#### To enable DES-encryption of HTTP messages via Kerberos key exchange, -#### define the KRB-ENCRYPT flag. - -##krb4dir = /usr/athena -#krb4dir = /xdev/mosaic/libkrb4/solaris-24 -#krb4libs = $(krb4dir)/lib/libkrb.a $(krb4dir)/lib/libdes.a -#krb4flags = -DKRB4 -I$(krb4dir)/include - -##krb5dir = /krb5 -#krb5dir = /xdev/mosaic/libkrb5/solaris-24 -#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) -krblibs = $(krb4libs) $(krb5libs) - - -#### DIRECT WAIS SUPPORT - -#### If you want to have Mosaic be able to communicate directly with -#### WAIS servers, do set the following flags appropriately. We -#### recommend linking with CNIDR's freeWAIS 0.5 distribution; other -#### WAIS distributions may work but we have not tested them with -#### Mosaic. freeWAIS 0.5 can currently (Sept.1995) be found at -#### ftp://sunsite.unc.edu/pub/wais/servers/freeWAIS - -#### If you do not wish to link to the WAIS libraries, then comment -#### the following lines out. Mosaic will then communicate with WAIS -#### servers via a HTTP gateway. - -#### -lm is required for freeWAIS 0.5, as ceil() is used. - -#waisroot = /xdev/mosaic/freeWAIS/solaris24x86 -#waisflags = -DDIRECT_WAIS -I$(waisroot)/include -#waislibdir = $(waisroot)/bin -#waislibs = $(waislibdir)/inv.a $(waislibdir)/wais.a $(waislibdir)/libftw.a -lm - - - -#### Customization flags: -#### . If you want Mosaic to come up with monochrome colors by default, -#### use -DMONO_DEFAULT -#### . If you want to define the default Mosaic home page, set -#### -DHOME_PAGE_DEFAULT=\\\"url\\\" -#### . If you want to define the default Mosaic documentation directory -#### (should be a URL), set -DDOCS_DIRECTORY_DEFAULT=\\\"url\\\" -#### . Other things you can define are spelled out in src/mosaic.h. -customflags = - - - - -######## -######## -#### NOTE! If you get errors because of the following line, it means -#### you are NOT using GNUs Make program. The following line is basically -#### for the developers at NCSA to customize the build process without -#### modifying the Makefiles, so you may comment it out without harm. -######## -######## --include local-defines/$(DEV_ARCH) - - - -# ---------------------- END OF CUSTOMIZABLE OPTIONS ------------------------- - - -CFLAGS = -g $(sysconfigflags) $(prereleaseflags) - -# Don't worry about these -- for development purposes only. -PURIFY = purify -QUANTIFY = quantify - -default: $(dtmdirs) libwww2 libXmx libhtmlw libnut src - @echo \*\*\* Welcome to NCSA Mosaic. -purifyd: $(dtmdirs) libwww2 libXmx libhtmlw libnut src-purifyd - @echo \*\*\* Welcome to Purify'd NCSA Mosaic. -quantifyd: $(dtmdirs) libwww2 libXmx libhtmlw libnut src-quantifyd - @echo \*\*\* Welcome to Quantify'd NCSA Mosaic. - -libXmx:: - @echo --- Building libXmx - cd libXmx; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(xinc)" - -libhtmlw:: - @echo --- Building libhtmlw - cd libhtmlw; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag) $(xinc) -DMOTIF -DXMOSAIC" - -libwww2:: - @echo --- Building libwww2 - cd libwww2; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag) $(waisflags) $(krbflags) $(xinc)" - - -libnut:: - @echo --- Building libnut - cd libnut; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag)" - -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 - cd src; $(MAKE) PURIFY=$(PURIFY) 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-p" - -src-quantifyd:: - @echo --- Building Quantify'd src - cd src; $(MAKE) PURIFY=$(QUANTIFY) 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-q" - -libnet:: - @echo --- Building libnet - cd libnet; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(dtmflags)" - -libdtm:: - @echo --- Building libdtm - cd libdtm; $(MAKE) $(dtmmachtype) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(dtmflags)" - -clean: - cd libXmx; $(MAKE) $@ - cd libhtmlw; $(MAKE) $@ - cd libwww2; $(MAKE) $@ - cd src; $(MAKE) $@ - cd libnet; $(MAKE) $@ - cd libdtm; $(MAKE) $@ - cd libnut; $(MAKE) $@ - -wclean: - cd libhtmlw; $(MAKE) $@ - cd src; $(MAKE) $@ - -commit: - cvs commit -update: - cvs update -countlines: - wc libdtm/*.[ch] libnet/*.[ch] libXmx/*.[ch] libhtmlw/*.[ch] libwww2/*.[ch] src/*.[ch] -replicate: - cp Makefile Makefile.sun - cp Makefile Makefile.ibm - cp Makefile Makefile.dec - cp Makefile Makefile.alpha - cp Makefile Makefile.hp -prune: - mv Makefile.sun Makefile.sun.old - mv Makefile.ibm Makefile.ibm.old - mv Makefile.dec Makefile.dec.old - mv Makefile.alpha Makefile.alpha.old - mv Makefile.hp Makefile.hp.old diff --git a/makefiles/Makefile.sgi b/makefiles/Makefile.sgi deleted file mode 100755 index ac96d04..0000000 --- a/makefiles/Makefile.sgi +++ /dev/null @@ -1,322 +0,0 @@ -# Toplevel Makefile for NCSA Mosaic. - -# You shouldn't need to touch any of the Makefiles in the various -# subdirectories if you configure this Makefile correctly. - -# The default configuration is for SGI IRIX 4.0.x. - -# If you need to make serious changes to get Mosaic to compile on your -# platform, send context diffs to mosaic-x@ncsa.uiuc.edu. - -# -------------------------- CUSTOMIZABLE OPTIONS ---------------------------- - -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 -ldflags = - -#### 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 = - - -#### Random system configuration flags. -#### --> *** For Motif 1.2 ON ANY PLATFORM, do -DMOTIF1_2 *** <-- -#### For IBM AIX 3.2, do -D_BSD -#### For NeXT, do -DNEXT -#### For HP/UX, do -Aa -D_HPUX_SOURCE -#### For Dell SVR4, do -DSVR4 -#### For Solaris, do -DSVR4 -#### For Esix 4.0.4 and Solaris x86 2.1, do -DSVR4 -#### For Convex whatever, do -DCONVEX -#### For SCO ODT 3.0, do -DSCO -DSVR4 -DMOTIF1_2 -#### For Motorola SVR4, do -DSVR4 -DMOTOROLA -DMOTIF1_2 -sysconfigflags = -DMO_IRIX4 -Wf,-XNl5000 - -#### System libraries. -syslibs = -lPW -lsun -lmalloc -#### For AIX 3.2 -# syslibs = -lPW -lbsd -#### For most other Motif platforms: -# syslibs = -lPW -#### For Sun's and Ultrix and HP and BSD/386: -# syslibs = -#### For Sun's with no DNS: -# syslibs = -lresolv -#### For SCO ODT: -# syslibs = -lPW -lsocket -lmalloc -#### For Dell SVR4: -# syslibs = -lnsl -lsocket -lc -lucb -#### For Solaris (?) -# 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 -#### don't worry about it. -#### HP X11R4 version: -# xinc = -I/usr/include/Motif1.1 -I/usr/include/X11R4 -#### HP X11R5 version: -# xinc = -I/usr/include/Motif1.2 -I/usr/local/X11R5/include -#### NeXT version: -# xinc = -I/usr/include/X11 -#### BSD/386 -# xinc = -I/usr/X11/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 = /usr/lib/libXm.a /usr/lib/libXmu.a /usr/lib/libXt.a /usr/lib/libXext.a /usr/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 -# xlibs = -L/usr/lib/Motif1.2 -lXm -L/usr/lib/X11R5 -L/usr/lib/X11R4 -lXmu -lXt -lX11 -#### For NeXT: -# xlibs = -L/usr/lib/X11 -lXm -lXmu -lXt -lX11 -#### For Dell SVR4: -# xlibs = -L/usr/X5/lib -lXm -lXmu -lXt -lXext -lX11 -#### For Solaris (?) -# xlibs = -lXm -lXmu -lXt -lXext -lX11 -lm -#### For SCO ODT 3.0 (I'm told that -lXtXm_s is *not* a typo :-): -# xlibs = -lXtXm_s -lXmu -lX11_s -#### For nearly everyone else: -# xlibs = -lXm -lXmu -lXt -lX11 -#### For BSD/386: -# xlibs = -L/usr/X11/lib -lXm -lXmu -lXt -lX11 -#### For Motorola SVR4: -# xlibs = -lXm -lXmu -lXt -lXext -lX11 -lm - - -#### DTM AND HDF SUPPORT; READ CAREFULLY - -#### If you want to compile with DTM and HDF support, you should leave -#### the following lines uncommented and make sure you have a copy of -#### HDF 3.3 (r1 or later) installed and ready. You can find HDF on -#### ftp.ncsa.uiuc.edu in /HDF. - -#### If you do not want to compile with DTM and HDF support, comment -#### the following lines out. (If you are compiling from source for -#### the first time, you should probably not bother with HDF and DTM -#### support.) - -#### dtmmachtype needs to be set to one of the following: -#### sun, sgi, dec, ibm, next, cray, convex -#### If your platform is not one of the above, then either do not compile -#### with HDF/DTM support or try hacking libdtm/makefile. - -#dtmmachtype = sgi -#dtmdirs = libdtm libnet -#dtmlibs = ../libnet/libnet.a ../libdtm/libdtm.a -#dtmflags = -DHAVE_DTM -I.. -I../libnet -#hdfdir = /hdf2/install/irix4 -#hdflibs = $(hdfdir)/lib/libmfhdf.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/sgi -pnglibdir = $(pngdir)/lib -pngincludedir = $(pngdir)/include -pnglibs = $(pnglibdir)/libpng.a $(pnglibdir)/libz.a -lm -pngflags = -I$(pngincludedir) -DHAVE_PNG - -#### JPEG SUPPORT -#### For inline JPEG support, the following should be defined: -#### The library used is Independent JPEG Group (IJG's) 5.0a. - -jpegdir = /xdev/mosaic/libjpeg/sgi -jpeglibs = $(jpegdir)/lib/libjpeg.a -jpegflags = -I$(jpegdir)/include -DHAVE_JPEG - - -#### KERBEROS SUPPORT -#### -#### If you want Mosaic to support Kerberos authentication, set the -#### following flags appropriately. You can support Kerberos V4 and/or V5, -#### although it's most likely that your realm supports one or the other. -#### To enable DES-encryption of HTTP messages via Kerberos key exchange, -#### define the KRB-ENCRYPT flag. - -##krb4dir = /usr/athena -#krb4dir = /xdev/mosaic/libkrb4/sgi -#krb4libs = $(krb4dir)/lib/libkrb.a $(krb4dir)/lib/libdes.a -#krb4flags = -DKRB4 -I$(krb4dir)/include - -##krb5dir = /krb5 -#krb5dir = /xdev/mosaic/libkrb5/sgi -#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) -krblibs = $(krb4libs) $(krb5libs) - - -#### DIRECT WAIS SUPPORT - -#### If you want to have Mosaic be able to communicate directly with -#### WAIS servers, do set the following flags appropriately. We -#### recommend linking with CNIDR's freeWAIS 0.5 distribution; other -#### WAIS distributions may work but we have not tested them with -#### Mosaic. freeWAIS 0.5 can currently (Sept.1995) be found at -#### ftp://sunsite.unc.edu/pub/wais/servers/freeWAIS - -#### If you do not wish to link to the WAIS libraries, then comment -#### the following lines out. Mosaic will then communicate with WAIS -#### servers via a HTTP gateway. - -#### -lm is required for freeWAIS 0.5, as ceil() is used. - -waisroot = /xdev/mosaic/freeWAIS/irix4 -waisflags = -DDIRECT_WAIS -I$(waisroot)/include -waislibdir = $(waisroot)/bin -waislibs = $(waislibdir)/inv.a $(waislibdir)/wais.a $(waislibdir)/libftw.a -lm - - -#### Customization flags: -#### . If you want Mosaic to come up with monochrome colors by default, -#### use -DMONO_DEFAULT -#### . If you want to define the default Mosaic home page, set -#### -DHOME_PAGE_DEFAULT=\\\"url\\\" -#### . If you want to define the default Mosaic documentation directory -#### (should be a URL), set -DDOCS_DIRECTORY_DEFAULT=\\\"url\\\" -#### . Other things you can define are spelled out in src/mosaic.h. -customflags = - - - -#### SOCKS SUPPORT -#### -#### SOCKS is a toolkit that allows Internet applications to be -#### operated on systems inside firewalls in some instances. This -#### version of Mosaic includes support for compiling with SOCKS -#### support enabled; you will need the version of SOCKS found at: -#### -#### file://ftp.nec.com/pub/security/socks.cstc -#### -#### SOCKS and the SOCKS support code in Mosaic are NOT supported by -#### NCSA; if you choose to use SOCKS and/or Mosaic compiled with -#### SOCKS, you are on your own. Note that DTM and WAIS have not been -#### SOCKS-ified and therefore will probably not work under SOCKS. -#### -#### Normally, do not compile with SOCKS enabled; therefore, use the -#### following lines. -socksflags = -sockslibs = -#### To compile with SOCKS support, use the following lines: -# socksflags = -DSOCKS -# sockslibs = /usr/local/lib/libsocks.a - - - - -######## -######## -#### NOTE! If you get errors because of the following line, it means -#### you are NOT using GNUs Make program. The following line is basically -#### for the developers at NCSA to customize the build process without -#### modifying the Makefiles, so you may comment it out without harm. -######## -######## --include local-defines/$(DEV_ARCH) - - - -# ---------------------- END OF CUSTOMIZABLE OPTIONS ------------------------- - - -CFLAGS = -g $(sysconfigflags) $(socksflags) $(prereleaseflags) - -# Don't worry about these -- for development purposes only. -PURIFY = purify -QUANTIFY = quantify - -default: $(dtmdirs) libwww2 libXmx libhtmlw libnut src - @echo \*\*\* Welcome to NCSA Mosaic. -purifyd: $(dtmdirs) libwww2 libXmx libhtmlw libnut src-purifyd - @echo \*\*\* Welcome to Purify'd NCSA Mosaic. -quantifyd: $(dtmdirs) libwww2 libXmx libhtmlw libnut src-quantifyd - @echo \*\*\* Welcome to Quantify'd NCSA Mosaic. - -libXmx:: - @echo --- Building libXmx - cd libXmx; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(xinc)" - -libhtmlw:: - @echo --- Building libhtmlw - cd libhtmlw; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag) $(xinc) -DMOTIF -DXMOSAIC" - -libwww2:: - @echo --- Building libwww2 - cd libwww2; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag) $(waisflags) $(krbflags) $(xinc)" - -libnut:: - @echo --- Building libnut - cd libnut; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag)" - -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 - cd src; $(MAKE) PURIFY=$(PURIFY) 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-p" - -src-quantifyd:: - @echo --- Building Quantify'd src - cd src; $(MAKE) PURIFY=$(QUANTIFY) 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-q" - -libnet:: - @echo --- Building libnet - cd libnet; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(xinc) $(dtmflags)" - -libdtm:: - @echo --- Building libdtm - cd libdtm; $(MAKE) $(dtmmachtype) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(xinc) $(dtmflags)" - -clean: - cd libXmx; $(MAKE) $@ - cd libhtmlw; $(MAKE) $@ - cd libwww2; $(MAKE) $@ - cd src; $(MAKE) MOSAIC="Mosaic" $@ - cd libnet; $(MAKE) $@ - cd libdtm; $(MAKE) $@ - cd libnut; $(MAKE) $@ - -wclean: - cd libhtmlw; $(MAKE) $@ - cd src; $(MAKE) MOSAIC="Mosaic" $@ - -commit: - cvs commit -update: - cvs update -countlines: - wc libdtm/*.[ch] libnet/*.[ch] libXmx/*.[ch] libhtmlw/*.[ch] libwww2/*.[ch] src/*.[ch] -replicate: - cp Makefile Makefile.sun - cp Makefile Makefile.ibm - cp Makefile Makefile.dec - cp Makefile Makefile.alpha - cp Makefile Makefile.hp -prune: - mv Makefile.sun Makefile.sun.old - mv Makefile.ibm Makefile.ibm.old - mv Makefile.dec Makefile.dec.old - mv Makefile.alpha Makefile.alpha.old - mv Makefile.hp Makefile.hp.old diff --git a/makefiles/Makefile.solaris-23 b/makefiles/Makefile.solaris-23 deleted file mode 100755 index 9da9d5b..0000000 --- a/makefiles/Makefile.solaris-23 +++ /dev/null @@ -1,304 +0,0 @@ -# Toplevel Makefile for NCSA Mosaic. - -# You shouldn't need to touch any of the Makefiles in the various -# subdirectories if you configure this Makefile correctly. - -# If you need to make serious changes to get Mosaic to compile on your -# platform, send context diffs to mosaic-x@ncsa.uiuc.edu. - -# -------------------------- CUSTOMIZABLE OPTIONS ---------------------------- - -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 -ldflags = - -#### 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 = - - -#### Random system configuration flags. -#### --> *** For Motif 1.2 ON ANY PLATFORM, do -DMOTIF1_2 *** <-- -#### For IBM AIX 3.2, do -D_BSD -#### For NeXT, do -DNEXT -#### For HP/UX, do -Aa -D_HPUX_SOURCE -#### For Dell SVR4, do -DSVR4 -#### For Solaris, do -DSVR4 -DSOLARIS -#### For Esix 4.0.4 and Solaris x86 2.1, do -DSVR4 -#### For Convex whatever, do -DCONVEX -#### For SCO ODT 3.0, do -DSCO -DSVR4 -DMOTIF1_2 -#### For Motorola SVR4, do -DSVR4 -DMOTOROLA -DMOTIF1_2 -sysconfigflags = -DSOLARIS -DSVR4 -DMOTIF1_2 -DSOLARIS23 - -#### System libraries. -# syslibs = -lPW -lsun -lmalloc -#### For AIX 3.2 -# syslibs = -lPW -lbsd -#### For most other Motif platforms: -# syslibs = -lPW -#### For Sun's and Ultrix and HP and BSD/386: -# syslibs = -#### For Sun's with no DNS: -# syslibs = -lresolv -#### For SCO ODT: -# syslibs = -lPW -lsocket -lmalloc -#### For Dell SVR4: -# syslibs = -lnsl -lsocket -lc -lucb -#### For Solaris (2.x) --nsl does not link correctly staticly. -syslibs = -lnsl /usr/lib/libsocket.a /usr/ccs/lib/libgen.a -# /usr/lib/libelf.a /usr/ucblib/libucb.a -#### 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 -#### don't worry about it. -#### HP X11R4 version: -# xinc = -I/usr/include/Motif1.1 -I/usr/include/X11R4 -#### HP X11R5 version: -# xinc = -I/usr/include/Motif1.2 -I/usr/local/X11R5/include -#### NeXT version: -# xinc = -I/usr/include/X11 -#### BSD/386 -# xinc = -I/usr/X11/include -#### Solaris 2.x (Patched X11R5 and Motif libs) -xinc = -I/home/opt/SUNWmotif/include -I/usr/openwin/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 = /usr/lib/libXm.a /usr/lib/libXmu.a /usr/lib/libXt.a /usr/lib/libXext.a /usr/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 -# xlibs = -L/usr/lib/Motif1.2 -lXm -L/usr/lib/X11R5 -L/usr/lib/X11R4 -lXmu -lXt -lX11 -#### For NeXT: -# xlibs = -L/usr/lib/X11 -lXm -lXmu -lXt -lX11 -#### For Dell SVR4: -# xlibs = -L/usr/X5/lib -lXm -lXmu -lXt -lXext -lX11 -#### For Solaris (2.x) (Use static to go from machine to machine) -xlibs = -L/usr/openwin/lib -xlibs += /home/opt/SUNWmotif/lib/libXm.a /usr/openwin/lib/libXmu.a -xlibs += /usr/openwin/lib/libXt.a /usr/openwin/lib/libXext.a -xlibs += -lX11 /usr/lib/libm.a -#### For SCO ODT 3.0 (I'm told that -lXtXm_s is *not* a typo :-): -# xlibs = -lXtXm_s -lXmu -lX11_s -#### For nearly everyone else: -# xlibs = -lXm -lXmu -lXt -lX11 -#### For BSD/386: -# xlibs = -L/usr/X11/lib -lXm -lXmu -lXt -lX11 -#### For Motorola SVR4: -# xlibs = -lXm -lXmu -lXt -lXext -lX11 -lm - - -#### DTM AND HDF SUPPORT; READ CAREFULLY - -#### If you want to compile with DTM and HDF support, you should leave -#### the following lines uncommented and make sure you have a copy of -#### HDF 3.3 (r1 or later) installed and ready. You can find HDF on -#### ftp.ncsa.uiuc.edu in /HDF. - -#### If you do not want to compile with DTM and HDF support, comment -#### the following lines out. (If you are compiling from source for -#### the first time, you should probably not bother with HDF and DTM -#### support.) - -#### dtmmachtype needs to be set to one of the following: -#### sun, sgi, dec, ibm, next, cray, convex -#### If your platform is not one of the above, then either do not compile -#### with HDF/DTM support or try hacking libdtm/makefile. - -#dtmmachtype = solaris -#dtmdirs = libdtm libnet -#dtmlibs = ../libnet/libnet.a ../libdtm/libdtm.a -#dtmflags = -DHAVE_DTM -I.. -I../libnet -#hdfdir = /hdf2/install/solaris -#hdflibs = $(hdfdir)/lib/libmfhdf.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/solaris-23 -pnglibdir = $(pngdir)/lib -pngincludedir = $(pngdir)/include -pnglibs = $(pnglibdir)/libpng.a $(pnglibdir)/libz.a -lm -pngflags = -I$(pngincludedir) -DHAVE_PNG - -#### JPEG SUPPORT -#### For inline JPEG support, the following should be defined: -#### The library used is Independent JPEG Group (IJG's) 5.0a. - -jpegdir = /xdev/mosaic/libjpeg/solaris-23 -jpeglibs = $(jpegdir)/lib/libjpeg.a -jpegflags = -I$(jpegdir)/include -DHAVE_JPEG - - -#### KERBEROS SUPPORT -#### -#### If you want Mosaic to support Kerberos authentication, set the -#### following flags appropriately. You can support Kerberos V4 and/or V5, -#### although it's most likely that your realm supports one or the other. -#### To enable DES-encryption of HTTP messages via Kerberos key exchange, -#### define the KRB-ENCRYPT flag. - -##krb4dir = /usr/athena -#krb4dir = /xdev/mosaic/libkrb4/solaris-23 -#krb4libs = $(krb4dir)/lib/libkrb.a $(krb4dir)/lib/libdes.a -#krb4flags = -DKRB4 -I$(krb4dir)/include - -##krb5dir = /krb5 -#krb5dir = /xdev/mosaic/libkrb5/solaris-23 -#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) -krblibs = $(krb4libs) $(krb5libs) - - -#### DIRECT WAIS SUPPORT - -#### If you want to have Mosaic be able to communicate directly with -#### WAIS servers, do set the following flags appropriately. We -#### recommend linking with CNIDR's freeWAIS 0.5 distribution; other -#### WAIS distributions may work but we have not tested them with -#### Mosaic. freeWAIS 0.5 can currently (Sept.1995) be found at -#### ftp://sunsite.unc.edu/pub/wais/servers/freeWAIS - -#### If you do not wish to link to the WAIS libraries, then comment -#### the following lines out. Mosaic will then communicate with WAIS -#### servers via a HTTP gateway. - -#### -lm is required for freeWAIS 0.5, as ceil() is used. - -waisroot = /xdev/mosaic/freeWAIS/solaris23 -waisflags = -DDIRECT_WAIS -I$(waisroot)/include -waislibdir = $(waisroot)/bin -waislibs = $(waislibdir)/inv.a $(waislibdir)/wais.a $(waislibdir)/libftw.a -lm - - - -#### Customization flags: -#### . If you want Mosaic to come up with monochrome colors by default, -#### use -DMONO_DEFAULT -#### . If you want to define the default Mosaic home page, set -#### -DHOME_PAGE_DEFAULT=\\\"url\\\" -#### . If you want to define the default Mosaic documentation directory -#### (should be a URL), set -DDOCS_DIRECTORY_DEFAULT=\\\"url\\\" -#### . Other things you can define are spelled out in src/mosaic.h. -customflags = - - - - -######## -######## -#### NOTE! If you get errors because of the following line, it means -#### you are NOT using GNUs Make program. The following line is basically -#### for the developers at NCSA to customize the build process without -#### modifying the Makefiles, so you may comment it out without harm. -######## -######## --include local-defines/$(DEV_ARCH) - - - -# ---------------------- END OF CUSTOMIZABLE OPTIONS ------------------------- - - -CFLAGS = -g $(sysconfigflags) $(prereleaseflags) - -# Don't worry about these -- for development purposes only. -PURIFY = purify -QUANTIFY = quantify - -default: $(dtmdirs) libwww2 libXmx libhtmlw libnut src - @echo \*\*\* Welcome to NCSA Mosaic. -purifyd: $(dtmdirs) libwww2 libXmx libhtmlw libnut src-purifyd - @echo \*\*\* Welcome to Purify'd NCSA Mosaic. -quantifyd: $(dtmdirs) libwww2 libXmx libhtmlw libnut src-quantifyd - @echo \*\*\* Welcome to Quantify'd NCSA Mosaic. - -libXmx:: - @echo --- Building libXmx - cd libXmx; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(xinc)" - -libhtmlw:: - @echo --- Building libhtmlw - cd libhtmlw; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag) $(xinc) -DMOTIF -DXMOSAIC" - -libwww2:: - @echo --- Building libwww2 - cd libwww2; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag) $(waisflags) $(krbflags) $(xinc)" - - -libnut:: - @echo --- Building libnut - cd libnut; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag)" - -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 - cd src; $(MAKE) PURIFY=$(PURIFY) 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-p" - -src-quantifyd:: - @echo --- Building Quantify'd src - cd src; $(MAKE) PURIFY=$(QUANTIFY) 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-q" - -libnet:: - @echo --- Building libnet - cd libnet; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(dtmflags)" - -libdtm:: - @echo --- Building libdtm - cd libdtm; $(MAKE) $(dtmmachtype) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(dtmflags)" - -clean: - cd libXmx; $(MAKE) $@ - cd libhtmlw; $(MAKE) $@ - cd libwww2; $(MAKE) $@ - cd src; $(MAKE) MOSAIC="Mosaic" $@ - cd libnet; $(MAKE) $@ - cd libdtm; $(MAKE) $@ - cd libnut; $(MAKE) $@ - -wclean: - cd libhtmlw; $(MAKE) $@ - cd src; $(MAKE) MOSAIC="Mosaic" $@ - -commit: - cvs commit -update: - cvs update -countlines: - wc libdtm/*.[ch] libnet/*.[ch] libXmx/*.[ch] libhtmlw/*.[ch] libwww2/*.[ch] src/*.[ch] -replicate: - cp Makefile Makefile.sun - cp Makefile Makefile.ibm - cp Makefile Makefile.dec - cp Makefile Makefile.alpha - cp Makefile Makefile.hp -prune: - mv Makefile.sun Makefile.sun.old - mv Makefile.ibm Makefile.ibm.old - mv Makefile.dec Makefile.dec.old - mv Makefile.alpha Makefile.alpha.old - mv Makefile.hp Makefile.hp.old diff --git a/makefiles/Makefile.solaris-24 b/makefiles/Makefile.solaris-24 deleted file mode 100755 index 72f8e51..0000000 --- a/makefiles/Makefile.solaris-24 +++ /dev/null @@ -1,303 +0,0 @@ -# Toplevel Makefile for NCSA Mosaic. - -# You shouldn't need to touch any of the Makefiles in the various -# subdirectories if you configure this Makefile correctly. - -# If you need to make serious changes to get Mosaic to compile on your -# platform, send context diffs to mosaic-x@ncsa.uiuc.edu. - -# -------------------------- CUSTOMIZABLE OPTIONS ---------------------------- - -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 -ldflags = - -#### 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 = - - -#### Random system configuration flags. -#### --> *** For Motif 1.2 ON ANY PLATFORM, do -DMOTIF1_2 *** <-- -#### For IBM AIX 3.2, do -D_BSD -#### For NeXT, do -DNEXT -#### For HP/UX, do -Aa -D_HPUX_SOURCE -#### For Dell SVR4, do -DSVR4 -#### For Solaris, do -DSVR4 -DSOLARIS -#### For Esix 4.0.4 and Solaris x86 2.1, do -DSVR4 -#### For Convex whatever, do -DCONVEX -#### For SCO ODT 3.0, do -DSCO -DSVR4 -DMOTIF1_2 -#### For Motorola SVR4, do -DSVR4 -DMOTOROLA -DMOTIF1_2 -sysconfigflags = -DSVR4 -DMOTIF1_2 -DSOLARIS24 - -#### System libraries. -# syslibs = -lPW -lsun -lmalloc -#### For AIX 3.2 -# syslibs = -lPW -lbsd -#### For most other Motif platforms: -# syslibs = -lPW -#### For Sun's and Ultrix and HP and BSD/386: -# syslibs = -#### For Sun's with no DNS: -# syslibs = -lresolv -#### For SCO ODT: -# syslibs = -lPW -lsocket -lmalloc -#### For Dell SVR4: -# syslibs = -lnsl -lsocket -lc -lucb -#### For Solaris (2.x) --nsl does not link correctly staticly. -syslibs = -lnsl /usr/lib/libsocket.a /usr/ccs/lib/libgen.a -#### 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 -#### don't worry about it. -#### HP X11R4 version: -# xinc = -I/usr/include/Motif1.1 -I/usr/include/X11R4 -#### HP X11R5 version: -# xinc = -I/usr/include/Motif1.2 -I/usr/local/X11R5/include -#### NeXT version: -# xinc = -I/usr/include/X11 -#### BSD/386 -# xinc = -I/usr/X11/include -#### Solaris 2.x (Patched X11R5 and Motif libs) -xinc = -I/usr/openwin/include -I/usr/dt/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 = /usr/lib/libXm.a /usr/lib/libXmu.a /usr/lib/libXt.a /usr/lib/libXext.a /usr/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 -# xlibs = -L/usr/lib/Motif1.2 -lXm -L/usr/lib/X11R5 -L/usr/lib/X11R4 -lXmu -lXt -lX11 -#### For NeXT: -# xlibs = -L/usr/lib/X11 -lXm -lXmu -lXt -lX11 -#### For Dell SVR4: -# xlibs = -L/usr/X5/lib -lXm -lXmu -lXt -lXext -lX11 -#### For Solaris (2.x) (Use static to go from machine to machine) -xlibs = -L/usr/openwin/lib -L/usr/dt/lib -R/usr/dt/lib -lXm -xlibs += /usr/openwin/lib/libXmu.a /usr/openwin/lib/libXt.a -xlibs += /usr/openwin/lib/libXext.a -lX11 -xlibs += /usr/lib/libm.a -#### For SCO ODT 3.0 (I'm told that -lXtXm_s is *not* a typo :-): -# xlibs = -lXtXm_s -lXmu -lX11_s -#### For nearly everyone else: -# xlibs = -lXm -lXmu -lXt -lX11 -#### For BSD/386: -# xlibs = -L/usr/X11/lib -lXm -lXmu -lXt -lX11 -#### For Motorola SVR4: -# xlibs = -lXm -lXmu -lXt -lXext -lX11 -lm - - -#### DTM AND HDF SUPPORT; READ CAREFULLY - -#### If you want to compile with DTM and HDF support, you should leave -#### the following lines uncommented and make sure you have a copy of -#### HDF 3.3 (r1 or later) installed and ready. You can find HDF on -#### ftp.ncsa.uiuc.edu in /HDF. - -#### If you do not want to compile with DTM and HDF support, comment -#### the following lines out. (If you are compiling from source for -#### the first time, you should probably not bother with HDF and DTM -#### support.) - -#### dtmmachtype needs to be set to one of the following: -#### sun, sgi, dec, ibm, next, cray, convex -#### If your platform is not one of the above, then either do not compile -#### with HDF/DTM support or try hacking libdtm/makefile. - -#dtmmachtype = solaris -#dtmdirs = libdtm libnet -#dtmlibs = ../libnet/libnet.a ../libdtm/libdtm.a -#dtmflags = -DHAVE_DTM -I.. -I../libnet -#hdfdir = /hdf2/install/solaris -#hdflibs = $(hdfdir)/lib/libmfhdf.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/solaris-24 -pnglibdir = $(pngdir)/lib -pngincludedir = $(pngdir)/include -pnglibs = $(pnglibdir)/libpng.a $(pnglibdir)/libz.a -lm -pngflags = -I$(pngincludedir) -DHAVE_PNG - -#### JPEG SUPPORT -#### For inline JPEG support, the following should be defined: -#### The library used is Independent JPEG Group (IJG's) 5.0a. - -jpegdir = /xdev/mosaic/libjpeg/solaris-24 -jpeglibs = $(jpegdir)/lib/libjpeg.a -jpegflags = -I$(jpegdir)/include -DHAVE_JPEG - - -#### KERBEROS SUPPORT -#### -#### If you want Mosaic to support Kerberos authentication, set the -#### following flags appropriately. You can support Kerberos V4 and/or V5, -#### although it's most likely that your realm supports one or the other. -#### To enable DES-encryption of HTTP messages via Kerberos key exchange, -#### define the KRB-ENCRYPT flag. - -##krb4dir = /usr/athena -#krb4dir = /xdev/mosaic/libkrb4/solaris-24 -#krb4libs = $(krb4dir)/lib/libkrb.a $(krb4dir)/lib/libdes.a -#krb4flags = -DKRB4 -I$(krb4dir)/include - -##krb5dir = /krb5 -#krb5dir = /xdev/mosaic/libkrb5/solaris-24 -#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) -krblibs = $(krb4libs) $(krb5libs) - - -#### DIRECT WAIS SUPPORT - -#### If you want to have Mosaic be able to communicate directly with -#### WAIS servers, do set the following flags appropriately. We -#### recommend linking with CNIDR's freeWAIS 0.5 distribution; other -#### WAIS distributions may work but we have not tested them with -#### Mosaic. freeWAIS 0.5 can currently (Sept.1995) be found at -#### ftp://sunsite.unc.edu/pub/wais/servers/freeWAIS - -#### If you do not wish to link to the WAIS libraries, then comment -#### the following lines out. Mosaic will then communicate with WAIS -#### servers via a HTTP gateway. - -#### -lm is required for freeWAIS 0.5, as ceil() is used. - -waisroot = /xdev/mosaic/freeWAIS/solaris24 -waisflags = -DDIRECT_WAIS -I$(waisroot)/include -waislibdir = $(waisroot)/bin -waislibs = $(waislibdir)/inv.a $(waislibdir)/wais.a $(waislibdir)/libftw.a -lm - - - -#### Customization flags: -#### . If you want Mosaic to come up with monochrome colors by default, -#### use -DMONO_DEFAULT -#### . If you want to define the default Mosaic home page, set -#### -DHOME_PAGE_DEFAULT=\\\"url\\\" -#### . If you want to define the default Mosaic documentation directory -#### (should be a URL), set -DDOCS_DIRECTORY_DEFAULT=\\\"url\\\" -#### . Other things you can define are spelled out in src/mosaic.h. -customflags = - - - - -######## -######## -#### NOTE! If you get errors because of the following line, it means -#### you are NOT using GNUs Make program. The following line is basically -#### for the developers at NCSA to customize the build process without -#### modifying the Makefiles, so you may comment it out without harm. -######## -######## --include local-defines/$(DEV_ARCH) - - - -# ---------------------- END OF CUSTOMIZABLE OPTIONS ------------------------- - - -CFLAGS = -g $(sysconfigflags) $(prereleaseflags) - -# Don't worry about these -- for development purposes only. -PURIFY = purify -QUANTIFY = quantify - -default: $(dtmdirs) libwww2 libXmx libhtmlw libnut src - @echo \*\*\* Welcome to NCSA Mosaic. -purifyd: $(dtmdirs) libwww2 libXmx libhtmlw libnut src-purifyd - @echo \*\*\* Welcome to Purify'd NCSA Mosaic. -quantifyd: $(dtmdirs) libwww2 libXmx libhtmlw libnut src-quantifyd - @echo \*\*\* Welcome to Quantify'd NCSA Mosaic. - -libXmx:: - @echo --- Building libXmx - cd libXmx; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(xinc)" - -libhtmlw:: - @echo --- Building libhtmlw - cd libhtmlw; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag) $(xinc) -DMOTIF -DXMOSAIC" - -libwww2:: - @echo --- Building libwww2 - cd libwww2; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag) $(waisflags) $(krbflags) $(xinc)" - - -libnut:: - @echo --- Building libnut - cd libnut; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag)" - -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 - cd src; $(MAKE) PURIFY=$(PURIFY) 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-p" - -src-quantifyd:: - @echo --- Building Quantify'd src - cd src; $(MAKE) PURIFY=$(QUANTIFY) 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-q" - -libnet:: - @echo --- Building libnet - cd libnet; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(dtmflags)" - -libdtm:: - @echo --- Building libdtm - cd libdtm; $(MAKE) $(dtmmachtype) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(dtmflags)" - -clean: - cd libXmx; $(MAKE) $@ - cd libhtmlw; $(MAKE) $@ - cd libwww2; $(MAKE) $@ - cd src; $(MAKE) MOSAIC="Mosaic" $@ - cd libnet; $(MAKE) $@ - cd libdtm; $(MAKE) $@ - cd libnut; $(MAKE) $@ - -wclean: - cd libhtmlw; $(MAKE) $@ - cd src; $(MAKE) MOSAIC="Mosaic" $@ - -commit: - cvs commit -update: - cvs update -countlines: - wc libdtm/*.[ch] libnet/*.[ch] libXmx/*.[ch] libhtmlw/*.[ch] libwww2/*.[ch] src/*.[ch] -replicate: - cp Makefile Makefile.sun - cp Makefile Makefile.ibm - cp Makefile Makefile.dec - cp Makefile Makefile.alpha - cp Makefile Makefile.hp -prune: - mv Makefile.sun Makefile.sun.old - mv Makefile.ibm Makefile.ibm.old - mv Makefile.dec Makefile.dec.old - mv Makefile.alpha Makefile.alpha.old - mv Makefile.hp Makefile.hp.old diff --git a/makefiles/Makefile.solaris-24-x86 b/makefiles/Makefile.solaris-24-x86 deleted file mode 100755 index 9a3b8aa..0000000 --- a/makefiles/Makefile.solaris-24-x86 +++ /dev/null @@ -1,303 +0,0 @@ -# Toplevel Makefile for NCSA Mosaic. - -# You shouldn't need to touch any of the Makefiles in the various -# subdirectories if you configure this Makefile correctly. - -# If you need to make serious changes to get Mosaic to compile on your -# platform, send context diffs to mosaic-x@ncsa.uiuc.edu. - -# -------------------------- CUSTOMIZABLE OPTIONS ---------------------------- - -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 -ldflags = - -#### 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 = - - -#### Random system configuration flags. -#### --> *** For Motif 1.2 ON ANY PLATFORM, do -DMOTIF1_2 *** <-- -#### For IBM AIX 3.2, do -D_BSD -#### For NeXT, do -DNEXT -#### For HP/UX, do -Aa -D_HPUX_SOURCE -#### For Dell SVR4, do -DSVR4 -#### For Solaris, do -DSVR4 -DSOLARIS -#### For Esix 4.0.4 and Solaris x86 2.1, do -DSVR4 -#### For Convex whatever, do -DCONVEX -#### For SCO ODT 3.0, do -DSCO -DSVR4 -DMOTIF1_2 -#### For Motorola SVR4, do -DSVR4 -DMOTOROLA -DMOTIF1_2 -sysconfigflags = -DSOLARIS -DSVR4 -DMOTIF1_2 -DSOLARIS24X86 - -#### System libraries. -# syslibs = -lPW -lsun -lmalloc -#### For AIX 3.2 -# syslibs = -lPW -lbsd -#### For most other Motif platforms: -# syslibs = -lPW -#### For Sun's and Ultrix and HP and BSD/386: -# syslibs = -#### For Sun's with no DNS: -# syslibs = -lresolv -#### For SCO ODT: -# syslibs = -lPW -lsocket -lmalloc -#### For Dell SVR4: -# syslibs = -lnsl -lsocket -lc -lucb -#### For Solaris (2.x) --nsl does not link correctly staticly. -syslibs = -lnsl /usr/lib/libsocket.a /usr/ccs/lib/libgen.a -#### 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 -#### don't worry about it. -#### HP X11R4 version: -# xinc = -I/usr/include/Motif1.1 -I/usr/include/X11R4 -#### HP X11R5 version: -# xinc = -I/usr/include/Motif1.2 -I/usr/local/X11R5/include -#### NeXT version: -# xinc = -I/usr/include/X11 -#### BSD/386 -# xinc = -I/usr/X11/include -#### Solaris 2.x (Patched X11R5 and Motif libs) -xinc = -I/usr/openwin/include -I/usr/dt/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 = /usr/lib/libXm.a /usr/lib/libXmu.a /usr/lib/libXt.a /usr/lib/libXext.a /usr/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 -# xlibs = -L/usr/lib/Motif1.2 -lXm -L/usr/lib/X11R5 -L/usr/lib/X11R4 -lXmu -lXt -lX11 -#### For NeXT: -# xlibs = -L/usr/lib/X11 -lXm -lXmu -lXt -lX11 -#### For Dell SVR4: -# xlibs = -L/usr/X5/lib -lXm -lXmu -lXt -lXext -lX11 -#### For Solaris (2.x) (Use static to go from machine to machine) -xlibs = -L/usr/openwin/lib -L/usr/dt/lib -R/usr/dt/lib -lXm -xlibs += /usr/openwin/lib/libXmu.a /usr/openwin/lib/libXt.a -xlibs += /usr/openwin/lib/libXext.a -lX11 -xlibs += /usr/lib/libm.a -#### For SCO ODT 3.0 (I'm told that -lXtXm_s is *not* a typo :-): -# xlibs = -lXtXm_s -lXmu -lX11_s -#### For nearly everyone else: -# xlibs = -lXm -lXmu -lXt -lX11 -#### For BSD/386: -# xlibs = -L/usr/X11/lib -lXm -lXmu -lXt -lX11 -#### For Motorola SVR4: -# xlibs = -lXm -lXmu -lXt -lXext -lX11 -lm - - -#### DTM AND HDF SUPPORT; READ CAREFULLY - -#### If you want to compile with DTM and HDF support, you should leave -#### the following lines uncommented and make sure you have a copy of -#### HDF 3.3 (r1 or later) installed and ready. You can find HDF on -#### ftp.ncsa.uiuc.edu in /HDF. - -#### If you do not want to compile with DTM and HDF support, comment -#### the following lines out. (If you are compiling from source for -#### the first time, you should probably not bother with HDF and DTM -#### support.) - -#### dtmmachtype needs to be set to one of the following: -#### sun, sgi, dec, ibm, next, cray, convex -#### If your platform is not one of the above, then either do not compile -#### with HDF/DTM support or try hacking libdtm/makefile. - -#dtmmachtype = solarisx86 -#dtmdirs = libdtm libnet -#dtmlibs = ../libnet/libnet.a ../libdtm/libdtm.a -#dtmflags = -DHAVE_DTM -I.. -I../libnet -#hdfdir = /hdf2/install/solarisx86 -#hdflibs = $(hdfdir)/lib/libmfhdf.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/solaris-24-x86 -pnglibdir = $(pngdir)/lib -pngincludedir = $(pngdir)/include -pnglibs = $(pnglibdir)/libpng.a $(pnglibdir)/libz.a -lm -pngflags = -I$(pngincludedir) -DHAVE_PNG - -#### JPEG SUPPORT -#### For inline JPEG support, the following should be defined: -#### The library used is Independent JPEG Group (IJG's) 5.0a. - -jpegdir = /xdev/mosaic/libjpeg/solaris-24-x86 -jpeglibs = $(jpegdir)/lib/libjpeg.a -jpegflags = -I$(jpegdir)/include -DHAVE_JPEG - - -#### KERBEROS SUPPORT -#### -#### If you want Mosaic to support Kerberos authentication, set the -#### following flags appropriately. You can support Kerberos V4 and/or V5, -#### although it's most likely that your realm supports one or the other. -#### To enable DES-encryption of HTTP messages via Kerberos key exchange, -#### define the KRB-ENCRYPT flag. - -##krb4dir = /usr/athena -#krb4dir = /xdev/mosaic/libkrb4/solaris-24 -#krb4libs = $(krb4dir)/lib/libkrb.a $(krb4dir)/lib/libdes.a -#krb4flags = -DKRB4 -I$(krb4dir)/include - -##krb5dir = /krb5 -#krb5dir = /xdev/mosaic/libkrb5/solaris-24 -#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) -krblibs = $(krb4libs) $(krb5libs) - - -#### DIRECT WAIS SUPPORT - -#### If you want to have Mosaic be able to communicate directly with -#### WAIS servers, do set the following flags appropriately. We -#### recommend linking with CNIDR's freeWAIS 0.5 distribution; other -#### WAIS distributions may work but we have not tested them with -#### Mosaic. freeWAIS 0.5 can currently (Sept.1995) be found at -#### ftp://sunsite.unc.edu/pub/wais/servers/freeWAIS - -#### If you do not wish to link to the WAIS libraries, then comment -#### the following lines out. Mosaic will then communicate with WAIS -#### servers via a HTTP gateway. - -#### -lm is required for freeWAIS 0.5, as ceil() is used. - -#waisroot = /xdev/mosaic/freeWAIS/solaris24x86 -#waisflags = -DDIRECT_WAIS -I$(waisroot)/include -#waislibdir = $(waisroot)/bin -#waislibs = $(waislibdir)/inv.a $(waislibdir)/wais.a $(waislibdir)/libftw.a -lm - - - -#### Customization flags: -#### . If you want Mosaic to come up with monochrome colors by default, -#### use -DMONO_DEFAULT -#### . If you want to define the default Mosaic home page, set -#### -DHOME_PAGE_DEFAULT=\\\"url\\\" -#### . If you want to define the default Mosaic documentation directory -#### (should be a URL), set -DDOCS_DIRECTORY_DEFAULT=\\\"url\\\" -#### . Other things you can define are spelled out in src/mosaic.h. -customflags = - - - - -######## -######## -#### NOTE! If you get errors because of the following line, it means -#### you are NOT using GNUs Make program. The following line is basically -#### for the developers at NCSA to customize the build process without -#### modifying the Makefiles, so you may comment it out without harm. -######## -######## --include local-defines/$(DEV_ARCH) - - - -# ---------------------- END OF CUSTOMIZABLE OPTIONS ------------------------- - - -CFLAGS = -g $(sysconfigflags) $(prereleaseflags) - -# Don't worry about these -- for development purposes only. -PURIFY = purify -QUANTIFY = quantify - -default: $(dtmdirs) libwww2 libXmx libhtmlw libnut src - @echo \*\*\* Welcome to NCSA Mosaic. -purifyd: $(dtmdirs) libwww2 libXmx libhtmlw libnut src-purifyd - @echo \*\*\* Welcome to Purify'd NCSA Mosaic. -quantifyd: $(dtmdirs) libwww2 libXmx libhtmlw libnut src-quantifyd - @echo \*\*\* Welcome to Quantify'd NCSA Mosaic. - -libXmx:: - @echo --- Building libXmx - cd libXmx; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(xinc)" - -libhtmlw:: - @echo --- Building libhtmlw - cd libhtmlw; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag) $(xinc) -DMOTIF -DXMOSAIC" - -libwww2:: - @echo --- Building libwww2 - cd libwww2; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag) $(waisflags) $(krbflags) $(xinc)" - - -libnut:: - @echo --- Building libnut - cd libnut; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag)" - -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 - cd src; $(MAKE) PURIFY=$(PURIFY) 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-p" - -src-quantifyd:: - @echo --- Building Quantify'd src - cd src; $(MAKE) PURIFY=$(QUANTIFY) 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-q" - -libnet:: - @echo --- Building libnet - cd libnet; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(dtmflags)" - -libdtm:: - @echo --- Building libdtm - cd libdtm; $(MAKE) $(dtmmachtype) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(dtmflags)" - -clean: - cd libXmx; $(MAKE) $@ - cd libhtmlw; $(MAKE) $@ - cd libwww2; $(MAKE) $@ - cd src; $(MAKE) MOSAIC="Mosaic" $@ - cd libnet; $(MAKE) $@ - cd libdtm; $(MAKE) $@ - cd libnut; $(MAKE) $@ - -wclean: - cd libhtmlw; $(MAKE) $@ - cd src; $(MAKE) MOSAIC="Mosaic" $@ - -commit: - cvs commit -update: - cvs update -countlines: - wc libdtm/*.[ch] libnet/*.[ch] libXmx/*.[ch] libhtmlw/*.[ch] libwww2/*.[ch] src/*.[ch] -replicate: - cp Makefile Makefile.sun - cp Makefile Makefile.ibm - cp Makefile Makefile.dec - cp Makefile Makefile.alpha - cp Makefile Makefile.hp -prune: - mv Makefile.sun Makefile.sun.old - mv Makefile.ibm Makefile.ibm.old - mv Makefile.dec Makefile.dec.old - mv Makefile.alpha Makefile.alpha.old - mv Makefile.hp Makefile.hp.old diff --git a/makefiles/Makefile.sun b/makefiles/Makefile.sun deleted file mode 100755 index 8e58587..0000000 --- a/makefiles/Makefile.sun +++ /dev/null @@ -1,299 +0,0 @@ -# Toplevel Makefile for NCSA Mosaic. - -# You shouldn't need to touch any of the Makefiles in the various -# subdirectories if you configure this Makefile correctly. - -# If you need to make serious changes to get Mosaic to compile on your -# platform, send context diffs to mosaic-x@ncsa.uiuc.edu. - -# -------------------------- CUSTOMIZABLE OPTIONS ---------------------------- - -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 -ldflags = - -#### 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 = - - -#### Random system configuration flags. -#### --> *** For Motif 1.2 ON ANY PLATFORM, do -DMOTIF1_2 *** <-- -#### For IBM AIX 3.2, do -D_BSD -#### For NeXT, do -DNEXT -#### For HP/UX, do -Aa -D_HPUX_SOURCE -#### For Dell SVR4, do -DSVR4 -#### For Solaris, do -DSVR4 -#### For Esix 4.0.4 and Solaris x86 2.1, do -DSVR4 -#### For Convex whatever, do -DCONVEX -#### For SCO ODT 3.0, do -DSCO -DSVR4 -DMOTIF1_2 -#### For Motorola SVR4, do -DSVR4 -DMOTOROLA -DMOTIF1_2 -sysconfigflags = -DBROKEN_MOTIF - -#### System libraries. -syslibs = -lPW -lsun -lmalloc -#### For AIX 3.2 -# syslibs = -lPW -lbsd -#### For most other Motif platforms: -# syslibs = -lPW -#### For Sun's and Ultrix and HP and BSD/386: -syslibs = -#### For Sun's with no DNS: -# syslibs = -lresolv -#### For SCO ODT: -# syslibs = -lPW -lsocket -lmalloc -#### For Dell SVR4: -# syslibs = -lnsl -lsocket -lc -lucb -#### For Solaris (?) -# 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 -#### don't worry about it. -#### HP X11R4 version: -# xinc = -I/usr/include/Motif1.1 -I/usr/include/X11R4 -#### HP X11R5 version: -# xinc = -I/usr/include/Motif1.2 -I/usr/local/X11R5/include -#### NeXT version: -# 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 = /usr/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 -# xlibs = -L/usr/lib/Motif1.2 -lXm -L/usr/lib/X11R5 -L/usr/lib/X11R4 -lXmu -lXt -lX11 -#### For NeXT: -# xlibs = -L/usr/lib/X11 -lXm -lXmu -lXt -lX11 -#### For Dell SVR4: -# xlibs = -L/usr/X5/lib -lXm -lXmu -lXt -lXext -lX11 -#### For Solaris (?) -# xlibs = -lXm -lXmu -lXt -lXext -lX11 -lm -#### For SCO ODT 3.0 (I'm told that -lXtXm_s is *not* a typo :-): -# xlibs = -lXtXm_s -lXmu -lX11_s -#### For nearly everyone else: -# xlibs = -lXm -lXmu -lXt -lX11 -#### For BSD/386: -# xlibs = -L/usr/X11/lib -lXm -lXmu -lXt -lX11 -#### For Motorola SVR4: -# xlibs = -lXm -lXmu -lXt -lXext -lX11 -lm - - -#### DTM AND HDF SUPPORT; READ CAREFULLY - -#### If you want to compile with DTM and HDF support, you should leave -#### the following lines uncommented and make sure you have a copy of -#### HDF 3.3 (r1 or later) installed and ready. You can find HDF on -#### ftp.ncsa.uiuc.edu in /HDF. - -#### If you do not want to compile with DTM and HDF support, comment -#### the following lines out. (If you are compiling from source for -#### the first time, you should probably not bother with HDF and DTM -#### support.) - -#### dtmmachtype needs to be set to one of the following: -#### sun, sgi, dec, ibm, next, cray, convex -#### 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/libmfhdf.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 - - -#### JPEG SUPPORT -#### 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 - - -#### KERBEROS SUPPORT -#### -#### If you want Mosaic to support Kerberos authentication, set the -#### following flags appropriately. You can support Kerberos V4 and/or V5, -#### although it's most likely that your realm supports one or the other. -#### To enable DES-encryption of HTTP messages via Kerberos key exchange, -#### 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) -krblibs = $(krb4libs) $(krb5libs) - - -#### DIRECT WAIS SUPPORT - -#### If you want to have Mosaic be able to communicate directly with -#### WAIS servers, do set the following flags appropriately. We -#### recommend linking with CNIDR's freeWAIS 0.5 distribution; other -#### WAIS distributions may work but we have not tested them with -#### Mosaic. freeWAIS 0.5 can currently (Sept.1995) be found at -#### ftp://sunsite.unc.edu/pub/wais/servers/freeWAIS - -#### If you do not wish to link to the WAIS libraries, then comment -#### the following lines out. Mosaic will then communicate with WAIS -#### servers via a HTTP gateway. - -#### -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: -#### . If you want Mosaic to come up with monochrome colors by default, -#### use -DMONO_DEFAULT -#### . If you want to define the default Mosaic home page, set -#### -DHOME_PAGE_DEFAULT=\\\"url\\\" -#### . If you want to define the default Mosaic documentation directory -#### (should be a URL), set -DDOCS_DIRECTORY_DEFAULT=\\\"url\\\" -#### . Other things you can define are spelled out in src/mosaic.h. -customflags = - - - - -######## -######## -#### NOTE! If you get errors because of the following line, it means -#### you are NOT using GNUs Make program. The following line is basically -#### for the developers at NCSA to customize the build process without -#### modifying the Makefiles, so you may comment it out without harm. -######## -######## --include local-defines/$(DEV_ARCH) - - - -# ---------------------- END OF CUSTOMIZABLE OPTIONS ------------------------- - - -CFLAGS = -g $(sysconfigflags) $(prereleaseflags) - -# Don't worry about these -- for development purposes only. -PURIFY = purify -QUANTIFY = quantify - -default: $(dtmdirs) libwww2 libXmx libhtmlw libnut src - @echo \*\*\* Welcome to NCSA Mosaic. -purifyd: $(dtmdirs) libwww2 libXmx libhtmlw libnut src-purifyd - @echo \*\*\* Welcome to Purify'd NCSA Mosaic. -quantifyd: $(dtmdirs) libwww2 libXmx libhtmlw libnut src-quantifyd - @echo \*\*\* Welcome to Quantify'd NCSA Mosaic. - -libXmx:: - @echo --- Building libXmx - cd libXmx; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(xinc)" - -libhtmlw:: - @echo --- Building libhtmlw - cd libhtmlw; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag) $(xinc) -DMOTIF -DXMOSAIC" - -libwww2:: - @echo --- Building libwww2 - cd libwww2; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag) $(waisflags) $(krbflags) $(xinc)" - -libnut:: - @echo --- Building libnut - cd libnut; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag)" - -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 - cd src; $(MAKE) PURIFY=$(PURIFY) 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-p" - -src-quantifyd:: - @echo --- Building Quantify'd src - cd src; $(MAKE) PURIFY=$(QUANTIFY) 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-q" - -libnet:: - @echo --- Building libnet - cd libnet; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(dtmflags)" - -libdtm:: - @echo --- Building libdtm - cd libdtm; $(MAKE) $(dtmmachtype) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(dtmflags)" - -clean: - cd libXmx; $(MAKE) $@ - cd libhtmlw; $(MAKE) $@ - cd libwww2; $(MAKE) $@ - cd src; $(MAKE) MOSAIC="Mosaic" $@ - cd libnet; $(MAKE) $@ - cd libdtm; $(MAKE) $@ - cd libnut; $(MAKE) $@ - -wclean: - cd libhtmlw; $(MAKE) $@ - cd src; $(MAKE) MOSAIC="Mosaic" $@ - -commit: - cvs commit -update: - cvs update -countlines: - wc libdtm/*.[ch] libnet/*.[ch] libXmx/*.[ch] libhtmlw/*.[ch] libwww2/*.[ch] src/*.[ch] -replicate: - cp Makefile Makefile.sun - cp Makefile Makefile.ibm - cp Makefile Makefile.dec - cp Makefile Makefile.alpha - cp Makefile Makefile.hp -prune: - mv Makefile.sun Makefile.sun.old - mv Makefile.ibm Makefile.ibm.old - mv Makefile.dec Makefile.dec.old - mv Makefile.alpha Makefile.alpha.old - mv Makefile.hp Makefile.hp.old diff --git a/makefiles/Makefile.sun-lresolv b/makefiles/Makefile.sun-lresolv deleted file mode 100755 index baa429a..0000000 --- a/makefiles/Makefile.sun-lresolv +++ /dev/null @@ -1,297 +0,0 @@ -# Toplevel Makefile for NCSA Mosaic. - -# You shouldn't need to touch any of the Makefiles in the various -# subdirectories if you configure this Makefile correctly. - -# If you need to make serious changes to get Mosaic to compile on your -# platform, send context diffs to mosaic-x@ncsa.uiuc.edu. - -# -------------------------- CUSTOMIZABLE OPTIONS ---------------------------- - -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 -ldflags = - -#### 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 = - - -#### Random system configuration flags. -#### --> *** For Motif 1.2 ON ANY PLATFORM, do -DMOTIF1_2 *** <-- -#### For IBM AIX 3.2, do -D_BSD -#### For NeXT, do -DNEXT -#### For HP/UX, do -Aa -D_HPUX_SOURCE -#### For Dell SVR4, do -DSVR4 -#### For Solaris, do -DSVR4 -#### For Esix 4.0.4 and Solaris x86 2.1, do -DSVR4 -#### For Convex whatever, do -DCONVEX -#### For SCO ODT 3.0, do -DSCO -DSVR4 -DMOTIF1_2 -#### For Motorola SVR4, do -DSVR4 -DMOTOROLA -DMOTIF1_2 -sysconfigflags = -DBROKEN_MOTIF - -#### System libraries. -syslibs = -lPW -lsun -lmalloc -#### For AIX 3.2 -# syslibs = -lPW -lbsd -#### For most other Motif platforms: -# syslibs = -lPW -#### For Sun's and Ultrix and HP and BSD/386: -# syslibs = -#### For Sun's with no DNS: -syslibs = -lresolv -#### For SCO ODT: -# syslibs = -lPW -lsocket -lmalloc -#### For Dell SVR4: -# syslibs = -lnsl -lsocket -lc -lucb -#### For Solaris (?) -# 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 -#### don't worry about it. -#### HP X11R4 version: -# xinc = -I/usr/include/Motif1.1 -I/usr/include/X11R4 -#### HP X11R5 version: -# xinc = -I/usr/include/Motif1.2 -I/usr/local/X11R5/include -#### NeXT version: -# 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 = /usr/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 -# xlibs = -L/usr/lib/Motif1.2 -lXm -L/usr/lib/X11R5 -L/usr/lib/X11R4 -lXmu -lXt -lX11 -#### For NeXT: -# xlibs = -L/usr/lib/X11 -lXm -lXmu -lXt -lX11 -#### For Dell SVR4: -# xlibs = -L/usr/X5/lib -lXm -lXmu -lXt -lXext -lX11 -#### For Solaris (?) -# xlibs = -lXm -lXmu -lXt -lXext -lX11 -lm -#### For SCO ODT 3.0 (I'm told that -lXtXm_s is *not* a typo :-): -# xlibs = -lXtXm_s -lXmu -lX11_s -#### For nearly everyone else: -# xlibs = -lXm -lXmu -lXt -lX11 -#### For BSD/386: -# xlibs = -L/usr/X11/lib -lXm -lXmu -lXt -lX11 -#### For Motorola SVR4: -# xlibs = -lXm -lXmu -lXt -lXext -lX11 -lm - - -#### DTM AND HDF SUPPORT; READ CAREFULLY - -#### If you want to compile with DTM and HDF support, you should leave -#### the following lines uncommented and make sure you have a copy of -#### HDF 3.3 (r1 or later) installed and ready. You can find HDF on -#### ftp.ncsa.uiuc.edu in /HDF. - -#### If you do not want to compile with DTM and HDF support, comment -#### the following lines out. (If you are compiling from source for -#### the first time, you should probably not bother with HDF and DTM -#### support.) - -#### dtmmachtype needs to be set to one of the following: -#### sun, sgi, dec, ibm, next, cray, convex -#### 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/libmfhdf.a $(hdfdir)/lib/libdf.a -#hdfflags = -DHAVE_HDF -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 - -#### JPEG SUPPORT -#### 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 - - -#### KERBEROS SUPPORT -#### -#### If you want Mosaic to support Kerberos authentication, set the -#### following flags appropriately. You can support Kerberos V4 and/or V5, -#### although it's most likely that your realm supports one or the other. -#### To enable DES-encryption of HTTP messages via Kerberos key exchange, -#### 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) -krblibs = $(krb4libs) $(krb5libs) - - -#### DIRECT WAIS SUPPORT - -#### If you want to have Mosaic be able to communicate directly with -#### WAIS servers, do set the following flags appropriately. We -#### recommend linking with CNIDR's freeWAIS 0.5 distribution; other -#### WAIS distributions may work but we have not tested them with -#### Mosaic. freeWAIS 0.5 can currently (Sept.1995) be found at -#### ftp://sunsite.unc.edu/pub/wais/servers/freeWAIS - -#### If you do not wish to link to the WAIS libraries, then comment -#### the following lines out. Mosaic will then communicate with WAIS -#### servers via a HTTP gateway. - -#### -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: -#### . If you want Mosaic to come up with monochrome colors by default, -#### use -DMONO_DEFAULT -#### . If you want to define the default Mosaic home page, set -#### -DHOME_PAGE_DEFAULT=\\\"url\\\" -#### . If you want to define the default Mosaic documentation directory -#### (should be a URL), set -DDOCS_DIRECTORY_DEFAULT=\\\"url\\\" -#### . Other things you can define are spelled out in src/mosaic.h. -customflags = - - - - -######## -######## -#### NOTE! If you get errors because of the following line, it means -#### you are NOT using GNUs Make program. The following line is basically -#### for the developers at NCSA to customize the build process without -#### modifying the Makefiles, so you may comment it out without harm. -######## -######## --include local-defines/$(DEV_ARCH) - - - -# ---------------------- END OF CUSTOMIZABLE OPTIONS ------------------------- - - -CFLAGS = -g $(sysconfigflags) $(prereleaseflags) - -# Don't worry about these -- for development purposes only. -PURIFY = purify -QUANTIFY = quantify - -default: $(dtmdirs) libwww2 libXmx libhtmlw libnut src - @echo \*\*\* Welcome to NCSA Mosaic. -purifyd: $(dtmdirs) libwww2 libXmx libhtmlw libnut src-purifyd - @echo \*\*\* Welcome to Purify'd NCSA Mosaic. -quantifyd: $(dtmdirs) libwww2 libXmx libhtmlw libnut src-quantifyd - @echo \*\*\* Welcome to Quantify'd NCSA Mosaic. - -libXmx:: - @echo --- Building libXmx - cd libXmx; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(xinc)" - -libhtmlw:: - @echo --- Building libhtmlw - cd libhtmlw; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag) $(xinc) -DMOTIF -DXMOSAIC" - -libwww2:: - @echo --- Building libwww2 - cd libwww2; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag) $(waisflags) $(krbflags) $(xinc)" - -libnut:: - @echo --- Building libnut - cd libnut; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag)" - -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 - cd src; $(MAKE) PURIFY=$(PURIFY) 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-p" - -src-quantifyd:: - @echo --- Building Quantify'd src - cd src; $(MAKE) PURIFY=$(QUANTIFY) 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-q" - -libnet:: - @echo --- Building libnet - cd libnet; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(dtmflags)" - -libdtm:: - @echo --- Building libdtm - cd libdtm; $(MAKE) $(dtmmachtype) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(dtmflags)" - -clean: - cd libXmx; $(MAKE) $@ - cd libhtmlw; $(MAKE) $@ - cd libwww2; $(MAKE) $@ - cd src; $(MAKE) MOSAIC="Mosaic" $@ - cd libnet; $(MAKE) $@ - cd libdtm; $(MAKE) $@ - cd libnut; $(MAKE) $@ - -wclean: - cd libhtmlw; $(MAKE) $@ - cd src; $(MAKE) MOSAIC="Mosaic" $@ - -commit: - cvs commit -update: - cvs update -countlines: - wc libdtm/*.[ch] libnet/*.[ch] libXmx/*.[ch] libhtmlw/*.[ch] libwww2/*.[ch] src/*.[ch] -replicate: - cp Makefile Makefile.sun - cp Makefile Makefile.ibm - cp Makefile Makefile.dec - cp Makefile Makefile.alpha - cp Makefile Makefile.hp -prune: - mv Makefile.sun Makefile.sun.old - mv Makefile.ibm Makefile.ibm.old - mv Makefile.dec Makefile.dec.old - mv Makefile.alpha Makefile.alpha.old - mv Makefile.hp Makefile.hp.old diff --git a/revert_makefiles b/revert_makefiles deleted file mode 100755 index 54e030f..0000000 --- a/revert_makefiles +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -for i in . libwww2 libhtmlw src libnut libXmx libdtm libnet -do - echo "cp $i/Makefile.orig $i/Makefile" - cp $i/Makefile.orig $i/Makefile -done -