]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/tcp-wrappers/tcp-wrappers-7.6/12_makefile_config
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / tcp-wrappers / tcp-wrappers-7.6 / 12_makefile_config
1 diff -ruN tcp_wrappers_7.6.orig/Makefile tcp_wrappers_7.6/Makefile
2 --- tcp_wrappers_7.6.orig/Makefile      2003-08-21 01:43:39.000000000 +0200
3 +++ tcp_wrappers_7.6/Makefile   2003-08-21 01:43:35.000000000 +0200
4 @@ -45,7 +45,7 @@
5  #
6  # SysV.4 Solaris 2.x OSF AIX
7  #REAL_DAEMON_DIR=/usr/sbin
8 -#
9 +REAL_DAEMON_DIR=/usr/sbin
10  # BSD 4.4
11  #REAL_DAEMON_DIR=/usr/libexec
12  #
13 @@ -512,6 +519,7 @@
14  # (examples: allow, deny, banners, twist and spawn).
15  # 
16  #STYLE = -DPROCESS_OPTIONS     # Enable language extensions.
17 +STYLE = -DPROCESS_OPTIONS
18  
19  ################################################################
20  # Optional: Changing the default disposition of logfile records
21 @@ -535,6 +543,7 @@
22  # The LOG_XXX names below are taken from the /usr/include/syslog.h file.
23  
24  FACILITY= LOG_MAIL     # LOG_MAIL is what most sendmail daemons use
25 +FACILITY= LOG_DAEMON
26  
27  # The syslog priority at which successful connections are logged.
28  
29 @@ -631,6 +640,7 @@
30  # lookups altogether, see the next section.
31  
32  PARANOID= -DPARANOID
33 +PARANOID=
34  
35  ########################################
36  # Optional: turning off hostname lookups
37 @@ -644,6 +654,7 @@
38  # mode (see previous section) and comment out the following definition.
39  
40  HOSTNAME= -DALWAYS_HOSTNAME
41 +HOSTNAME=
42  
43  #############################################
44  # Optional: Turning on host ADDRESS checking
45 @@ -670,6 +681,7 @@
46  # Solaris 2.x, and Linux. See your system documentation for details.
47  #
48  # KILL_OPT= -DKILL_IP_OPTIONS
49 +KILL_OPT= -DKILL_IP_OPTIONS
50  
51  ## End configuration options
52  ############################
53 @@ -677,9 +689,10 @@
54  # Protection against weird shells or weird make programs.
55  
56  SHELL  = /bin/sh
57 -.c.o:; $(CC) $(CFLAGS) -c $*.c
58 +.c.o:; $(CC) $(CFLAGS) -o $*.o -c $*.c
59  
60 -CFLAGS = -O -DFACILITY=$(FACILITY) $(ACCESS) $(PARANOID) $(NETGROUP) \
61 +COPTS  = -O2 -g
62 +CFLAGS = $(COPTS) -DFACILITY=$(FACILITY) $(ACCESS) $(PARANOID) $(NETGROUP) \
63         $(BUGS) $(SYSTYPE) $(AUTH) $(UMASK) \
64         -DREAL_DAEMON_DIR=\"$(REAL_DAEMON_DIR)\" $(STYLE) $(KILL_OPT) \
65         -DSEVERITY=$(SEVERITY) -DRFC931_TIMEOUT=$(RFC931_TIMEOUT) \
66 @@ -712,10 +725,11 @@
67  
68  config-check:
69         @set +e; test -n "$(REAL_DAEMON_DIR)" || { make; exit 1; }
70 -       @set +e; echo $(CFLAGS) >/tmp/cflags.$$$$ ; \
71 -       if cmp cflags /tmp/cflags.$$$$ ; \
72 -       then rm /tmp/cflags.$$$$ ; \
73 -       else mv /tmp/cflags.$$$$ cflags ; \
74 +       @set +e; echo $(CFLAGS) >cflags.new ; \
75 +       if cmp cflags cflags.new ; \
76 +       then rm cflags.new ; \
77 +       else mv cflags.new cflags ; \
78         fi >/dev/null 2>/dev/null
79 +       @if [ ! -d shared ]; then mkdir shared; fi
80  
81  $(LIB):        $(LIB_OBJ)