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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/ndmpadm/Makefile
          +++ new/usr/src/cmd/ndmpadm/Makefile
↓ open down ↓ 38 lines elided ↑ open up ↑
  39   39  include ../Makefile.cmd
  40   40  
  41   41  PROG=           ndmpadm
  42   42  OBJS=           ndmpadm_main.o ndmpadm_print.o
  43   43  SRCS =          $(OBJS:.o=.c)
  44   44  POFILES=        ndmpadm_main.po ndmpadm_print.po
  45   45  POFILE=         ndmpadm.po
  46   46  
  47   47  LDLIBS += -lndmp
  48   48  
  49      -CERRWARN += -_gcc=-Wno-uninitialized
       49 +CERRWARN += $(CNOWARN_UNINIT)
  50   50  
  51   51  .KEEP_STATE:
  52   52  
  53   53  all: $(PROG)
  54   54  
  55   55  $(PROG): $(OBJS)
  56   56          $(LINK.c) -o $@ $(OBJS) $(LDLIBS)
  57   57          $(POST_PROCESS)
  58   58  
  59   59  install: all $(ROOTUSRSBINPROG)
↓ open down ↓ 11 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX