Print this page
10079 smatch Makefile changes for usr/src/lib

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libdns_sd/Makefile.com
          +++ new/usr/src/lib/libdns_sd/Makefile.com
↓ 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  LIBRARY =       libdns_sd.a
  27   28  VERS =          .1
  28   29  OBJECTS =       dnssd_clientlib.o dnssd_clientstub.o dnssd_ipc.o
  29   30  
  30   31  include ../../Makefile.lib
  31   32  
  32   33  LIBS =          $(DYNLIB) $(LINTLIB)
  33   34  $(LINTLIB):=    SRCS = $(SRCDIR)/$(LINTSRC)
  34   35  
  35   36  SRCDIR =        ../common
  36   37  
  37   38  LDLIBS +=       -lsocket -lnsl -lc
  38   39  
  39   40  CSTD =  $(CSTD_GNU99)
  40   41  CPPFLAGS +=     -I$(SRCDIR) -DNOT_HAVE_SA_LEN -D_XPG4_2 -D__EXTENSIONS__
  41   42  CPPFLAGS +=     -DMDNS_VERSIONSTR_NODTS
  42   43  
  43   44  pics/dnssd_clientstub.o := CERRWARN +=  -_gcc=-Wno-unused-but-set-variable
  44   45  
  45      -.PARALLEL =     $(OBJECTS)
       46 +# not linted
       47 +SMATCH=off
       48 +
       49 +PARALLEL =     $(OBJECTS)
  46   50  .KEEP_STATE:
  47   51  
  48   52  lint: lintcheck
  49   53  
  50   54  all: $(LIBS)
  51   55  
  52   56  include ../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX