Commit 487a6774 authored by Yoni Fogel's avatar Yoni Fogel

Port Makefile to OSX. Closes #105

git-svn-id: file:///svn/tokudb@887 c7de825b-a66e-492c-adef-691d508d4ae1
parent 585fe759
......@@ -15,6 +15,7 @@ ifeq ($(OSX),OSX)
#Note: OSX 10.4 needs DYLD_LIBRARY_PATH. OSX 10.5 claims to support -rpath.
LIBEXT=dylib
VGRIND=
BDB_SUPPRESSIONS=
TDB_LOADLIBES = -L../ -ldb
SETTOKUENV=export DYLD_LIBRARY_PATH=..
UNSETTOKUENV=unset DYLD_LIBRARY_PATH
......@@ -27,6 +28,7 @@ BDB_LDFLAGS += -Wl,-rpath,$(BDBDIR)/lib -lpthread
endif
TDB_LOADLIBES = -L../ -ldb -Wl,-rpath,..
VGRIND=valgrind --quiet --error-exitcode=1 --leak-check=yes
BDB_SUPPRESSIONS = --suppressions=bdb.supressions --gen-suppressions=all
endif
# VERBOSE=true
......@@ -72,8 +74,6 @@ ifeq ($(VERBOSE),2)
VERBVERBOSE=-v
endif
BDB_SUPPRESSIONS = --suppressions=bdb.supressions --gen-suppressions=all
# The @ sign makes the make quiet. If there is an error there is enough info to tell what test failed.
%.bdbrun: %.bdb
ifdef VERBOSE
......
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