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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/sun_sas/Makefile.com
          +++ new/usr/src/lib/sun_sas/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 =       libsun_sas.a
  28   28  VERS =          .1
  29   29  
  30   30  OBJECTS =       devtree_hba_disco.o \
  31   31                  devtree_device_disco.o \
  32   32                  devtree_phy_disco.o \
  33   33                  devlink_disco.o \
  34   34                  event.o \
  35   35                  verify.o \
↓ open down ↓ 41 lines elided ↑ open up ↑
  77   77  CFLAGS +=       -mt
  78   78  CFLAGS +=       $(CCVERBOSE)
  79   79  CFLAGS64 +=     -mt
  80   80  CFLAGS64 +=     $(CCVERBOSE)
  81   81  CPPFLAGS +=     $(INCS) -D_POSIX_PTHREAD_SEMANTICS
  82   82  CPPFLAGS +=     -DBUILD_TIME='"Wed Feb 4 12:00:00 2009"'
  83   83  
  84   84  CERRWARN +=     -_gcc=-Wno-parentheses
  85   85  CERRWARN +=     -_gcc=-Wno-unused-value
  86   86  
       87 +# not linted
       88 +SMATCH=off
       89 +
  87   90  LDLIBS          += -ldevinfo
  88   91  LDLIBS          += -lsysevent
  89   92  LDLIBS          += -lnvpair
  90   93  LDLIBS          += -lc
  91   94  LDLIBS          += -lkstat
  92   95  LDLIBS          += -ldevid
  93   96  
  94   97  $(LINTLIB) := SRCS=     $(SRCDIR)/$(LINTSRC)
  95   98  
  96   99  .KEEP_STATE:
  97  100  
  98  101  all: $(LIBS)
  99  102  
 100  103  lint: lintcheck
 101  104  
 102  105  include ../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX