~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to config/pandora-plugin

Merged in changes fixing VC detection.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
plugin_list=[]
28
28
plugin_am_file=None
29
29
plugin_ac_file=None
30
 
plugin_prefix='lib'
 
30
plugin_prefix=''
31
31
plugin_suffix='_plugin'
32
32
extra_cflags=''
33
33
extra_cppflags=''
149
149
      plugin_file.write("EXTRA_DIST += %(testsuitedir)s\n" % plugin)
150
150
  plugin_file.write("""
151
151
pkgplugin_LTLIBRARIES=%(pname)s.la
152
 
%(pname)s_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS) %(ldflags)s $(GCOV_LIBS)
 
152
%(pname)s_la_LDFLAGS=-avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS) %(ldflags)s $(GCOV_LIBS)
153
153
%(pname)s_la_LIBADD=%(libs)s
154
154
%(pname)s_la_DEPENDENCIES=%(libs)s
155
155
%(pname)s_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=%(name)s -DPANDORA_MODULE_AUTHOR="%(author)s" -DPANDORA_MODULE_TITLE="%(title)s" -DPANDORA_MODULE_VERSION="%(version)s" -DPANDORA_MODULE_LICENSE=%(license)s %(cppflags)s
387
387
    plugin['cppflags']+= extra_cppflags
388
388
    plugin['cxxflags']+= extra_cxxflags
389
389
 
390
 
    plugin['pname']= "%s%s%s" % (plugin_prefix, plugin['name'], plugin_suffix)
 
390
    plugin['pname']= "lib%s%s%s" % (plugin_prefix, plugin['name'], plugin_suffix)
391
391
    plugin['root_plugin_dir']= root_plugin_dir
392
392
    plugin['plugin_prefix']= plugin_prefix
393
393
    plugin['plugin_suffix']= plugin_suffix
439
439
EXTRA_DIST += %(rel_path)s/plugin.ini
440
440
if %(build_conditional_tag)s
441
441
  pkgplugin_LTLIBRARIES+=%(root_plugin_dir)s/%(pname)s.la
442
 
  %(root_plugin_dir)s_%(pname)s_la_LDFLAGS=-module -avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS) %(ldflags)s $(GCOV_LIBS)
 
442
  %(root_plugin_dir)s_%(pname)s_la_LDFLAGS=-avoid-version -rpath $(pkgplugindir) $(AM_LDFLAGS) %(ldflags)s $(GCOV_LIBS)
443
443
  %(root_plugin_dir)s_%(pname)s_la_LIBADD=%(libs)s
444
444
  %(root_plugin_dir)s_%(pname)s_la_DEPENDENCIES=%(libs)s
445
445
  %(root_plugin_dir)s_%(pname)s_la_CPPFLAGS=$(AM_CPPFLAGS) -DPANDORA_DYNAMIC_PLUGIN -DPANDORA_MODULE_NAME=%(name)s -DPANDORA_MODULE_AUTHOR="%(author)s" -DPANDORA_MODULE_TITLE="%(title)s" -DPANDORA_MODULE_VERSION="%(version)s" -DPANDORA_MODULE_LICENSE=%(license)s %(cppflags)s