1 # Sample Makefile for a anjuta plugin.
4 indent_gladedir = $(anjuta_glade_dir)
5 indent_glade_DATA = indent.glade
8 indent_uidir = $(anjuta_ui_dir)
9 indent_ui_DATA = anjuta-indent.ui
12 indent_pixmapsdir = $(anjuta_image_dir)
13 indent_pixmaps_DATA = anjuta-indent-plugin.png indent_auto.xpm indent_set.xpm
15 # Plugin description file
16 plugin_in_files = indent.plugin.in
17 %.plugin: %.plugin.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
19 indent_plugindir = $(anjuta_plugin_dir)
20 indent_plugin_DATA = $(plugin_in_files:.plugin.in=.plugin)
22 # Test file for anjuta indent
23 indent_datadir = $(anjuta_data_dir)
24 indent_data_DATA = indent_test.c
27 # The naming convention is very intentional
28 # We are forced to use the prefix 'lib' by automake and libtool
29 # There is probably a way to avoid it but it is not worth to effort
31 # The 'anjuta_' prfix is a safety measure to avoid conflicts where the
32 # plugin 'libpython.so' needs to link with the real 'libpython.so'
40 # Where to install the plugin
41 plugindir = $(anjuta_plugin_dir)
44 plugin_LTLIBRARIES = libanjuta-indent.la
47 libanjuta_indent_la_SOURCES = \
55 libanjuta_indent_la_LDFLAGS = $(ANJUTA_PLUGIN_LDFLAGS)
58 libanjuta_indent_la_LIBADD = \
62 prefs_glade_files = indent.glade
63 include $(top_srcdir)/scripts/build-schemas.mk
65 libanjuta_indent_la_DEPENDENCIES = \
70 $(indent_plugin_DATA) \
72 $(indent_pixmaps_DATA) \