3 # Where to install the plugin
4 plugindir = $(anjuta_plugin_dir)
6 # Plugin description file
7 plugin_in_files = anjuta-python-loader.plugin.in
8 %.plugin: %.plugin.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
10 plugin_DATA = $(plugin_in_files:.plugin.in=.plugin)
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
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'
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)\" \
32 -DPACKAGE_SRC_DIR=\"$(srcdir)\" \
33 -DG_LOG_DOMAIN=\"python-loader\"
36 plugin_LTLIBRARIES = libanjuta-python-loader.la
39 libanjuta_python_loader_la_SOURCES = plugin.c plugin.h
41 libanjuta_python_loader_la_LDFLAGS = $(ANJUTA_PLUGIN_LDFLAGS)
44 libanjuta_python_loader_la_LIBADD = \
55 -include $(top_srcdir)/git.mk