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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/print/libipp-listener/Makefile.com
          +++ new/usr/src/lib/print/libipp-listener/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 2009 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
  25      -#
       25 +# Copyright (c) 2018, Joyent, Inc.
  26   26  
  27   27  LIBRARY =               libipp-listener.a
  28   28  VERS =                  .0
  29   29  OBJECTS = \
  30   30          cancel-job.o common.o create-job.o cups-accept-jobs.o \
  31   31          cups-get-classes.o cups-get-default.o cups-get-printers.o \
  32   32          cups-move-job.o cups-reject-jobs.o disable-printer.o enable-printer.o \
  33   33          get-job-attributes.o get-jobs.o get-printer-attributes.o hold-job.o \
  34   34          ipp-listener.o pause-printer.o print-job.o purge-jobs.o release-job.o \
  35   35          restart-job.o resume-printer.o send-document.o set-job-attributes.o \
↓ open down ↓ 12 lines elided ↑ open up ↑
  48   48  
  49   49  CFLAGS +=       $(CCVERBOSE)
  50   50  CPPFLAGS +=     -DSOLARIS_PRIVATE_POST_0_9
  51   51  CPPFLAGS +=     -I$(SRCDIR)
  52   52  CPPFLAGS +=     -I../../libpapi-common/common
  53   53  CPPFLAGS +=     -I../../libipp-core/common
  54   54  
  55   55  CERRWARN +=     -_gcc=-Wno-unused-variable
  56   56  CERRWARN +=     -_gcc=-Wno-uninitialized
  57   57  
       58 +# not linted
       59 +SMATCH=off
       60 +
  58   61  MAPFILES =      $(SRCDIR)/mapfile
  59   62  
  60   63  LDLIBS +=       -lipp-core -lpapi -lc -lsocket -lnsl
  61   64  
  62   65  .KEEP_STATE:
  63   66  
  64   67  all:    $(LIBS)
  65   68  
  66   69  lint:   lintcheck
  67   70  
  68   71  include ../../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX