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


  36         snoop_ldap.o snoop_mip.o snoop_mount.o \
  37         snoop_nbp.o snoop_netbios.o snoop_nfs.o snoop_nfs3.o snoop_nfs4.o \
  38         snoop_nfs_acl.o snoop_nis.o snoop_nlm.o snoop_ntp.o \
  39         snoop_pf.o snoop_ospf.o snoop_ospf6.o snoop_pmap.o snoop_ppp.o \
  40         snoop_pppoe.o snoop_rip.o snoop_rip6.o snoop_rpc.o snoop_rpcprint.o \
  41         snoop_rpcsec.o snoop_rport.o snoop_rquota.o snoop_rstat.o snoop_rtmp.o \
  42         snoop_sctp.o snoop_slp.o snoop_smb.o snoop_socks.o snoop_solarnet.o \
  43         snoop_tcp.o snoop_tftp.o snoop_trill.o snoop_udp.o snoop_zip.o
  44 
  45 SRCS=   $(OBJS:.o=.c)
  46 HDRS=   snoop.h snoop_mip.h at.h snoop_ospf.h snoop_ospf6.h
  47 
  48 include ../../../Makefile.cmd
  49 
  50 CPPFLAGS += -I. -I$(SRC)/common/net/dhcp \
  51         -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
  52 LDLIBS += -ldhcputil -ldlpi -lsocket -lnsl -ltsol
  53 LDFLAGS += $(MAPFILE.NGB:%=-M%)
  54 CERRWARN += -_gcc=-Wno-switch
  55 CERRWARN += -_gcc=-Wno-implicit-function-declaration
  56 CERRWARN += -_gcc=-Wno-uninitialized
  57 CERRWARN += -_gcc=-Wno-clobbered
  58 CERRWARN += -_gcc=-Wno-unused-value
  59 CERRWARN += -_gcc=-Wno-parentheses
  60 CERRWARN += -_gcc=-Wno-unused-variable
  61 CERRWARN += -_gcc=-Wno-unused-label
  62 CERRWARN += -_gcc=-Wno-unused-function
  63 
  64 # we really should have smatch running on this code but...
  65 SMATCH=off
  66 
  67 .KEEP_STATE:
  68 
  69 .PARALLEL: $(OBJS)
  70 
  71 all:    $(PROG)
  72 
  73 $(PROG): $(OBJS) $(MAPFILE.NGB)
  74         $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
  75         $(POST_PROCESS)
  76 


  36         snoop_ldap.o snoop_mip.o snoop_mount.o \
  37         snoop_nbp.o snoop_netbios.o snoop_nfs.o snoop_nfs3.o snoop_nfs4.o \
  38         snoop_nfs_acl.o snoop_nis.o snoop_nlm.o snoop_ntp.o \
  39         snoop_pf.o snoop_ospf.o snoop_ospf6.o snoop_pmap.o snoop_ppp.o \
  40         snoop_pppoe.o snoop_rip.o snoop_rip6.o snoop_rpc.o snoop_rpcprint.o \
  41         snoop_rpcsec.o snoop_rport.o snoop_rquota.o snoop_rstat.o snoop_rtmp.o \
  42         snoop_sctp.o snoop_slp.o snoop_smb.o snoop_socks.o snoop_solarnet.o \
  43         snoop_tcp.o snoop_tftp.o snoop_trill.o snoop_udp.o snoop_zip.o
  44 
  45 SRCS=   $(OBJS:.o=.c)
  46 HDRS=   snoop.h snoop_mip.h at.h snoop_ospf.h snoop_ospf6.h
  47 
  48 include ../../../Makefile.cmd
  49 
  50 CPPFLAGS += -I. -I$(SRC)/common/net/dhcp \
  51         -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
  52 LDLIBS += -ldhcputil -ldlpi -lsocket -lnsl -ltsol
  53 LDFLAGS += $(MAPFILE.NGB:%=-M%)
  54 CERRWARN += -_gcc=-Wno-switch
  55 CERRWARN += -_gcc=-Wno-implicit-function-declaration
  56 CERRWARN += $(CNOWARN_UNINIT)
  57 CERRWARN += -_gcc=-Wno-clobbered
  58 CERRWARN += -_gcc=-Wno-unused-value
  59 CERRWARN += -_gcc=-Wno-parentheses
  60 CERRWARN += -_gcc=-Wno-unused-variable
  61 CERRWARN += -_gcc=-Wno-unused-label
  62 CERRWARN += -_gcc=-Wno-unused-function
  63 
  64 # we really should have smatch running on this code but...
  65 SMATCH=off
  66 
  67 .KEEP_STATE:
  68 
  69 .PARALLEL: $(OBJS)
  70 
  71 all:    $(PROG)
  72 
  73 $(PROG): $(OBJS) $(MAPFILE.NGB)
  74         $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
  75         $(POST_PROCESS)
  76