Print this page
10080 smatch Makefile changes for usr/src/cmd

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/svc/svccfg/Makefile
          +++ new/usr/src/cmd/svc/svccfg/Makefile
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  
  22   22  #
  23   23  # Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
  24      -# Copyright 2017 Joyent, Inc.
       24 +# Copyright (c) 2018, Joyent, Inc.
  25   25  #
  26   26  
  27   27  MYPROG =        svccfg
  28   28  PROG =          $(MYPROG)
  29   29  
  30   30  SRCS  =         svccfg_main.c \
  31   31                  svccfg_engine.c \
  32   32                  svccfg_internal.c \
  33   33                  svccfg_libscf.c \
  34   34                  svccfg_tmpl.c \
↓ open down ↓ 39 lines elided ↑ open up ↑
  74   74  CPPFLAGS +=     $(MYCPPFLAGS)
  75   75  LDFLAGS +=      $(MAPOPTS)
  76   76  
  77   77  CERRWARN +=     -_gcc=-Wno-unused-label
  78   78  CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  79   79  CERRWARN +=     -_gcc=-Wno-switch
  80   80  CERRWARN +=     -_gcc=-Wno-uninitialized
  81   81  CERRWARN +=     -_gcc=-Wno-unused-variable
  82   82  CERRWARN +=     -_gcc=-Wno-parentheses
  83   83  
       84 +# not linted
       85 +SMATCH=off
       86 +
  84   87  LFLAGS = -t
  85   88  YFLAGS = -d
  86   89  
  87   90  CLOBBERFILES += svccfg_lex.c svccfg_grammar.c svccfg_grammar.h \
  88   91      $(MYPROG:%=%-native)
  89   92  
  90   93  SVCCFG_EXTRA_LIBS = -lxml2 -lscf -ll -luutil -lumem -lmd5 -lnvpair
  91   94  $(NOT_NATIVE)SVCCFG_EXTRA_LIBS += -ltecla
  92   95  
  93   96  LIBSCF          = $(SRC)/lib/libscf
↓ open down ↓ 86 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX