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


   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 #
  22 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #

  25 
  26 include $(SRC)/Makefile.master
  27 
  28 include $(SRC)/lib/iconv_modules/Makefile.iconv
  29 
  30 include $(SRC)/lib/iconv_modules/ja/Makefile.iconv
  31 
  32 LIB = $(MODULES:%.c=%.so)
  33 LIB64 = $(MODULES:%.c=$(MACH64)/%.so)
  34 
  35 LDLIBS= -lc
  36 



  37 INSTALL_MODULES = .modules_installed
  38 CLEANFILES += $(INSTALL_MODULES)
  39 
  40 install         :=      TARGET = install
  41 all             :=      TARGET = all
  42 lint            :=      TARGET = lint
  43 clean           :=      TARGET = clean
  44 clobber         :=      TARGET = clobber
  45 
  46 LINKS= \
  47         eucJP_TO_ISO-2022-JP.RFC1468.c \
  48         PCK_TO_ISO-2022-JP.RFC1468.c \
  49         UTF-8_TO_ISO-2022-JP.RFC1468.c \
  50         eucJP_TO_UTF-8-Java.c \
  51         UTF-8-Java_TO_eucJP.c \
  52         PCK_TO_UTF-8-Java.c \
  53         UTF-8-Java_TO_PCK.c \
  54         eucJP_TO_UTF-8.c \
  55         eucJP_TO_UTF-16.c \
  56         eucJP_TO_UTF-16BE.c \




   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 #
  22 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 # Copyright (c) 2018, Joyent, Inc.
  26 
  27 include $(SRC)/Makefile.master
  28 
  29 include $(SRC)/lib/iconv_modules/Makefile.iconv
  30 
  31 include $(SRC)/lib/iconv_modules/ja/Makefile.iconv
  32 
  33 LIB = $(MODULES:%.c=%.so)
  34 LIB64 = $(MODULES:%.c=$(MACH64)/%.so)
  35 
  36 LDLIBS= -lc
  37 
  38 # needs work
  39 SMATCH=off
  40 
  41 INSTALL_MODULES = .modules_installed
  42 CLEANFILES += $(INSTALL_MODULES)
  43 
  44 install         :=      TARGET = install
  45 all             :=      TARGET = all
  46 lint            :=      TARGET = lint
  47 clean           :=      TARGET = clean
  48 clobber         :=      TARGET = clobber
  49 
  50 LINKS= \
  51         eucJP_TO_ISO-2022-JP.RFC1468.c \
  52         PCK_TO_ISO-2022-JP.RFC1468.c \
  53         UTF-8_TO_ISO-2022-JP.RFC1468.c \
  54         eucJP_TO_UTF-8-Java.c \
  55         UTF-8-Java_TO_eucJP.c \
  56         PCK_TO_UTF-8-Java.c \
  57         UTF-8-Java_TO_PCK.c \
  58         eucJP_TO_UTF-8.c \
  59         eucJP_TO_UTF-16.c \
  60         eucJP_TO_UTF-16BE.c \