Commit 74b8c88d authored by Zardosht Kasheff's avatar Zardosht Kasheff

port makefile to OSX

git-svn-id: file:///svn/tokudb@2940 c7de825b-a66e-492c-adef-691d508d4ae1
parent be7bf2ee
......@@ -17,22 +17,23 @@ ifneq ($(OSX),)
LIBEXT=dylib
VGRIND=
HGRIND=
TDB_LOADLIBES = -L../ -ltokudb
SETTOKUENV=export DYLD_LIBRARY_PATH=.. ;
UNSETTOKUENV=unset DYLD_LIBRARY_PATH ;
# SETTOKUENV=export DYLD_LIBRARY_PATH=.. ;
# UNSETTOKUENV=unset DYLD_LIBRARY_PATH ;
else
CFLAGS =
SETTOKUENV=
UNSETTOKUENV=
# SETTOKUENV=
# UNSETTOKUENV=
LIBEXT=so
VGRIND=valgrind --quiet --error-exitcode=1 --leak-check=full --show-reachable=yes
HGRIND=valgrind --quiet --tool=helgrind
endif
ifdef BDBDIR
BDB_LDFLAGS += -Wl,-rpath,$(BDBDIR)/lib
endif
BDB_LDFLAGS += -lpthread
TDB_LOADLIBES = -L.. -ltokudb -Wl,-rpath,.. -lpthread
VGRIND=valgrind --quiet --error-exitcode=1 --leak-check=full --show-reachable=yes
HGRIND=valgrind --quiet --tool=helgrind
endif
ifeq ($(VGRIND),)
BDB_SUPPRESSIONS =
else
......
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