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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/smbsrv/libfksmbsrv/Makefile.com
          +++ new/usr/src/lib/smbsrv/libfksmbsrv/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 2008 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
  25   25  # Copyright 2014 Nexenta Systems, Inc.  All rights reserved.
  26   26  #
       27 +# Copyright (c) 2018, Joyent, Inc.
  27   28  
  28   29  LIBRARY =       libfksmbsrv.a
  29   30  VERS =          .1
  30   31  
  31   32  OBJS_LOCAL = \
  32   33                  fksmb_cred.o \
  33   34                  fksmb_dt.o \
  34   35                  fksmb_fem.o \
  35   36                  fksmb_idmap.o \
  36   37                  fksmb_init.o \
↓ open down ↓ 171 lines elided ↑ open up ↑
 208  209  LDLIBS +=       -lavl -lnvpair -lnsl -lpkcs11 -lreparse -lc
 209  210  
 210  211  CPPFLAGS += $(INCS) -D_REENTRANT -D_FAKE_KERNEL
 211  212  CPPFLAGS += -D_FILE_OFFSET_BITS=64
 212  213  # Always want DEBUG here
 213  214  CPPFLAGS += -DDEBUG
 214  215  
 215  216  CERRWARN += -_gcc=-Wno-parentheses
 216  217  CERRWARN += -_gcc=-Wno-switch
 217  218  
      219 +# not linted
      220 +SMATCH=off
      221 +
 218  222  SRCS=   $(OBJS_LOCAL:%.o=$(SRCDIR)/%.c) \
 219  223          $(OBJS_FS_SMBSRV:%.o=$(SRC)/uts/common/fs/smbsrv/%.c) \
 220  224          $(OBJS_CMN_SMBSRV:%.o=$(SRC)/common/smbsrv/%.c)
 221  225  
 222  226  all:
 223  227  
 224  228  pics/%.o:       $(SRC)/uts/common/fs/smbsrv/%.c
 225  229          $(COMPILE.c) -o $@ $<
 226  230          $(POST_PROCESS_O)
 227  231  
↓ open down ↓ 26 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX