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
|
# Dictionary Panel plugin
plugindir = $(libdir)/gtranslator/plugins
INCLUDES = \
-I$(top_srcdir) \
-I$(top_srcdir)/src \
$(GTRANSLATOR_CFLAGS) \
$(DICTIONARY_CFLAGS) \
$(WARN_CFLAGS) \
$(DISABLE_DEPRECATED)
plugin_LTLIBRARIES = libdict.la
libdict_la_SOURCES = \
gtr-dict-panel.h \
gtr-dict-panel.c \
gtr-gdict-sidebar.c \
gtr-gdict-sidebar.h \
gtr-dictionary-plugin.h \
gtr-dictionary-plugin.c
libdict_la_LDFLAGS = \
$(PLUGIN_LIBTOOL_FLAGS) \
$(GTRANSLATOR_LIBS) \
$(DICTIONARY_LIBS)
pixmaps_dir = $(datadir)/pixmaps/gtranslator
pixmaps__DATA = \
gnome-dictionary.png
# Plugin Info
plugin_in_files = gtr-dict.plugin.desktop.in
%.plugin: %.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:.plugin.desktop.in=.plugin)
gsettings_SCHEMAS = org.gnome.gtranslator.plugins.dictionary.gschema.xml
@INTLTOOL_XML_NOMERGE_RULE@
@GSETTINGS_RULES@
EXTRA_DIST = \
$(pixmaps__DATA) \
$(plugin_in_files) \
org.gnome.gtranslator.plugins.dictionary.gschema.xml.in.in
CLEANFILES = $(plugin_DATA) $(gsettings_SCHEMAS)
DISTCLEANFILES = $(plugin_DATA) $(gsettings_SCHEMAS)
MAINTAINERCLEANFILES = $(gsettings_SCHEMAS:.xml=.valid)
-include $(top_srcdir)/git.mk
|