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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/fs.d/Makefile
          +++ new/usr/src/cmd/fs.d/Makefile
↓ open down ↓ 11 lines elided ↑ open up ↑
  12   12  #
  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) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
       22 +# Copyright (c) 2018, Joyent, Inc.
  22   23  # Copyright 2015 Nexenta Systems, Inc. All rights reserved.
  23   24  #
  24   25  
  25   26  # The filesystem independent utilities clri, fsdb, dcopy, labelit, and mkfs
  26   27  # are all built from the source file switchout.c. They are all then links
  27   28  # to the same object. This is accomplished by:
  28   29  #       1) building clri from switchout.c (had to choose one)
  29   30  #       2) installing it in the target directory
  30   31  #       3) linking the others to clri.
  31   32  # In a similar manner, ncheck is linked to ff.
↓ open down ↓ 48 lines elided ↑ open up ↑
  80   81  SYMDEVNM=               $(ROOTUSRSBIN)/devnm
  81   82  
  82   83  CPPFLAGS += -D_LARGEFILE64_SOURCE
  83   84  
  84   85  CERRWARN += -_gcc=-Wno-implicit-function-declaration
  85   86  CERRWARN += -_gcc=-Wno-parentheses
  86   87  CERRWARN += -_gcc=-Wno-unused-variable
  87   88  CERRWARN += -_gcc=-Wno-uninitialized
  88   89  CERRWARN += -_gcc=-Wno-unused-function
  89   90  
       91 +# not linted
       92 +SMATCH=off
       93 +
  90   94  $(DFPROG) :=    LDLIBS += -lcmdutils
  91   95  $(SPPROG) :=    LDLIBS += -lkstat
  92   96  
  93   97  $(ROOTETCMNTTAB) := FILEMODE = 444
  94   98  
  95   99  # for messaging catalog
  96  100  #
  97  101  POFILE= fs.d.po
  98  102  POFILES1= $(PROG:%=%.po) $(ROOTFS_PROG:%=%.po) switchout.po fssnapsup.po
  99  103  POFILES2= $(I18NDIRS:%=%/%.po)
↓ open down ↓ 105 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX