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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/dfs.cmds/dfshares/Makefile
          +++ new/usr/src/cmd/dfs.cmds/dfshares/Makefile
↓ open down ↓ 26 lines elided ↑ open up ↑
  27   27  
  28   28  OBJS=   dfshares.o
  29   29  
  30   30  ROOTLINK= $(ROOTUSRSBIN)/dfmounts
  31   31  
  32   32  CFLAGS += -s
  33   33  
  34   34  include ../../Makefile.cmd
  35   35  
  36   36  CERRWARN += -_gcc=-Wno-parentheses
  37      -CERRWARN += -_gcc=-Wno-uninitialized
       37 +CERRWARN += $(CNOWARN_UNINIT)
  38   38  
  39   39  .KEEP_STATE:
  40   40  
  41   41  all: $(PROG) 
  42   42  
  43   43  $(PROG): dfshares.o
  44   44          $(LINK.c) -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS)
  45   45          $(POST_PROCESS)
  46   46  
  47   47  install: all $(ROOTUSRSBINPROG) $(ROOTLINK)
  48   48  
  49   49  $(ROOTLINK): $(ROOTUSRSBINPROG)
  50   50          $(RM) $@; $(LN) $(ROOTUSRSBINPROG) $@
  51   51  
  52   52  clean:
  53   53          $(RM) $(OBJS)
  54   54  
  55   55  lint: lint_PROG
  56   56  
  57   57  include ../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX