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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/refer/Makefile
          +++ new/usr/src/cmd/refer/Makefile
↓ open down ↓ 15 lines elided ↑ open up ↑
  16   16  # If applicable, add the following below this CDDL HEADER, with the
  17   17  # fields enclosed by brackets "[]" replaced with your own identifying
  18   18  # information: Portions Copyright [yyyy] [name of copyright owner]
  19   19  #
  20   20  # CDDL HEADER END
  21   21  #
  22   22  #
  23   23  # Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
  25   25  #
       26 +# Copyright (c) 2018, Joyent, Inc.
  26   27  
  27   28  include         ../Makefile.cmd
  28   29  
  29   30  PROG1 =         refer addbib lookbib sortbib
  30   31  PROG2 =         roffbib indxbib
  31   32  PROG3 =         mkey inv hunt
  32   33  PROG =          $(PROG1) $(PROG2)
  33   34  
  34   35  OBJS =          addbib.o deliv2.o glue1.o glue2.o glue3.o glue4.o       \
  35   36                  glue5.o hunt1.o hunt2.o hunt3.o hunt5.o hunt6.o         \
↓ open down ↓ 7 lines elided ↑ open up ↑
  43   44  # for messaging catalog
  44   45  #
  45   46  POFILES= $(OBJS:%.o=%.po)
  46   47  POFILE= refer.po
  47   48  
  48   49  CERRWARN += -_gcc=-Wno-implicit-function-declaration
  49   50  CERRWARN += -_gcc=-Wno-parentheses
  50   51  CERRWARN += -_gcc=-Wno-unused-variable
  51   52  CERRWARN += -_gcc=-Wno-uninitialized
  52   53  
       54 +# not linted
       55 +SMATCH=off
       56 +
  53   57  CLOBBERFILES += $(PROG3)
  54   58  
  55   59  addbib.po :=    XGETFLAGS += -a -x addbib.xcl
  56   60  
  57   61  
  58   62  OTXTS =         tmac.bib
  59   63  
  60   64  REFDIR =        $(ROOTLIB)/refer
  61   65  TMACDIR =       $(ROOTSHLIB)/tmac
  62   66  #Don't re-install dir already installed by Targetdirs
↓ open down ↓ 90 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX