Commit edea9f50 authored by Rich Prohaska's avatar Rich Prohaska

use BDB var to control bdb releases. addresses #49

git-svn-id: file:///svn/tokudb@774 c7de825b-a66e-492c-adef-691d508d4ae1
parent 2ce4bf3d
......@@ -6,6 +6,12 @@
# For very verbose output do
# make VERBOSE=2
ifndef BDB
BDB = /usr
endif
BDB_CPPFLAGS = -I$(BDB)/include
BDB_LDFLAGS = -L$(BDB)/lib
ifeq ($(OSX),OSX)
#Note: OSX 10.4 needs DYLD_LIBRARY_PATH. OSX 10.5 claims to support -rpath.
LIBEXT=dylib
......@@ -17,15 +23,11 @@ else
SETTOKUENV=true
UNSETTOKUENV=true
LIBEXT=so
BDB_LDFLAGS += -L$(BDB)/lib -ldb -Wl,-rpath,$(BDB)/lib
TDB_LOADLIBES = -L../ -ldb -Wl,-rpath,..
VGRIND=valgrind --quiet --error-exitcode=1 --leak-check=yes
endif
ifneq ($(BDB),"")
BDB_CPPFLAGS = -I$(BDB)/include
BDB_LDFLAGS = -L$(BDB)/lib
endif
# VERBOSE=true
LIBNAME=libdb.$(LIBEXT)
......
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