xed/plugins/spell/Makefile.am

64 lines
1.8 KiB
Makefile
Raw Normal View History

2011-11-07 13:46:58 -06:00
# Spell checker plugin
2011-11-07 16:52:18 -06:00
plugindir = $(PLUMA_PLUGINS_LIBS_DIR)
2011-11-07 13:46:58 -06:00
AM_CPPFLAGS = \
2011-11-07 13:46:58 -06:00
-I$(top_srcdir) \
2011-11-07 16:52:18 -06:00
$(PLUMA_CFLAGS) \
2011-11-07 13:46:58 -06:00
$(ENCHANT_CFLAGS) \
$(WARN_CFLAGS) \
$(DISABLE_DEPRECATED_CFLAGS)
BUILT_SOURCES = \
2011-11-07 16:52:18 -06:00
pluma-spell-marshal.c \
pluma-spell-marshal.h
2011-11-07 13:46:58 -06:00
plugin_LTLIBRARIES = libspell.la
libspell_la_SOURCES = \
2011-11-07 16:52:18 -06:00
pluma-spell-plugin.c \
pluma-spell-plugin.h \
pluma-spell-checker.c \
pluma-spell-checker.h \
pluma-spell-checker-dialog.c \
pluma-spell-checker-dialog.h \
pluma-spell-checker-language.c \
pluma-spell-checker-language.h \
pluma-spell-language-dialog.c \
pluma-spell-language-dialog.h \
pluma-automatic-spell-checker.c \
pluma-automatic-spell-checker.h \
pluma-spell-utils.c \
pluma-spell-utils.h \
2011-11-07 13:46:58 -06:00
$(BUILT_SOURCES)
libspell_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS)
2011-11-07 16:52:18 -06:00
libspell_la_LIBADD = $(PLUMA_LIBS) $(ENCHANT_LIBS)
2011-11-07 13:46:58 -06:00
2011-11-07 16:52:18 -06:00
uidir = $(PLUMA_PLUGINS_DATA_DIR)/spell
2011-11-07 13:46:58 -06:00
ui_DATA = spell-checker.ui languages-dialog.ui
2011-11-07 16:52:18 -06:00
pluma-spell-marshal.h: pluma-spell-marshal.list $(GLIB_GENMARSHAL)
$(AM_V_GEN) $(GLIB_GENMARSHAL) $< --header --prefix=pluma_marshal > $@
2011-11-07 13:46:58 -06:00
2011-11-07 16:52:18 -06:00
pluma-spell-marshal.c: pluma-spell-marshal.list $(GLIB_GENMARSHAL)
$(AM_V_GEN) echo "#include \"pluma-spell-marshal.h\"" > $@ && \
$(GLIB_GENMARSHAL) $< --body --prefix=pluma_marshal >> $@
2011-11-07 13:46:58 -06:00
2011-11-07 16:52:18 -06:00
plugin_in_files = spell.pluma-plugin.desktop.in
2011-11-07 13:46:58 -06:00
2011-11-07 16:52:18 -06:00
%.pluma-plugin: %.pluma-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
2011-11-07 13:46:58 -06:00
2011-11-07 16:52:18 -06:00
plugin_DATA = $(plugin_in_files:.pluma-plugin.desktop.in=.pluma-plugin)
2011-11-07 13:46:58 -06:00
EXTRA_DIST = \
$(ui_DATA) \
$(plugin_in_files) \
2011-11-07 16:52:18 -06:00
pluma-spell-marshal.list
2011-11-07 13:46:58 -06:00
CLEANFILES = $(BUILT_SOURCES) $(plugin_DATA)
dist-hook:
cd $(distdir); rm -f $(BUILT_SOURCES)
-include $(top_srcdir)/git.mk