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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libshare/smb/Makefile.com
          +++ new/usr/src/lib/libshare/smb/Makefile.com
↓ open down ↓ 16 lines elided ↑ open up ↑
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  #
  22   22  # Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
  25   25  # Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
  26   26  #
       27 +# Copyright (c) 2018, Joyent, Inc.
  27   28  
  28   29  LIBRARY =       libshare_smb.a
  29   30  VERS =          .1
  30   31  SMBMLSVC_DIR    = $(SRC)/lib/smbsrv/libmlsvc/common
  31   32  SMBBASE_DIR     = $(SRC)/lib/smbsrv/libsmb/common
  32   33  SMBCOMMON_DIR   = $(SRC)/common/smbsrv
  33   34  
  34   35  LIBOBJS =       libshare_smb.o smb_share_doorclnt.o
  35   36  SMBCOMMON_OBJ = smb_door_legacy.o
  36   37  SMBBASE_OBJ =   smb_cfg.o smb_scfutil.o
↓ open down ↓ 6 lines elided ↑ open up ↑
  43   44  
  44   45  LIBSRCS = $(LIBOBJS:%.o=$(SRCDIR)/%.c)
  45   46  lintcheck := SRCS = $(LIBSRCS)
  46   47  
  47   48  LIBS =          $(DYNLIB)
  48   49  LDLIBS +=       -lshare -lscf -luuid -ldlpi -lnsl -lnvpair -lxml2 -lumem -lc
  49   50  
  50   51  CFLAGS +=       $(CCVERBOSE)
  51   52  CERRWARN +=     -_gcc=-Wno-char-subscripts
  52   53  CERRWARN +=     -_gcc=-Wno-switch
       54 +
       55 +# not linted
       56 +SMATCH=off
       57 +
  53   58  CPPFLAGS +=     -D_REENTRANT -I$(ADJUNCT_PROTO)/usr/include/libxml2 \
  54   59                  -I$(SRCDIR)/../common
  55   60  $(ENABLE_SMB_PRINTING) CPPFLAGS += -DHAVE_CUPS
  56   61  
  57   62  .KEEP_STATE:
  58   63  
  59   64  all: $(LIBS)
  60   65  
  61   66  install: all
  62   67  
↓ open down ↓ 19 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX