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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sh/Makefile
          +++ new/usr/src/cmd/sh/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) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
  23   23  #
       24 +# Copyright (c) 2018, Joyent, Inc.
  24   25  
  25   26  PROG =          sh
  26   27  USR_PROG =      $(PROG)
  27   28  
  28   29  OBJS=   args.o blok.o cmd.o defs.o error.o fault.o hash.o hashserv.o \
  29   30          io.o msg.o print.o stak.o string.o word.o xec.o \
  30   31          ctype.o echo.o expand.o func.o macro.o pwd.o setbrk.o test.o \
  31   32          bltin.o jobs.o ulimit.o main.o name.o service.o
  32   33  SRCS=   $(OBJS:%.o=%.c)
  33   34  
↓ open down ↓ 4 lines elided ↑ open up ↑
  38   39  #
  39   40  POFILE= sh.po
  40   41  POFILES= $(SRCS:%.c=%.po)
  41   42  XGETFLAGS += -a -x sh.xcl
  42   43  
  43   44  CPPFLAGS += -D_FILE_OFFSET_BITS=64 -DACCT
  44   45  CERRWARN += -_gcc=-Wno-implicit-function-declaration
  45   46  CERRWARN += -_gcc=-Wno-parentheses
  46   47  CERRWARN += -_gcc=-Wno-extra
  47   48  CERRWARN += -_gcc=-Wno-unused-variable
       49 +
       50 +# unknown type for func
       51 +SMATCH=off
       52 +
  48   53  MAPFILES = $(MAPFILE.INT) $(MAPFILE.NGB)
  49   54  LDFLAGS += $(MAPFILES:%=-M%)
  50   55  LDLIBS += -lgen
  51   56  
  52   57  .KEEP_STATE:
  53   58  
  54   59  .PARALLEL:      $(OBJS)
  55   60  
  56   61  all: $(ROOTHASBINPROG)
  57   62  
↓ open down ↓ 20 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX