3 @@ -45,7 +45,7 @@ what:
5 # SysV.4 Solaris 2.x OSF AIX
6 #REAL_DAEMON_DIR=/usr/sbin
8 +REAL_DAEMON_DIR=/usr/sbin
10 #REAL_DAEMON_DIR=/usr/libexec
12 @@ -513,6 +513,7 @@ VSYSLOG = -Dvsyslog=myvsyslog
13 # (examples: allow, deny, banners, twist and spawn).
15 #STYLE = -DPROCESS_OPTIONS # Enable language extensions.
16 +STYLE = "-DPROCESS_OPTIONS -DACLEXEC"
18 ################################################################
19 # Optional: Changing the default disposition of logfile records
20 @@ -536,6 +537,7 @@ VSYSLOG = -Dvsyslog=myvsyslog
21 # The LOG_XXX names below are taken from the /usr/include/syslog.h file.
23 FACILITY= LOG_MAIL # LOG_MAIL is what most sendmail daemons use
26 # The syslog priority at which successful connections are logged.
28 @@ -632,6 +634,7 @@ TABLES = -DHOSTS_DENY=\"/etc/hosts.deny\
29 # lookups altogether, see the next section.
34 ########################################
35 # Optional: turning off hostname lookups
36 @@ -645,6 +648,7 @@ PARANOID= -DPARANOID
37 # mode (see previous section) and comment out the following definition.
39 HOSTNAME= -DALWAYS_HOSTNAME
42 #############################################
43 # Optional: Turning on host ADDRESS checking
44 @@ -671,6 +675,7 @@ HOSTNAME= -DALWAYS_HOSTNAME
45 # Solaris 2.x, and Linux. See your system documentation for details.
47 # KILL_OPT= -DKILL_IP_OPTIONS
48 +KILL_OPT= -DKILL_IP_OPTIONS
50 ## End configuration options
51 ############################
52 @@ -678,9 +683,10 @@ HOSTNAME= -DALWAYS_HOSTNAME
53 # Protection against weird shells or weird make programs.
56 -.c.o:; $(CC) $(CFLAGS) -c $*.c
57 +.c.o:; $(CC) $(CFLAGS) -o $*.o -c $*.c
59 -CFLAGS = -O -DFACILITY=$(FACILITY) $(ACCESS) $(PARANOID) $(NETGROUP) \
61 +CFLAGS = $(COPTS) -DFACILITY=$(FACILITY) $(ACCESS) $(PARANOID) $(NETGROUP) \
62 $(BUGS) $(SYSTYPE) $(AUTH) $(UMASK) \
63 -DREAL_DAEMON_DIR=\"$(REAL_DAEMON_DIR)\" $(STYLE) $(KILL_OPT) \
64 -DSEVERITY=$(SEVERITY) -DRFC931_TIMEOUT=$(RFC931_TIMEOUT) \
65 @@ -713,11 +719,12 @@ all other: config-check tcpd tcpdmatch t
68 @set +e; test -n "$(REAL_DAEMON_DIR)" || { make; exit 1; }
69 - @set +e; echo $(CFLAGS) >/tmp/cflags.$$$$ ; \
70 - if cmp cflags /tmp/cflags.$$$$ ; \
71 - then rm /tmp/cflags.$$$$ ; \
72 - else mv /tmp/cflags.$$$$ cflags ; \
73 + @set +e; echo $(CFLAGS) >cflags.new ; \
74 + if cmp cflags cflags.new ; \
75 + then rm cflags.new ; \
76 + else mv cflags.new cflags ; \
77 fi >/dev/null 2>/dev/null
78 + @if [ ! -d shared ]; then mkdir shared; fi