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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/cmd-inet/lib/nwamd/Makefile
          +++ new/usr/src/cmd/cmd-inet/lib/nwamd/Makefile
↓ open down ↓ 13 lines elided ↑ open up ↑
  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  #
  22   22  # Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
  23   23  #
  24      -# usr/src/cmd/cmd-inet/lib/nwamd/Makefile
  25      -#
       24 +# Copyright (c) 2018, Joyent, Inc.
  26   25  
  27   26  # Needed for ROOTFS_LIBDIR definition
  28   27  include         ../../../../lib/Makefile.lib
  29   28  
  30   29  PROG=           nwamd
  31   30  OBJS=           conditions.o dlpi_events.o door_if.o enm.o\
  32   31                  events.o known_wlans.o llp.o loc.o logging.o\
  33   32                  main.o ncp.o ncu.o ncu_phys.o ncu_ip.o objects.o\
  34   33                  routing_events.o sysevent_events.o util.o
  35   34  SRCS=           $(OBJS:%.o=%.c)
↓ open down ↓ 17 lines elided ↑ open up ↑
  53   52  
  54   53  LDLIBS +=       -ldhcpagent -ldhcputil -ldladm -ldlpi -lgen \
  55   54                  -linetutil -lipadm -lkstat -lnsl -lnvpair -lnwam \
  56   55                  -lsecdb -lscf -lsocket -lsysevent -lumem -luutil
  57   56  
  58   57  CERRWARN +=     -_gcc=-Wno-uninitialized
  59   58  CERRWARN +=     -_gcc=-Wno-parentheses
  60   59  CERRWARN +=     -_gcc=-Wno-switch
  61   60  CERRWARN +=     -_gcc=-Wno-unused-label
  62   61  
       62 +# not linted
       63 +SMATCH=off
       64 +
  63   65  #
  64   66  # Instrument with CTF data to ease debugging.
  65   67  #
  66   68  CTFCONVERT_HOOK = && $(CTFCONVERT_O)
  67   69  CTFMERGE_HOOK = && $(CTFMERGE) -L VERSION -o $@ $(OBJS)
  68   70  $(OBJS) := CFLAGS += $(CTF_FLAGS)
  69   71  
  70   72  .KEEP_STATE:
  71   73  
  72   74  .PARALLEL:
↓ open down ↓ 35 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX