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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/fs.d/nfs/mountd/Makefile
          +++ new/usr/src/cmd/fs.d/nfs/mountd/Makefile
↓ open down ↓ 34 lines elided ↑ open up ↑
  35   35  LOCAL     =     mountd.o netgroup.o rmtab.o nfsauth.o \
  36   36                  nfsauth_xdr.o exportlist.o hashset.o nfs_cmd.o
  37   37  OBJS      =     $(LOCAL) $(COMMON)
  38   38  SRCS      =     $(LOCAL:%.o=%.c) $(FSLIBSRC) ../lib/nfs_sec.c \
  39   39                  ../lib/sharetab.c ../lib/daemon.c ../lib/smfcfg.c
  40   40  DSRC      =     mountd_dt.d
  41   41  DOBJ      =     $(DSRC:%.d=%.o)
  42   42  LDLIBS   +=     -lrpcsvc -lnsl -lbsm -lsocket -ltsnet -ltsol -lnvpair -lscf -lumem
  43   43  CPPFLAGS +=     -D_REENTRANT -I../lib
  44   44  
  45      -CERRWARN +=     -_gcc=-Wno-uninitialized
       45 +CERRWARN +=     $(CNOWARN_UNINIT)
  46   46  CERRWARN +=     -_gcc=-Wno-switch
  47   47  
  48   48  # not linted
  49   49  SMATCH=off
  50   50  
  51   51  $(TYPEPROG):    $(OBJS)
  52   52                  $(COMPILE.d) -s $(DSRC) -o $(DOBJ) $(OBJS)
  53   53                  $(LINK.c) -o $@ $(DOBJ) $(OBJS) $(LDLIBS)
  54   54                  $(POST_PROCESS)
  55   55  
↓ open down ↓ 17 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX