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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/cmd-inet/usr.lib/mdnsd/Makefile
          +++ new/usr/src/cmd/cmd-inet/usr.lib/mdnsd/Makefile
↓ open down ↓ 14 lines elided ↑ open up ↑
  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 2007 Sun Microsystems, Inc.  All rights reserved.
  22   22  # Use is subject to license terms.
  23   23  # Copyright 2016 Toomas Soome <tsoome@me.com>
  24   24  #
       25 +# Copyright (c) 2018, Joyent, Inc.
  25   26  
  26   27  PROG=           mdnsd
  27   28  MANIFEST=       multicast.xml
  28   29  
  29   30  CMN_DIR=        $(SRC)/lib/libdns_sd/common
  30   31  CMN_OBJS=       dnssd_ipc.o
  31   32  CMN_SRCS=       $(CMN_OBJS:%.o=$(CMN_DIR)/%.c)
  32   33  
  33   34  LOCAL_OBJS=     DNSCommon.o DNSDigest.o GenLinkedList.o \
  34   35                  PlatformCommon.o PosixDaemon.o \
↓ open down ↓ 11 lines elided ↑ open up ↑
  46   47                  -DHAVE_IPV6=1 -Dasm=__asm -DMDNSD_NOROOT \
  47   48                  -DPID_FILE=\"\" -DMDNSD_USER=\"noaccess\" \
  48   49                  -DMDNS_VERSIONSTR_NODTS
  49   50  
  50   51  include ../../../Makefile.cmd
  51   52  
  52   53  CERRWARN +=     -_gcc=-Wno-unused-variable
  53   54  CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  54   55  CERRWARN +=     -_gcc=-Wno-uninitialized
  55   56  
       57 +# not linted
       58 +SMATCH=off
       59 +
  56   60  ROOTMANIFESTDIR=        $(ROOTSVCNETWORKDNS)
  57   61  $(ROOTMANIFEST)         := FILEMODE= 444
  58   62  
  59   63  .PARALLEL:      $(LOCAL_OBJS)
  60   64  .WAIT:          $(PROG)
  61   65  .KEEP_STATE:
  62   66  
  63   67  all:    $(PROG)
  64   68  
  65   69  $(PROG): $(OBJS)
↓ open down ↓ 23 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX