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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/expr/Makefile
          +++ new/usr/src/cmd/expr/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) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
  23   23  #
       24 +# Copyright (c) 2018, Joyent, Inc.
  24   25  
  25   26  PROG= expr
  26   27  XPG4PROG= expr
  27   28  XPG6PROG= expr
  28   29  
  29   30  EXPROBJ= exprobjs/expr.o exprobjs/compile.o
  30   31  XPG4EXPROBJ= exprobjs.xpg4/expr.o exprobjs.xpg4/compile.o
  31   32  XPG6EXPROBJ= exprobjs.xpg6/expr.o exprobjs.xpg6/compile.o
  32   33  
  33   34  OBJS= $(EXPROBJ) $(XPG4EXPROBJ) $(XPG6EXPROBJ)
  34   35  SRCS= expr.c compile.c
  35   36  
  36   37  include ../Makefile.cmd
  37   38  
  38   39  CFLAGS += $(CCVERBOSE)
  39   40  CERRWARN += -_gcc=-Wno-uninitialized
  40   41  CERRWARN += -_gcc=-Wno-extra
       42 +# "missing type for func"
       43 +SMATCH=off
  41   44  $(XPG4) := CFLAGS += -DXPG4
  42   45  $(XPG6) := CFLAGS += -DXPG6
  43   46  
  44   47  XGETFLAGS += -a -x expr.xcl
  45   48  
  46   49  LDLIBS += -lgen
  47   50  
  48   51  MAPFILES =      $(MAPFILE.INT) $(MAPFILE.NGB)
  49   52  LDFLAGS +=      $(MAPFILES:%=-M%)
  50   53  
↓ open down ↓ 42 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX