Print this page
10080 smatch Makefile changes for usr/src/cmd

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/pools/poold/Makefile
          +++ new/usr/src/cmd/pools/poold/Makefile
↓ 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      -# cmd/pools/poold/Makefile
       25 +# Copyright (c) 2018, Joyent, Inc.
  26   26  
  27   27  PROG =          poold
  28   28  OBJS =          poold.o
  29   29  SRCS =          $(OBJS:%.o=%.c)
  30   30  
  31   31  MANIFEST=       poold.xml
  32   32  SVCMETHOD=      svc-poold
  33   33  
  34   34  include $(SRC)/cmd/Makefile.cmd
  35   35  $(BLD_JAVA_8)include $(SRC)/cmd/Makefile.cmd.64
↓ open down ↓ 44 lines elided ↑ open up ↑
  80   80                  -I$(JAVA_ROOT)/include \
  81   81                  -I$(JAVA_ROOT)/include/solaris
  82   82  LDLIBS +=       -lpool -L$(JAVA_LIB_PATH) -ljvm
  83   83  # runpath should point to runtime JAVA_HOME
  84   84  LDFLAGS +=      -R$(JAVA_LIB_PATH)
  85   85  
  86   86  LINTFLAGS +=    -erroff=E_NAME_USED_NOT_DEF2
  87   87  $(BLD_JAVA_8)LINTFLAGS64 += -erroff=E_NAME_USED_NOT_DEF2
  88   88  LINTLIBS +=     -L$(LIBPOOL_PATH) -lpool
  89   89  
       90 +# not linted
       91 +SMATCH=off
       92 +
  90   93  CPPFLAGS +=     $(INCS)
  91   94  ROOTCMDDIR =    $(ROOT)/usr/lib/pool
  92   95  
  93   96  CLOBBERFILES += $(JARFILE)
  94   97  
  95   98  #
  96   99  # Definitions for message catalogue
  97  100  #
  98  101  POFILES =       $(OBJS:.o=.po)
  99  102  
↓ open down ↓ 62 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX