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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/cmd-inet/usr.sbin/inetadm/Makefile
          +++ new/usr/src/cmd/cmd-inet/usr.sbin/inetadm/Makefile
↓ open down ↓ 25 lines elided ↑ open up ↑
  26   26  
  27   27  PROG =          inetadm
  28   28  SRCS =          inetadm.c
  29   29  LNTS =          $(SRCS:%.c=%.ln)
  30   30  OBJS =          $(SRCS:%.c=%.o)
  31   31  
  32   32  include ../../../Makefile.cmd
  33   33  
  34   34  LDLIBS +=       -lscf -luutil -linetsvc
  35   35  CERRWARN +=     -_gcc=-Wno-switch
  36      -CERRWARN +=     -_gcc=-Wno-uninitialized
       36 +CERRWARN +=     $(CNOWARN_UNINIT)
  37   37  
  38   38  lint := LINTFLAGS = -ux
  39   39  
  40   40  .KEEP_STATE:
  41   41  
  42   42  all: $(PROG)
  43   43  
  44   44  install: all $(ROOTUSRSBINPROG)
  45   45  
  46   46  clean:
  47   47          $(RM) $(OBJS)
  48   48  
  49   49  lint: lint_SRCS
  50   50  
  51   51  include ../../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX