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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/format/Makefile
          +++ new/usr/src/cmd/format/Makefile
↓ open down ↓ 15 lines elided ↑ open up ↑
  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   25  # Copyright 2015 Nexenta Systems, Inc. All rights reserved.
  26      -#
       26 +# Copyright (c) 2018, Joyent, Inc.
  27   27  
  28   28  PROG= format
  29   29  
  30   30  COBJS=  add_definition.o analyze.o checkdev.o ctlr_scsi.o \
  31   31          defect.o init_menus.o io.o label.o main.o \
  32   32          menu.o menu_analyze.o menu_cache.o menu_command.o menu_defect.o \
  33   33          menu_partition.o misc.o modify_partition.o partition.o \
  34   34          prompts.o startup.o menu_scsi.o auto_sense.o disk_generic.o \
  35   35          menu_developer.o menu_fdisk.o
  36   36  
↓ open down ↓ 7 lines elided ↑ open up ↑
  44   44  
  45   45  DATA= format.dat
  46   46  
  47   47  include ../Makefile.cmd
  48   48  
  49   49  CERRWARN += -_gcc=-Wno-uninitialized
  50   50  CERRWARN += -_gcc=-Wno-parentheses
  51   51  CERRWARN += -_gcc=-Wno-unused-label
  52   52  CERRWARN += -_gcc=-Wno-clobbered
  53   53  
       54 +# not linted
       55 +SMATCH=off
       56 +
  54   57  SRCS= $(OBJS:.o=.c)
  55   58  
  56   59  ROOTSYMLINK= $(ROOTETCPROG)
  57   60  ROOTETCDATA= $(ROOTETC)/$(DATA)
  58   61  
  59   62  $(ROOTETCDATA) := FILEMODE = 0644
  60   63  
  61   64  LDLIBS_i386= -lfdisk 
  62   65  LDLIBS_sparc=
  63   66  LDLIBS +=       -ladm -lefi -ldiskmgt -lnvpair -ldevid -ldevinfo $(LDLIBS_$(MACH))
↓ open down ↓ 31 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX