Commit adcd2b01 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

start work on autoconf Makefiles for the tokudb handlerton on linux refs[t:2474]

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@18778 c7de825b-a66e-492c-adef-691d508d4ae1
parent 1e6b208a
# Used to build Makefile.in
EXTRA_DIST = ha_tokudb.h CMakeFiles.txt plug.in tokudb_probes.d
# this is for regular mysql builds
# INCLUDES = $(MYSQL_INC) $(TOKUDB_INC)
# this is for debug mysql builds
INCLUDES = -DDBUG_ON -DSAFE_MUTEX -DEXTRA_DEBUG -DSAFEMALLOC -DPEDANTIC_SAFEMALLOC -DSAFE_MUTEX $(MYSQL_INC) $(TOKUDB_INC)
LIBS= -ltokudb
DTRACE = @DTRACE@
DTRACEFLAGS = @DTRACEFLAGS@
DTRACEFILES = .libs/libtokudb_engine_la-ha_tokudb.o
noinst_HEADERS = ha_tokudb.h \
tokudb_probes.h
lib_LTLIBRARIES = libtokudb_engine.la
libtokudb_engine_la_SOURCES = ha_tokudb.cc
libtokudb_engine_la_LIBADD =
if HAVE_DTRACE
libtokudb_engine_la_LIBADD += tokudb_probes.o
endif
libtokudb_engine_la_LDFLAGS = -module $(TOKUDB_LIB)
libtokudb_engine_la_CFLAGS = $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
libtokudb_engine_la_CXXFLAGS = $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
tokudb_probes.h: tokudb_probes.d
$(DTRACE) $(DTRACEFLAGS) -h -s tokudb_probes.d
mv tokudb_probes.h tokudb_probes.h.bak
sed "s/#include <unistd.h>//g" tokudb_probes.h.bak > tokudb_probes.h
rm tokudb_probes.h.bak
tokudb_probes.o:
$(DTRACE) $(DTRACEFLAGS) -G -s tokudb_probes.d $(DTRACEFILES)
# End
#called from the top level Makefile
MYSQLDATAdir = $(localstatedir)
MYSQLSHAREdir = $(pkgdatadir)
MYSQLBASEdir= $(prefix)
MYSQLLIBdir= $(pkglibdir)
TOKUDBdir= $(top_builddir)/../tokudb/release
INCLUDES = -I$(top_builddir)/include \
-I$(top_srcdir)/include \
-I$(top_srcdir)/regex \
-I$(top_srcdir)/sql \
-I$(srcdir) \
-I$(TOKUDBdir)/include
LDADD =
DEFS = @DEFS@
noinst_HEADERS =
EXTRA_LTLIBRARIES = ha_tokudb.la
pkglib_LTLIBRARIES = @plugin_tokudb_shared_target@
ha_tokudb_la_LIBADD = -L$(TOKUDBdir)/lib -ltokudb -ltokuportability
ha_tokudb_la_LDFLAGS = -module -rpath $(MYSQLLIBdir)
ha_tokudb_la_CXXFLAGS = $(AM_CFLAGS) -DMYSQL_PLUGIN
ha_tokudb_la_SOURCES = hatoku_hton.cc hatoku_cmp.cc ha_tokudb.cc
#EXTRA_LIBRARIES = libtokudb.a
#noinst_LIBRARIES = @plugin_tokudb_static_target@
#libtokudb_a_CXXFLAGS = $(AM_CFLAGS)
#libtokudb_a_SOURCES = ha_tokudb.cc
EXTRA_DIST = CMakeLists.txt plug.in
# Don't update the files from bitkeeper
%::SCCS/s.%
This diff is collapsed.
MYSQL_STORAGE_ENGINE(TokuDB,,[TokuDB Storage Engine], [TokuDB Engine], [max,max-no-ndb])
MYSQL_PLUGIN_STATIC(berkeley, [libtokudb.a])
MYSQL_PLUGIN_DYNAMIC(berkeley, [ha_tokudb.la])
MYSQL_STORAGE_ENGINE(tokudb,,[TokuDB Storage Engine with Fractal Trees], [TokuDB Engine with Fractal Trees], [max,max-no-ndb])
MYSQL_PLUGIN_DIRECTORY(tokudb, [storage/tokudb])
MYSQL_PLUGIN_DYNAMIC(tokudb, [ha_tokudb.la])
/* src/tokudb_config.h.in. Generated from configure.in by autoheader. */
/* Define to 1 if you have the <db.h> header file. */
#undef HAVE_DB_H
/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
/* Enables DTRACE Support */
#undef HAVE_DTRACE
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define to 1 if you have the `db' library (-ldb). */
#undef HAVE_LIBDB
/* Define to 1 if you have the <limits.h> header file. */
#undef HAVE_LIMITS_H
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
/* Define to 1 if you have the <syslimits.h> header file. */
#undef HAVE_SYSLIMITS_H
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Source directory for MySQL */
#undef MYSQL_SRC
/* Name of package */
#undef PACKAGE
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
/* Define to the full name of this package. */
#undef PACKAGE_NAME
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* tokudb release */
#undef TOKUDB_RELEASE
/* Version number of package */
#undef VERSION
/* Define to empty if `const' does not conform to ANSI C. */
#undef const
/* Define to `unsigned' if <sys/types.h> does not define. */
#undef size_t
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