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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libipmi/Makefile.com
          +++ new/usr/src/lib/libipmi/Makefile.com
↓ open down ↓ 50 lines elided ↑ open up ↑
  51   51  LIBS=           $(DYNLIB) $(LINTLIB)
  52   52  
  53   53  SRCDIR=         ../common
  54   54  
  55   55  CLEANFILES +=   $(SRCDIR)/ipmi_tables.c 
  56   56  INCS +=         -I$(SRCDIR)
  57   57  LDLIBS +=       -lc -lm -lnvpair -lsocket -lnsl
  58   58  CPPFLAGS +=     $(INCS)
  59   59  CSTD = $(CSTD_GNU99)
  60   60  
  61      -CERRWARN +=     -_gcc=-Wno-uninitialized
       61 +CERRWARN +=     $(CNOWARN_UNINIT)
  62   62  
  63   63  $(LINTLIB) := SRCS=     $(SRCDIR)/$(LINTSRC)
  64   64  
  65   65  .KEEP_STATE:
  66   66  
  67   67  all: $(LIBS)
  68   68  
  69   69  lint: lintcheck
  70   70  
  71   71  $(SRCDIR)/ipmi_tables.c: $(SRCDIR)/mktables.sh $(SRCDIR)/libipmi.h
  72   72          sh $(SRCDIR)/mktables.sh $(SRCDIR)/libipmi.h > $@
  73   73  
  74   74  include ../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX