home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume39 / tcp_wrappers / part02 / Makefile < prev    next >
Encoding:
Makefile  |  1993-09-29  |  18.6 KB  |  515 lines

  1. # @(#) Makefile 1.9 93/09/28 23:39:55
  2.  
  3. what:
  4.     @echo
  5.     @echo "Usage: edit the REAL_DAEMON_DIR definition in the Makefile then:"
  6.     @echo
  7.     @echo "    make type-of-system"
  8.     @echo
  9.     @echo "If you are in a hurry you can try instead:"
  10.     @echo
  11.     @echo "    make REAL_DAEMON_DIR=/some/where type-of-system"
  12.     @echo
  13.     @echo "This Makefile knows about the following types of systems:"
  14.     @echo
  15.     @echo "    sunos4 sunos5 next irix hpux ultrix aix alpha osf"
  16.     @echo "    sunos40 {386,net,free}bsd linux sysv4 esix dgux"
  17.     @echo
  18.     @echo "If none of these match your environment, edit the system"
  19.     @echo "dependencies section in the Makefile and do a 'make other'."
  20.     @echo
  21.  
  22. #######################################################
  23. # Choice between easy and advanced installation recipe.
  24. # Advanced installation: vendor-provided daemons are left alone, and the
  25. # inetd configuration file is edited. In this case, the REAL_DAEMON_DIR
  26. # macro should reflect the actual directory with (most of) your
  27. # vendor-provided network daemons.  These names can be found in the
  28. # inetd.conf file. Usually, the telnet, ftp and finger daemons all live
  29. # in the same directory.
  30. # Uncomment the appropriate line if you are going to edit inetd.conf.
  31. #
  32. # Ultrix 4.x SunOS 4.x
  33. #REAL_DAEMON_DIR=/usr/etc
  34. #
  35. # SysV.4 Solaris 2.x OSF AIX
  36. #REAL_DAEMON_DIR=/usr/sbin
  37. #
  38. # BSD 4.4
  39. #REAL_DAEMON_DIR=/usr/libexec
  40. #
  41. # HP-UX
  42. #REAL_DAEMON_DIR=/etc
  43.  
  44. # Easy installation: vendor-provided network daemons are moved to "some
  45. # other" directory, and the tcpd wrapper fills in the "holes". For this
  46. # mode of operation, the REAL_DAEMON_DIR macro should be set to the "some
  47. # other" directory.  The "..." is here for historical reasons only; you
  48. # should probably use some other name. 
  49. # Uncomment the appropriate line if you are going to move your daemons.
  50. #
  51. # Ultrix 4.x SunOS 4.x
  52. #REAL_DAEMON_DIR=/usr/etc/...
  53. #
  54. # SysV.4 Solaris 2.x OSF AIX
  55. #REAL_DAEMON_DIR=/usr/sbin/...
  56. #
  57. # BSD 4.4
  58. #REAL_DAEMON_DIR=/usr/libexec/...
  59. #
  60. # HP-UX
  61. #REAL_DAEMON_DIR=/etc/...
  62.  
  63. # End of mandatory section
  64. ##########################
  65.  
  66. ##############################################
  67. # System dependencies: ready-to-use templates.
  68. #
  69. # Ready-to-use templates are available for sunos 4.x, sunos 5.x (sysv4),
  70. # ultrix, hp-ux, irix 4.x and others. These templates take care of all system
  71. # dependencies: after editing the REAL_DAEMON_DIR definition above, just do
  72. # a "make sunos4" (or whatever system type is appropriate).
  73. #
  74. # If your system is not listed (or something that comes close enough), you
  75. # will have to edit the system depencies section below and do a "make other".  
  76. #
  77. # Send templates for other UNIX versions to wietse@wzv.win.tue.nl.
  78.  
  79. # This is good for many BSD+SYSV hybrids with NIS (formerly YP).
  80. sunos4 next aix osf alpha:
  81.     @make LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ=setenv.o \
  82.     NETGROUP=-DNETGROUP TLI= all
  83.  
  84. # SunOS stopped at release 4.0.x for the 386.
  85. sunos40:
  86.     @make LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ="setenv.o strcasecmp.o" \
  87.     NETGROUP=-DNETGROUP TLI= all
  88.  
  89. # Ultrix is like sunos4, next, etc., but has miscd, too.
  90. ultrix:
  91.     @make LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ=setenv.o \
  92.     NETGROUP=-DNETGROUP TLI= all miscd
  93.  
  94. # Free bsd and linux have no NIS.
  95. 386bsd netbsd freebsd:
  96.     @make LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ= NETGROUP= TLI= all
  97.  
  98. linux:
  99.     @make LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ=setenv.o \
  100.     NETGROUP= TLI= EXTRA_CFLAGS="-DBROKEN_SO_LINGER" all
  101.  
  102. # This is good for many SYSV+BSD hybrids with NIS, probably also for HP-UX 7.x.
  103. hpux hpux8 hpux9:
  104.     @make LIBS= RANLIB=echo ARFLAGS=rv AUX_OBJ=setenv.o \
  105.     NETGROUP=-DNETGROUP TLI= all
  106.  
  107. # IRIX 4.0.x has a special ar(1) flag.
  108. irix:
  109.     @make LIBS=-lsun RANLIB=echo ARFLAGS=rvs AUX_OBJ=setenv.o \
  110.     NETGROUP=-DNETGROUP TLI= all
  111.  
  112. # SunOS 5.x is close enough to generic System V.4
  113. sunos5 esix sysv4:
  114.     @make LIBS="-lsocket -lnsl" RANLIB=echo ARFLAGS=rv \
  115.     NETGROUP=-DNETGROUP AUX_OBJ=setenv.o TLI=-DTLI all
  116.  
  117. # DG/UX 5.4.1 is like SYSV.4 but slightly different.
  118. dgux:
  119.     @make LIBS=-lnsl RANLIB=echo ARFLAGS=rv \
  120.     NETGROUP=-DNETGROUP AUX_OBJ=setenv.o TLI=-DTLI \
  121.     BUGS="$(BUGS) -DINET_ADDR_BUG" all
  122.  
  123. # Untested templates. The wrapper is known to run on these systems, I just
  124. # don't have sufficient time+details to prepare complete makefile templates.
  125.  
  126. ptx:
  127.     @echo "Warning: the AUX_OBJ and/or NETGROUP definitions may be wrong."
  128.     make LIBS="-lsocket -linet -lnsl -lnfs" RANLIB=echo ARFLAGS=rv \
  129.     AUX_OBJ="setenv.o strcasecmp.o" NETGROUP= TLI=-DTLI all
  130.  
  131. isc:
  132.     @echo "Warning: the AUX_OBJ and/or NETGROUP definitions may be wrong."
  133.     make LIBS="-linet -lnsl_s -ldbm" RANLIB=echo ARFLAGS=rv \
  134.     AUX_OBJ="setenv.o strcasecmp.o" NETGROUP= TLI= all
  135.  
  136. unicos:
  137.     @echo "Warning: some definitions may be wrong."
  138.     make LIBS=-lnet RANLIB=echo ARFLAGS=rv \
  139.     AUX_OBJ="setenv.o strcasecmp.o" NETGROUP= TLI= all
  140.  
  141. ###############################################################
  142. # System dependencies: TLI (transport-level interface) support.
  143. # Uncomment the following macro if your system has System V.4-style TLI
  144. # support (/usr/include/sys/timod.h, /etc/netconfig, and the netdir(3)
  145. # routines).
  146. #
  147. #TLI    = -DTLI
  148.  
  149. ###############################################################################
  150. # System dependencies: differences between ranlib(1) and ar(1) implementations.
  151. #
  152. # Some C compilers (Ultrix 4.x) insist that ranlib(1) be run on an object
  153. # library; some don't care as long as the modules are in the right order;
  154. # some systems don't even have a ranlib(1) command. Make your choice.
  155.  
  156. RANLIB    = ranlib    # have ranlib (BSD-ish UNIX)
  157. #RANLIB    = echo        # no ranlib (SYSV-ish UNIX)
  158.  
  159. ARFLAGS    = rv        # most systems
  160. #ARFLAGS= rvs        # IRIX 4.0.x
  161.  
  162. #############################################################################
  163. # System dependencies: routines that are not present in the system libraries.
  164. # If your system library does not have setenv(), strcasecmp() or strtok(),
  165. # use the ones provided with this source distribution.
  166.  
  167. AUX_OBJ= setenv.o
  168. #AUX_OBJ= setenv.o strcasecmp.o
  169. #AUX_OBJ= setenv.o strcasecmp.o strtok.o
  170.  
  171. # Uncomment the following if your C library does not provide the
  172. # strchr/strrchr/memcmp routines, but comes with index/rindex/bcmp.  If
  173. # that is the case, you probably also do not have strtok() (see above).
  174. #
  175. #STRINGS= -Dstrchr=index -Dstrrchr=rindex -Dmemcmp=bcmp
  176.  
  177. #################################################################
  178. # System dependencies: selection of non-default object libraries.
  179. #
  180. # Most System V implementations require that you explicitly specify the
  181. # networking libraries. There is no general consensus, though.
  182. #
  183. #LIBS    = -lsocket -lnsl        # SysV.4 Solaris 2.x
  184. #LIBS    = -lsun                # IRIX
  185. #LIBS    = -lsocket -linet -lnsl -lnfs    # PTX
  186. #LIBS    = -linet -lnsl_s -ldbm        # ISC
  187. #LIBS    = -lnet                # Unicos
  188. #LIBS    = -linet -lsyslog -ldbm
  189. #LIBS    = -lsyslog -lsocket -lnsl
  190.  
  191. ######################################################
  192. # System dependencies: system-specific compiler flags.
  193. #
  194. # Apollo Domain/OS offers both bsd and sys5 environments, sometimes
  195. # on the same machine.  If your Apollo is primarily sys5.3 and also
  196. # has bsd4.3, uncomment the following to build under bsd and run under
  197. # either environment.
  198. #
  199. #SYSTYPE= -A run,any -A sys,any
  200.  
  201. # For MIPS RISC/os 4_52.p3, uncomment the following definition.
  202. #
  203. #SYSTYPE= -sysname bsd43
  204.  
  205. ##################################################
  206. # System dependencies: working around system bugs.
  207. #
  208. # -DGETPEERNAME_BUG works around a getpeername(2) bug in some versions of
  209. # Apollo or SYSV.4 UNIX:  the wrapper would report that all UDP requests
  210. # come from address 0.0.0.0. The workaround does no harm on other systems.
  211. #
  212. # -DBROKEN_FGETS works around an fgets(3) bug in some System V versions
  213. # (IRIX):  fgets() gives up too fast when reading from a network socket.
  214. # The workaround does no harm on other systems.
  215. #
  216. # DG/UX 5.4.1 comes with an inet_ntoa() function that returns a structure
  217. # instead of a long integer. Compile with -DINET_ADDR_BUG to work around
  218. # this mutant behavour.
  219.  
  220. BUGS = -DGETPEERNAME_BUG -DBROKEN_FGETS
  221. #BUGS = -DGETPEERNAME_BUG -DBROKEN_FGETS -DINET_ADDR_BUG
  222.  
  223. ##########################################################################
  224. # System dependencies: whether or not your system has NIS (or YP) support.
  225. #
  226. # If your system supports NIS or YP-style netgroups, enable the following
  227. # macro definition. Netgroups are used only for host access control.
  228. #
  229. #NETGROUP= -DNETGROUP
  230.  
  231. # End of the system dependencies.
  232. #################################
  233.  
  234. ##############################
  235. # Start of the optional stuff.
  236.  
  237. ###########################################
  238. # Optional: Turning on language extensions
  239. #
  240. # Instead of the default access control language that is documented in
  241. # the hosts_access.5 document, the wrappers can be configured to
  242. # implement an extensible language documented in the hosts_options.5
  243. # document.  This language is implemented by the "options.c" source
  244. # module, which also gives hints on how to add your own extensions.
  245. # Uncomment the next definition to turn on the language extensions.
  246. #STYLE    = -DPROCESS_OPTIONS    # Enable language extensions.
  247.  
  248. ################################################################
  249. # Optional: Changing the default disposition of logfile records
  250. #
  251. # By default, logfile entries are written to the same file as used for
  252. # sendmail transaction logs. See your /etc/syslog.conf file for actual
  253. # path names of logfiles. The tutorial section in the README file
  254. # gives a brief introduction to the syslog daemon.
  255. # Change the FACILITY definition below if you disagree with the default
  256. # disposition. Some syslog versions (including Ultrix 4.x) do not provide
  257. # this flexibility.
  258. # If nothing shows up on your system, it may be that the syslog records
  259. # are sent to a dedicated loghost. It may also be that no syslog daemon
  260. # is running at all. The README file gives pointers to surrogate syslog
  261. # implementations for systems that have no syslog library routines or
  262. # no syslog daemons.
  263. #
  264. # The LOG_XXX names below are taken from the /usr/include/syslog.h file.
  265.  
  266. FACILITY= LOG_MAIL    # LOG_MAIL is what most sendmail daemons use
  267.  
  268. # The syslog priority at which successful connections are logged.
  269.  
  270. SEVERITY= LOG_INFO    # LOG_INFO is normally not logged to the console
  271.  
  272. ##################################################
  273. # Optional: Always attempt remote username lookups
  274. #
  275. # By default, the wrappers look up the remote username only when the
  276. # access control rules require them to do so.
  277. #
  278. # Username lookups require that the remote host runs a daemon that
  279. # supports an RFC 931 like protocol.  Remote user name lookups are not
  280. # possible for UDP-based connections, and can cause noticeable delays
  281. # with connections from non-UNIX PCs.  On some systems, remote username
  282. # lookups can trigger a kernel bug, causing loss of service. The README
  283. # file describes how to find out if your UNIX kernel has that problem.
  284. # Uncomment the following definition if the wrappers should always
  285. # attempt to get the remote user name. If this is not enabled you can
  286. # still do selective username lookups as documented in the hosts_access.5
  287. # and hosts_options.5 manual pages (`nroff -man' format).
  288. #
  289. #AUTH    = -DALWAYS_RFC931
  290. #
  291. # The default username lookup timeout is 10 seconds. This may not be long
  292. # enough for slow hosts or networks, but is enough to irritate PC users.
  293.  
  294. RFC931_TIMEOUT = 10
  295.  
  296. ######################################################
  297. # Optional: Changing the default file protection mask
  298. #
  299. # On many systems, network daemons and other system processes are started
  300. # with a zero umask value, so that world-writable files may be produced.
  301. # It is a good idea to edit your /etc/rc* files so that they begin with
  302. # an explicit umask setting.  On our site we use `umask 022' because it
  303. # does not break anything yet gives adequate protection against tampering.
  304. # The following macro specifies the default umask for processes run under
  305. # control of the daemon wrappers. Comment it out only if you are certain
  306. # that inetd and its children are started with a safe umask value.
  307.  
  308. UMASK    = -DDAEMON_UMASK=022
  309.  
  310. #######################################
  311. # Optional: Turning off access control
  312. #
  313. # By default, host access control is enabled.  To disable host access
  314. # control, comment out the following definition.  Host access control
  315. # can also be turned off at runtime by providing no or empty access
  316. # control tables.
  317.  
  318. ACCESS    = -DHOSTS_ACCESS
  319.  
  320. ########################################################
  321. # Optional: Changing the access control table pathnames
  322. #
  323. # The HOSTS_ALLOW and HOSTS_DENY macros define where the programs will
  324. # look for access control information. Watch out for the quotes and
  325. # backslashes when you make changes.
  326.  
  327. TABLES    = -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\"
  328.  
  329. ###########################################
  330. # Optional: Turning off host NAME checking
  331. #
  332. # By default, the software tries to protect against hosts that claim to
  333. # have someone elses host name. This is relevant for network services
  334. # whose authentication depends on host names, such as rsh and rlogin.
  335. #
  336. # With paranoid mode on, connections will be rejected when the host name
  337. # does not match the host address. Connections will also be rejected when
  338. # the host name is available but cannot be verified.
  339. #
  340. # Comment out the following definition if you do not need this additional
  341. # protection. If paranoid mode is off, and a host name check fails, the
  342. # daemon wrappers will use only the host address, but your daemons may
  343. # still use the host name.
  344.  
  345. PARANOID= -DPARANOID
  346.  
  347. #############################################
  348. # Optional: Turning on host ADDRESS checking
  349. #
  350. # Optionally, the software tries to protect against hosts that pretend to
  351. # have someone elses host address. This is relevant for network services
  352. # whose authentication depends on host names, such as rsh and rlogin,
  353. # because the network address is used to look up the remote host name.
  354. # The protection is effective only when the offending host claims to have
  355. # a network address that lies outside its own network.
  356. #
  357. # My site has been running rlogind and rshd daemons that implement this
  358. # feature for more than 2 years, and without any ill effects.
  359. #
  360. # This feature cannot be used with SunOS 4.x because of a kernel bug in
  361. # the implementation of the getsockopt() system call. Kernel panics have
  362. # been reported for SunOS 4.1.1 and SunOS 4.1.2. Symptoms are "BAD TRAP"
  363. # and "Data fault" while executing the tcp_ctloutput() kernel function.
  364. #
  365. # Uncomment the following macro definition if your getsockopt() is OK.
  366. #
  367. # KILL_OPT= -DKILL_IP_OPTIONS
  368.  
  369. ## End configuration options
  370. ############################
  371.  
  372. # Protection against weird shells or weird make programs.
  373.  
  374. SHELL    = /bin/sh
  375. .c.o:;    $(CC) $(CFLAGS) -c $*.c
  376.  
  377. CFLAGS    = -O -DFACILITY=$(FACILITY) $(ACCESS) $(PARANOID) $(NETGROUP) \
  378.     $(BUGS) $(SYSTYPE) $(AUTH) $(UMASK) \
  379.     -DREAL_MISCD=\"$(REAL_DAEMON_DIR)/miscd\" \
  380.     -DREAL_DAEMON_DIR=\"$(REAL_DAEMON_DIR)\" $(STYLE) $(KILL_OPT) \
  381.     -DSEVERITY=$(SEVERITY) -DRFC931_TIMEOUT=$(RFC931_TIMEOUT) \
  382.     $(UCHAR) $(TABLES) $(STRINGS) $(TLI) $(EXTRA_CFLAGS)
  383.  
  384. LIB_OBJ= hosts_access.o options.o shell_cmd.o rfc931.o hosts_info.o \
  385.     hosts_ctl.o refuse.o percent_x.o clean_exit.o $(AUX_OBJ) \
  386.     fromhost.o fix_options.o socket.o tli.o workarounds.o init_client.o \
  387.     6compat.o
  388.  
  389. KIT    = README miscd.c tcpd.c fromhost.c hosts_access.c shell_cmd.c \
  390.     log_tcp.h try.c refuse.c Makefile hosts_access.5 strcasecmp.c \
  391.     BLURB rfc931.c tcpd.8 hosts_info.c hosts_access.3 hosts_ctl.c \
  392.     percent_x.c options.c clean_exit.c setenv.c patchlevel.h strtok.c \
  393.     fix_options.c workarounds.c socket.c tli.c DISCLAIMER \
  394.     fakelog.c safe_finger.c hosts_options.5 options.h CHANGES \
  395.     try-from.c init_client.c 6compat.c
  396.  
  397. LIB    = libwrap.a
  398.  
  399. all other: config-check tcpd try try-from safe_finger
  400.  
  401. config-check:
  402.     @set +e; test -n "$(REAL_DAEMON_DIR)" || { \
  403.      echo "" ; \
  404.      echo "Please edit the Makefile to define the REAL_DAEMON_DIR macro,";\
  405.      echo "or build with \`make REAL_DAEMON_DIR=/some/where ....'";\
  406.      echo "" ; \
  407.      exit 1; \
  408.     }
  409.  
  410. $(LIB):    $(LIB_OBJ)
  411.     rm -f $(LIB)
  412.     ar $(ARFLAGS) $(LIB) $(LIB_OBJ)
  413.     -$(RANLIB) $(LIB)
  414.  
  415. tcpd:    tcpd.o fromhost.o $(LIB)
  416.     $(CC) $(CFLAGS) -o $@ tcpd.o fromhost.o $(LIB) $(LIBS)
  417.  
  418. miscd:    miscd.o fromhost.o $(LIB)
  419.     $(CC) $(CFLAGS) -o $@ miscd.o fromhost.o $(LIB) $(LIBS)
  420.  
  421. safe_finger:
  422.     $(CC) $(CFLAGS) -o $@ safe_finger.c
  423.  
  424. try:    try.o fakelog.o $(LIB)
  425.     $(CC) $(CFLAGS) -o $@ try.o fakelog.o $(LIB) $(LIBS)
  426.  
  427. try-from: try-from.c fakelog.o log_tcp.h Makefile $(LIB)
  428.     $(CC) $(CFLAGS) -DTEST -o $@ try-from.c fakelog.o $(LIB) $(LIBS)
  429.  
  430. shar:    $(KIT)
  431.     @shar $(KIT)
  432.  
  433. kit:    $(KIT)
  434.     @makekit $(KIT)
  435.  
  436. archive:
  437.     $(ARCHIVE) $(KIT)
  438.  
  439. clean:
  440.     rm -f tcpd miscd safe_finger try try-from *.[oa] core
  441.  
  442. # Enable all bells and whistles for linting.
  443.  
  444. lint: tcpd_lint miscd_lint try_lint
  445.  
  446. tcpd_lint:
  447.     lint -DFACILITY=LOG_MAIL -DHOSTS_ACCESS -DPARANOID -DNETGROUP \
  448.     -DGETPEERNAME_BUG -DDAEMON_UMASK=022 -DSEVERITY=$(SEVERITY) \
  449.     $(TABLES) -DKILL_IP_OPTIONS -DPROCESS_OPTIONS \
  450.     -DRFC931_TIMEOUT=$(RFC931_TIMEOUT) -DALWAYS_RFC931 \
  451.     -DREAL_DAEMON_DIR=\"$(REAL_DAEMON_DIR)\" \
  452.     tcpd.c fromhost.c socket.c tli.c hosts_access.c shell_cmd.c \
  453.     refuse.c rfc931.c hosts_info.c percent_x.c clean_exit.c options.c \
  454.     setenv.c fix_options.c workarounds.c init_client.c
  455.  
  456. miscd_lint:
  457.     lint -DFACILITY=LOG_MAIL -DHOSTS_ACCESS -DPARANOID -DNETGROUP \
  458.     -DGETPEERNAME_BUG -DDAEMON_UMASK=022 -DSEVERITY=$(SEVERITY) \
  459.     $(TABLES) -DKILL_IP_OPTIONS -DPROCESS_OPTIONS \
  460.     -DRFC931_TIMEOUT=$(RFC931_TIMEOUT) -DALWAYS_RFC931 \
  461.     -DREAL_MISCD=\"$(REAL_DAEMON_DIR)/miscd\" \
  462.     miscd.c fromhost.c socket.c tli.c hosts_access.c shell_cmd.c \
  463.     refuse.c rfc931.c hosts_info.c percent_x.c clean_exit.c options.c \
  464.     setenv.c fix_options.c workarounds.c init_client.c
  465.  
  466. try_lint:
  467.     lint -DFACILITY=LOG_MAIL -DSEVERITY=$(SEVERITY) -DHOSTS_ACCESS \
  468.     $(TABLES) -DNETGROUP -DPROCESS_OPTIONS \
  469.     try.c hosts_ctl.c hosts_access.c hosts_info.c percent_x.c options.c \
  470.     workarounds.c init_client.c
  471.  
  472. printfck:
  473.     printfck -f printf.ck tcpd.c fromhost.c socket.c tli.c hosts_access.c shell_cmd.c \
  474.     refuse.c rfc931.c hosts_info.c percent_x.c clean_exit.c options.c \
  475.     setenv.c fix_options.c workarounds.c init_client.c >aap.c
  476.     lint -DFACILITY=LOG_MAIL -DHOSTS_ACCESS -DPARANOID -DNETGROUP \
  477.     -DGETPEERNAME_BUG -DDAEMON_UMASK=022 -DSEVERITY=$(SEVERITY) \
  478.     $(TABLES) -DKILL_IP_OPTIONS -DPROCESS_OPTIONS \
  479.     -DRFC931_TIMEOUT=$(RFC931_TIMEOUT) -DALWAYS_RFC931 \
  480.     -DREAL_DAEMON_DIR=\"$(REAL_DAEMON_DIR)\" aap.c
  481.     rm -f aap.c
  482.  
  483. # Compilation dependencies.
  484.  
  485. clean_exit.o: log_tcp.h Makefile
  486. fix_options.o: log_tcp.h Makefile
  487. fromhost.o: log_tcp.h Makefile
  488. hosts_access.o: options.h log_tcp.h Makefile
  489. hosts_ctl.o: log_tcp.h Makefile
  490. hosts_info.o: log_tcp.h Makefile
  491. init_client.o: log_tcp.h Makefile
  492. miscd.o: patchlevel.h log_tcp.h Makefile
  493. options.o: options.h log_tcp.h Makefile
  494. percent_x.o: log_tcp.h Makefile
  495. refuse.o: log_tcp.h Makefile
  496. rfc931.o: log_tcp.h Makefile
  497. shell_cmd.o: log_tcp.h Makefile
  498. socket.o: log_tcp.h Makefile
  499. tcpd.o: patchlevel.h log_tcp.h Makefile
  500. tli.o: log_tcp.h Makefile
  501. try-from: log_tcp.h Makefile
  502. try.o: log_tcp.h Makefile
  503. workarounds.o: log_tcp.h Makefile
  504.