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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/print/libhttp-core/Makefile.com
          +++ new/usr/src/lib/print/libhttp-core/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  #
  22   22  # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
  25      -# ident "%Z%%M% %I%     %E% SMI"
  26      -#
       25 +# Copyright (c) 2018, Joyent, Inc.
  27   26  
  28   27  LIBRARY =               libhttp-core.a
  29   28  VERS =                  .1
  30   29  OBJECTS = http-addr.o http-support.o http.o
  31   30  
  32   31  ROOTLIBDIR =    $(ROOT)/usr/lib/print
  33   32  
  34   33  include ../../../Makefile.lib
  35   34  include ../../../Makefile.rootfs
  36   35  
↓ open down ↓ 3 lines elided ↑ open up ↑
  40   39  ROOTLIBDIR64=   $(ROOT)/usr/lib/print/$(MACH)
  41   40  
  42   41  LIBS =                  $(DYNLIB)
  43   42  
  44   43  $(LINTLIB):=    SRCS = $(SRCDIR)/$(LINTSRC)
  45   44  
  46   45  CFLAGS +=       $(CCVERBOSE)
  47   46  CPPFLAGS +=     -I$(SRCDIR)
  48   47  CPPFLAGS +=     -I../../libpapi-common/common
  49   48  
       49 +# not linted
       50 +SMATCH=off
       51 +
  50   52  MAPFILES =      $(SRCDIR)/mapfile
  51   53  
  52   54  LDLIBS +=       -lsocket -lnsl -lc
  53   55  
  54   56  .KEEP_STATE:
  55   57  
  56   58  all:    $(LIBS)
  57   59  
  58   60  lint:   lintcheck
  59   61  
  60   62  $(ROOTLIBDIR):
  61   63          $(INS.dir)
  62   64  
  63   65  include ../../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX