message-view: bgo #727634 - Cannot copy build output
[anjuta.git] / plugins / indentation-c-style / Makefile.am
blob5ae8e9612e5d00e91f84c7f007c11169ba867a13
1 # Plugin glade file
2 indent_c_gladedir = $(anjuta_glade_dir)
3 dist_indent_c_glade_DATA = anjuta-indentation-c-style.ui
5 # Plugin UI file
6 indent_c_uidir = $(anjuta_ui_dir)
7 dist_indent_c_ui_DATA = anjuta-indentation-c-style.xml
9 # Plugin Icon file
10 indent_c_pixmapsdir = $(anjuta_image_dir)
11 dist_indent_c_pixmaps_DATA = \
12         anjuta-indentation-c-style-plugin.png \
13         anjuta-indentation-c-style-auto-16.png \
14         anjuta-indentation-c-style-auto-24.png
16 # Plugin description file
17 plugin_in_files = anjuta-indentation-c-style.plugin.in
18 %.plugin: %.plugin.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
20 indent_c_plugindir = $(anjuta_plugin_dir)
21 dist_indent_c_plugin_DATA = $(plugin_in_files:.plugin.in=.plugin)
23 # NOTE :
24 # The naming convention is very intentional
25 # We are forced to use the prefix 'lib' by automake and libtool
26 #    There is probably a way to avoid it but it is not worth to effort
27 #    to find out.
28 # The 'anjuta_' prfix is a safety measure to avoid conflicts where the
29 #    plugin 'libpython.so' needs to link with the real 'libpython.so'
31 # Include paths
32 AM_CPPFLAGS = \
33         $(WARN_CFLAGS) \
34         $(DEPRECATED_FLAGS) \
35         $(LIBANJUTA_CFLAGS) \
36         $(EXTRA_CFLAGS) \
37         -DG_LOG_DOMAIN=\"indentation-c-style\"
39 # Where to install the plugin
40 plugindir = $(anjuta_plugin_dir)
42 # The plugin
43 plugin_LTLIBRARIES = libanjuta-indentation-c-style.la
45 # Plugin sources
46 libanjuta_indentation_c_style_la_SOURCES = \
47         plugin.c \
48         plugin.h \
49         indentation.c \
50         indentation.h
52 libanjuta_indentation_c_style_la_LDFLAGS = $(ANJUTA_PLUGIN_LDFLAGS)
54 gsettings_in_file = org.gnome.anjuta.plugins.indent-c.gschema.xml.in
55 gsettings_SCHEMAS = $(gsettings_in_file:.xml.in=.xml)
56 @INTLTOOL_XML_NOMERGE_RULE@
57 @GSETTINGS_RULES@
60 EXTRA_DIST = \
61         $(plugin_in_files) \
62         $(gsettings_in_file)
64 CLEANFILES = \
65         $(gsettings_SCHEMAS)
67 -include $(top_srcdir)/git.mk