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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/isns/isnsd/Makefile
          +++ new/usr/src/cmd/isns/isnsd/Makefile
↓ open down ↓ 17 lines elided ↑ open up ↑
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  #
  22   22  # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
  25   25  
  26   26  #
  27   27  # Copyright (c) 2012 by Delphix. All rights reserved.
  28      -# Copyright 2017 Joyent, Inc.
       28 +# Copyright (c) 2018, Joyent, Inc.
  29   29  #
  30   30  
  31   31  PROG = isns
  32   32  
  33   33  DSRC = isns_provider.d
  34   34  DTRACE_HEADER = $(DSRC:%.d=%.h)
  35   35  
  36   36  COBJS   = main.o qry.o admintf.o dsapi.o log.o sched.o dseng.o scn.o cache.o
  37   37  COBJS   += dump.o msgq.o server.o config.o esi.o obj.o utils.o dd.o func.o
  38   38  COBJS   += pdu.o door.o htable.o
↓ open down ↓ 18 lines elided ↑ open up ↑
  57   57  CPPFLAGS        += -D_POSIX_PTHREAD_SEMANTICS
  58   58  LINTFLAGS += -xerroff=E_BAD_PTR_CAST_ALIGN
  59   59  LINTFLAGS += -xerroff=E_NAME_USED_NOT_DEF2
  60   60  LINTFLAGS += -xerroff=E_CASE_FALLTHRU
  61   61  
  62   62  CERRWARN += -_gcc=-Wno-char-subscripts
  63   63  CERRWARN += -_gcc=-Wno-ignored-qualifiers
  64   64  CERRWARN += -_gcc=-Wno-uninitialized
  65   65  CERRWARN += -_gcc=-Wno-implicit-function-declaration
  66   66  
       67 +# not linted
       68 +SMATCH=off
       69 +
  67   70  CLOBBERFILES += $(DTRACE_HEADER)
  68   71  
  69   72  obj.o := CERRWARN += -erroff=E_CONST_OBJ_SHOULD_HAVE_INITIZR
  70   73  obj.o := CERRWARN += -erroff=E_IMPLICIT_DECL_FUNC_RETURN_INT
  71   74  
  72   75  LDLIBS          += -lsecdb -lsocket -lnsl -lscf -lxml2
  73   76  
  74   77  .KEEP_STATE:
  75   78  
  76   79  all:    $(PROG)
↓ open down ↓ 32 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX