Print this page
10816 ctf_dwarf_convert_type() relies on un-initialized id
10817 ctfconvert -i option is mis-handled
10818 Improve ctfconvert error messages
10819 ctfconvert should handle empty dies
10820 ctfconvert -i never converts
10821 bad free in ctf_dwarf_init_die
10815 shouldn't build gcore.c as part of kmdb
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>


   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 # Copyright 2015 Gary Mills
  23 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  24 # Use is subject to license terms.
  25 #
  26 # Copyright (c) 2018, Joyent, Inc.
  27 
  28 LIBRARY= libnisdb.a
  29 VERS=   .2
  30 PROTOCOL_DIR= $(ROOT)/include/rpcsvc
  31 YPTOL_DIR= ./yptol
  32 
  33 SED=    sed
  34 
  35 OBJECTS = \
  36         db_entry.o db_entry_c_xdr.o \
  37         db_item.o db_item_c_xdr.o \
  38         db_vers.o db_vers_c_xdr.o \
  39         db_pickle.o \
  40         db_table.o db_table_c_xdr.o \
  41         db_index_entry.o db_index_entry_c.o \
  42         db_index.o db_index_c_xdr.o \
  43         db_scheme.o db_scheme_c_xdr.o \
  44         db_query.o db_query_c_xdr.o \
  45         db_mindex.o db_mindex2.o db_mindex3.o db_mindex_c_xdr.o \
  46         db_log_entry.o db_log_entry_c_xdr.o \


 187 # established (which is enabled automatically with -Bdirect).  In addition,
 188 # libnisdb interposes on socket(), so tag this library as an interposer.
 189 # dependencies (lazyload).
 190 BDIRECT =
 191 DYNFLAGS +=     $(BNODIRECT) $(ZINTERPOSE) $(ZDIRECT) $(ZLAZYLOAD)
 192 
 193 all :=          TARGET= all
 194 clean :=        TARGET= clean
 195 clobber :=      TARGET= clobber
 196 install :=      TARGET= install
 197 lint :=         TARGET= lint
 198 
 199 .KEEP_STATE:
 200 
 201 all:    $(DERIVED_FILES) $(LIBS)
 202 
 203 install: all $(ROOTLIBS) $(ROOTLINKS)
 204 
 205 lint: $(DERIVED_FILES) .WAIT lintcheck
 206 
 207 pics/%.o: %.c
 208         $(COMPILE.c) -o $@ $<
 209         $(POST_PROCESS_O)
 210 
 211 pics/%.o: %.cc
 212         $(COMPILE.cc) -o $@ $<
 213         $(POST_PROCESS_O)
 214 
 215 objs/%.o pics/%.o profs/%.o: $(YPTOL_DIR)/%.c
 216         $(COMPILE.c) -o $@ $<
 217         $(POST_PROCESS_O)
 218 
 219 #
 220 # Pattern matching rules that define how to build the derived files.
 221 #
 222 %_c.h: %_c.x
 223         $(RM) $@
 224         $(RPCGEN) -DUSINGC -h -o $@ $<
 225 
 226 %.h: %_c.x
 227         $(RM) $@
 228         $(RPCGEN) -h -o $@ $<
 229 
 230 %_c_xdr.c: %_c.x
 231         $(RM) $@
 232         $(RPCGEN) -DUSINGC -c -o $@ $<
 233 
 234 # rename the xdr_db_free_entry() in the db_table_c_xdr.c.  So the one


   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 # Copyright 2015 Gary Mills
  23 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  24 # Use is subject to license terms.
  25 #
  26 # Copyright (c) 2019, Joyent, Inc.
  27 
  28 LIBRARY= libnisdb.a
  29 VERS=   .2
  30 PROTOCOL_DIR= $(ROOT)/include/rpcsvc
  31 YPTOL_DIR= ./yptol
  32 
  33 SED=    sed
  34 
  35 OBJECTS = \
  36         db_entry.o db_entry_c_xdr.o \
  37         db_item.o db_item_c_xdr.o \
  38         db_vers.o db_vers_c_xdr.o \
  39         db_pickle.o \
  40         db_table.o db_table_c_xdr.o \
  41         db_index_entry.o db_index_entry_c.o \
  42         db_index.o db_index_c_xdr.o \
  43         db_scheme.o db_scheme_c_xdr.o \
  44         db_query.o db_query_c_xdr.o \
  45         db_mindex.o db_mindex2.o db_mindex3.o db_mindex_c_xdr.o \
  46         db_log_entry.o db_log_entry_c_xdr.o \


 187 # established (which is enabled automatically with -Bdirect).  In addition,
 188 # libnisdb interposes on socket(), so tag this library as an interposer.
 189 # dependencies (lazyload).
 190 BDIRECT =
 191 DYNFLAGS +=     $(BNODIRECT) $(ZINTERPOSE) $(ZDIRECT) $(ZLAZYLOAD)
 192 
 193 all :=          TARGET= all
 194 clean :=        TARGET= clean
 195 clobber :=      TARGET= clobber
 196 install :=      TARGET= install
 197 lint :=         TARGET= lint
 198 
 199 .KEEP_STATE:
 200 
 201 all:    $(DERIVED_FILES) $(LIBS)
 202 
 203 install: all $(ROOTLIBS) $(ROOTLINKS)
 204 
 205 lint: $(DERIVED_FILES) .WAIT lintcheck
 206 








 207 objs/%.o pics/%.o profs/%.o: $(YPTOL_DIR)/%.c
 208         $(COMPILE.c) -o $@ $<
 209         $(POST_PROCESS_O)
 210 
 211 #
 212 # Pattern matching rules that define how to build the derived files.
 213 #
 214 %_c.h: %_c.x
 215         $(RM) $@
 216         $(RPCGEN) -DUSINGC -h -o $@ $<
 217 
 218 %.h: %_c.x
 219         $(RM) $@
 220         $(RPCGEN) -h -o $@ $<
 221 
 222 %_c_xdr.c: %_c.x
 223         $(RM) $@
 224         $(RPCGEN) -DUSINGC -c -o $@ $<
 225 
 226 # rename the xdr_db_free_entry() in the db_table_c_xdr.c.  So the one