File: Makefile.config

package info (click to toggle)
gopher 2.3-2
  • links: PTS
  • area: non-free
  • in suites: hamm
  • size: 2,364 kB
  • ctags: 2,030
  • sloc: ansic: 22,451; perl: 1,950; sh: 1,510; makefile: 397; asm: 1
file content (286 lines) | stat: -rw-r--r-- 8,394 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
# Generated automatically from Makefile.config.in by configure.
#------------------------------------------------
#  This is where most of the configuration parameters are defined
#  also see conf.h
#

#********************************************************************
# $Author: lindner $
# $Revision: 3.1 $
# $Date: 1996/01/04 18:52:31 $
# $Source: /home/arcwelder/GopherSrc/CVS/gopher+/Makefile.config.in,v $
# $State: 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:
# $Log: Makefile.config.in,v $
# Revision 3.1  1996/01/04  18:52:31  lindner
# Updates for autoconf
#
# Revision 3.22  1995/01/25  23:10:56  lindner
# Modifications to use SOCKS
#
# Revision 3.21  1994/12/11  18:44:04  lindner
# make /gopher-data the gopher-data directory
#
# Revision 3.20  1994/11/30  00:05:40  lindner
# Use cp to do installs, much more portable
#
# Revision 3.19  1994/11/18  23:01:56  lindner
# Add location of freewais-sf
#
# Revision 3.18  1994/11/18  22:45:24  lindner
# don't make freewais-sf the default
#
# Revision 3.17  1994/11/18  22:08:46  lindner
# Add better FreeWAIS code
#
# Revision 3.16  1994/11/07  20:00:48  lindner
# Modifications to use FreeWAIS-sf package
#
# Revision 3.15  1994/08/19  17:02:48  lindner
# Add message about NO_MKTIME
#
# Revision 3.14  1994/08/03  19:34:51  lindner
# Better docs..
#
# 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..
#

CC = gcc

#------------------------------------------------
# Optimization level.
#

#OPT=-g
#OPT=-g -Wunused -W
OPT=-g -O2
#------------------------------------------------
# The ranlib command on your system.  Systems without it should still survive

RANLIB = ranlib

#------------------------------------------------
# The install command on your system.  cp works in most cases...

INSTALL = /usr/bin/install -c

#-------------------------------------------------
# Where shall we install stuff?
#
PREFIX          = /usr
CLIENTDIR	= $(PREFIX)/bin
CLIENTLIB       = $(PREFIX)/lib/gopher
ETCDIR          = /etc
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 = -DEBUGGING

#------------------------------------------------
# Uncomment out the following lines to use SOCKS

SOCKSFLAGS=
SOCKSLIBS=


#-----------------------------------------------------------------
# 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:
#
#       ftp.deakin.edu.au
#       pub/describe/describe-1.8.tar.Z  or higher...
#
# 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...)
#
# Add -DFREEWAIS_0_4 to WAISTYPE to use FreeWAIS version 0.4, this release
#                    had a number of changes to the base release.
#


#SERVEROPTS	= -DSETPROCTITLE -DCAPFILES #-DBIO -DDL -DLOADRESTRICT
SERVEROPTS	= -DCAPFILES -DSETPROCTITLE
WAISTYPE	= 

DLPATH		= 
DLOBJS		= 

#-----------------------------------------------------------------
# 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.
#
# Add -DNOBANNER if you don't want the banner across the top.
#


CLIENTOPTS = -DNOBANNER -DCTRLCPROMPTS -DCONTROLX #-DNOMAIL -DREMOTEUSER -D

#-----------------------------------------------------------------
# Optional localization and internationalization features
#
# Add -DGINTERNATIONAL if you want localized messages in the client.
# You may need to check the settings of -DNO_LOCALE and -DNO_XPGCAT
#  if your system does not have ANSI C or X/Open libraries respectively.
# You will also need to follow the directions in gopher/locales/README
#  to generate and install the localized messages.

INTLOPTS = 

#
# 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		= no.domain.name


#-----------------------------------------------------------------
# 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	= /gopher-data
SERVERPORT	= 70




#=================================================================
#=================================================================
# Stuff that follows shouldn't be changed
#

OBJINCLUDES 	= -I./object
OTHERINCLUDES	= -I.
WAISINCLUDES	= -I./wais -I../ui
INCLUDES	= -I. -I./object 

LDFLAGS		= -L../object
SHELL		= /bin/sh