home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.muug.mb.ca
/
2014.06.ftp.muug.mb.ca.tar
/
ftp.muug.mb.ca
/
pub
/
src
/
gopher
/
gopher1.01
/
Makefile.config
< prev
next >
Wrap
Makefile
|
1992-07-06
|
3KB
|
118 lines
#------------------------------------------------
# This is where most of the configuration parameters are defined
# also see conf.h
#
#------------------------------------------------
# Your favorite C compiler
#
CC = gcc
#------------------------------------------------
# The ranlib command on your system. A/UX (and probably other sysv's
# should change this to "touch"
#
RANLIB = ranlib
#-------------------------------------------------
# Where shall we install stuff?
#
CLIENTDIR = /usr/local/bin
HELPFILE = /usr/local/lib/gopher/gopher.hlp
SERVERDIR = /usr/local/etc
MAN1DIR = /usr/local/man/man1
MAN8DIR = /usr/local/man/man8
#--------------------------------------------------
# Defaults for the client program
# On startup the client will contact the gopher server
# at CLIENT_HOST and CLIENT_PORT
#
CLIENT_HOST = mona.muug.mb.ca
CLIENT_PORT = 70
#-----------------------------------------------------------------
# Optional server features.
#
# Add -DLOADRESTRICT if you want to restrict access based on load avg.
# (Note you'll need to add -lkvm in SERVERLIBS)
SERVEROPTS = -DLOADRESTRICT
#--------------------------------------------------
# Libraries for clients and servers
# HP needs -lBSD
# Ultrix needs -lcursesX
# UMAX needs -lresolv
#
#--------------------------------------------------
# Libraries... Uncomment out SEQLIBS if compiling on sequent,
# " " HPLIBS if compiling under hpux
# " " UMAXLIBS if compiling under UMAX
#
#HPLIBS = -lBSD
#UMAXLIBS = -lresolv
LOADLIBS = -lkvm
#SEQLIBS = -lseq
#LOADLIBS =
OTHERLIBS = $(HPLIBS) $(UMAXLIBS) $(SEQLIBS)
CLIENTLIBS = -lcurses -ltermcap -lgopher $(OTHERLIBS) /usr/local/lib/strcasecmp.o
SERVERLIBS = -lm -lgopher $(OTHERLIBS) $(LOADLIBS) /usr/local/lib/strcasecmp.o
#-----------------------------------------------------------------
# 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.
DOMAIN = .muug.mb.ca
#-----------------------------------------------------------------
# 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 = /usr/local/lib/gopher/data
SERVERPORT = 70
#-----------------------------------------------------------------
# Compatibility defines
#
# If you don't have the strstr() function call then add -DNOSTRSTR
#
COMPAT = -DNOSTRSTR
#-----------------------------------------------------------------
# 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