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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/devmgmt/cmds/Makefile
          +++ new/usr/src/cmd/devmgmt/cmds/Makefile
↓ open down ↓ 29 lines elided ↑ open up ↑
  30   30  LIBADMDIR = ../../../lib/libadm/inc
  31   31  CPPFLAGS += -I$(LIBADMDIR)
  32   32  CFLAGS += $(CCVERBOSE)
  33   33  
  34   34  PROG = devattr devreserv getvol putdgrp devfree getdev listdgrp getdgrp \
  35   35      putdev
  36   36  
  37   37  LDLIBS += -ladm
  38   38  
  39   39  CERRWARN += -_gcc=-Wno-parentheses
  40      -CERRWARN += -_gcc=-Wno-uninitialized
       40 +CERRWARN += $(CNOWARN_UNINIT)
  41   41  
  42   42  SMOFF += signed
  43   43  
  44   44  .KEEP_STATE:
  45   45  
  46   46  .PARALLEL: $(PROG)
  47   47  
  48   48  all: $(PROG)
  49   49  
  50   50  clean:
↓ open down ↓ 17 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX