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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/iconv_modules/utf-8/Makefile.com
          +++ new/usr/src/lib/iconv_modules/utf-8/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 2010 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  include $(SRC)/Makefile.master
  27   28  
  28   29  BTS_DIR                 = $(ROOT)/usr/lib/iconv/geniconvtbl/binarytables
  29   30  
  30   31  # geniconvtbl loadmodule
  31   32  GENICONVTBL= /usr/bin/geniconvtbl
  32   33  #
  33   34  # Common sources come from following directory:
  34   35  COMMON                  = ../common/
↓ open down ↓ 33 lines elided ↑ open up ↑
  68   69          $(INS.dir) $@
  69   70  
  70   71  clobber: clean
  71   72  
  72   73  $(ICONV_DIR)/alias:=    FILEMODE=0444
  73   74  
  74   75  LDLIBS                  = -lc
  75   76  
  76   77  LDFLAGS = $(DYNFLAGS) $(LDLIBS) $(CFLAG_OPT)
  77   78  
       79 +# needs work
       80 +SMATCH=off
       81 +
  78   82  $(DYNOBJS)              := CFLAGS += $(XREGSFLAG) $(C_PICFLAGS) -D_REENTRANT \
  79   83                                          -I$(COMMON) -I$(COMMON)/tbls \
  80   84                                          -I$(ADJUNCT_PROTO)/usr/include
  81   85  
  82   86  $(UCS_2_SOS)            := CFLAGS += -DUCS_2
  83   87  $(UCS_2BE_SOS)          := CFLAGS += -DUCS_2BE
  84   88  $(UCS_2LE_SOS)          := CFLAGS += -DUCS_2LE
  85   89  
  86   90  $(UTF_16_SOS)           := CFLAGS += -DUTF_16
  87   91  $(UTF_16BE_SOS)         := CFLAGS += -DUTF_16BE
↓ open down ↓ 168 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX