1 # Sample Makefile for a anjuta plugin.
4 sample_uidir = $(anjuta_ui_dir)
5 sample_ui_DATA = anjuta-sample.ui
8 sample_pixmapsdir = $(anjuta_image_dir)
9 sample_pixmaps_DATA = \
10 anjuta-sample-plugin.svg \
11 anjuta-sample-plugin-48.png
13 # Plugin description file
14 plugin_in_files = anjuta-sample.plugin.in
15 %.plugin: %.plugin.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
17 sample_plugindir = $(anjuta_plugin_dir)
18 sample_plugin_DATA = $(plugin_in_files:.plugin.in=.plugin)
21 # The naming convention is very intentional
22 # We are forced to use the prefix 'lib' by automake and libtool
23 # There is probably a way to avoid it but it is not worth to effort
25 # The 'anjuta_' prfix is a safety measure to avoid conflicts where the
26 # plugin 'libpython.so' needs to link with the real 'libpython.so'
34 # Where to install the plugin
35 plugindir = $(anjuta_plugin_dir)
38 plugin_LTLIBRARIES = libanjuta-sample.la
41 libanjuta_sample_la_SOURCES = \
45 libanjuta_sample_la_LDFLAGS = $(ANJUTA_PLUGIN_LDFLAGS)
48 libanjuta_sample_la_LIBADD = \
54 $(sample_plugin_DATA) \
56 $(sample_pixmaps_DATA)