Fix a Gtk warning when checking path input in the log viewer.
[anjuta-git-plugin.git] / plugins / indent / Makefile.am
blobf8b3dee6ede93b388be7ca9b2a93c886e12535c3
1 # Sample Makefile for a anjuta plugin.
3 # Plugin glade file
4 indent_gladedir = $(anjuta_glade_dir)
5 indent_glade_DATA = indent.glade
7 # Plugin UI file
8 indent_uidir = $(anjuta_ui_dir)
9 indent_ui_DATA =  anjuta-indent.ui
11 # Plugin Icon file
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
26 # NOTE :
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
30 #    to find out.
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'
34 # Include paths
35 AM_CPPFLAGS = \
36         $(WARN_CFLAGS) \
37         $(DEPRECATED_FLAGS) \
38         $(LIBANJUTA_CFLAGS)
40 # Where to install the plugin
41 plugindir = $(anjuta_plugin_dir)
43 # The plugin
44 plugin_LTLIBRARIES = libanjuta-indent.la
46 # Plugin sources
47 libanjuta_indent_la_SOURCES = \
48         plugin.c \
49         plugin.h \
50         indent-dialog.c \
51         indent-dialog.h \
52         indent-util.c \
53         indent-util.h
55 libanjuta_indent_la_LDFLAGS = $(ANJUTA_PLUGIN_LDFLAGS)
57 # Plugin dependencies
58 libanjuta_indent_la_LIBADD = \
59         $(GTK_LIBS) \
60         $(LIBANJUTA_LIBS)
62 prefs_glade_files = indent.glade
63 include $(top_srcdir)/scripts/build-schemas.mk
65 EXTRA_DIST = \
66         $(plugin_in_files) \
67         $(indent_plugin_DATA) \
68         $(indent_ui_DATA) \
69         $(indent_pixmaps_DATA) \
70         $(indent_data) \
71         $(indent_glade_DATA)