Commit ae6a52db authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

fix the examples build refs[t:2282]

git-svn-id: file:///svn/toku/tokudb@16831 c7de825b-a66e-492c-adef-691d508d4ae1
parent 00a39152
TARGETS = db-insert db-insert-bdb db-scan db-scan-bdb TARGETS = db-insert db-insert-bdb db-scan db-scan-bdb
CFLAGS = -g CFLAGS = -g
CPPFLAGS = -I../include CPPFLAGS = -I../include
LDFLAGS = -L../lib -lfractaltreeindex -Wl,-rpath,../lib LIBTOKUDB = tokudb
LDFLAGS = -L../lib -l$(LIBTOKUDB) -Wl,-rpath,../lib
default: $(TARGETS) default: $(TARGETS)
...@@ -17,6 +18,7 @@ setup: ...@@ -17,6 +18,7 @@ setup:
cp ../../include/db.h ../include/tokudb.h cp ../../include/db.h ../include/tokudb.h
cp ../../include/tdb-internal.h ../include/tdb-internal.h cp ../../include/tdb-internal.h ../include/tdb-internal.h
cp ../../toku_include/toku_list.h ../include/toku_list.h cp ../../toku_include/toku_list.h ../include/toku_list.h
if [ ! -f ../lib/lib$(LIBTOKUDB).so ] ; then cp ../../lib/lib$(LIBTOKUDB).so ../lib; fi
check: $(TARGETS) check: $(TARGETS)
./db-insert && ./db-scan --nox --lwc --prelock --prelockflag ./db-insert && ./db-scan --nox --lwc --prelock --prelockflag
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment