~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to config/register_plugins.py

  • Committer: Monty Taylor
  • Date: 2009-04-25 06:33:32 UTC
  • mto: (997.2.5 mordred)
  • mto: This revision was merged to the branch mainline in revision 1003.
  • Revision ID: mordred@inaugust.com-20090425063332-7mwb7spok7yt6h1z
Moved myisam to new plugin system.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/python
2
2
 
 
3
#  Copyright (C) 2009 Sun Microsystems
 
4
#
 
5
#  This program is free software; you can redistribute it and/or modify
 
6
#  it under the terms of the GNU General Public License as published by
 
7
#  the Free Software Foundation; version 2 of the License.
 
8
#
 
9
#  This program is distributed in the hope that it will be useful,
 
10
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12
#  GNU General Public License for more details.
 
13
#
 
14
#  You should have received a copy of the GNU General Public License
 
15
#  along with this program; if not, write to the Free Software
 
16
#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
17
 
 
18
 
3
19
# Find plugins in the tree and add them to the build system 
4
20
 
5
21
import os, ConfigParser, sys
77
93
  #
78
94
  plugin_am.write("""
79
95
plugin_lib%(name)s_dir=${top_srcdir}/%(rel_path)s
 
96
EXTRA_DIST += %(rel_path)s/plugin.ini
80
97
if %(build_conditional_tag)s
81
98
  noinst_LTLIBRARIES+=plugin/lib%(name)s_plugin.la
82
99
  plugin_lib%(name)s_plugin_la_LIBADD=%(libs)s