Print this page
10079 smatch Makefile changes for usr/src/lib

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/iconv_modules/vi/Makefile.com
          +++ new/usr/src/lib/iconv_modules/vi/Makefile.com
↓ open down ↓ 14 lines elided ↑ open up ↑
  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 2008 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
       25 +# Copyright (c) 2018, Joyent, Inc.
  25   26  
  26   27  SRCS            =       tcvn%UCS-2.c \
  27   28              tcvn%UTF-8.c \
  28   29              tcvn%viscii.c \
  29   30              UCS-2%tcvn.c  \
  30   31              UCS-2%viscii.c  \
  31   32              UTF-8%tcvn.c  \
  32   33              UTF-8%viscii.c  \
  33   34              viscii%tcvn.c  \
  34   35              viscii%UCS-2.c  \
  35   36              viscii%UTF-8.c
  36   37  COMMON = ../common/
  37   38  
  38   39  LINK_TARGETS  = UCS-2BE%tcvn.so tcvn%UCS-2BE.so
  39   40  LINK_TARGETS += UCS-2BE%viscii.so viscii%UCS-2BE.so
  40   41  
       42 +# needs work
       43 +SMOFF += all_func_returns,deref_check
       44 +
  41   45  dummy: all
  42   46  
  43   47  tcvn%UCS-2LE.o: $(COMMON)tcvn%UCS-2.c
  44   48          $(CC) $(CFLAGS) -DUCS_2LE -c -o $@ $^
  45   49  
  46   50  tcvn%UCS-2BE.o: $(COMMON)tcvn%UCS-2.c
  47   51          $(CC) $(CFLAGS) -c -o $@ $^
  48   52  
  49   53  viscii%UCS-2LE.o: $(COMMON)viscii%UCS-2.c
  50   54          $(CC) $(CFLAGS) -DUCS_2LE -c -o $@ $^
↓ open down ↓ 34 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX