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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libshare/nfs/Makefile.com
          +++ new/usr/src/lib/libshare/nfs/Makefile.com
↓ open down ↓ 42 lines elided ↑ open up ↑
  43   43  lintcheck := SRCS = $(LIBSRCS)
  44   44  
  45   45  LIBS =          $(DYNLIB)
  46   46  LDLIBS +=       -lshare -lnsl -lscf -lumem -lc -lxml2
  47   47  
  48   48  #add nfs/lib directory as part of the include path
  49   49  CFLAGS +=       $(CCVERBOSE)
  50   50  CERRWARN +=     -_gcc=-Wno-parentheses
  51   51  CERRWARN +=     -_gcc=-Wno-switch
  52   52  CERRWARN +=     -_gcc=-Wno-unused-variable
  53      -CERRWARN +=     -_gcc=-Wno-uninitialized
       53 +CERRWARN +=     $(CNOWARN_UNINIT)
  54   54  CPPFLAGS +=     -D_REENTRANT -I$(NFSLIB_DIR) \
  55   55                  -I$(ADJUNCT_PROTO)/usr/include/libxml2 -I$(SRCDIR)/../common
  56   56  
  57   57  # not linted
  58   58  SMATCH=off
  59   59  
  60   60  .KEEP_STATE:
  61   61  
  62   62  all: $(LIBS)
  63   63  
  64   64  install: all
  65   65  
  66   66  lint: lintcheck
  67   67  
  68   68  pics/%.o:  $(NFSLIB_DIR)/%.c
  69   69          $(COMPILE.c) -o $@ $<
  70   70          $(POST_PROCESS_O)
  71   71  
  72   72  include ../../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX