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>
   1 #
   2 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
   3 # Use is subject to license terms.
   4 # Copyright 2015 Igor Kozhukhov <ikozhukhov@gmail.com>
   5 # Copyright 2016 Nexenta Systems, Inc.  All rights reserved.
   6 # Copyright (c) 2018, Joyent, Inc.
   7 # Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
   8 #
   9 
  10 # Make the SO name unlikely to conflict with any other
  11 # libsqlite that might also be found on the system.
  12 LIBRARY = libsqlite-sys.a
  13 
  14 VERS = .2.8.15
  15 OBJECTS = \
  16         attach.o        \
  17         auth.o          \
  18         btree.o         \
  19         btree_rb.o      \
  20         build.o         \
  21         copy.o          \
  22         date.o          \
  23         delete.o        \
  24         encode.o        \
  25         expr.o          \
  26         func.o          \


 141 TESTCLEAN = $(TESTOBJS) test.db test.tcl test1.bt test2.db testdb
 142 
 143 #
 144 # Native variant (needed by cmd/configd)
 145 #
 146 NATIVERELOC = libsqlite-native.o
 147 NATIVEPROGS = testfixture
 148 NATIVEOBJS = $(OBJS:%.o=%-native.o)
 149 
 150 NATIVETARGETS = $(NATIVEPROGS) $(NATIVEOBJS) $(NATIVERELOC)
 151 
 152 $(NATIVETARGETS) :=     CC = $(NATIVECC)
 153 $(NATIVETARGETS) :=     LD = $(NATIVELD)
 154 $(NATIVETARGETS) :=     CFLAGS = $(NATIVE_CFLAGS)
 155 $(NATIVETARGETS) :=     CPPFLAGS = $(MYCPPFLAGS)
 156 $(NATIVETARGETS) :=     LDFLAGS =
 157 $(NATIVETARGETS) :=     LDLIBS = -lc
 158 
 159 $(OBJS) :=              CFLAGS += $(CTF_FLAGS)
 160 $(OBJS) :=              CTFCONVERT_POST = $(CTFCONVERT_O)


 161 
 162 TCLBASE = /usr/sfw
 163 TCLVERS = tcl8.3
 164 
 165 testfixture := MYCPPFLAGS += -I$(TCLBASE)/include -DTCLSH -DSQLITE_TEST=1
 166 #
 167 # work around compiler issues
 168 #
 169 testfixture := CFLAGS += \
 170         -erroff=E_ARRAY_OF_INCOMPLETE \
 171         -erroff=E_ARG_INCOMPATIBLE_WITH_ARG
 172 
 173 testfixture := LDLIBS += -R$(TCLBASE)/lib -L$(TCLBASE)/lib -l$(TCLVERS) -lm -ldl
 174 
 175 CLEANFILES += \
 176         $(NATIVETARGETS) \
 177         $(TESTCLEAN)    \
 178         lemon           \
 179         lemon.o         \
 180         lempar.c        \


   1 #
   2 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
   3 # Use is subject to license terms.
   4 # Copyright 2015 Igor Kozhukhov <ikozhukhov@gmail.com>
   5 # Copyright 2016 Nexenta Systems, Inc.  All rights reserved.
   6 # Copyright (c) 2019, Joyent, Inc.
   7 # Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
   8 #
   9 
  10 # Make the SO name unlikely to conflict with any other
  11 # libsqlite that might also be found on the system.
  12 LIBRARY = libsqlite-sys.a
  13 
  14 VERS = .2.8.15
  15 OBJECTS = \
  16         attach.o        \
  17         auth.o          \
  18         btree.o         \
  19         btree_rb.o      \
  20         build.o         \
  21         copy.o          \
  22         date.o          \
  23         delete.o        \
  24         encode.o        \
  25         expr.o          \
  26         func.o          \


 141 TESTCLEAN = $(TESTOBJS) test.db test.tcl test1.bt test2.db testdb
 142 
 143 #
 144 # Native variant (needed by cmd/configd)
 145 #
 146 NATIVERELOC = libsqlite-native.o
 147 NATIVEPROGS = testfixture
 148 NATIVEOBJS = $(OBJS:%.o=%-native.o)
 149 
 150 NATIVETARGETS = $(NATIVEPROGS) $(NATIVEOBJS) $(NATIVERELOC)
 151 
 152 $(NATIVETARGETS) :=     CC = $(NATIVECC)
 153 $(NATIVETARGETS) :=     LD = $(NATIVELD)
 154 $(NATIVETARGETS) :=     CFLAGS = $(NATIVE_CFLAGS)
 155 $(NATIVETARGETS) :=     CPPFLAGS = $(MYCPPFLAGS)
 156 $(NATIVETARGETS) :=     LDFLAGS =
 157 $(NATIVETARGETS) :=     LDLIBS = -lc
 158 
 159 $(OBJS) :=              CFLAGS += $(CTF_FLAGS)
 160 $(OBJS) :=              CTFCONVERT_POST = $(CTFCONVERT_O)
 161 $(NATIVEOBJS) :=        CFLAGS += $(CTF_FLAGS)
 162 $(NATIVEOBJS) :=        CTFCONVERT_POST = $(CTFCONVERT_O)
 163 
 164 TCLBASE = /usr/sfw
 165 TCLVERS = tcl8.3
 166 
 167 testfixture := MYCPPFLAGS += -I$(TCLBASE)/include -DTCLSH -DSQLITE_TEST=1
 168 #
 169 # work around compiler issues
 170 #
 171 testfixture := CFLAGS += \
 172         -erroff=E_ARRAY_OF_INCOMPLETE \
 173         -erroff=E_ARG_INCOMPATIBLE_WITH_ARG
 174 
 175 testfixture := LDLIBS += -R$(TCLBASE)/lib -L$(TCLBASE)/lib -l$(TCLVERS) -lm -ldl
 176 
 177 CLEANFILES += \
 178         $(NATIVETARGETS) \
 179         $(TESTCLEAN)    \
 180         lemon           \
 181         lemon.o         \
 182         lempar.c        \