Updated Makefile.am files after make -f git.mk
[anjuta.git] / plugins / python-loader / Makefile.am
blobc92c70c9966ca5e2dde43f5823f9e1565cf5c384
1 # Plugin description file
2 plugin_in_files = anjuta-python-loader.plugin.in
3 %.plugin: %.plugin.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
5 if HAVE_PYTHON
7 # Where to install the plugin
8 plugindir = $(anjuta_plugin_dir)
10 dist_plugin_DATA = $(plugin_in_files:.plugin.in=.plugin)
12 # NOTE :
13 # The naming convention is very intentional
14 # We are forced to use the prefix 'lib' by automake and libtool
15 #    There is probably a way to avoid it but it is not worth to effort
16 #    to find out.
17 # The 'anjuta_' prfix is a safety measure to avoid conflicts where the
18 #    plugin 'libpython.so' needs to link with the real 'libpython.so'
20 # Include paths
21 AM_CPPFLAGS = \
22         $(WARN_CFLAGS) \
23         -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
24         -DANJUTA_DATA_DIR=\"$(anjuta_data_dir)\" \
25         -DANJUTA_PLUGIN_DIR=\"$(anjuta_plugin_dir)\" \
26         -DANJUTA_IMAGE_DIR=\"$(anjuta_image_dir)\" \
27         -DANJUTA_GLADE_DIR=\"$(anjuta_glade_dir)\" \
28         -DANJUTA_UI_DIR=\"$(anjuta_ui_dir)\" \
29         $(LIBANJUTA_CFLAGS) \
30         $(PYTHON_CFLAGS) \
31         $(PYGOBJECT_CFLAGS) \
32         -DPACKAGE_SRC_DIR=\"$(srcdir)\" \
33         -DG_LOG_DOMAIN=\"python-loader\"
35 # The plugin
36 plugin_LTLIBRARIES = libanjuta-python-loader.la
38 # Plugin sources
39 libanjuta_python_loader_la_SOURCES = plugin.c plugin.h
41 libanjuta_python_loader_la_LDFLAGS = $(ANJUTA_PLUGIN_LDFLAGS)
43 # Plugin dependencies
44 libanjuta_python_loader_la_LIBADD = \
45         $(LIBANJUTA_LIBS) \
46         $(PYTHON_LIBS) \
47         $(PYGOBJECT_LIBS)
49 endif # HAVE_PYTHON
51 EXTRA_DIST = \
52         $(plugin_in_files)
54 -include $(top_srcdir)/git.mk