blob: 2c5d7bb905b84f2a465bc92a02038052f396c3e9 (
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
|
include $(top_srcdir)/Makefile.decl
AM_CPPFLAGS = \
$(BUILD_CFLAGS) \
-I$(top_srcdir)/src \
-I$(top_builddir)/src \
-DGETTEXT_PACKAGE="\"$(GETTEXT_PACKAGE)\"" \
-DLOCALEDIR="\"$(localedir)\"" \
$(TRACKER_MINER_EVOLUTION_CFLAGS)
%.eplug.in: %.eplug.xml
LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@
%.eplug: %.eplug.in
sed -e "s|+PLUGIN_INSTALL_DIR+|$(TRACKER_MINER_EVOLUTION_INSTALL_DIR)|" \
-e "s|+GETTEXT_PACKAGE+|$(GETTEXT_PACKAGE)|" \
-e "s|+LOCALEDIR+|$(localedir)|" \
$< > $@
eplugindir = $(TRACKER_MINER_EVOLUTION_INSTALL_DIR)
eplugin_DATA = org-freedesktop-Tracker-evolution-plugin.eplug
eplugin_LTLIBRARIES = liborg-freedesktop-Tracker-evolution-plugin.la
# module_flags = -module -avoid-version -no-undefined
liborg_freedesktop_Tracker_evolution_plugin_la_SOURCES = \
tracker-evolution-plugin.c \
tracker-evolution-plugin.h
liborg_freedesktop_Tracker_evolution_plugin_la_LDFLAGS = -module -avoid-version
liborg_freedesktop_Tracker_evolution_plugin_la_LIBADD = \
$(top_builddir)/src/libtracker-sparql/libtracker-sparql-@TRACKER_API_VERSION@.la \
$(top_builddir)/src/libtracker-miner/libtracker-miner-@TRACKER_API_VERSION@.la \
$(top_builddir)/src/libtracker-common/libtracker-common.la \
$(BUILD_LIBS) \
$(TRACKER_MINER_EVOLUTION_LIBS)
@INTLTOOL_DESKTOP_RULE@
BUILT_SOURCES = \
$(eplugin_DATA)
CLEANFILES = \
$(BUILT_SOURCES) \
$(eplugin_DATA)
EXTRA_DIST = \
org-freedesktop-Tracker-evolution-plugin.eplug.xml
|