Print this page
9852 enable ld(1) guidance and deflib assertions for the illumos build

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libsqlite/Makefile.com
          +++ new/usr/src/lib/libsqlite/Makefile.com
↓ open down ↓ 121 lines elided ↑ open up ↑
 122  122  #
 123  123  TESTSRC = \
 124  124          $(SRCDIR)/tclsqlite.c   \
 125  125          $(SRCDIR)/btree.c       \
 126  126          $(SRCDIR)/func.c        \
 127  127          $(SRCDIR)/os.c          \
 128  128          $(SRCDIR)/pager.c       \
 129  129          $(SRCDIR)/test1.c       \
 130  130          $(SRCDIR)/test2.c       \
 131  131          $(SRCDIR)/test3.c       \
 132      -        $(SRCDIR)/md5.c 
      132 +        $(SRCDIR)/md5.c
 133  133  
 134  134  TESTOBJS = $(TESTSRC:$(SRCDIR)/%.c=%.o)
 135  135  
 136  136  TESTCLEAN = $(TESTOBJS) test.db test.tcl test1.bt test2.db testdb
 137  137  
 138  138  #
 139  139  # Native variant (needed by cmd/configd)
 140  140  #
 141  141  NATIVERELOC = libsqlite-native.o
 142  142  NATIVEPROGS = testfixture
 143  143  NATIVEOBJS = $(OBJS:%.o=%-native.o)
 144  144  
 145  145  NATIVETARGETS = $(NATIVEPROGS) $(NATIVEOBJS) $(NATIVERELOC)
 146  146  
 147  147  $(NATIVETARGETS) :=     CC = $(NATIVECC)
 148  148  $(NATIVETARGETS) :=     LD = $(NATIVELD)
 149  149  $(NATIVETARGETS) :=     CFLAGS = $(NATIVE_CFLAGS)
 150  150  $(NATIVETARGETS) :=     CPPFLAGS = $(MYCPPFLAGS)
 151      -$(NATIVETARGETS) :=     LDFLAGS =
      151 +$(NATIVETARGETS) :=     LDFLAGS = -B direct
      152 +$(NATIVETARGETS) :=     NATIVE_LIBS = libc.so
 152  153  $(NATIVETARGETS) :=     LDLIBS = -lc
 153  154  
 154  155  $(OBJS) :=              CFLAGS += $(CTF_FLAGS)
 155  156  $(OBJS) :=              CTFCONVERT_POST = $(CTFCONVERT_O)
 156  157  
 157  158  TCLBASE = /usr/sfw
 158  159  TCLVERS = tcl8.3
 159  160  
 160  161  testfixture := MYCPPFLAGS += -I$(TCLBASE)/include -DTCLSH -DSQLITE_TEST=1
 161  162  #
↓ open down ↓ 132 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX