Commit 5b7b4df0 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 1f19feab
Branches unavailable
Tags unavailable
...@@ -15,6 +15,7 @@ ifeq ($(OSX),OSX) ...@@ -15,6 +15,7 @@ ifeq ($(OSX),OSX)
#Note: OSX 10.4 needs DYLD_LIBRARY_PATH. OSX 10.5 claims to support -rpath. #Note: OSX 10.4 needs DYLD_LIBRARY_PATH. OSX 10.5 claims to support -rpath.
LIBEXT=dylib LIBEXT=dylib
VGRIND= VGRIND=
BDB_SUPPRESSIONS=
TDB_LOADLIBES = -L../ -ldb TDB_LOADLIBES = -L../ -ldb
SETTOKUENV=export DYLD_LIBRARY_PATH=.. SETTOKUENV=export DYLD_LIBRARY_PATH=..
UNSETTOKUENV=unset DYLD_LIBRARY_PATH UNSETTOKUENV=unset DYLD_LIBRARY_PATH
...@@ -27,6 +28,7 @@ BDB_LDFLAGS += -Wl,-rpath,$(BDBDIR)/lib -lpthread ...@@ -27,6 +28,7 @@ BDB_LDFLAGS += -Wl,-rpath,$(BDBDIR)/lib -lpthread
endif endif
TDB_LOADLIBES = -L../ -ldb -Wl,-rpath,.. TDB_LOADLIBES = -L../ -ldb -Wl,-rpath,..
VGRIND=valgrind --quiet --error-exitcode=1 --leak-check=yes VGRIND=valgrind --quiet --error-exitcode=1 --leak-check=yes
BDB_SUPPRESSIONS = --suppressions=bdb.supressions --gen-suppressions=all
endif endif
# VERBOSE=true # VERBOSE=true
...@@ -72,8 +74,6 @@ ifeq ($(VERBOSE),2) ...@@ -72,8 +74,6 @@ ifeq ($(VERBOSE),2)
VERBVERBOSE=-v VERBVERBOSE=-v
endif 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. # The @ sign makes the make quiet. If there is an error there is enough info to tell what test failed.
%.bdbrun: %.bdb %.bdbrun: %.bdb
ifdef VERBOSE 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