Print this page
cleanup

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/libconv/Makefile.com
          +++ new/usr/src/cmd/sgs/libconv/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  #
  23   23  # Copyright (c) 1994, 2010, Oracle and/or its affiliates. All rights reserved.
       24 +# Copyright 2018, Joyent, Inc.
  24   25  #
  25   26  
  26   27  LIBRARY =       libconv.a
  27   28  
  28   29  COMOBJS32 =     cap_machelf32.o         dynamic_machelf32.o \
  29   30                  globals_machelf32.o     sections_machelf32.o \
  30   31                  symbols_machelf32.o     symbols_sparc_machelf32.o
  31   32  
  32   33  COMOBJS64 =     cap_machelf64.o         dynamic_machelf64.o \
  33   34                  globals_machelf64.o     sections_machelf64.o \
↓ open down ↓ 72 lines elided ↑ open up ↑
 106  107  
 107  108  BLTDATA=        $(BLTOBJS:%.o=%.c) $(BLTOBJS:%.o=%.h) report_bufsize.h
 108  109  
 109  110  SRCS=           ../common/llib-lconv
 110  111  LINTSRCS=       $(COMOBJS:%.o=../common/%.c) \
 111  112                      $(COMOBJS_NOMSG:%.o=../common/%.c) \
 112  113                      $(ELFCOM_OBJS:%.o=$(ELFCAP)/%.c) ../common/lintsup.c
 113  114  LINTSRCS32 =    $(COMOBJS32:%32.o=../common/%.c)
 114  115  LINTSRCS64 =    $(COMOBJS64:%64.o=../common/%.c)
 115  116  
      117 +# Since libconv uses dlopen(3C) to load libdemangle-sys.so (much like it did
      118 +# for the old Sun Studio libdemangle.so) in order to avoid messy bootstrapping
      119 +# problems, but it also needs the definitions from demangle-sys.h for
      120 +# SYSDEM_LANG_AUTO, lint will complain about sysdemangle() being defined but not
      121 +# used unless it is explicitly included during the lint pass
      122 +$(LINTOUT32)    := LDLIBS += -ldemangle-sys
      123 +$(LINTOUT64)    := LDLIBS += -ldemangle-sys
      124 +
 116  125  SGSMSGTARG=     $(BLTOBJS:%_msg.o=../common/%.msg)
 117  126  
 118  127  LINTFLAGS +=    -u
 119  128  LINTFLAGS64 +=  -u
 120  129  
 121  130  CLEANFILES +=   $(BLTDATA) $(LINTOUTS) bld_vernote vernote.s
 122  131  CLOBBERFILES += $(LINTLIBS)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX