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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/smbsrv/libmlsvc/Makefile.com
          +++ new/usr/src/lib/smbsrv/libmlsvc/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 =       libmlsvc.a
  27   28  VERS =          .1
  28   29  
  29   30  OBJS_COMMON =           \
  30   31          dfs.o           \
  31   32          dssetup_clnt.o  \
  32   33          dssetup_svc.o   \
  33   34          eventlog_svc.o  \
  34   35          eventlog_log.o  \
↓ open down ↓ 51 lines elided ↑ open up ↑
  86   87  LDLIBS += -lmlrpc -lsmb -lsmbns -lshare -lsmbfs -lnsl -lpkcs11 \
  87   88          -lscf -lcmdutils -lsec -lavl -lnvpair -luutil -luuid -lgen -lzfs -lc
  88   89  
  89   90  CPPFLAGS += $(INCS) -D_REENTRANT
  90   91  CPPFLAGS += -Dsyslog=smb_syslog
  91   92  $(ENABLE_SMB_PRINTING) CPPFLAGS += -DHAVE_CUPS
  92   93  
  93   94  CERRWARN += -_gcc=-Wno-unused-function
  94   95  CERRWARN += -_gcc=-Wno-uninitialized
  95   96  
       97 +# not linted
       98 +SMATCH=off
       99 +
      100 +
  96  101  SRCS=   $(OBJS_COMMON:%.o=$(SRCDIR)/%.c)
  97  102  
  98  103  include ../../Makefile.targ
  99  104  include ../../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX