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


  37 LOCFILES=       create_loc_auto create_loc_nonet
  38 NONETLOCFILES=  ipf.conf.dfl ipf6.conf.dfl
  39 
  40 ROOTCFGDIR=     $(ROOTETC)/nwam
  41 ROOTLOCDIR=     $(ROOTCFGDIR)/loc
  42 NONETLOCDIR=    $(ROOTLOCDIR)/NoNet
  43 LOCDIRS=        $(NONETLOCDIR)
  44 ROOTCFGFILES=   $(LOCFILES:%=$(ROOTLOCDIR)/%) \
  45                 $(NONETLOCFILES:%=$(NONETLOCDIR)/%)
  46 
  47 include         ../../../Makefile.cmd
  48 
  49 $(ROOTCFGFILES) := FILEMODE= 644
  50 
  51 ROOTCMDDIR=     $(ROOTFS_LIBDIR)/inet
  52 
  53 LDLIBS +=       -ldhcpagent -ldhcputil -ldladm -ldlpi -lgen \
  54                 -linetutil -lipadm -lkstat -lnsl -lnvpair -lnwam \
  55                 -lsecdb -lscf -lsocket -lsysevent -lumem -luutil
  56 
  57 CERRWARN +=     -_gcc=-Wno-uninitialized
  58 CERRWARN +=     -_gcc=-Wno-parentheses
  59 CERRWARN +=     -_gcc=-Wno-switch
  60 CERRWARN +=     -_gcc=-Wno-unused-label
  61 
  62 # not linted
  63 SMATCH=off
  64 
  65 #
  66 # Instrument with CTF data to ease debugging.
  67 #
  68 CTFCONVERT_HOOK = && $(CTFCONVERT_O)
  69 CTFMERGE_HOOK = && $(CTFMERGE) -L VERSION -o $@ $(OBJS)
  70 $(OBJS) := CFLAGS += $(CTF_FLAGS)
  71 
  72 .KEEP_STATE:
  73 
  74 .PARALLEL:
  75 
  76 all: $(PROG)
  77 




  37 LOCFILES=       create_loc_auto create_loc_nonet
  38 NONETLOCFILES=  ipf.conf.dfl ipf6.conf.dfl
  39 
  40 ROOTCFGDIR=     $(ROOTETC)/nwam
  41 ROOTLOCDIR=     $(ROOTCFGDIR)/loc
  42 NONETLOCDIR=    $(ROOTLOCDIR)/NoNet
  43 LOCDIRS=        $(NONETLOCDIR)
  44 ROOTCFGFILES=   $(LOCFILES:%=$(ROOTLOCDIR)/%) \
  45                 $(NONETLOCFILES:%=$(NONETLOCDIR)/%)
  46 
  47 include         ../../../Makefile.cmd
  48 
  49 $(ROOTCFGFILES) := FILEMODE= 644
  50 
  51 ROOTCMDDIR=     $(ROOTFS_LIBDIR)/inet
  52 
  53 LDLIBS +=       -ldhcpagent -ldhcputil -ldladm -ldlpi -lgen \
  54                 -linetutil -lipadm -lkstat -lnsl -lnvpair -lnwam \
  55                 -lsecdb -lscf -lsocket -lsysevent -lumem -luutil
  56 
  57 CERRWARN +=     $(CNOWARN_UNINIT)
  58 CERRWARN +=     -_gcc=-Wno-parentheses
  59 CERRWARN +=     -_gcc=-Wno-switch
  60 CERRWARN +=     -_gcc=-Wno-unused-label
  61 
  62 # not linted
  63 SMATCH=off
  64 
  65 #
  66 # Instrument with CTF data to ease debugging.
  67 #
  68 CTFCONVERT_HOOK = && $(CTFCONVERT_O)
  69 CTFMERGE_HOOK = && $(CTFMERGE) -L VERSION -o $@ $(OBJS)
  70 $(OBJS) := CFLAGS += $(CTF_FLAGS)
  71 
  72 .KEEP_STATE:
  73 
  74 .PARALLEL:
  75 
  76 all: $(PROG)
  77