link the handlerton to a version controlled libtokudb. merge -c 13578 from 2.1.0 to main. [t:1887]

git-svn-id: file:///svn/mysql/tokudb-engine/src@13590 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Rich Prohaska 2009-07-27 18:44:24 +00:00 committed by Yoni Fogel
parent 6d927e7aa0
commit 4107b184b1

View file

@ -8,6 +8,7 @@ DEBUG = 1
GCOV = 0
SINGLESO = 1
SYSTEM = $(shell uname -s | tr [A-Z] [a-z])
LIBTOKUDB=tokudb
# sources to target
SRCS = $(wildcard *.cc)
@ -39,9 +40,9 @@ CXXFLAGS += -g $(OPTFLAGS) $(GCOV_FLAGS) $(MYSQL_CXXFLAGS)
CXXFLAGS += -fPIC
LDFLAGS = -fPIC -shared -Wl,-soname -Wl,libtokudb_engine.so
ifeq ($(SINGLESO),1)
LIBS = $(TOKUDB)/src/ydb_lib.o $(TOKUDB)/lib/libtokudb.a $(TOKUDB)/lib/libtokuportability.a
LIBS = $(TOKUDB)/src/ydb_lib.o $(TOKUDB)/lib/lib$(LIBTOKUDB).a $(TOKUDB)/lib/libtokuportability.a
else
LIBS = -L$(TOKUDB)/lib -ltokudb -ltokuportability
LIBS = -L$(TOKUDB)/lib -l$(LIBTOKUDB) -ltokuportability
endif
LIBS += -lpthread -lz -lm -lc