mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
81d3eb5440
configure.in: Removed unneeded call to old plugin syntax. include/mysql/plugin.h: Updates for daemon type (and fixed warning on declare end). plugin/fulltext/Makefile.am: Updated names so that we can install and test it. plugin/fulltext/plugin_example.c: Fixed wrong call. sql/mysqld.cc: Removed old have_example (we don't need it any longer). sql/set_var.cc: Removed old have_example sql/sql_plugin.cc: Added support for DAEMON type (just an internal raw plugin) storage/example/plug.in: Removed example static build so that we can test dynamic engines plugin/daemon_example/AUTHORS: New BitKeeper file ``plugin/daemon_example/AUTHORS'' plugin/daemon_example/ChangeLog: New BitKeeper file ``plugin/daemon_example/ChangeLog'' plugin/daemon_example/Makefile.am: New BitKeeper file ``plugin/daemon_example/Makefile.am'' plugin/daemon_example/NEWS: New BitKeeper file ``plugin/daemon_example/NEWS'' plugin/daemon_example/README: New BitKeeper file ``plugin/daemon_example/README'' plugin/daemon_example/configure.in: New BitKeeper file ``plugin/daemon_example/configure.in'' plugin/daemon_example/daemon_example.c: New BitKeeper file ``plugin/daemon_example/daemon_example.c'' plugin/daemon_example/plug.in: New BitKeeper file ``plugin/daemon_example/plug.in'' plugin/fulltext/plug.in: Added plug.in file so that we compile fulltext example!
21 lines
869 B
Makefile
21 lines
869 B
Makefile
#Makefile.am example for a daemon
|
|
MYSQLDATAdir = $(localstatedir)
|
|
MYSQLSHAREdir = $(pkgdatadir)
|
|
MYSQLBASEdir= $(prefix)
|
|
MYSQLLIBdir= $(pkglibdir)
|
|
INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include \
|
|
-I$(srcdir)
|
|
|
|
EXTRA_LTLIBRARIES = libdaemon_example.la
|
|
pkglib_LTLIBRARIES = @plugin_daemon_example_shared_target@
|
|
libdaemon_example_la_LDFLAGS = -module -rpath $(MYSQLLIBdir)
|
|
libdaemon_example_la_CXXFLAGS= $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
|
|
libdaemon_example_la_CFLAGS = $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
|
|
libdaemon_example_la_SOURCES = daemon_example.c
|
|
|
|
|
|
EXTRA_LIBRARIES = libdaemon_example.a
|
|
noinst_LIBRARIES = @plugin_daemon_example_static_target@
|
|
libdaemon_example_a_CXXFLAGS = $(AM_CFLAGS)
|
|
libdaemon_example_a_CFLAGS = $(AM_CFLAGS)
|
|
libdaemon_example_a_SOURCES= daemon_example.c
|