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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/cmd-inet/usr.lib/ilbd/Makefile
          +++ new/usr/src/cmd/cmd-inet/usr.lib/ilbd/Makefile
↓ open down ↓ 12 lines elided ↑ open up ↑
  13   13  # When distributing Covered Code, include this CDDL HEADER in each
  14   14  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  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  # Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
  22   22  #
       23 +# Copyright (c) 2018, Joyent, Inc.
  23   24  
  24   25  ILBD=           ilbd
  25   26  PROG=           $(ILBD)
  26   27  MANIFEST=       ilbd.xml
  27   28  
  28   29  ILBD_OBJS=      ilbd_main.o ilbd_support.o ilbd_sg.o ilbd_rules.o ilbd_hc.o \
  29   30                  ilbd_nat.o ilbd_scf.o
  30   31  ILBD_SRCS=      $(ILBD_OBJS:%.o=%.c)
  31   32  HDRS=           ilbd.h
  32   33  
↓ open down ↓ 13 lines elided ↑ open up ↑
  46   47  CHECKHDRS=      $(HDRS:%.h=%.check)
  47   48  
  48   49  CPPFLAGS +=     -D_FILE_OFFSET_BITS=64 -I$(CMDINETCOMMONDIR) -D_REENTRANT
  49   50  CPPFLAGS +=     -I$(LIB_INC)
  50   51  CPPFLAGS +=     -I$(SRC)/uts/common
  51   52  
  52   53  CERRWARN +=     -_gcc=-Wno-switch
  53   54  CERRWARN +=     -_gcc=-Wno-uninitialized
  54   55  CERRWARN +=     -_gcc=-Wno-unused-label
  55   56  
       57 +# not linted
       58 +SMATCH=off
       59 +
  56   60  CSTD =      $(CSTD_GNU99)
  57   61  
  58   62  # I18n
  59   63  POFILE =        $(ILBD).po
  60   64  POFILES =       $(ILBD_SRCS:%.c=%.po)
  61   65  
  62   66  all:=           TARGET= all
  63   67  install:=       TARGET= install
  64   68  clean:=         TARGET= clean
  65   69  clobber:=       TARGET= clobber
↓ open down ↓ 37 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX