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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/smbsrv/libsmb/Makefile.com
          +++ new/usr/src/lib/smbsrv/libsmb/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 (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
  23   23  # Copyright 2014 Nexenta Systems, Inc.  All rights reserved.
  24   24  #
       25 +# Copyright (c) 2018, Joyent, Inc.
  25   26  
  26   27  LIBRARY= libsmb.a
  27   28  VERS= .1
  28   29  
  29   30  OBJS_SHARED =                   \
  30   31          smb_door_legacy.o       \
  31   32          smb_inet.o              \
  32   33          smb_msgbuf.o            \
  33   34          smb_native.o            \
  34   35          smb_oem.o               \
↓ open down ↓ 46 lines elided ↑ open up ↑
  81   82  # perfer to keep libs ordered by dependence
  82   83  LDLIBS +=       -lscf -lmd -luuid -lpkcs11 -lcryptoutil
  83   84  LDLIBS +=       -lsec -lidmap -lreparse -lcmdutils -lavl
  84   85  LDLIBS +=       -lnvpair -lresolv -lsocket -lnsl -lc
  85   86  CPPFLAGS +=     $(INCS) -D_REENTRANT
  86   87  CPPFLAGS +=     -Dsyslog=smb_syslog
  87   88  CERRWARN +=     -_gcc=-Wno-uninitialized
  88   89  CERRWARN +=     -_gcc=-Wno-char-subscripts
  89   90  CERRWARN +=     -_gcc=-Wno-switch
  90   91  
       92 +# not linted
       93 +SMATCH=off
       94 +
  91   95  SRCS=   $(OBJS_COMMON:%.o=$(SRCDIR)/%.c)        \
  92   96          $(OBJS_SHARED:%.o=$(SRC)/common/smbsrv/%.c)
  93   97  
  94   98  include ../../Makefile.targ
  95   99  include ../../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX