Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized


   8 
   9 PROG=           safe_finger tcpd tcpdchk tcpdmatch try-from
  10 
  11 include         ../Makefile.cmd
  12 
  13 CFLAGS +=       $(CCVERBOSE)
  14 CPPFLAGS +=     $(ACCESS) $(PARANOID) $(NETGROUP) $(TLI) \
  15                 $(UMASK) $(STYLE) $(TABLES) $(KILL_OPT) $(BUGS) \
  16                 -DRFC931_TIMEOUT=$(RFC931_TIMEOUT) \
  17                 -DFACILITY=$(FACILITY) -DSEVERITY=$(SEVERITY) \
  18                 -DREAL_DAEMON_DIR=\"$(REAL_DAEMON_DIR)\" \
  19                 -I../../lib/libwrap
  20 tcpd tcpdmatch try-from := \
  21                 LDLIBS += -lwrap
  22 tcpdchk :=      LDLIBS += -lwrap -lnsl
  23 
  24 CERRWARN +=     -erroff=E_FUNC_HAS_NO_RETURN_STMT
  25 CERRWARN +=     -erroff=E_IMPLICIT_DECL_FUNC_RETURN_INT
  26 CERRWARN +=     -_gcc=-Wno-unused-variable
  27 CERRWARN +=     -_gcc=-Wno-parentheses
  28 CERRWARN +=     -_gcc=-Wno-uninitialized
  29 CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  30 CERRWARN +=     -_gcc=-Wno-return-type
  31 CERRWARN +=     -_gcc=-Wno-clobbered
  32 
  33 # not linted
  34 SMATCH=off
  35 
  36 # Various components must export interfaces, but also contain name-space
  37 # clashes with system libraries.
  38 MAPFILE.INT.D=  $(MAPFILE.NGB) mapfile-intf-tcpdchk
  39 MAPFILE.INT.M=  $(MAPFILE.NGB) mapfile-intf-tcpdmatch
  40 MAPFILE.INT.F=  $(MAPFILE.NGB) mapfile-intf-tryfrom
  41 
  42 tcpdchk :=      LDFLAGS +=$(MAPFILE.INT.D:%=-M%)
  43 tcpdmatch :=    LDFLAGS +=$(MAPFILE.INT.M:%=-M%)
  44 try-from :=     LDFLAGS +=$(MAPFILE.INT.F:%=-M%)
  45 
  46 .KEEP_STATE:
  47 
  48 all:            $(PROG)




   8 
   9 PROG=           safe_finger tcpd tcpdchk tcpdmatch try-from
  10 
  11 include         ../Makefile.cmd
  12 
  13 CFLAGS +=       $(CCVERBOSE)
  14 CPPFLAGS +=     $(ACCESS) $(PARANOID) $(NETGROUP) $(TLI) \
  15                 $(UMASK) $(STYLE) $(TABLES) $(KILL_OPT) $(BUGS) \
  16                 -DRFC931_TIMEOUT=$(RFC931_TIMEOUT) \
  17                 -DFACILITY=$(FACILITY) -DSEVERITY=$(SEVERITY) \
  18                 -DREAL_DAEMON_DIR=\"$(REAL_DAEMON_DIR)\" \
  19                 -I../../lib/libwrap
  20 tcpd tcpdmatch try-from := \
  21                 LDLIBS += -lwrap
  22 tcpdchk :=      LDLIBS += -lwrap -lnsl
  23 
  24 CERRWARN +=     -erroff=E_FUNC_HAS_NO_RETURN_STMT
  25 CERRWARN +=     -erroff=E_IMPLICIT_DECL_FUNC_RETURN_INT
  26 CERRWARN +=     -_gcc=-Wno-unused-variable
  27 CERRWARN +=     -_gcc=-Wno-parentheses
  28 CERRWARN +=     $(CNOWARN_UNINIT)
  29 CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  30 CERRWARN +=     -_gcc=-Wno-return-type
  31 CERRWARN +=     -_gcc=-Wno-clobbered
  32 
  33 # not linted
  34 SMATCH=off
  35 
  36 # Various components must export interfaces, but also contain name-space
  37 # clashes with system libraries.
  38 MAPFILE.INT.D=  $(MAPFILE.NGB) mapfile-intf-tcpdchk
  39 MAPFILE.INT.M=  $(MAPFILE.NGB) mapfile-intf-tcpdmatch
  40 MAPFILE.INT.F=  $(MAPFILE.NGB) mapfile-intf-tryfrom
  41 
  42 tcpdchk :=      LDFLAGS +=$(MAPFILE.INT.D:%=-M%)
  43 tcpdmatch :=    LDFLAGS +=$(MAPFILE.INT.M:%=-M%)
  44 try-from :=     LDFLAGS +=$(MAPFILE.INT.F:%=-M%)
  45 
  46 .KEEP_STATE:
  47 
  48 all:            $(PROG)