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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/more/Makefile
          +++ new/usr/src/cmd/more/Makefile
↓ open down ↓ 31 lines elided ↑ open up ↑
  32   32  
  33   33  LDLIBS += -lcurses
  34   34  
  35   35  ROOTLIBDATA= $(DATA:%=$(ROOTLIB)/%)
  36   36  CPPFLAGS += -D_FILE_OFFSET_BITS=64
  37   37  
  38   38  $(ROOTLIBDATA) :=       FILEMODE =      0644
  39   39  
  40   40  CFLAGS += $(CCVERBOSE)
  41   41  CERRWARN += -_gcc=-Wno-parentheses
  42      -CERRWARN += -_gcc=-Wno-uninitialized
       42 +CERRWARN += $(CNOWARN_UNINIT)
  43   43  CERRWARN += -_gcc=-Wno-clobbered
  44   44  
  45   45  # not linted
  46   46  SMATCH=off
  47   47  
  48   48  .KEEP_STATE:
  49   49  
  50   50  all: $(PROG) $(DATA)
  51   51  
  52   52  install: all $(ROOTPROG) $(ROOTLIBDATA)
  53   53          $(RM) $(ROOTBIN)/page
  54   54          $(LN) $(ROOTPROG) $(ROOTBIN)/page
  55   55  
  56   56  clean:
  57   57  
  58   58  lint:   lint_PROG
  59   59  
  60   60  include ../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX