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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/mpapi/libmpapi/Makefile.com
          +++ new/usr/src/lib/mpapi/libmpapi/Makefile.com
↓ open down ↓ 38 lines elided ↑ open up ↑
  39   39  $(LINTLIB) :=   SRCS = $(SRCDIR)/$(LINTSRC)
  40   40  
  41   41  CFLAGS +=       $(CCVERBOSE)
  42   42  CPPFLAGS +=     -I$(SRCDIR) -mt $(CCVERBOSE) -D_POSIX_PTHREAD_SEMANTICS
  43   43  CPPFLAGS +=     -DBUILD_TIME='"Wed Sep 24 12:00:00 2008"'
  44   44  DYNFLAGS +=     -z finiarray=ExitLibrary
  45   45  DYNFLAGS +=     -z initarray=InitLibrary
  46   46  
  47   47  CERRWARN +=     -_gcc=-Wno-type-limits
  48   48  CERRWARN +=     -_gcc=-Wno-unused-variable
  49      -CERRWARN +=     -_gcc=-Wno-uninitialized
       49 +CERRWARN +=     $(CNOWARN_UNINIT)
  50   50  
  51   51  # not linted
  52   52  SMATCH=off
  53   53  
  54   54  ROOTETC =       $(ROOT)/etc
  55   55  CONFDIR =       ../common
  56   56  CONFFILE =      $(CONFDIR)/mpapi.conf
  57   57  IETCFILES =     $(CONFFILE:$(CONFDIR)/%=$(ROOTETC)/%)
  58   58  $(IETCFILES) := FILEMODE = 0644
  59   59  
  60   60  .KEEP_STATE:
  61   61  
  62   62  all: $(LIBS) $(IETCFILES)
  63   63  
  64   64  lint:
  65   65  
  66   66  $(ROOTETC)/%:   $(CONFDIR)/%
  67   67          $(INS.file)
  68   68  
  69   69  include ../../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX