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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/syslogd/Makefile.com
          +++ new/usr/src/cmd/syslogd/Makefile.com
↓ 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  # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  22   22  # Use is subject to license terms.
  23   23  #
       24 +# Copyright (c) 2018, Joyent, Inc.
  24   25  
  25   26  PROG=           syslogd
  26   27  ROTATESCRIPT=   newsyslog
  27   28  CONFIGFILE=     syslog.conf
  28   29  TXTS=           syslog.conf
  29   30  PRODUCT=        $(PROG) $(ROTATESCRIPT)
  30   31  OBJS=           syslogd.o queue.o list.o conf.o
  31   32  SRCS=           $(OBJS:%.o=../%.c)
  32   33  LLOBJS=         $(OBJS:%.o=%.ll)
  33   34  
  34   35  include ../../Makefile.cmd
  35   36  
  36   37  $(PROG) lint    := LDLIBS += -lscf -lnsl
  37   38  CERRWARN        += -_gcc=-Wno-uninitialized
       39 +
       40 +# not linted
       41 +SMATCH=off
       42 +
  38   43  CPPFLAGS        += -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
  39   44  CFLAGS          += -DNDEBUG
  40   45  
  41   46  # there's some extra utility code defined but not used.
  42   47  LINTFLAGS       += -erroff=E_NAME_DEF_NOT_USED2
  43   48  
  44   49  VARSYSLOG=      syslog
  45   50  VARAUTHLOG=     authlog
  46   51  ROOTVARLOGD=    $(ROOT)/var/log
  47   52  
↓ open down ↓ 53 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX