Makefile.am 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. # Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
  2. #
  3. # This program is free software; you can redistribute it and/or modify
  4. # it under the terms of the GNU General Public License as published by
  5. # the Free Software Foundation; either version 2 of the License, or
  6. # (at your option) any later version.
  7. #
  8. # This program is distributed in the hope that it will be useful,
  9. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. # GNU General Public License for more details.
  12. #
  13. # You should have received a copy of the GNU General Public License
  14. # along with this program; if not, write to the Free Software
  15. # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  16. #called from the top level Makefile
  17. MYSQLDATAdir = $(localstatedir)
  18. MYSQLSHAREdir = $(pkgdatadir)
  19. MYSQLBASEdir= $(prefix)
  20. MYSQLLIBdir= $(pkglibdir)
  21. pkgplugindir = $(pkglibdir)/plugin
  22. INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include \
  23. -I$(top_srcdir)/regex \
  24. -I$(top_srcdir)/sql \
  25. -I$(srcdir)
  26. SUBDIRS = ../../include ../../mysys ../../strings ../../dbug ../../extra
  27. WRAPLIBS=
  28. LDADD =
  29. DEFS= @DEFS@ \
  30. -D_REENTRANT -D_PTHREADS -DENGINE -DSTORAGE_ENGINE -DMYSQL_SERVER
  31. noinst_HEADERS = ha_sphinx.h
  32. EXTRA_LTLIBRARIES = ha_sphinx.la
  33. pkgplugin_LTLIBRARIES = @plugin_sphinx_shared_target@ sphinx.la
  34. ha_sphinx_la_LDFLAGS = -module -rpath $(MYSQLLIBdir)
  35. ha_sphinx_la_CXXFLAGS= $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
  36. ha_sphinx_la_CFLAGS = $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
  37. ha_sphinx_la_SOURCES = ha_sphinx.cc
  38. sphinx_la_LDFLAGS = -module
  39. sphinx_la_CXXFLAGS = $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
  40. sphinx_la_CFLAGS = $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
  41. sphinx_la_SOURCES = snippets_udf.cc
  42. EXTRA_LIBRARIES = libsphinx.a
  43. noinst_LIBRARIES = @plugin_sphinx_static_target@
  44. libsphinx_a_CXXFLAGS = $(AM_CFLAGS)
  45. libsphinx_a_CFLAGS = $(AM_CFLAGS)
  46. libsphinx_a_SOURCES= ha_sphinx.cc
  47. EXTRA_DIST = cmakelists.txt
  48. # Don't update the files from bitkeeper
  49. %::SCCS/s.%