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),) ...@@ -17,22 +17,23 @@ ifneq ($(OSX),)
LIBEXT=dylib LIBEXT=dylib
VGRIND= VGRIND=
HGRIND= HGRIND=
TDB_LOADLIBES = -L../ -ltokudb # SETTOKUENV=export DYLD_LIBRARY_PATH=.. ;
SETTOKUENV=export DYLD_LIBRARY_PATH=.. ; # UNSETTOKUENV=unset DYLD_LIBRARY_PATH ;
UNSETTOKUENV=unset DYLD_LIBRARY_PATH ;
else else
CFLAGS = CFLAGS =
SETTOKUENV= # SETTOKUENV=
UNSETTOKUENV= # UNSETTOKUENV=
LIBEXT=so LIBEXT=so
VGRIND=valgrind --quiet --error-exitcode=1 --leak-check=full --show-reachable=yes
HGRIND=valgrind --quiet --tool=helgrind
endif
ifdef BDBDIR ifdef BDBDIR
BDB_LDFLAGS += -Wl,-rpath,$(BDBDIR)/lib BDB_LDFLAGS += -Wl,-rpath,$(BDBDIR)/lib
endif endif
BDB_LDFLAGS += -lpthread BDB_LDFLAGS += -lpthread
TDB_LOADLIBES = -L.. -ltokudb -Wl,-rpath,.. -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),) ifeq ($(VGRIND),)
BDB_SUPPRESSIONS = BDB_SUPPRESSIONS =
else 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