Deleted Added
sdiff udiff text old ( 44744 ) new ( 56977 )
full compact
1# @(#) Makefile 1.23 97/03/21 19:27:20
2
3what:
4 @echo
5 @echo "Usage: edit the REAL_DAEMON_DIR definition in the Makefile then:"
6 @echo
7 @echo " make sys-type"
8 @echo
9 @echo "If you are in a hurry you can try instead:"

--- 6 unchanged lines hidden (view full) ---

16 @echo
17 @echo "This Makefile knows about the following sys-types:"
18 @echo
19 @echo " generic (most bsd-ish systems with sys5 compatibility)"
20 @echo " 386bsd aix alpha apollo bsdos convex-ultranet dell-gcc dgux dgux543"
21 @echo " dynix epix esix freebsd hpux irix4 irix5 irix6 isc iunix"
22 @echo " linux machten mips(untested) ncrsvr4 netbsd next osf power_unix_211"
23 @echo " ptx-2.x ptx-generic pyramid sco sco-nis sco-od2 sco-os5 sinix sunos4"
24 @echo " sunos40 sunos5 sysv4 tandem ultrix unicos7 unicos8 unixware1 unixware2"
25 @echo " uts215 uxp"
26 @echo
27 @echo "If none of these match your environment, edit the system"
28 @echo "dependencies sections in the Makefile and do a 'make other'."
29 @echo
30
31#######################################################
32# Choice between easy and advanced installation recipe.

--- 93 unchanged lines hidden (view full) ---

126
127# This works on EP/IX 1.4.3 and will likely work on Mips (reggers@julian.uwo.ca)
128epix:
129 @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \
130 LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ=environ.o \
131 NETGROUP=-DNETGROUP TLI= SYSTYPE="-systype bsd43" all
132
133# Freebsd and linux by default have no NIS.
134386bsd netbsd bsdos:
135 @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \
136 LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ= NETGROUP= TLI= \
137 EXTRA_CFLAGS=-DSYS_ERRLIST_DEFINED VSYSLOG= all
138
139freebsd:
140 @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \
141 LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ= NETGROUP= TLI= \
142 EXTRA_CFLAGS=-DSYS_ERRLIST_DEFINED VSYSLOG= all
143
144linux:
145 @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \
146 LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ=setenv.o \
147 NETGROUP= TLI= EXTRA_CFLAGS="-DBROKEN_SO_LINGER" all
148
149# This is good for many SYSV+BSD hybrids with NIS, probably also for HP-UX 7.x.
150hpux hpux8 hpux9 hpux10:
151 @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \
152 LIBS= RANLIB=echo ARFLAGS=rv AUX_OBJ=setenv.o \
153 NETGROUP=-DNETGROUP TLI= all
154
155# ConvexOS-10.x with UltraNet support (ukkonen@csc.fi).
156convex-ultranet:

--- 34 unchanged lines hidden (view full) ---

191
192# SunOS 5.x is another SYSV4 variant.
193sunos5:
194 @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \
195 LIBS="-lsocket -lnsl" RANLIB=echo ARFLAGS=rv VSYSLOG= \
196 NETGROUP=-DNETGROUP AUX_OBJ=setenv.o TLI=-DTLI \
197 BUGS="$(BUGS) -DSOLARIS_24_GETHOSTBYNAME_BUG" all
198
199# Generic SYSV40
200esix sysv4:
201 @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \
202 LIBS="-lsocket -lnsl" RANLIB=echo ARFLAGS=rv \
203 NETGROUP=-DNETGROUP AUX_OBJ=setenv.o TLI=-DTLI all
204
205# DG/UX 5.4.1 and 5.4.2 have an unusual inet_addr() interface.
206dgux:

--- 17 unchanged lines hidden (view full) ---

224# Tandem SYSV4 (eqawas@hedgehog.ac.cowan.edu.au)
225tandem:
226 @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \
227 LIBS="-lsocket -lnsl" RANLIB=echo ARFLAGS=rv \
228 NETGROUP= AUX_OBJ="setenv.o strcasecmp.o" TLI=-DTLI all
229
230# Amdahl UTS 2.1.5 (Richard.Richmond@bridge.bst.bls.com)
231uts215:
232 @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \
233 LIBS="-lsocket" RANLIB=echo \
234 ARFLAGS=rv AUX_OBJ=setenv.o NETGROUP=-DNO_NETGROUP TLI= all
235
236# UXP/DS System V.4 clone (vic@uida0.uida.es).
237uxp:
238 @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \
239 LIBS="-L/usr/ucblib -lsocket -lnsl -lucb" \
240 RANLIB=echo ARFLAGS=rv NETGROUP=-DNETGROUP \

--- 145 unchanged lines hidden (view full) ---

386
387#############################################################################
388# System dependencies: routines that are not present in the system libraries.
389#
390# If your system library does not have set/putenv() or strcasecmp(), use
391# the ones provided with this source distribution. The environ.c module
392# implements setenv(), getenv(), and putenv().
393
394AUX_OBJ= setenv.o
395#AUX_OBJ= environ.o
396#AUX_OBJ= environ.o strcasecmp.o
397
398# Uncomment the following if your C library does not provide the
399# strchr/strrchr/memcmp routines, but comes with index/rindex/bcmp.
400#
401#STRINGS= -Dstrchr=index -Dstrrchr=rindex -Dmemcmp=bcmp -Dno_memcpy
402

--- 46 unchanged lines hidden (view full) ---

449# instead of a long integer. Compile with -DINET_ADDR_BUG to work around
450# this mutant behavour. Fixed in 5.4R3.
451#
452# Solaris 2.4 gethostbyname(), in DNS through NIS mode, puts only one
453# address in the host address list; all other addresses are treated as
454# host name aliases. Compile with -DSOLARIS_24_GETHOSTBYNAME_BUG to work
455# around this. The workaround does no harm on other Solaris versions.
456
457BUGS = -DGETPEERNAME_BUG -DBROKEN_FGETS -DLIBC_CALLS_STRTOK
458#BUGS = -DGETPEERNAME_BUG -DBROKEN_FGETS -DINET_ADDR_BUG
459#BUGS = -DGETPEERNAME_BUG -DBROKEN_FGETS -DSOLARIS_24_GETHOSTBYNAME_BUG
460
461##########################################################################
462# System dependencies: whether or not your system has NIS (or YP) support.
463#
464# If your system supports NIS or YP-style netgroups, enable the following
465# macro definition. Netgroups are used only for host access control.
466#
467#NETGROUP= -DNETGROUP
468
469###############################################################
470# System dependencies: whether or not your system has vsyslog()
471#
472# If your system supports vsyslog(), comment out the following definition.
473# If in doubt leave it in, it won't harm.
474
475VSYSLOG = -Dvsyslog=myvsyslog
476
477# End of the system dependencies.
478#################################
479
480##############################
481# Start of the optional stuff.
482
483###########################################

--- 406 unchanged lines hidden ---