#------------------------------------------------ # This is where most of the configuration parameters are defined # also see conf.h # #******************************************************************** # lindner # 3.13 # 1994/05/27 04:56:29 # /home/mudhoney/GopherSrc/CVS/gopher+/Makefile.config.dist,v # Exp # # Paul Lindner, University of Minnesota CIS. # # Copyright 1991, 1992 by the Regents of the University of Minnesota # see the file "Copyright" in the distribution for conditions of use. #******************************************************************** # MODULE: Makefile.config.dist # Parameters for the gopher distribution #********************************************************************* # Revision History: # Makefile.config.dist,v # Revision 3.13 1994/05/27 04:56:29 lindner # Use -O # # Revision 3.12 1994/03/08 15:54:06 lindner # Add item for VFORK # # Revision 3.11 1994/01/20 06:43:07 lindner # support for systems that have flock() instead of fcntl()-locking # # Revision 3.10 1994/01/12 22:23:46 lindner # Fixes for Data General # # Revision 3.9 1994/01/06 06:58:40 lindner # Additions for client logging # # Revision 3.8 1993/11/03 15:02:26 lindner # pl10 # # Revision 3.7 1993/09/22 04:32:32 lindner # Doc fixes # # Revision 3.6 1993/09/03 03:26:12 lindner # Make sun shared libraries optional # # Revision 3.5 1993/07/30 14:21:42 lindner # A/UX mods, and Mitra autoexit mods # # Revision 3.4 1993/07/27 05:33:51 lindner # Mitra mondo debug overhaul # # Revision 3.3 1993/04/15 22:02:32 lindner # CLIENTOPTS added # # Revision 3.2 1993/03/19 19:41:46 lindner # updates for sco # # Revision 3.1.1.1 1993/02/11 18:02:49 lindner # Gopher+1.2beta release # # Revision 1.7 1993/02/09 21:34:03 lindner # New MAN5DIR line, changed install to install -c # # Revision 1.6 1993/01/19 04:52:22 lindner # Renamed Makefile.config to Makefile.config.dist # # Revision 1.5 1993/01/13 16:19:58 lindner # Changes for SVR4 (add -lnsl to libs line..) # # Revision 1.4 1992/12/28 21:45:48 lindner # Removed trailing slash on CLIENTLIB # # Revision 1.3 1992/12/21 20:38:05 lindner # Added warning about -DBIO (from dgg) # # Revision 1.2 1992/12/13 06:10:26 lindner # Fixed SVR4LIBS line (didn't need bsd stuff anymore) also removed HPLIBS # # Revision 1.1 1992/12/10 22:57:05 lindner # Initial revision # # #********************************************************************/ #------------------------------------------------ # Your favorite C compiler # # Note that sun international users should use /usr/5bin/cc instead of cc # # Sco's cc compiler gives lots of problems that gcc will fix, and gcc # is now reasonably easy to get running under SCO. Using this removes # the need for -UM_XENIX -DSCO_UNIX as used for gopher1.1 # note that if you use gcc, you'll also need -lintl in SCOLIBS # CC = cc #------------------------------------------------ # Optimization level. # #OPT=-g OPT=-O #------------------------------------------------ # System Selection, note that you won't have to edit # unless you have compilation problems. # # Add -DUSG for System V # -DBSD for BSD # -DNO_WAITPID if you have wait3 instead of waitpid() # -DUSE_FLOCK if you have flock instead of fcntl() locking GSYSTYPE= #------------------------------------------------ # The ranlib command on your system. A/UX (and probably other sysv's # should change this to "touch" # Known to need changing on: A/UX, SCO3.2.4, IRIX RANLIB = ranlib #------------------------------------------------ # The install command on your system. OSF/1 should change this # to installbsd # # SCO ODT systems should change this to bsdinst # other SCO systems can duplicate this functionality easily # dont use SCO's "install" program it behaves totally differently # IBM AIX systems should change this to /usr/ucb/install # INSTALL = install -c #------------------------------------------------- # Where shall we install stuff? # PREFIX = /usr/local CLIENTDIR = $(PREFIX)/bin CLIENTLIB = $(PREFIX)/lib SERVERDIR = $(PREFIX)/etc # On SCO manuals are in /usr/man but its easiest to do a # symbolic link from /usr/local/man to /usr/man for this and other packages MAN1DIR = $(PREFIX)/man/man1 MAN5DIR = $(PREFIX)/man/man5 MAN8DIR = $(PREFIX)/man/man8 #----------------------------------------------------------------- # DEBUGGING control... # # Comment this to make a slimmer executable... DEBUGGING = -DDEBUGGING #----------------------------------------------------------------- # Optional server features. # # Add -DADD_DATE_AND_TIME to add dates and times to the gopher titles # # Add -DLOADRESTRICT if you want to restrict access based on load avg. # (Note you'll need to add -lkvm in SERVERLIBS) Note also that this has # only been tested under SunOS 4.1.1 # # Add -DBIO if you're using the biology portion of Don Gilbert's modified # wais8b5 that supports boolean and phrase searching. # PLEASE NOTE: the -DBIO option is NOT needed nor recommended for use # of the boolean and phrase searching portion of this modified wais, # just the symbol searching. But, you must compile wais and gopher with # the same option setting (-DBIO or NOT). # The source can be gotten from: # # ftp.bio.indiana.edu # # Add -DDL and define DLPATH and DLOBJS if you want to include support # for Tim Cook's 'dl' databases You will also have to have a # working copy the program with source code in the DLPATH # directory. The files getdesc.o and enddesc.o must be there. # Source for dl can be gotten from: # # admin.viccol.edu.au # pub/dl/describe-1.8.tar.Z or higher... # # # Add -DUMNDES if you'd like to try out the Admit1 protocol extension # # Add -DCAPFILES if you want compatibility with the older .cap directory # # Add -DSETPROCTITLE if you want to set the process title displayed # by the 'ps' command (only works on bsdish systems...) # SERVEROPTS = -DSETPROCTITLE -DCAPFILES #-DUMNDES -DBIO -DDL -DLOADRESTRICT DLPATH = /home/mudhoney/lindner/src/describe #DLOBJS = $(DLPATH)/getdesc.o $(DLPATH)/enddesc.o #----------------------------------------------------------------- # Optional client features. # # Add -DNOMAIL if you don't want remote users mailing documents # # Add -DAUTOEXITONU if you want to treat q and u as the same, and automatically # exit from the top menu - usefull if Gopher called from another app. CLIENTOPTS = #-DNOMAIL -DREMOTEUSER -DCLIENT_LOGGER #-------------------------------------------------- # Libraries for clients and servers # Ultrix needs -lcursesX instead of -lcurses # #-------------------------------------------------- # Libraries... Uncomment out SEQLIBS if compiling on sequent Dynix, # " " PTXLIBS if compiling on sequent Dynix/ptx, # " " UMAXLIBS if compiling under UMAX, # " " SCOLIBS if compiling under SCO Unix. # " " AUXLIBS if compiling under A/UX # " " INTERACTIVELIBS if compiling under Interactive # # Note: SCOLIBS needs -lintl if using gcc to compile in order to find strftime # #UMAXLIBS = -lresolv #LOADLIBS = -lkvm #SEQLIBS = -lseq #PTXLIBS = -lseq -lsocket -linet -lnsl #SCOLIBS = -lsocket -lintl #SVR4LIBS = -lsocket -lnsl #AUXLIBS = -lmalloc #INTERACTIVELIBS= -linet #DGUXLIBS = -lnsl OTHERLIBS = $(UMAXLIBS) $(SEQLIBS) $(PTXLIBS) $(SCOLIBS) \ $(SVR4LIBS) $(AUXLIBS) $(DGUXLIBS) CLIENTLIBS = -lcurses -ltermcap -lgopher $(OTHERLIBS) SERVERLIBS = -lm -lgopher $(OTHERLIBS) $(LOADLIBS) # # Uncomment out this line to use shared libraries on Sun systems # #SHAREDLIB = sun #----------------------------------------------------------------- # If your hostname command returns the Fully Qualified Domain Name # (i.e. it looks like foo.bar.edu and not just foo) then make # the domain name a null string. Otherwise put in the rest of # your domain name that `hostname` doesn't return. # Set to Null on SCO3.2.4 DOMAIN = .micro.umn.edu #----------------------------------------------------------------- # SERVERDIR is the default directory for gopherd. It can be # overridden on the command line # # SERVERPORT is the default port for gopherd. It too can be # overridden on the command line. # SERVERDATA = /home/mudhoney/gopher-data SERVERPORT = 70 #----------------------------------------------------------------- # Compatibility defines # # If you don't have the strstr() function call then add -DNOSTRSTR # # Most of these are automatically defined via the built in compiler # definitions. Don't worry about them unless you have problems # COMPAT = # -DNOSTRSTR # -DNO_STRDUP # -DNO_BZERO # -DNO_TMPNAM # -DNO_VFORK #----------------------------------------------------------------- # Stuff that follows shouldn't be changed # OBJINCLUDES = -I../object OTHERINCLUDES = -I.. -I../ir -I../ui INCLUDES = $(OBJINCLUDES) $(OTHERINCLUDES) LDFLAGS = -L../object SHELL = /bin/sh