Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section


   4 # The contents of this file are subject to the terms of the
   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 usr/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 usr/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 #
  23 # Copyright (c) 1994, 2010, Oracle and/or its affiliates. All rights reserved.
  24 # Copyright 2018, Joyent, Inc.
  25 #
  26 
  27 LIBRARY =       libconv.a
  28 
  29 COMOBJS32 =     cap_machelf32.o         dynamic_machelf32.o \
  30                 globals_machelf32.o     sections_machelf32.o \
  31                 symbols_machelf32.o     symbols_sparc_machelf32.o
  32 
  33 COMOBJS64 =     cap_machelf64.o         dynamic_machelf64.o \
  34                 globals_machelf64.o     sections_machelf64.o \
  35                 symbols_machelf64.o     symbols_sparc_machelf64.o
  36 
  37 COMOBJS=        arch.o                  audit.o \
  38                 c_literal.o \
  39                 cap.o                   config.o \
  40                 corenote.o              data.o \
  41                 deftag.o                demangle.o \
  42                 dl.o                    dwarf.o \
  43                 dwarf_ehe.o             dynamic.o \
  44                 elf.o                   entry.o \


 107 
 108 BLTDATA=        $(BLTOBJS:%.o=%.c) $(BLTOBJS:%.o=%.h) report_bufsize.h
 109 
 110 SRCS=           ../common/llib-lconv
 111 LINTSRCS=       $(COMOBJS:%.o=../common/%.c) \
 112                     $(COMOBJS_NOMSG:%.o=../common/%.c) \
 113                     $(ELFCOM_OBJS:%.o=$(ELFCAP)/%.c) ../common/lintsup.c
 114 LINTSRCS32 =    $(COMOBJS32:%32.o=../common/%.c)
 115 LINTSRCS64 =    $(COMOBJS64:%64.o=../common/%.c)
 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 
 125 SGSMSGTARG=     $(BLTOBJS:%_msg.o=../common/%.msg)
 126 
 127 LINTFLAGS +=    -u
 128 LINTFLAGS64 +=  -u
 129 
 130 CLEANFILES +=   $(BLTDATA) $(LINTOUTS) bld_vernote vernote.s
 131 CLOBBERFILES += $(LINTLIBS)


   4 # The contents of this file are subject to the terms of the
   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 usr/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 usr/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 #
  23 # Copyright (c) 1994, 2010, Oracle and/or its affiliates. All rights reserved.
  24 # Copyright 2018 Joyent, Inc.
  25 #
  26 
  27 LIBRARY =       libconv.a
  28 
  29 COMOBJS32 =     cap_machelf32.o         dynamic_machelf32.o \
  30                 globals_machelf32.o     sections_machelf32.o \
  31                 symbols_machelf32.o     symbols_sparc_machelf32.o
  32 
  33 COMOBJS64 =     cap_machelf64.o         dynamic_machelf64.o \
  34                 globals_machelf64.o     sections_machelf64.o \
  35                 symbols_machelf64.o     symbols_sparc_machelf64.o
  36 
  37 COMOBJS=        arch.o                  audit.o \
  38                 c_literal.o \
  39                 cap.o                   config.o \
  40                 corenote.o              data.o \
  41                 deftag.o                demangle.o \
  42                 dl.o                    dwarf.o \
  43                 dwarf_ehe.o             dynamic.o \
  44                 elf.o                   entry.o \


 107 
 108 BLTDATA=        $(BLTOBJS:%.o=%.c) $(BLTOBJS:%.o=%.h) report_bufsize.h
 109 
 110 SRCS=           ../common/llib-lconv
 111 LINTSRCS=       $(COMOBJS:%.o=../common/%.c) \
 112                     $(COMOBJS_NOMSG:%.o=../common/%.c) \
 113                     $(ELFCOM_OBJS:%.o=$(ELFCAP)/%.c) ../common/lintsup.c
 114 LINTSRCS32 =    $(COMOBJS32:%32.o=../common/%.c)
 115 LINTSRCS64 =    $(COMOBJS64:%64.o=../common/%.c)
 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 
 125 SGSMSGTARG=     $(BLTOBJS:%_msg.o=../common/%.msg)
 126 
 127 LINTFLAGS +=    -u -erroff=E_NAME_DECL_NOT_USED_DEF2
 128 LINTFLAGS64 +=  -u -erroff=E_NAME_DECL_NOT_USED_DEF2
 129 
 130 CLEANFILES +=   $(BLTDATA) $(LINTOUTS) bld_vernote vernote.s
 131 CLOBBERFILES += $(LINTLIBS)