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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libficl/Makefile.com
          +++ new/usr/src/lib/libficl/Makefile.com
↓ open down ↓ 4 lines elided ↑ open up ↑
   5    5  # 1.0 of the CDDL.
   6    6  #
   7    7  # A full copy of the text of the CDDL should have accompanied this
   8    8  # source.  A copy of the CDDL is also available via the Internet at
   9    9  # http://www.illumos.org/license/CDDL.
  10   10  #
  11   11  
  12   12  #
  13   13  # Copyright 2016 Toomas Soome <tsoome@me.com>
  14   14  #
       15 +# Copyright (c) 2018, Joyent, Inc.
  15   16  
  16   17  LIBRARY=libficl-sys.a
  17   18  MAJOR = 4
  18   19  MINOR = 1.0
  19   20  VERS=.$(MAJOR).$(MINOR)
  20   21  
  21   22  OBJECTS= dictionary.o system.o fileaccess.o float.o double.o prefix.o search.o \
  22   23          softcore.o stack.o tools.o vm.o primitives.o unix.o utility.o \
  23   24          hash.o callback.o word.o loader.o pager.o extras.o \
  24   25          loader_emu.o lz4.o
↓ open down ↓ 4 lines elided ↑ open up ↑
  29   30  
  30   31  FICLDIR=        $(SRC)/common/ficl
  31   32  CSTD=   $(CSTD_GNU99)
  32   33  CPPFLAGS +=     -I.. -I$(FICLDIR) -D_LARGEFILE64_SOURCE=1
  33   34  
  34   35  # As variable "count" is marked volatile, gcc 4.4.4 will complain about
  35   36  # function argument. So we switch this warning off
  36   37  # for time being, till gcc 4.4.4 will be replaced.
  37   38  pics/vm.o := CERRWARN += -_gcc=-Wno-clobbered
  38   39  
       40 +# not linted
       41 +SMATCH=off
       42 +
  39   43  LDLIBS +=       -luuid -lc -lm -lumem
  40   44  
  41   45  HEADERS= $(FICLDIR)/ficl.h $(FICLDIR)/ficltokens.h ../ficllocal.h \
  42   46          $(FICLDIR)/ficlplatform/unix.h
  43   47  
  44   48  pics/%.o:       ../softcore/%.c $(HEADERS)
  45   49          $(COMPILE.c) -o $@ $<
  46   50          $(POST_PROCESS_O)
  47   51  
  48   52  pics/%.o:       $(FICLDIR)/%.c $(HEADERS)
↓ open down ↓ 20 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX