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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/luxadm/Makefile
          +++ new/usr/src/cmd/luxadm/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 2008 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
       25 +# Copyright (c) 2018, Joyent, Inc.
  25   26  
  26   27  PROG = luxadm
  27   28  
  28   29  COBJS = adm.o fchba.o lux_util.o fabric_conf.o
  29      -OBJS_sparc= g_adm.o diag.o fcalupdate.o hotplug.o qlgcupdate.o setboot.o 
       30 +OBJS_sparc= g_adm.o diag.o fcalupdate.o hotplug.o qlgcupdate.o setboot.o
  30   31  OBJS_i386 = x86_adm.o errormsgs.o
  31   32  OBJS = $(OBJS_$(MACH)) $(COBJS)
  32   33  
  33   34  SRCS = $(OBJS:%.o=%.c)
  34   35  
  35   36  POFILES = $(OBJS:%.o=%.po)
  36   37  POFILE = luxadm.po
  37   38  
  38   39  include ../Makefile.cmd
  39   40  
  40   41  CERRWARN +=     -_gcc=-Wno-parentheses
  41   42  CERRWARN +=     -_gcc=-Wno-uninitialized
  42   43  CERRWARN +=     -_gcc=-Wno-unused-label
  43   44  CERRWARN +=     -_gcc=-Wno-address
  44   45  
       46 +# not linted
       47 +SMATCH=off
       48 +
  45   49  sparc_LDLIBS = -la5k -lg_fc -ldevid -lkstat -ldevinfo
  46   50  i386_LDLIBS =
  47   51  LDLIBS += $($(MACH)_LDLIBS)
  48   52  LDLIBS += -lnvpair
  49   53  LDLIBS += -ldevice
  50   54  LDLIBS += -lHBAAPI
  51   55  
  52   56  INCS += -I$(SRC)/lib/sun_fc/common
  53   57  
  54   58  CPPFLAGS += -D_LARGEFILE64_SOURCE=1 -D_REENTRANT $(INCS)
↓ open down ↓ 56 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX