blob: 9d332f950abe463660e67ea955986ee7e5233d65 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# Spell checker plugin
plugindir = $(GEDIT_PLUGINS_LIBS_DIR)
INCLUDES = \
-I$(top_srcdir) \
$(GEDIT_CFLAGS) \
$(ENCHANT_CFLAGS) \
$(WARN_CFLAGS) \
$(DISABLE_DEPRECATED_CFLAGS)
BUILT_SOURCES = \
gedit-spell-marshal.c \
gedit-spell-marshal.h
plugin_LTLIBRARIES = libspell.la
libspell_la_SOURCES = \
gedit-spell-plugin.c \
gedit-spell-plugin.h \
gedit-spell-checker.c \
gedit-spell-checker.h \
gedit-spell-checker-dialog.c \
gedit-spell-checker-dialog.h \
gedit-spell-checker-language.c \
gedit-spell-checker-language.h \
gedit-spell-language-dialog.c \
gedit-spell-language-dialog.h \
gedit-automatic-spell-checker.c \
gedit-automatic-spell-checker.h \
gedit-spell-utils.c \
gedit-spell-utils.h \
$(BUILT_SOURCES)
libspell_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS)
libspell_la_LIBADD = $(GEDIT_LIBS) $(ENCHANT_LIBS)
uidir = $(GEDIT_PLUGINS_DATA_DIR)/spell
ui_DATA = spell-checker.ui languages-dialog.ui
gedit-spell-marshal.h: gedit-spell-marshal.list $(GLIB_GENMARSHAL)
$(AM_V_GEN) $(GLIB_GENMARSHAL) $< --header --prefix=gedit_marshal > $@
gedit-spell-marshal.c: gedit-spell-marshal.list $(GLIB_GENMARSHAL)
$(AM_V_GEN) echo "#include \"gedit-spell-marshal.h\"" > $@ && \
$(GLIB_GENMARSHAL) $< --body --prefix=gedit_marshal >> $@
plugin_in_files = spell.gedit-plugin.desktop.in
%.gedit-plugin: %.gedit-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
plugin_DATA = $(plugin_in_files:.gedit-plugin.desktop.in=.gedit-plugin)
EXTRA_DIST = \
$(ui_DATA) \
$(plugin_in_files) \
gedit-spell-marshal.list
CLEANFILES = $(BUILT_SOURCES) $(plugin_DATA)
dist-hook:
cd $(distdir); rm -f $(BUILT_SOURCES)
-include $(top_srcdir)/git.mk
|