186d7f5d3SJohn Marino# @(#) Makefile 1.23 97/03/21 19:27:20 286d7f5d3SJohn Marino# $FreeBSD: src/contrib/tcp_wrappers/Makefile,v 1.2 2000/02/03 10:26:57 shin Exp $ 386d7f5d3SJohn Marino# $DragonFly: src/contrib/tcp_wrappers/Makefile,v 1.2 2003/06/17 04:24:06 dillon Exp $ 486d7f5d3SJohn Marino 586d7f5d3SJohn Marinowhat: 686d7f5d3SJohn Marino @echo 786d7f5d3SJohn Marino @echo "Usage: edit the REAL_DAEMON_DIR definition in the Makefile then:" 886d7f5d3SJohn Marino @echo 986d7f5d3SJohn Marino @echo " make sys-type" 1086d7f5d3SJohn Marino @echo 1186d7f5d3SJohn Marino @echo "If you are in a hurry you can try instead:" 1286d7f5d3SJohn Marino @echo 1386d7f5d3SJohn Marino @echo " make REAL_DAEMON_DIR=/foo/bar sys-type" 1486d7f5d3SJohn Marino @echo 1586d7f5d3SJohn Marino @echo "And for a version with language extensions enabled:" 1686d7f5d3SJohn Marino @echo 1786d7f5d3SJohn Marino @echo " make REAL_DAEMON_DIR=/foo/bar STYLE=-DPROCESS_OPTIONS sys-type" 1886d7f5d3SJohn Marino @echo 1986d7f5d3SJohn Marino @echo "This Makefile knows about the following sys-types:" 2086d7f5d3SJohn Marino @echo 2186d7f5d3SJohn Marino @echo " generic (most bsd-ish systems with sys5 compatibility)" 2286d7f5d3SJohn Marino @echo " 386bsd aix alpha apollo bsdos convex-ultranet dell-gcc dgux dgux543" 2386d7f5d3SJohn Marino @echo " dynix epix esix freebsd hpux irix4 irix5 irix6 isc iunix" 2486d7f5d3SJohn Marino @echo " linux machten mips(untested) ncrsvr4 netbsd next osf power_unix_211" 2586d7f5d3SJohn Marino @echo " ptx-2.x ptx-generic pyramid sco sco-nis sco-od2 sco-os5 sinix sunos4" 2686d7f5d3SJohn Marino @echo " sunos40 sunos5 solaris8 sysv4 tandem ultrix unicos7 unicos8 unixware1 unixware2" 2786d7f5d3SJohn Marino @echo " uts215 uxp" 2886d7f5d3SJohn Marino @echo 2986d7f5d3SJohn Marino @echo "If none of these match your environment, edit the system" 3086d7f5d3SJohn Marino @echo "dependencies sections in the Makefile and do a 'make other'." 3186d7f5d3SJohn Marino @echo 3286d7f5d3SJohn Marino 3386d7f5d3SJohn Marino####################################################### 3486d7f5d3SJohn Marino# Choice between easy and advanced installation recipe. 3586d7f5d3SJohn Marino# 3686d7f5d3SJohn Marino# Advanced installation: vendor-provided daemons are left alone, and the 3786d7f5d3SJohn Marino# inetd configuration file is edited. In this case, the REAL_DAEMON_DIR 3886d7f5d3SJohn Marino# macro should reflect the actual directory with (most of) your 3986d7f5d3SJohn Marino# vendor-provided network daemons. These names can be found in the 4086d7f5d3SJohn Marino# inetd.conf file. Usually, the telnet, ftp and finger daemons all live 4186d7f5d3SJohn Marino# in the same directory. 4286d7f5d3SJohn Marino# 4386d7f5d3SJohn Marino# Uncomment the appropriate line if you are going to edit inetd.conf. 4486d7f5d3SJohn Marino# 4586d7f5d3SJohn Marino# Ultrix 4.x SunOS 4.x ConvexOS 10.x Dynix/ptx 4686d7f5d3SJohn Marino#REAL_DAEMON_DIR=/usr/etc 4786d7f5d3SJohn Marino# 4886d7f5d3SJohn Marino# SysV.4 Solaris 2.x OSF AIX 4986d7f5d3SJohn Marino#REAL_DAEMON_DIR=/usr/sbin 5086d7f5d3SJohn Marino# 5186d7f5d3SJohn Marino# BSD 4.4 5286d7f5d3SJohn Marino#REAL_DAEMON_DIR=/usr/libexec 5386d7f5d3SJohn Marino# 5486d7f5d3SJohn Marino# HP-UX SCO Unicos 5586d7f5d3SJohn Marino#REAL_DAEMON_DIR=/etc 5686d7f5d3SJohn Marino 5786d7f5d3SJohn Marino# Easy installation: vendor-provided network daemons are moved to "some 5886d7f5d3SJohn Marino# other" directory, and the tcpd wrapper fills in the "holes". For this 5986d7f5d3SJohn Marino# mode of operation, the REAL_DAEMON_DIR macro should be set to the "some 6086d7f5d3SJohn Marino# other" directory. The "..." is here for historical reasons only; you 6186d7f5d3SJohn Marino# should probably use some other name. 6286d7f5d3SJohn Marino# 6386d7f5d3SJohn Marino# Uncomment the appropriate line if you are going to move your daemons. 6486d7f5d3SJohn Marino# 6586d7f5d3SJohn Marino# Ultrix 4.x SunOS 4.x ConvexOS 10.x Dynix/ptx 6686d7f5d3SJohn Marino#REAL_DAEMON_DIR=/usr/etc/... 6786d7f5d3SJohn Marino# 6886d7f5d3SJohn Marino# SysV.4 Solaris 2.x OSF AIX 6986d7f5d3SJohn Marino#REAL_DAEMON_DIR=/usr/sbin/... 7086d7f5d3SJohn Marino# 7186d7f5d3SJohn Marino# BSD 4.4 7286d7f5d3SJohn Marino#REAL_DAEMON_DIR=/usr/libexec/... 7386d7f5d3SJohn Marino# 7486d7f5d3SJohn Marino# HP-UX SCO Unicos 7586d7f5d3SJohn Marino#REAL_DAEMON_DIR=/etc/... 7686d7f5d3SJohn Marino 7786d7f5d3SJohn Marino# End of mandatory section 7886d7f5d3SJohn Marino########################## 7986d7f5d3SJohn Marino 8086d7f5d3SJohn Marino########################################## 8186d7f5d3SJohn Marino# Ready-to-use system-dependent templates. 8286d7f5d3SJohn Marino# 8386d7f5d3SJohn Marino# Ready-to-use templates are available for many systems (see the "echo" 8486d7f5d3SJohn Marino# commands at the start of this Makefile). The templates take care of 8586d7f5d3SJohn Marino# all system dependencies: after editing the REAL_DAEMON_DIR definition 8686d7f5d3SJohn Marino# above, do a "make sunos4" (or whatever system type is appropriate). 8786d7f5d3SJohn Marino# 8886d7f5d3SJohn Marino# If your system is not listed (or something that comes close enough), you 8986d7f5d3SJohn Marino# have to edit the system dependencies section below and do a "make other". 9086d7f5d3SJohn Marino# 9186d7f5d3SJohn Marino# Send templates for other UNIX versions to wietse@wzv.win.tue.nl. 9286d7f5d3SJohn Marino 9386d7f5d3SJohn Marino# This is good for many BSD+SYSV hybrids with NIS (formerly YP). 9486d7f5d3SJohn Marinogeneric aix osf alpha dynix: 9586d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 9686d7f5d3SJohn Marino LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ=setenv.o \ 9786d7f5d3SJohn Marino NETGROUP=-DNETGROUP TLI= all 9886d7f5d3SJohn Marino 9986d7f5d3SJohn Marino# Ditto, with vsyslog 10086d7f5d3SJohn Marinosunos4: 10186d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 10286d7f5d3SJohn Marino LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ=setenv.o \ 10386d7f5d3SJohn Marino NETGROUP=-DNETGROUP VSYSLOG= TLI= all 10486d7f5d3SJohn Marino 10586d7f5d3SJohn Marino# Generic with resolver library. 10686d7f5d3SJohn Marinogeneric-resolver: 10786d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 10886d7f5d3SJohn Marino LIBS=-lresolv RANLIB=ranlib ARFLAGS=rv AUX_OBJ=setenv.o \ 10986d7f5d3SJohn Marino NETGROUP=-DNETGROUP TLI= all 11086d7f5d3SJohn Marino 11186d7f5d3SJohn Marino# The NeXT loader needs "-m" or it barfs on redefined library functions. 11286d7f5d3SJohn Marinonext: 11386d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 11486d7f5d3SJohn Marino LIBS=-m RANLIB=ranlib ARFLAGS=rv AUX_OBJ=environ.o \ 11586d7f5d3SJohn Marino NETGROUP=-DNETGROUP TLI= all 11686d7f5d3SJohn Marino 11786d7f5d3SJohn Marino# SunOS for the 386 was frozen at release 4.0.x. 11886d7f5d3SJohn Marinosunos40: 11986d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 12086d7f5d3SJohn Marino LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ="setenv.o strcasecmp.o" \ 12186d7f5d3SJohn Marino NETGROUP=-DNETGROUP VSYSLOG= TLI= all 12286d7f5d3SJohn Marino 12386d7f5d3SJohn Marino# Ultrix is like aix, next, etc., but has miscd and setenv(). 12486d7f5d3SJohn Marinoultrix: 12586d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 12686d7f5d3SJohn Marino LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ= \ 12786d7f5d3SJohn Marino NETGROUP=-DNETGROUP TLI= all miscd 12886d7f5d3SJohn Marino 12986d7f5d3SJohn Marino# This works on EP/IX 1.4.3 and will likely work on Mips (reggers@julian.uwo.ca) 13086d7f5d3SJohn Marinoepix: 13186d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 13286d7f5d3SJohn Marino LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ=environ.o \ 13386d7f5d3SJohn Marino NETGROUP=-DNETGROUP TLI= SYSTYPE="-systype bsd43" all 13486d7f5d3SJohn Marino 13586d7f5d3SJohn Marino# Freebsd and linux by default have no NIS. 13686d7f5d3SJohn Marino386bsd bsdos: 13786d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 13886d7f5d3SJohn Marino LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ= NETGROUP= TLI= \ 13986d7f5d3SJohn Marino EXTRA_CFLAGS=-DSYS_ERRLIST_DEFINED VSYSLOG= all 14086d7f5d3SJohn Marino 14186d7f5d3SJohn Marinofreebsd: 14286d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 14386d7f5d3SJohn Marino RANLIB=ranlib ARFLAGS=rv AUX_OBJ= NETGROUP=-DNETGROUP TLI= \ 14486d7f5d3SJohn Marino EXTRA_CFLAGS="-DSYS_ERRLIST_DEFINED -DINET6 -DUSE_GETIPNODEBY" \ 14586d7f5d3SJohn Marino VSYSLOG= all 14686d7f5d3SJohn Marino 14786d7f5d3SJohn Marinonetbsd: 14886d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 14986d7f5d3SJohn Marino LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ= NETGROUP= TLI= \ 15086d7f5d3SJohn Marino EXTRA_CFLAGS="-DSYS_ERRLIST_DEFINED -DINET6 \ 15186d7f5d3SJohn Marino -Dss_family=__ss_family -Dss_len=__ss_len" VSYSLOG= all 15286d7f5d3SJohn Marino 15386d7f5d3SJohn Marinolinux: 15486d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 15586d7f5d3SJohn Marino LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ=setenv.o NETGROUP= TLI= \ 15686d7f5d3SJohn Marino EXTRA_CFLAGS="-DSYS_ERRLIST_DEFINED -DBROKEN_SO_LINGER -DINET6=1 \ 15786d7f5d3SJohn Marino -Dss_family=__ss_family -Dss_len=__ss_len" all 15886d7f5d3SJohn Marino 15986d7f5d3SJohn Marinolinux-old: 16086d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 16186d7f5d3SJohn Marino LIBS="/usr/inet6/lib/libinet6.a -lresolv" \ 16286d7f5d3SJohn Marino RANLIB=ranlib ARFLAGS=rv AUX_OBJ=setenv.o NETGROUP= TLI= \ 16386d7f5d3SJohn Marino EXTRA_CFLAGS="-DSYS_ERRLIST_DEFINED -DBROKEN_SO_LINGER -DINET6=1 -Dss_family=sin6_family -Dsockaddr_storage=sockaddr_in6 -I/usr/inet6/include" all 16486d7f5d3SJohn Marino 16586d7f5d3SJohn Marino# This is good for many SYSV+BSD hybrids with NIS, probably also for HP-UX 7.x. 16686d7f5d3SJohn Marinohpux hpux8 hpux9 hpux10: 16786d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 16886d7f5d3SJohn Marino LIBS= RANLIB=echo ARFLAGS=rv AUX_OBJ=setenv.o \ 16986d7f5d3SJohn Marino NETGROUP=-DNETGROUP TLI= all 17086d7f5d3SJohn Marino 17186d7f5d3SJohn Marino# ConvexOS-10.x with UltraNet support (ukkonen@csc.fi). 17286d7f5d3SJohn Marinoconvex-ultranet: 17386d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 17486d7f5d3SJohn Marino LIBS=-lulsock RANLIB=ranlib ARFLAGS=rv AUX_OBJ=environ.o \ 17586d7f5d3SJohn Marino NETGROUP=-DNETGROUP TLI= all 17686d7f5d3SJohn Marino 17786d7f5d3SJohn Marino# Generic support for the Dynix/PTX version of TLI. 17886d7f5d3SJohn Marinoptx-generic: 17986d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 18086d7f5d3SJohn Marino LIBS="-lsocket -linet -lnsl" RANLIB=echo ARFLAGS=rv \ 18186d7f5d3SJohn Marino AUX_OBJ="setenv.o strcasecmp.o ptx.o" NETGROUP= TLI=-DPTX all 18286d7f5d3SJohn Marino 18386d7f5d3SJohn Marino# With UDP support optimized for PTX 2.x (timw@sequent.com). 18486d7f5d3SJohn Marinoptx-2.x: 18586d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 18686d7f5d3SJohn Marino LIBS="-lsocket -linet -lnsl" RANLIB=echo ARFLAGS=rv \ 18786d7f5d3SJohn Marino AUX_OBJ="setenv.o strcasecmp.o tli-sequent.o" NETGROUP= \ 18886d7f5d3SJohn Marino TLI=-DTLI_SEQUENT all 18986d7f5d3SJohn Marino 19086d7f5d3SJohn Marino# IRIX 4.0.x has a special ar(1) flag. 19186d7f5d3SJohn Marinoirix4: 19286d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 19386d7f5d3SJohn Marino LIBS="-lc -lsun" RANLIB=echo ARFLAGS=rvs AUX_OBJ=setenv.o \ 19486d7f5d3SJohn Marino NETGROUP=-DNETGROUP TLI= all 19586d7f5d3SJohn Marino 19686d7f5d3SJohn Marino# IRIX 5.2 is SYSV4 with several broken things (such as -lsocket -lnsl). 19786d7f5d3SJohn Marinoirix5: 19886d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 19986d7f5d3SJohn Marino LIBS=-lsun RANLIB=echo ARFLAGS=rv VSYSLOG= \ 20086d7f5d3SJohn Marino NETGROUP=-DNETGROUP AUX_OBJ=setenv.o TLI= all 20186d7f5d3SJohn Marino 20286d7f5d3SJohn Marino# IRIX 6.2 (tucker@math.unc.edu). Must find a better value than 200000. 20386d7f5d3SJohn Marinoirix6: 20486d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 20586d7f5d3SJohn Marino LIBS= RANLIB=echo ARFLAGS=rv VSYSLOG= \ 20686d7f5d3SJohn Marino NETGROUP=-DNETGROUP EXTRA_CFLAGS="-DBSD=200000" TLI= all 20786d7f5d3SJohn Marino 20886d7f5d3SJohn Marino# SunOS 5.x is another SYSV4 variant. 20986d7f5d3SJohn Marinosunos5: 21086d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 21186d7f5d3SJohn Marino LIBS="-lsocket -lnsl" RANLIB=echo ARFLAGS=rv VSYSLOG= \ 21286d7f5d3SJohn Marino NETGROUP=-DNETGROUP AUX_OBJ=setenv.o TLI=-DTLI \ 21386d7f5d3SJohn Marino BUGS="$(BUGS) -DSOLARIS_24_GETHOSTBYNAME_BUG" all 21486d7f5d3SJohn Marino 21586d7f5d3SJohn Marino# SunOS 5.8 is another SYSV4 variant, but has IPv6 support 21686d7f5d3SJohn Marinosolaris8: 21786d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 21886d7f5d3SJohn Marino LIBS="-lsocket -lnsl" RANLIB=echo ARFLAGS=rv VSYSLOG= \ 21986d7f5d3SJohn Marino NETGROUP=-DNETGROUP AUX_OBJ=setenv.o TLI=-DTLI \ 22086d7f5d3SJohn Marino EXTRA_CFLAGS="-DINET6 -DUSE_GETIPNODEBY -DNO_CLONE_DEVICE \ 22186d7f5d3SJohn Marino -DINT32_T" all 22286d7f5d3SJohn Marino 22386d7f5d3SJohn Marino# Generic SYSV40 22486d7f5d3SJohn Marinoesix sysv4: 22586d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 22686d7f5d3SJohn Marino LIBS="-lsocket -lnsl" RANLIB=echo ARFLAGS=rv \ 22786d7f5d3SJohn Marino NETGROUP=-DNETGROUP AUX_OBJ=setenv.o TLI=-DTLI all 22886d7f5d3SJohn Marino 22986d7f5d3SJohn Marino# DG/UX 5.4.1 and 5.4.2 have an unusual inet_addr() interface. 23086d7f5d3SJohn Marinodgux: 23186d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 23286d7f5d3SJohn Marino LIBS=-lnsl RANLIB=echo ARFLAGS=rv \ 23386d7f5d3SJohn Marino NETGROUP=-DNETGROUP AUX_OBJ=setenv.o TLI=-DTLI \ 23486d7f5d3SJohn Marino BUGS="$(BUGS) -DINET_ADDR_BUG" all 23586d7f5d3SJohn Marino 23686d7f5d3SJohn Marinodgux543: 23786d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 23886d7f5d3SJohn Marino LIBS=-lnsl RANLIB=echo ARFLAGS=rv \ 23986d7f5d3SJohn Marino NETGROUP=-DNETGROUP AUX_OBJ=setenv.o TLI=-DTLI all 24086d7f5d3SJohn Marino 24186d7f5d3SJohn Marino# NCR UNIX 02.02.01 and 02.03.00 (Alex Chircop, msu@unimt.mt) 24286d7f5d3SJohn Marinoncrsvr4: 24386d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 24486d7f5d3SJohn Marino LIBS="-lresolv -lnsl -lsocket" RANLIB=echo ARFLAGS=rv \ 24586d7f5d3SJohn Marino AUX_OBJ="setenv.o strcasecmp.o" NETGROUP= TLI=-DTLI \ 24686d7f5d3SJohn Marino EXTRA_CFLAGS="" FROM_OBJ=ncr.o all 24786d7f5d3SJohn Marino 24886d7f5d3SJohn Marino# Tandem SYSV4 (eqawas@hedgehog.ac.cowan.edu.au) 24986d7f5d3SJohn Marinotandem: 25086d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 25186d7f5d3SJohn Marino LIBS="-lsocket -lnsl" RANLIB=echo ARFLAGS=rv \ 25286d7f5d3SJohn Marino NETGROUP= AUX_OBJ="setenv.o strcasecmp.o" TLI=-DTLI all 25386d7f5d3SJohn Marino 25486d7f5d3SJohn Marino# Amdahl UTS 2.1.5 (Richard.Richmond@bridge.bst.bls.com) 25586d7f5d3SJohn Marinouts215: 25686d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 25786d7f5d3SJohn Marino LIBS="-lsocket" RANLIB=echo \ 25886d7f5d3SJohn Marino ARFLAGS=rv AUX_OBJ=setenv.o NETGROUP=-DNO_NETGROUP TLI= all 25986d7f5d3SJohn Marino 26086d7f5d3SJohn Marino# UXP/DS System V.4 clone (vic@uida0.uida.es). 26186d7f5d3SJohn Marinouxp: 26286d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 26386d7f5d3SJohn Marino LIBS="-L/usr/ucblib -lsocket -lnsl -lucb" \ 26486d7f5d3SJohn Marino RANLIB=echo ARFLAGS=rv NETGROUP=-DNETGROUP \ 26586d7f5d3SJohn Marino AUX_OBJ=setenv.o TLI="-DTLI -DDRS_XTI" all 26686d7f5d3SJohn Marino 26786d7f5d3SJohn Marino# DELL System V.4 Issue 2.2 using gcc (kim@tac.nyc.ny.us, jurban@norden1.com) 26886d7f5d3SJohn Marinodell-gcc: 26986d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 27086d7f5d3SJohn Marino LIBS="-lsocket -lnsl" RANLIB=ranlib ARFLAGS=rv CC=gcc \ 27186d7f5d3SJohn Marino AUX_OBJ="setenv.o strcasecmp.o" TLI=-DTLI all 27286d7f5d3SJohn Marino 27386d7f5d3SJohn Marino# SCO 3.2v4.1 no frills (jedwards@sol1.solinet.net). 27486d7f5d3SJohn Marinosco: 27586d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 27686d7f5d3SJohn Marino LIBS="-lsocket -lnsl_s" RANLIB=echo ARFLAGS=rv \ 27786d7f5d3SJohn Marino NETGROUP= AUX_OBJ=setenv.o TLI= all 27886d7f5d3SJohn Marino 27986d7f5d3SJohn Marino# SCO OpenDesktop 2.0, release 3.2 (peter@midnight.com). Please simplify. 28086d7f5d3SJohn Marinosco-od2: 28186d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 28286d7f5d3SJohn Marino LIBS="-lrpcsvc -lrpc -lyp -lrpc -lrpcsvc -lsocket" \ 28386d7f5d3SJohn Marino RANLIB=echo ARFLAGS=rv AUX_OBJ=setenv.o \ 28486d7f5d3SJohn Marino NETGROUP=-DNETGROUP TLI= all 28586d7f5d3SJohn Marino 28686d7f5d3SJohn Marino# SCO 3.2v4.2 with TCP/IP 1.2.1 (Eduard.Vopicka@vse.cz). Please simplify. 28786d7f5d3SJohn Marinosco-nis: 28886d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 28986d7f5d3SJohn Marino LIBS="-lyp -lrpc -lsocket -lyp -lc_s -lc" \ 29086d7f5d3SJohn Marino RANLIB=echo ARFLAGS=rv AUX_OBJ=setenv.o \ 29186d7f5d3SJohn Marino NETGROUP=-DNETGROUP TLI= EXTRA_CFLAGS="-nointl -DNO_NETGRENT" all 29286d7f5d3SJohn Marino 29386d7f5d3SJohn Marino# SCO 3.2v5.0.0 OpenServer 5 (bob@odt.handy.com, bill@razorlogic.com) 29486d7f5d3SJohn Marinosco-os5: 29586d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 29686d7f5d3SJohn Marino LIBS="-lrpcsvc -lsocket" RANLIB=echo ARFLAGS=rv VSYSLOG= \ 29786d7f5d3SJohn Marino AUX_OBJ=setenv.o NETGROUP=-DNETGROUP TLI= all 29886d7f5d3SJohn Marino 29986d7f5d3SJohn Marino# sinix 5.42 setjmp workaround (szrzs023@ub3.ub.uni-kiel.de) 30086d7f5d3SJohn Marinosinix: 30186d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 30286d7f5d3SJohn Marino LIBS="-lsocket -lnsl -L/usr/ccs/lib -lc -L/usr/ucblib -lucb" \ 30386d7f5d3SJohn Marino RANLIB=echo ARFLAGS=rv AUX_OBJ=setenv.o TLI=-DTLI all 30486d7f5d3SJohn Marino 30586d7f5d3SJohn Marino# Domain SR10.4. Build under bsd, run under either sysv3 or bsd43. 30686d7f5d3SJohn Marinoapollo: 30786d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 30886d7f5d3SJohn Marino LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ=setenv.o \ 30986d7f5d3SJohn Marino NETGROUP=-DNETGROUP TLI= SYSTYPE="-A run,any -A sys,any" all 31086d7f5d3SJohn Marino 31186d7f5d3SJohn Marino# Pyramid OSx 5.1, using the BSD universe. 31286d7f5d3SJohn Marinopyramid: 31386d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 31486d7f5d3SJohn Marino LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ="environ.o vfprintf.o" \ 31586d7f5d3SJohn Marino STRINGS="-Dstrchr=index -Dstrrchr=rindex -Dmemcmp=bcmp -Dno_memcpy" \ 31686d7f5d3SJohn Marino NETGROUP="-DNETGROUP -DUSE_GETDOMAIN" TLI= all 31786d7f5d3SJohn Marino 31886d7f5d3SJohn Marino# Untested. 31986d7f5d3SJohn Marinomips: 32086d7f5d3SJohn Marino @echo "Warning: some definitions may be wrong." 32186d7f5d3SJohn Marino make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 32286d7f5d3SJohn Marino LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ=environ.o \ 32386d7f5d3SJohn Marino NETGROUP=-DNETGROUP TLI= SYSTYPE="-sysname bsd43" all 32486d7f5d3SJohn Marino 32586d7f5d3SJohn Marino# Cray (tested with UNICOS 7.0.4). 32686d7f5d3SJohn Marinounicos7: 32786d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 32886d7f5d3SJohn Marino LIBS=-lnet RANLIB=echo ARFLAGS=rv \ 32986d7f5d3SJohn Marino EXTRA_CFLAGS=-DINADDR_NONE="\"((unsigned long) -1)\"" \ 33086d7f5d3SJohn Marino AUX_OBJ="setenv.o strcasecmp.o" NETGROUP= TLI= all 33186d7f5d3SJohn Marino 33286d7f5d3SJohn Marino# Unicos 8.x, Cray-YMP (Bruce Kelly). 33386d7f5d3SJohn Marinounicos8: 33486d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 33586d7f5d3SJohn Marino LIBS= RANLIB=echo AR=bld ARFLAGS=rv \ 33686d7f5d3SJohn Marino AUX_OBJ= NETGROUP= TLI= all 33786d7f5d3SJohn Marino 33886d7f5d3SJohn Marino# Power_UNIX 2.1.1 (amantel@lerc.nasa.gov) 33986d7f5d3SJohn Marinopower_unix_211: 34086d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 34186d7f5d3SJohn Marino LIBS="-lnsl -lsocket -lgen -lresolv" RANLIB=echo ARFLAGS=rv \ 34286d7f5d3SJohn Marino NETGROUP= AUX_OBJ=setenv.o TLI=-DTLI BUGS="$(BUGS)" all 34386d7f5d3SJohn Marino 34486d7f5d3SJohn Marino# ISC (fc@all.net) 34586d7f5d3SJohn Marinoisc: 34686d7f5d3SJohn Marino make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 34786d7f5d3SJohn Marino LIBS="-linet -lnsl_s -ldbm" RANLIB=echo ARFLAGS=rv \ 34886d7f5d3SJohn Marino AUX_OBJ="setenv.o strcasecmp.o" EXTRA_CFLAGS="-DENOTCONN=ENAVAIL" \ 34986d7f5d3SJohn Marino NETGROUP= TLI= all 35086d7f5d3SJohn Marino 35186d7f5d3SJohn Marino# Interactive UNIX R3.2 version 4.0 (Bobby D. Wright). 35286d7f5d3SJohn Marinoiunix: 35386d7f5d3SJohn Marino make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 35486d7f5d3SJohn Marino LIBS="-linet -lnsl_s -ldbm" RANLIB=echo ARFLAGS=rv \ 35586d7f5d3SJohn Marino AUX_OBJ=environ.o strcasecmp.o NETGROUP= TLI= all 35686d7f5d3SJohn Marino 35786d7f5d3SJohn Marino# RTU 6.0 on a Masscomp 5400 (ben@piglet.cr.usgs.gov). When using the 35886d7f5d3SJohn Marino# advanced installation, increment argv before actually looking at it. 35986d7f5d3SJohn Marinortu: 36086d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 36186d7f5d3SJohn Marino LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ=environ.o \ 36286d7f5d3SJohn Marino NETGROUP= TLI= all 36386d7f5d3SJohn Marino 36486d7f5d3SJohn Marino# Unixware sans NIS (mc@telebase.com). Compiler dislikes strcasecmp.c. 36586d7f5d3SJohn Marinounixware1: 36686d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 36786d7f5d3SJohn Marino LIBS="-lsocket -lnsl -lc -L/usr/ucblib -lucb" RANLIB=echo ARFLAGS=rv \ 36886d7f5d3SJohn Marino NETGROUP=$(NETGROUP) AUX_OBJ=environ.o TLI=-DTLI all 36986d7f5d3SJohn Marino 37086d7f5d3SJohn Marinounixware2: 37186d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 37286d7f5d3SJohn Marino LIBS="-lsocket -lnsl -lgen -lc -L/usr/ucblib -lucb" RANLIB=echo \ 37386d7f5d3SJohn Marino ARFLAGS=rv NETGROUP=$(NETGROUP) AUX_OBJ=environ.o TLI=-DTLI all 37486d7f5d3SJohn Marino 37586d7f5d3SJohn Marinou6000: 37686d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 37786d7f5d3SJohn Marino LIBS="-lsocket -lnsl" RANLIB=echo ARFLAGS=rv \ 37886d7f5d3SJohn Marino NETGROUP=-DNETGROUP AUX_OBJ="setenv.o strcasecmp.o" TLI=-DTLI all 37986d7f5d3SJohn Marino 38086d7f5d3SJohn Marino# MachTen 38186d7f5d3SJohn Marinomachten: 38286d7f5d3SJohn Marino @make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \ 38386d7f5d3SJohn Marino LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ=environ.o \ 38486d7f5d3SJohn Marino NETGROUP= TLI= all 38586d7f5d3SJohn Marino 38686d7f5d3SJohn Marino############################################################### 38786d7f5d3SJohn Marino# System dependencies: TLI (transport-level interface) support. 38886d7f5d3SJohn Marino# 38986d7f5d3SJohn Marino# Uncomment the following macro if your system has System V.4-style TLI 39086d7f5d3SJohn Marino# support (/usr/include/sys/timod.h, /etc/netconfig, and the netdir(3) 39186d7f5d3SJohn Marino# routines). 39286d7f5d3SJohn Marino# 39386d7f5d3SJohn Marino#TLI = -DTLI 39486d7f5d3SJohn Marino 39586d7f5d3SJohn Marino############################################################################### 39686d7f5d3SJohn Marino# System dependencies: differences between ranlib(1) and ar(1) implementations. 39786d7f5d3SJohn Marino# 39886d7f5d3SJohn Marino# Some C compilers (Ultrix 4.x) insist that ranlib(1) be run on an object 39986d7f5d3SJohn Marino# library; some don't care as long as the modules are in the right order; 40086d7f5d3SJohn Marino# some systems don't even have a ranlib(1) command. Make your choice. 40186d7f5d3SJohn Marino 40286d7f5d3SJohn MarinoRANLIB = ranlib # have ranlib (BSD-ish UNIX) 40386d7f5d3SJohn Marino#RANLIB = echo # no ranlib (SYSV-ish UNIX) 40486d7f5d3SJohn Marino 40586d7f5d3SJohn MarinoARFLAGS = rv # most systems 40686d7f5d3SJohn Marino#ARFLAGS= rvs # IRIX 4.0.x 40786d7f5d3SJohn Marino 40886d7f5d3SJohn MarinoAR = ar 40986d7f5d3SJohn Marino#AR = bld # Unicos 8.x 41086d7f5d3SJohn Marino 41186d7f5d3SJohn Marino############################################################################# 41286d7f5d3SJohn Marino# System dependencies: routines that are not present in the system libraries. 41386d7f5d3SJohn Marino# 41486d7f5d3SJohn Marino# If your system library does not have set/putenv() or strcasecmp(), use 41586d7f5d3SJohn Marino# the ones provided with this source distribution. The environ.c module 41686d7f5d3SJohn Marino# implements setenv(), getenv(), and putenv(). 41786d7f5d3SJohn Marino 41886d7f5d3SJohn Marino#AUX_OBJ= setenv.o 41986d7f5d3SJohn Marino#AUX_OBJ= environ.o 42086d7f5d3SJohn Marino#AUX_OBJ= environ.o strcasecmp.o 42186d7f5d3SJohn Marino 42286d7f5d3SJohn Marino# Uncomment the following if your C library does not provide the 42386d7f5d3SJohn Marino# strchr/strrchr/memcmp routines, but comes with index/rindex/bcmp. 42486d7f5d3SJohn Marino# 42586d7f5d3SJohn Marino#STRINGS= -Dstrchr=index -Dstrrchr=rindex -Dmemcmp=bcmp -Dno_memcpy 42686d7f5d3SJohn Marino 42786d7f5d3SJohn Marino################################################################# 42886d7f5d3SJohn Marino# System dependencies: selection of non-default object libraries. 42986d7f5d3SJohn Marino# 43086d7f5d3SJohn Marino# Most System V implementations require that you explicitly specify the 43186d7f5d3SJohn Marino# networking libraries. There is no general consensus, though. 43286d7f5d3SJohn Marino# 43386d7f5d3SJohn Marino#LIBS = -lsocket -lnsl # SysV.4 Solaris 2.x 43486d7f5d3SJohn Marino#LIBS = -lsun # IRIX 43586d7f5d3SJohn Marino#LIBS = -lsocket -linet -lnsl -lnfs # PTX 43686d7f5d3SJohn Marino#LIBS = -linet -lnsl_s -ldbm # ISC 43786d7f5d3SJohn Marino#LIBS = -lnet # Unicos 7 43886d7f5d3SJohn Marino#LIBS = -linet -lsyslog -ldbm 43986d7f5d3SJohn Marino#LIBS = -lsyslog -lsocket -lnsl 44086d7f5d3SJohn Marino 44186d7f5d3SJohn Marino###################################################### 44286d7f5d3SJohn Marino# System dependencies: system-specific compiler flags. 44386d7f5d3SJohn Marino# 44486d7f5d3SJohn Marino# Apollo Domain/OS offers both bsd and sys5 environments, sometimes 44586d7f5d3SJohn Marino# on the same machine. If your Apollo is primarily sys5.3 and also 44686d7f5d3SJohn Marino# has bsd4.3, uncomment the following to build under bsd and run under 44786d7f5d3SJohn Marino# either environment. 44886d7f5d3SJohn Marino# 44986d7f5d3SJohn Marino#SYSTYPE= -A run,any -A sys,any 45086d7f5d3SJohn Marino 45186d7f5d3SJohn Marino# For MIPS RISC/os 4_52.p3, uncomment the following definition. 45286d7f5d3SJohn Marino# 45386d7f5d3SJohn Marino#SYSTYPE= -sysname bsd43 45486d7f5d3SJohn Marino 45586d7f5d3SJohn Marino################################################## 45686d7f5d3SJohn Marino# System dependencies: working around system bugs. 45786d7f5d3SJohn Marino# 45886d7f5d3SJohn Marino# -DGETPEERNAME_BUG works around a getpeername(2) bug in some versions of 45986d7f5d3SJohn Marino# Apollo or SYSV.4 UNIX: the wrapper would report that all UDP requests 46086d7f5d3SJohn Marino# come from address 0.0.0.0. The workaround does no harm on other systems. 46186d7f5d3SJohn Marino# 46286d7f5d3SJohn Marino# -DBROKEN_FGETS works around an fgets(3) bug in some System V versions 46386d7f5d3SJohn Marino# (IRIX): fgets() gives up too fast when reading from a network socket. 46486d7f5d3SJohn Marino# The workaround does no harm on other systems. 46586d7f5d3SJohn Marino# 46686d7f5d3SJohn Marino# Some UNIX systems (IRIX) make the error of calling the strtok() library 46786d7f5d3SJohn Marino# routine from other library routines such as, e.g., gethostbyname/addr(). 46886d7f5d3SJohn Marino# The result is that hosts can slip through the wrapper allow/deny filters. 46986d7f5d3SJohn Marino# Compile with -DLIBC_CALLS_STRTOK to avoid the vendor's strtok() routine. 47086d7f5d3SJohn Marino# The workaround does no harm on other systems. 47186d7f5d3SJohn Marino# 47286d7f5d3SJohn Marino# DG/UX 5.4.1 comes with an inet_ntoa() function that returns a structure 47386d7f5d3SJohn Marino# instead of a long integer. Compile with -DINET_ADDR_BUG to work around 47486d7f5d3SJohn Marino# this mutant behavour. Fixed in 5.4R3. 47586d7f5d3SJohn Marino# 47686d7f5d3SJohn Marino# Solaris 2.4 gethostbyname(), in DNS through NIS mode, puts only one 47786d7f5d3SJohn Marino# address in the host address list; all other addresses are treated as 47886d7f5d3SJohn Marino# host name aliases. Compile with -DSOLARIS_24_GETHOSTBYNAME_BUG to work 47986d7f5d3SJohn Marino# around this. The workaround does no harm on other Solaris versions. 48086d7f5d3SJohn Marino 48186d7f5d3SJohn Marino#BUGS = -DGETPEERNAME_BUG -DBROKEN_FGETS -DLIBC_CALLS_STRTOK 48286d7f5d3SJohn Marino#BUGS = -DGETPEERNAME_BUG -DBROKEN_FGETS -DINET_ADDR_BUG 48386d7f5d3SJohn Marino#BUGS = -DGETPEERNAME_BUG -DBROKEN_FGETS -DSOLARIS_24_GETHOSTBYNAME_BUG 48486d7f5d3SJohn Marino 48586d7f5d3SJohn Marino########################################################################## 48686d7f5d3SJohn Marino# System dependencies: whether or not your system has NIS (or YP) support. 48786d7f5d3SJohn Marino# 48886d7f5d3SJohn Marino# If your system supports NIS or YP-style netgroups, enable the following 48986d7f5d3SJohn Marino# macro definition. Netgroups are used only for host access control. 49086d7f5d3SJohn Marino# 49186d7f5d3SJohn Marino#NETGROUP= -DNETGROUP 49286d7f5d3SJohn Marino 49386d7f5d3SJohn Marino############################################################### 49486d7f5d3SJohn Marino# System dependencies: whether or not your system has vsyslog() 49586d7f5d3SJohn Marino# 49686d7f5d3SJohn Marino# If your system supports vsyslog(), comment out the following definition. 49786d7f5d3SJohn Marino# If in doubt leave it in, it won't harm. 49886d7f5d3SJohn Marino 49986d7f5d3SJohn Marino#VSYSLOG = -Dvsyslog=myvsyslog 50086d7f5d3SJohn Marino 50186d7f5d3SJohn Marino# End of the system dependencies. 50286d7f5d3SJohn Marino################################# 50386d7f5d3SJohn Marino 50486d7f5d3SJohn Marino############################## 50586d7f5d3SJohn Marino# Start of the optional stuff. 50686d7f5d3SJohn Marino 50786d7f5d3SJohn Marino########################################### 50886d7f5d3SJohn Marino# Optional: Turning on language extensions 50986d7f5d3SJohn Marino# 51086d7f5d3SJohn Marino# Instead of the default access control language that is documented in 51186d7f5d3SJohn Marino# the hosts_access.5 document, the wrappers can be configured to 51286d7f5d3SJohn Marino# implement an extensible language documented in the hosts_options.5 51386d7f5d3SJohn Marino# document. This language is implemented by the "options.c" source 51486d7f5d3SJohn Marino# module, which also gives hints on how to add your own extensions. 51586d7f5d3SJohn Marino# Uncomment the next definition to turn on the language extensions 51686d7f5d3SJohn Marino# (examples: allow, deny, banners, twist and spawn). 51786d7f5d3SJohn Marino# 51886d7f5d3SJohn Marino#STYLE = -DPROCESS_OPTIONS # Enable language extensions. 51986d7f5d3SJohn Marino 52086d7f5d3SJohn Marino################################################################ 52186d7f5d3SJohn Marino# Optional: Changing the default disposition of logfile records 52286d7f5d3SJohn Marino# 52386d7f5d3SJohn Marino# By default, logfile entries are written to the same file as used for 52486d7f5d3SJohn Marino# sendmail transaction logs. See your /etc/syslog.conf file for actual 52586d7f5d3SJohn Marino# path names of logfiles. The tutorial section in the README file 52686d7f5d3SJohn Marino# gives a brief introduction to the syslog daemon. 52786d7f5d3SJohn Marino# 52886d7f5d3SJohn Marino# Change the FACILITY definition below if you disagree with the default 52986d7f5d3SJohn Marino# disposition. Some syslog versions (including Ultrix 4.x) do not provide 53086d7f5d3SJohn Marino# this flexibility. 53186d7f5d3SJohn Marino# 53286d7f5d3SJohn Marino# If nothing shows up on your system, it may be that the syslog records 53386d7f5d3SJohn Marino# are sent to a dedicated loghost. It may also be that no syslog daemon 53486d7f5d3SJohn Marino# is running at all. The README file gives pointers to surrogate syslog 53586d7f5d3SJohn Marino# implementations for systems that have no syslog library routines or 53686d7f5d3SJohn Marino# no syslog daemons. When changing the syslog.conf file, remember that 53786d7f5d3SJohn Marino# there must be TABs between fields. 53886d7f5d3SJohn Marino# 53986d7f5d3SJohn Marino# The LOG_XXX names below are taken from the /usr/include/syslog.h file. 54086d7f5d3SJohn Marino 54186d7f5d3SJohn MarinoFACILITY= LOG_MAIL # LOG_MAIL is what most sendmail daemons use 54286d7f5d3SJohn Marino 54386d7f5d3SJohn Marino# The syslog priority at which successful connections are logged. 54486d7f5d3SJohn Marino 54586d7f5d3SJohn MarinoSEVERITY= LOG_INFO # LOG_INFO is normally not logged to the console 54686d7f5d3SJohn Marino 54786d7f5d3SJohn Marino########################### 54886d7f5d3SJohn Marino# Optional: Reduce DNS load 54986d7f5d3SJohn Marino# 55086d7f5d3SJohn Marino# When looking up the address for a host.domain name, the typical DNS 55186d7f5d3SJohn Marino# code will first append substrings of your own domain, so it tries 55286d7f5d3SJohn Marino# host.domain.your.own.domain, then host.domain.own.domain, and then 55386d7f5d3SJohn Marino# host.domain. The APPEND_DOT feature stops this waste of cycles. It is 55486d7f5d3SJohn Marino# off by default because it causes problems on sites that don't use DNS 55586d7f5d3SJohn Marino# and with Solaris < 2.4. APPEND_DOT will not work with hostnames taken 55686d7f5d3SJohn Marino# from /etc/hosts or from NIS maps. It does work with DNS through NIS. 55786d7f5d3SJohn Marino# 55886d7f5d3SJohn Marino# DOT= -DAPPEND_DOT 55986d7f5d3SJohn Marino 56086d7f5d3SJohn Marino################################################## 56186d7f5d3SJohn Marino# Optional: Always attempt remote username lookups 56286d7f5d3SJohn Marino# 56386d7f5d3SJohn Marino# By default, the wrappers look up the remote username only when the 56486d7f5d3SJohn Marino# access control rules require them to do so. 56586d7f5d3SJohn Marino# 56686d7f5d3SJohn Marino# Username lookups require that the remote host runs a daemon that 56786d7f5d3SJohn Marino# supports an RFC 931 like protocol. Remote user name lookups are not 56886d7f5d3SJohn Marino# possible for UDP-based connections, and can cause noticeable delays 56986d7f5d3SJohn Marino# with connections from non-UNIX PCs. On some systems, remote username 57086d7f5d3SJohn Marino# lookups can trigger a kernel bug, causing loss of service. The README 57186d7f5d3SJohn Marino# file describes how to find out if your UNIX kernel has that problem. 57286d7f5d3SJohn Marino# 57386d7f5d3SJohn Marino# Uncomment the following definition if the wrappers should always 57486d7f5d3SJohn Marino# attempt to get the remote user name. If this is not enabled you can 57586d7f5d3SJohn Marino# still do selective username lookups as documented in the hosts_access.5 57686d7f5d3SJohn Marino# and hosts_options.5 manual pages (`nroff -man' format). 57786d7f5d3SJohn Marino# 57886d7f5d3SJohn Marino#AUTH = -DALWAYS_RFC931 57986d7f5d3SJohn Marino# 58086d7f5d3SJohn Marino# The default username lookup timeout is 10 seconds. This may not be long 58186d7f5d3SJohn Marino# enough for slow hosts or networks, but is enough to irritate PC users. 58286d7f5d3SJohn Marino 58386d7f5d3SJohn MarinoRFC931_TIMEOUT = 10 58486d7f5d3SJohn Marino 58586d7f5d3SJohn Marino###################################################### 58686d7f5d3SJohn Marino# Optional: Changing the default file protection mask 58786d7f5d3SJohn Marino# 58886d7f5d3SJohn Marino# On many systems, network daemons and other system processes are started 58986d7f5d3SJohn Marino# with a zero umask value, so that world-writable files may be produced. 59086d7f5d3SJohn Marino# It is a good idea to edit your /etc/rc* files so that they begin with 59186d7f5d3SJohn Marino# an explicit umask setting. On our site we use `umask 022' because it 59286d7f5d3SJohn Marino# does not break anything yet gives adequate protection against tampering. 59386d7f5d3SJohn Marino# 59486d7f5d3SJohn Marino# The following macro specifies the default umask for processes run under 59586d7f5d3SJohn Marino# control of the daemon wrappers. Comment it out only if you are certain 59686d7f5d3SJohn Marino# that inetd and its children are started with a safe umask value. 59786d7f5d3SJohn Marino 59886d7f5d3SJohn MarinoUMASK = -DDAEMON_UMASK=022 59986d7f5d3SJohn Marino 60086d7f5d3SJohn Marino####################################### 60186d7f5d3SJohn Marino# Optional: Turning off access control 60286d7f5d3SJohn Marino# 60386d7f5d3SJohn Marino# By default, host access control is enabled. To disable host access 60486d7f5d3SJohn Marino# control, comment out the following definition. Host access control 60586d7f5d3SJohn Marino# can also be turned off at runtime by providing no or empty access 60686d7f5d3SJohn Marino# control tables. 60786d7f5d3SJohn Marino 60886d7f5d3SJohn MarinoACCESS = -DHOSTS_ACCESS 60986d7f5d3SJohn Marino 61086d7f5d3SJohn Marino######################################################## 61186d7f5d3SJohn Marino# Optional: Changing the access control table pathnames 61286d7f5d3SJohn Marino# 61386d7f5d3SJohn Marino# The HOSTS_ALLOW and HOSTS_DENY macros define where the programs will 61486d7f5d3SJohn Marino# look for access control information. Watch out for the quotes and 61586d7f5d3SJohn Marino# backslashes when you make changes. 61686d7f5d3SJohn Marino 61786d7f5d3SJohn MarinoTABLES = -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" 61886d7f5d3SJohn Marino 61986d7f5d3SJohn Marino#################################################### 62086d7f5d3SJohn Marino# Optional: dealing with host name/address conflicts 62186d7f5d3SJohn Marino# 62286d7f5d3SJohn Marino# By default, the software tries to protect against hosts that claim to 62386d7f5d3SJohn Marino# have someone elses host name. This is relevant for network services 62486d7f5d3SJohn Marino# whose authentication depends on host names, such as rsh and rlogin. 62586d7f5d3SJohn Marino# 62686d7f5d3SJohn Marino# With paranoid mode on, connections will be rejected when the host name 62786d7f5d3SJohn Marino# does not match the host address. Connections will also be rejected when 62886d7f5d3SJohn Marino# the host name is available but cannot be verified. 62986d7f5d3SJohn Marino# 63086d7f5d3SJohn Marino# Comment out the following definition if you want more control over such 63186d7f5d3SJohn Marino# requests. When paranoid mode is off and a host name double check fails, 63286d7f5d3SJohn Marino# the client can be matched with the PARANOID access control pattern. 63386d7f5d3SJohn Marino# 63486d7f5d3SJohn Marino# Paranoid mode implies hostname lookup. In order to disable hostname 63586d7f5d3SJohn Marino# lookups altogether, see the next section. 63686d7f5d3SJohn Marino 63786d7f5d3SJohn MarinoPARANOID= -DPARANOID 63886d7f5d3SJohn Marino 63986d7f5d3SJohn Marino######################################## 64086d7f5d3SJohn Marino# Optional: turning off hostname lookups 64186d7f5d3SJohn Marino# 64286d7f5d3SJohn Marino# By default, the software always attempts to look up the client 64386d7f5d3SJohn Marino# hostname. With selective hostname lookups, the client hostname 64486d7f5d3SJohn Marino# lookup is postponed until the name is required by an access control 64586d7f5d3SJohn Marino# rule or by a %letter expansion. 64686d7f5d3SJohn Marino# 64786d7f5d3SJohn Marino# In order to perform selective hostname lookups, disable paranoid 64886d7f5d3SJohn Marino# mode (see previous section) and comment out the following definition. 64986d7f5d3SJohn Marino 65086d7f5d3SJohn MarinoHOSTNAME= -DALWAYS_HOSTNAME 65186d7f5d3SJohn Marino 65286d7f5d3SJohn Marino############################################# 65386d7f5d3SJohn Marino# Optional: Turning on host ADDRESS checking 65486d7f5d3SJohn Marino# 65586d7f5d3SJohn Marino# Optionally, the software tries to protect against hosts that pretend to 65686d7f5d3SJohn Marino# have someone elses host address. This is relevant for network services 65786d7f5d3SJohn Marino# whose authentication depends on host names, such as rsh and rlogin, 65886d7f5d3SJohn Marino# because the network address is used to look up the remote host name. 65986d7f5d3SJohn Marino# 66086d7f5d3SJohn Marino# The protection is to refuse TCP connections with IP source routing 66186d7f5d3SJohn Marino# options. 66286d7f5d3SJohn Marino# 66386d7f5d3SJohn Marino# This feature cannot be used with SunOS 4.x because of a kernel bug in 66486d7f5d3SJohn Marino# the implementation of the getsockopt() system call. Kernel panics have 66586d7f5d3SJohn Marino# been observed for SunOS 4.1.[1-3]. Symptoms are "BAD TRAP" and "Data 66686d7f5d3SJohn Marino# fault" while executing the tcp_ctloutput() kernel function. 66786d7f5d3SJohn Marino# 66886d7f5d3SJohn Marino# Reportedly, Sun patch 100804-03 or 101790 fixes this for SunOS 4.1.x. 66986d7f5d3SJohn Marino# 67086d7f5d3SJohn Marino# Uncomment the following macro definition if your getsockopt() is OK. 67186d7f5d3SJohn Marino# 67286d7f5d3SJohn Marino# -DKILL_IP_OPTIONS is not needed on modern UNIX systems that can stop 67386d7f5d3SJohn Marino# source-routed traffic in the kernel. Examples: 4.4BSD derivatives, 67486d7f5d3SJohn Marino# Solaris 2.x, and Linux. See your system documentation for details. 67586d7f5d3SJohn Marino# 67686d7f5d3SJohn Marino# KILL_OPT= -DKILL_IP_OPTIONS 67786d7f5d3SJohn Marino 67886d7f5d3SJohn Marino## End configuration options 67986d7f5d3SJohn Marino############################ 68086d7f5d3SJohn Marino 68186d7f5d3SJohn Marino# Protection against weird shells or weird make programs. 68286d7f5d3SJohn Marino 68386d7f5d3SJohn MarinoSHELL = /bin/sh 68486d7f5d3SJohn Marino.c.o:; $(CC) $(CFLAGS) -c $*.c 68586d7f5d3SJohn Marino 68686d7f5d3SJohn MarinoCFLAGS = -O -DFACILITY=$(FACILITY) $(ACCESS) $(PARANOID) $(NETGROUP) \ 68786d7f5d3SJohn Marino $(BUGS) $(SYSTYPE) $(AUTH) $(UMASK) \ 68886d7f5d3SJohn Marino -DREAL_DAEMON_DIR=\"$(REAL_DAEMON_DIR)\" $(STYLE) $(KILL_OPT) \ 68986d7f5d3SJohn Marino -DSEVERITY=$(SEVERITY) -DRFC931_TIMEOUT=$(RFC931_TIMEOUT) \ 69086d7f5d3SJohn Marino $(UCHAR) $(TABLES) $(STRINGS) $(TLI) $(EXTRA_CFLAGS) $(DOT) \ 69186d7f5d3SJohn Marino $(VSYSLOG) $(HOSTNAME) 69286d7f5d3SJohn Marino 69386d7f5d3SJohn MarinoLIB_OBJ= hosts_access.o options.o shell_cmd.o rfc931.o eval.o \ 69486d7f5d3SJohn Marino hosts_ctl.o refuse.o percent_x.o clean_exit.o $(AUX_OBJ) \ 69586d7f5d3SJohn Marino $(FROM_OBJ) fix_options.o socket.o tli.o workarounds.o \ 69686d7f5d3SJohn Marino update.o misc.o diag.o percent_m.o myvsyslog.o 69786d7f5d3SJohn Marino 69886d7f5d3SJohn MarinoFROM_OBJ= fromhost.o 69986d7f5d3SJohn Marino 70086d7f5d3SJohn MarinoKIT = README miscd.c tcpd.c fromhost.c hosts_access.c shell_cmd.c \ 70186d7f5d3SJohn Marino tcpd.h tcpdmatch.c Makefile hosts_access.5 strcasecmp.c BLURB rfc931.c \ 70286d7f5d3SJohn Marino tcpd.8 eval.c hosts_access.3 hosts_ctl.c percent_x.c options.c \ 70386d7f5d3SJohn Marino clean_exit.c environ.c patchlevel.h fix_options.c workarounds.c \ 70486d7f5d3SJohn Marino socket.c tli.c DISCLAIMER fakelog.c safe_finger.c hosts_options.5 \ 70586d7f5d3SJohn Marino CHANGES try-from.c update.c ptx.c vfprintf.c tli-sequent.c \ 70686d7f5d3SJohn Marino tli-sequent.h misc.c diag.c ncr.c tcpdchk.c percent_m.c \ 70786d7f5d3SJohn Marino myvsyslog.c mystdarg.h printf.ck README.IRIX Banners.Makefile \ 70886d7f5d3SJohn Marino refuse.c tcpdchk.8 setenv.c inetcf.c inetcf.h scaffold.c \ 70986d7f5d3SJohn Marino scaffold.h tcpdmatch.8 README.NIS 71086d7f5d3SJohn Marino 71186d7f5d3SJohn MarinoLIB = libwrap.a 71286d7f5d3SJohn Marino 71386d7f5d3SJohn Marinoall other: config-check tcpd tcpdmatch try-from safe_finger tcpdchk 71486d7f5d3SJohn Marino 71586d7f5d3SJohn Marino# Invalidate all object files when the compiler options (CFLAGS) have changed. 71686d7f5d3SJohn Marino 71786d7f5d3SJohn Marinoconfig-check: 71886d7f5d3SJohn Marino @set +e; test -n "$(REAL_DAEMON_DIR)" || { make; exit 1; } 71986d7f5d3SJohn Marino @set +e; echo $(CFLAGS) >/tmp/cflags.$$$$ ; \ 72086d7f5d3SJohn Marino if cmp cflags /tmp/cflags.$$$$ ; \ 72186d7f5d3SJohn Marino then rm /tmp/cflags.$$$$ ; \ 72286d7f5d3SJohn Marino else mv /tmp/cflags.$$$$ cflags ; \ 72386d7f5d3SJohn Marino fi >/dev/null 2>/dev/null 72486d7f5d3SJohn Marino 72586d7f5d3SJohn Marino$(LIB): $(LIB_OBJ) 72686d7f5d3SJohn Marino rm -f $(LIB) 72786d7f5d3SJohn Marino $(AR) $(ARFLAGS) $(LIB) $(LIB_OBJ) 72886d7f5d3SJohn Marino -$(RANLIB) $(LIB) 72986d7f5d3SJohn Marino 73086d7f5d3SJohn Marinotcpd: tcpd.o $(LIB) 73186d7f5d3SJohn Marino $(CC) $(CFLAGS) -o $@ tcpd.o $(LIB) $(LIBS) 73286d7f5d3SJohn Marino 73386d7f5d3SJohn Marinomiscd: miscd.o $(LIB) 73486d7f5d3SJohn Marino $(CC) $(CFLAGS) -o $@ miscd.o $(LIB) $(LIBS) 73586d7f5d3SJohn Marino 73686d7f5d3SJohn Marinosafe_finger: safe_finger.o $(LIB) 73786d7f5d3SJohn Marino $(CC) $(CFLAGS) -o $@ safe_finger.o $(LIB) $(LIBS) 73886d7f5d3SJohn Marino 73986d7f5d3SJohn MarinoTCPDMATCH_OBJ = tcpdmatch.o fakelog.o inetcf.o scaffold.o 74086d7f5d3SJohn Marino 74186d7f5d3SJohn Marinotcpdmatch: $(TCPDMATCH_OBJ) $(LIB) 74286d7f5d3SJohn Marino $(CC) $(CFLAGS) -o $@ $(TCPDMATCH_OBJ) $(LIB) $(LIBS) 74386d7f5d3SJohn Marino 74486d7f5d3SJohn Marinotry-from: try-from.o fakelog.o $(LIB) 74586d7f5d3SJohn Marino $(CC) $(CFLAGS) -o $@ try-from.o fakelog.o $(LIB) $(LIBS) 74686d7f5d3SJohn Marino 74786d7f5d3SJohn MarinoTCPDCHK_OBJ = tcpdchk.o fakelog.o inetcf.o scaffold.o 74886d7f5d3SJohn Marino 74986d7f5d3SJohn Marinotcpdchk: $(TCPDCHK_OBJ) $(LIB) 75086d7f5d3SJohn Marino $(CC) $(CFLAGS) -o $@ $(TCPDCHK_OBJ) $(LIB) $(LIBS) 75186d7f5d3SJohn Marino 75286d7f5d3SJohn Marinoshar: $(KIT) 75386d7f5d3SJohn Marino @shar $(KIT) 75486d7f5d3SJohn Marino 75586d7f5d3SJohn Marinokit: $(KIT) 75686d7f5d3SJohn Marino @makekit $(KIT) 75786d7f5d3SJohn Marino 75886d7f5d3SJohn Marinofiles: 75986d7f5d3SJohn Marino @echo $(KIT) 76086d7f5d3SJohn Marino 76186d7f5d3SJohn Marinoarchive: 76286d7f5d3SJohn Marino $(ARCHIVE) $(KIT) 76386d7f5d3SJohn Marino 76486d7f5d3SJohn Marinoclean: 76586d7f5d3SJohn Marino rm -f tcpd miscd safe_finger tcpdmatch tcpdchk try-from *.[oa] core \ 76686d7f5d3SJohn Marino cflags 76786d7f5d3SJohn Marino 76886d7f5d3SJohn Marinotidy: clean 76986d7f5d3SJohn Marino chmod -R a+r . 77086d7f5d3SJohn Marino chmod 755 . 77186d7f5d3SJohn Marino 77286d7f5d3SJohn Marino# Enable all bells and whistles for linting. 77386d7f5d3SJohn Marino 77486d7f5d3SJohn Marinolint: tcpd_lint miscd_lint match_lint chk_lint 77586d7f5d3SJohn Marino 77686d7f5d3SJohn Marinotcpd_lint: 77786d7f5d3SJohn Marino lint -DFACILITY=LOG_MAIL -DHOSTS_ACCESS -DPARANOID -DNETGROUP \ 77886d7f5d3SJohn Marino -DGETPEERNAME_BUG -DDAEMON_UMASK=022 -DSEVERITY=$(SEVERITY) \ 77986d7f5d3SJohn Marino $(TABLES) -DKILL_IP_OPTIONS -DPROCESS_OPTIONS \ 78086d7f5d3SJohn Marino -DRFC931_TIMEOUT=$(RFC931_TIMEOUT) -DALWAYS_RFC931 \ 78186d7f5d3SJohn Marino -DREAL_DAEMON_DIR=\"$(REAL_DAEMON_DIR)\" \ 78286d7f5d3SJohn Marino -Dvsyslog=myvsyslog \ 78386d7f5d3SJohn Marino tcpd.c fromhost.c socket.c tli.c hosts_access.c \ 78486d7f5d3SJohn Marino shell_cmd.c refuse.c rfc931.c eval.c percent_x.c clean_exit.c \ 78586d7f5d3SJohn Marino options.c setenv.c fix_options.c workarounds.c update.c misc.c \ 78686d7f5d3SJohn Marino diag.c myvsyslog.c percent_m.c 78786d7f5d3SJohn Marino 78886d7f5d3SJohn Marinomiscd_lint: 78986d7f5d3SJohn Marino lint -DFACILITY=LOG_MAIL -DHOSTS_ACCESS -DPARANOID -DNETGROUP \ 79086d7f5d3SJohn Marino -DGETPEERNAME_BUG -DDAEMON_UMASK=022 -DSEVERITY=$(SEVERITY) \ 79186d7f5d3SJohn Marino $(TABLES) -DKILL_IP_OPTIONS -DPROCESS_OPTIONS \ 79286d7f5d3SJohn Marino -DRFC931_TIMEOUT=$(RFC931_TIMEOUT) -DALWAYS_RFC931 \ 79386d7f5d3SJohn Marino -DREAL_DAEMON_DIR=\"$(REAL_DAEMON_DIR)\" \ 79486d7f5d3SJohn Marino -Dvsyslog=myvsyslog \ 79586d7f5d3SJohn Marino miscd.c fromhost.c socket.c tli.c hosts_access.c \ 79686d7f5d3SJohn Marino shell_cmd.c refuse.c rfc931.c eval.c percent_x.c clean_exit.c \ 79786d7f5d3SJohn Marino options.c setenv.c fix_options.c workarounds.c update.c misc.c \ 79886d7f5d3SJohn Marino diag.c myvsyslog.c percent_m.c 79986d7f5d3SJohn Marino 80086d7f5d3SJohn Marinomatch_lint: 80186d7f5d3SJohn Marino lint -DFACILITY=LOG_MAIL -DSEVERITY=$(SEVERITY) -DHOSTS_ACCESS \ 80286d7f5d3SJohn Marino -DPARANOID $(TABLES) -DNETGROUP -DPROCESS_OPTIONS -DRFC931_TIMEOUT=10 \ 80386d7f5d3SJohn Marino -DREAL_DAEMON_DIR=\"$(REAL_DAEMON_DIR)\" \ 80486d7f5d3SJohn Marino -Dvsyslog=myvsyslog \ 80586d7f5d3SJohn Marino tcpdmatch.c hosts_access.c eval.c percent_x.c options.c workarounds.c \ 80686d7f5d3SJohn Marino update.c socket.c misc.c diag.c myvsyslog.c percent_m.c setenv.c \ 80786d7f5d3SJohn Marino inetcf.c scaffold.c 80886d7f5d3SJohn Marino 80986d7f5d3SJohn Marinochk_lint: 81086d7f5d3SJohn Marino lint -DFACILITY=LOG_MAIL -DSEVERITY=$(SEVERITY) -DHOSTS_ACCESS \ 81186d7f5d3SJohn Marino -DPARANOID $(TABLES) -DNETGROUP -DPROCESS_OPTIONS -DRFC931_TIMEOUT=10 \ 81286d7f5d3SJohn Marino -DREAL_DAEMON_DIR=\"$(REAL_DAEMON_DIR)\" \ 81386d7f5d3SJohn Marino -Dvsyslog=myvsyslog \ 81486d7f5d3SJohn Marino tcpdchk.c eval.c percent_x.c options.c update.c workarounds.c \ 81586d7f5d3SJohn Marino setenv.c misc.c diag.c myvsyslog.c percent_m.c inetcf.c scaffold.c 81686d7f5d3SJohn Marino 81786d7f5d3SJohn Marinoprintfck: 81886d7f5d3SJohn Marino printfck -f printf.ck \ 81986d7f5d3SJohn Marino tcpd.c fromhost.c socket.c tli.c hosts_access.c \ 82086d7f5d3SJohn Marino shell_cmd.c refuse.c rfc931.c eval.c percent_x.c clean_exit.c \ 82186d7f5d3SJohn Marino options.c setenv.c fix_options.c workarounds.c update.c misc.c \ 82286d7f5d3SJohn Marino diag.c myvsyslog.c percent_m.c >aap.c 82386d7f5d3SJohn Marino lint -DFACILITY=LOG_MAIL -DHOSTS_ACCESS -DPARANOID -DNETGROUP \ 82486d7f5d3SJohn Marino -DGETPEERNAME_BUG -DDAEMON_UMASK=022 -DSEVERITY=$(SEVERITY) \ 82586d7f5d3SJohn Marino $(TABLES) -DKILL_IP_OPTIONS -DPROCESS_OPTIONS \ 82686d7f5d3SJohn Marino -DRFC931_TIMEOUT=$(RFC931_TIMEOUT) -DALWAYS_RFC931 \ 82786d7f5d3SJohn Marino -DREAL_DAEMON_DIR=\"$(REAL_DAEMON_DIR)\" -Dvsyslog=myvsyslog aap.c 82886d7f5d3SJohn Marino printfck -f printf.ck \ 82986d7f5d3SJohn Marino tcpdchk.c eval.c percent_x.c options.c update.c workarounds.c \ 83086d7f5d3SJohn Marino setenv.c misc.c diag.c myvsyslog.c percent_m.c inetcf.c scaffold.c \ 83186d7f5d3SJohn Marino >aap.c 83286d7f5d3SJohn Marino lint -DFACILITY=LOG_MAIL -DSEVERITY=$(SEVERITY) -DHOSTS_ACCESS \ 83386d7f5d3SJohn Marino -DPARANOID $(TABLES) -DNETGROUP -DPROCESS_OPTIONS -DRFC931_TIMEOUT=10 \ 83486d7f5d3SJohn Marino -Dvsyslog=myvsyslog -DREAL_DAEMON_DIR=\"$(REAL_DAEMON_DIR)\" 83586d7f5d3SJohn Marino 83686d7f5d3SJohn Marino# Internal compilation dependencies. 83786d7f5d3SJohn Marino 83886d7f5d3SJohn Marinoclean_exit.o: cflags 83986d7f5d3SJohn Marinoclean_exit.o: tcpd.h 84086d7f5d3SJohn Marinodiag.o: cflags 84186d7f5d3SJohn Marinodiag.o: mystdarg.h 84286d7f5d3SJohn Marinodiag.o: tcpd.h 84386d7f5d3SJohn Marinoenviron.o: cflags 84486d7f5d3SJohn Marinoeval.o: cflags 84586d7f5d3SJohn Marinoeval.o: tcpd.h 84686d7f5d3SJohn Marinofakelog.o: cflags 84786d7f5d3SJohn Marinofakelog.o: mystdarg.h 84886d7f5d3SJohn Marinofix_options.o: cflags 84986d7f5d3SJohn Marinofix_options.o: tcpd.h 85086d7f5d3SJohn Marinofromhost.o: cflags 85186d7f5d3SJohn Marinofromhost.o: tcpd.h 85286d7f5d3SJohn Marinohosts_access.o: cflags 85386d7f5d3SJohn Marinohosts_access.o: tcpd.h 85486d7f5d3SJohn Marinohosts_ctl.o: cflags 85586d7f5d3SJohn Marinohosts_ctl.o: tcpd.h 85686d7f5d3SJohn Marinoinetcf.o: cflags 85786d7f5d3SJohn Marinoinetcf.o: inetcf.h 85886d7f5d3SJohn Marinoinetcf.o: tcpd.h 85986d7f5d3SJohn Marinomisc.o: cflags 86086d7f5d3SJohn Marinomisc.o: tcpd.h 86186d7f5d3SJohn Marinomiscd.o: cflags 86286d7f5d3SJohn Marinomiscd.o: patchlevel.h 86386d7f5d3SJohn Marinomiscd.o: tcpd.h 86486d7f5d3SJohn Marinomyvsyslog.o: cflags 86586d7f5d3SJohn Marinomyvsyslog.o: mystdarg.h 86686d7f5d3SJohn Marinomyvsyslog.o: tcpd.h 86786d7f5d3SJohn Marinoncr.o: cflags 86886d7f5d3SJohn Marinoncr.o: tcpd.h 86986d7f5d3SJohn Marinooptions.o: cflags 87086d7f5d3SJohn Marinooptions.o: tcpd.h 87186d7f5d3SJohn Marinopercent_m.o: cflags 87286d7f5d3SJohn Marinopercent_m.o: mystdarg.h 87386d7f5d3SJohn Marinopercent_x.o: cflags 87486d7f5d3SJohn Marinopercent_x.o: tcpd.h 87586d7f5d3SJohn Marinoptx.o: cflags 87686d7f5d3SJohn Marinoptx.o: tcpd.h 87786d7f5d3SJohn Marinorefuse.o: cflags 87886d7f5d3SJohn Marinorefuse.o: tcpd.h 87986d7f5d3SJohn Marinorfc931.o: cflags 88086d7f5d3SJohn Marinorfc931.o: tcpd.h 88186d7f5d3SJohn Marinosafe_finger.o: cflags 88286d7f5d3SJohn Marinoscaffold.o: cflags 88386d7f5d3SJohn Marinoscaffold.o: scaffold.h 88486d7f5d3SJohn Marinoscaffold.o: tcpd.h 88586d7f5d3SJohn Marinosetenv.o: cflags 88686d7f5d3SJohn Marinoshell_cmd.o: cflags 88786d7f5d3SJohn Marinoshell_cmd.o: tcpd.h 88886d7f5d3SJohn Marinosocket.o: cflags 88986d7f5d3SJohn Marinosocket.o: tcpd.h 89086d7f5d3SJohn Marinostrcasecmp.o: cflags 89186d7f5d3SJohn Marinotcpd.o: cflags 89286d7f5d3SJohn Marinotcpd.o: patchlevel.h 89386d7f5d3SJohn Marinotcpd.o: tcpd.h 89486d7f5d3SJohn Marinotcpdchk.o: cflags 89586d7f5d3SJohn Marinotcpdchk.o: inetcf.h 89686d7f5d3SJohn Marinotcpdchk.o: scaffold.h 89786d7f5d3SJohn Marinotcpdchk.o: tcpd.h 89886d7f5d3SJohn Marinotcpdmatch.o: cflags 89986d7f5d3SJohn Marinotcpdmatch.o: scaffold.h 90086d7f5d3SJohn Marinotcpdmatch.o: tcpd.h 90186d7f5d3SJohn Marinotli-sequent.o: cflags 90286d7f5d3SJohn Marinotli-sequent.o: tcpd.h 90386d7f5d3SJohn Marinotli-sequent.o: tli-sequent.h 90486d7f5d3SJohn Marinotli.o: cflags 90586d7f5d3SJohn Marinotli.o: tcpd.h 90686d7f5d3SJohn Marinotry-from.o: cflags 90786d7f5d3SJohn Marinotry-from.o: tcpd.h 90886d7f5d3SJohn Marinoupdate.o: cflags 90986d7f5d3SJohn Marinoupdate.o: mystdarg.h 91086d7f5d3SJohn Marinoupdate.o: tcpd.h 91186d7f5d3SJohn Marinovfprintf.o: cflags 91286d7f5d3SJohn Marinoworkarounds.o: cflags 91386d7f5d3SJohn Marinoworkarounds.o: tcpd.h 914