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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/libelf/Makefile.com
          +++ new/usr/src/cmd/sgs/libelf/Makefile.com
↓ 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 2015 Gary Mills
  23   23  # Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
       24 +# Copyright (c) 2018, Joyent, Inc.
  24   25  #
  25   26  
  26   27  LIBRARY=        libelf.a
  27   28  VERS=           .1
  28   29  
  29   30  MACHOBJS=
  30   31  COMOBJS=        ar.o            begin.o         cntl.o          cook.o \
  31   32                  data.o          end.o           fill.o          flag.o \
  32   33                  getarhdr.o      getarsym.o      getbase.o       getdata.o \
  33   34                  getehdr.o       getident.o      getphdr.o       getscn.o \
↓ open down ↓ 30 lines elided ↑ open up ↑
  64   65  
  65   66  DYNFLAGS +=     $(VERSREF)
  66   67  LDLIBS +=       $(CONVLIBDIR) $(CONV_LIB) -lc
  67   68  
  68   69  LINTFLAGS +=    -u -erroff=E_BAD_PTR_CAST_ALIGN
  69   70  LINTFLAGS64 +=  -u -erroff=E_CAST_INT_TO_SMALL_INT
  70   71  
  71   72  CERRWARN +=     -_gcc=-Wno-parentheses
  72   73  CERRWARN +=     -_gcc=-Wno-uninitialized
  73   74  
       75 +SMOFF += indenting
       76 +
  74   77  BUILD.AR=       $(RM) $@ ; \
  75   78                  $(AR) q $@ `$(LORDER) $(OBJECTS:%=$(DIR)/%)| $(TSORT)`
  76   79                  $(POST_PROCESS_A)
  77   80  
  78   81  
  79   82  BLTDEFS=        msg.h
  80   83  BLTDATA=        msg.c
  81   84  BLTMESG=        $(SGSMSGDIR)/libelf
  82   85  
  83   86  BLTFILES=       $(BLTDEFS) $(BLTDATA) $(BLTMESG)
↓ open down ↓ 29 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX