Commit 9855fc86 authored by Martyn Russell's avatar Martyn Russell

build: Remove WARN_CFLAGS and GCOV_{CFLAGS|LIBS}, use BUILD_{CFLAGS|LIBS} instead

parent 893e1ccc
......@@ -451,6 +451,13 @@ PKG_CHECK_MODULES(TRACKER_SEARCH_BAR, [$TRACKER_SEARCH_BAR_REQUIRED],
[have_tracker_search_bar=yes],
[have_tracker_search_bar=no])
# General CFLAGS/LIBS
BUILD_CFLAGS="${WARN_CFLAGS} ${GCOV_CFLAGS} -DG_LOG_DOMAIN=\\\"Tracker\\\" -DTRACKER_COMPILATION"
BUILD_LIBS="${GCOV_LIBS}"
AC_SUBST(BUILD_CFLAGS)
AC_SUBST(BUILD_LIBS)
# Check for enca, detects defect Russian or Cyrillic language specifics in mp3s
AC_ARG_WITH(enca,
AS_HELP_STRING([--with-enca],
......
......@@ -3,8 +3,7 @@ include $(top_srcdir)/Makefile.decl
noinst_PROGRAMS = ontology-graph ttl2sgml
INCLUDES = \
-DG_LOG_DOMAIN=\"Tracker\" \
-DTRACKER_COMPILATION \
$(BUILD_CFLAGS) \
-DTOP_SRCDIR=\"$(top_srcdir)\" \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/libtracker-sparql \
......@@ -12,7 +11,6 @@ INCLUDES = \
-I$(top_builddir)/src \
-I$(top_builddir)/src/libtracker-sparql \
-I$(top_builddir)/src/libtracker-data \
$(WARN_CFLAGS) \
$(GLIB2_CFLAGS) \
$(GIO_CFLAGS) \
$(DBUS_CFLAGS)
......
include $(top_srcdir)/Makefile.decl
INCLUDES = \
$(BUILD_CFLAGS) \
-DSHAREDIR=\""$(datadir)"\" \
-DG_LOG_DOMAIN=\"Tracker\" \
-DTRACKER_COMPILATION \
-I$(top_srcdir)/src \
-I$(top_builddir)/src \
-I$(top_builddir)/src/libtracker-client \
$(WARN_CFLAGS) \
$(GLIB2_CFLAGS) \
$(GCOV_CFLAGS) \
$(GIO_CFLAGS) \
$(DBUS_CFLAGS)
......@@ -25,11 +22,11 @@ tracker_miner_test_LDADD = \
$(top_builddir)/src/libtracker-client/libtracker-client-@TRACKER_API_VERSION@.la \
$(top_builddir)/src/libtracker-sparql/libtracker-sparql-@TRACKER_API_VERSION@.la \
$(top_builddir)/src/libtracker-common/libtracker-common.la \
$(BUILD_LIBS) \
$(DBUS_LIBS) \
$(GMODULE_LIBS) \
$(GTHREAD_LIBS) \
$(GIO_LIBS) \
$(GCOV_LIBS) \
$(GLIB2_LIBS) \
-lz \
-lm
......@@ -3,14 +3,11 @@ include $(top_srcdir)/Makefile.decl
modulesdir = $(libdir)/tracker-$(TRACKER_API_VERSION)/sparql-modules
INCLUDES = \
-DG_LOG_DOMAIN=\"Tracker\" \
-DTRACKER_COMPILATION \
$(BUILD_CFLAGS) \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/libtracker-sparql \
-I$(top_builddir)/src \
-I$(top_builddir)/src/libtracker-sparql \
$(WARN_CFLAGS) \
$(GCOV_CFLAGS) \
$(LIBTRACKER_BUS_CFLAGS)
modules_LTLIBRARIES = libtracker-bus.la
......@@ -51,7 +48,7 @@ BUILT_SOURCES = libtracker-bus.vala.stamp
libtracker_bus_la_LIBADD = \
$(top_builddir)/src/libtracker-sparql/libtracker-sparql-$(TRACKER_API_VERSION).la \
$(top_builddir)/src/libtracker-common/libtracker-common.la \
$(GCOV_LIBS) \
$(BUILD_LIBS) \
$(LIBTRACKER_BUS_LIBS)
MAINTAINERCLEANFILES = \
......
include $(top_srcdir)/Makefile.decl
INCLUDES = \
$(BUILD_CFLAGS) \
-DLOCALEDIR=\""$(localedir)"\" \
-DG_LOG_DOMAIN=\"Tracker\" \
-DTRACKER_COMPILATION \
-I$(top_srcdir)/src \
-I$(top_builddir)/src/libtracker-client \
$(WARN_CFLAGS) \
$(GCOV_CFLAGS) \
$(LIBTRACKER_CLIENT_CFLAGS)
lib_LTLIBRARIES = libtracker-client-@TRACKER_API_VERSION@.la
......
include $(top_srcdir)/Makefile.decl
INCLUDES = \
$(BUILD_CFLAGS) \
-DSHAREDIR=\""$(datadir)"\" \
-DG_LOG_DOMAIN=\"Tracker\" \
-DTRACKER_COMPILATION \
-I$(top_srcdir)/src \
$(WARN_CFLAGS) \
$(GCOV_CFLAGS) \
$(HAL_CFLAGS) \
$(UPOWER_CFLAGS) \
$(LIBTRACKER_COMMON_CFLAGS)
......@@ -77,7 +74,7 @@ libtracker_common_la_LDFLAGS = \
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
libtracker_common_la_LIBADD = \
$(GCOV_LIBS) \
$(BUILD_LIBS) \
$(LIBTRACKER_COMMON_LIBS) \
$(HAL_LIBS) \
$(UPOWER_LIBS)
......
include $(top_srcdir)/Makefile.decl
INCLUDES = \
$(BUILD_CFLAGS) \
-DSHAREDIR=\""$(datadir)"\" \
-DG_LOG_DOMAIN=\"Tracker\" \
-DTRACKER_COMPILATION \
-I$(top_srcdir)/src \
-I$(top_builddir)/src \
-I$(top_srcdir)/src/libtracker-sparql \
-I$(top_builddir)/src/libtracker-sparql \
$(WARN_CFLAGS) \
$(GCOV_CFLAGS) \
$(LIBTRACKER_DATA_CFLAGS) \
$(UNICODE_SUPPORT_CFLAGS)
......
......@@ -3,14 +3,11 @@ include $(top_srcdir)/Makefile.decl
modulesdir = $(libdir)/tracker-$(TRACKER_API_VERSION)/sparql-modules
INCLUDES = \
-DG_LOG_DOMAIN=\"Tracker\" \
-DTRACKER_COMPILATION \
$(BUILD_CFLAGS) \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/libtracker-sparql \
-I$(top_srcdir)/src/libtracker-data \
-I$(top_builddir)/src \
$(WARN_CFLAGS) \
$(GCOV_CFLAGS) \
$(LIBTRACKER_DIRECT_CFLAGS)
modules_LTLIBRARIES = libtracker-direct.la
......@@ -43,7 +40,7 @@ BUILT_SOURCES = libtracker-direct.vala.stamp
libtracker_direct_la_LIBADD = \
$(top_builddir)/src/libtracker-data/libtracker-data.la \
$(GCOV_LIBS) \
$(BUILD_LIBS) \
$(LIBTRACKER_DIRECT_LIBS)
MAINTAINERCLEANFILES = \
......
include $(top_srcdir)/Makefile.decl
INCLUDES = \
$(BUILD_CFLAGS) \
-DSHAREDIR=\""$(datadir)"\" \
-DG_LOG_DOMAIN=\"Tracker\" \
-DTRACKER_COMPILATION \
-I$(top_srcdir)/src \
-I$(top_builddir)/src \
-I$(top_builddir)/src/libtracker-sparql \
$(WARN_CFLAGS) \
$(GCOV_CFLAGS) \
$(LIBTRACKER_EXTRACT_CFLAGS) \
$(LIBIPTCDATA_CFLAGS) \
$(LIBEXIF_CFLAGS) \
......@@ -45,7 +42,7 @@ libtracker_extract_@TRACKER_API_VERSION@_la_LDFLAGS = \
libtracker_extract_@TRACKER_API_VERSION@_la_LIBADD = \
$(top_builddir)/src/libtracker-sparql/libtracker-sparql-@TRACKER_API_VERSION@.la \
$(top_builddir)/src/libtracker-common/libtracker-common.la \
$(GCOV_LIBS) \
$(BUILD_LIBS) \
$(LIBTRACKER_EXTRACT_LIBS) \
$(LIBIPTCDATA_LIBS) \
$(LIBEXIF_LIBS) \
......
include $(top_srcdir)/Makefile.decl
INCLUDES = \
$(BUILD_CFLAGS) \
-I$(top_srcdir)/src \
-DTRACKER_COMPILATION \
-DNDEBUG \
$(WARN_CFLAGS) \
$(GCOV_CFLAGS) \
$(LIBTRACKER_FTS_CFLAGS) \
$(UNICODE_SUPPORT_CFLAGS)
......@@ -34,6 +32,6 @@ endif
libtracker_fts_la_LIBADD = \
$(top_builddir)/src/libtracker-common/libtracker-common.la \
$(GCOV_LIBS) \
$(BUILD_LIBS) \
$(LIBTRACKER_FTS_LIBS) \
$(UNICODE_SUPPORT_LIBS)
......@@ -6,15 +6,12 @@ include $(top_srcdir)/Makefile.decl
include Makefile-shared-sources.decl
INCLUDES = \
$(BUILD_CFLAGS) \
-DSHAREDIR=\""$(datadir)"\" \
-DDBUS_SERVICES_DIR=\""$(DBUS_SERVICES_DIR)"\" \
-DG_LOG_DOMAIN=\"Tracker\" \
-DTRACKER_COMPILATION \
-DTRACKER_MINERS_DIR=\""$(datadir)/tracker/miners"\" \
-I$(top_srcdir)/src \
-I$(top_builddir)/src \
$(WARN_CFLAGS) \
$(GCOV_CFLAGS) \
$(LIBTRACKER_MINER_CFLAGS)
lib_LTLIBRARIES = libtracker-miner-@TRACKER_API_VERSION@.la
......@@ -62,7 +59,7 @@ libtracker_miner_@TRACKER_API_VERSION@_la_LDFLAGS = \
libtracker_miner_@TRACKER_API_VERSION@_la_LIBADD = \
$(top_builddir)/src/libtracker-common/libtracker-common.la \
$(top_builddir)/src/libtracker-sparql/libtracker-sparql-@TRACKER_API_VERSION@.la \
$(GCOV_LIBS) \
$(BUILD_LIBS) \
$(LIBTRACKER_MINER_LIBS)
if HAVE_GNOME_KEYRING
......
......@@ -3,13 +3,10 @@ include $(top_srcdir)/Makefile.decl
modulesdir = $(libdir)/tracker-$(TRACKER_API_VERSION)/sparql-modules
INCLUDES = \
-DG_LOG_DOMAIN=\"Tracker\" \
-DTRACKER_COMPILATION \
$(BUILD_CFLAGS) \
-DSPARQL_MODULES_DIR=\""$(modulesdir)"\" \
-I$(top_srcdir)/src \
-I$(top_builddir)/src \
$(WARN_CFLAGS) \
$(GCOV_CFLAGS) \
$(LIBTRACKER_SPARQL_CFLAGS)
lib_LTLIBRARIES = libtracker-sparql-@TRACKER_API_VERSION@.la
......@@ -58,7 +55,7 @@ vapi_DATA = \
tracker-sparql-$(TRACKER_API_VERSION).deps
libtracker_sparql_@TRACKER_API_VERSION@_la_LIBADD = \
$(GCOV_LIBS) \
$(BUILD_LIBS) \
$(LIBTRACKER_SPARQL_LIBS)
MAINTAINERCLEANFILES = \
......
include $(top_srcdir)/Makefile.decl
INCLUDES = \
-Wall \
$(BUILD_CFLAGS) \
-DSHAREDIR=\""$(datadir)"\" \
-DLOCALEDIR=\""$(localedir)"\" \
-DLIBEXEC_PATH=\""$(libexecdir)"\" \
-DG_LOG_DOMAIN=\"Tracker\" \
-DTRACKER_COMPILATION \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/libtracker-sparql \
-I$(top_builddir)/src \
-I$(top_builddir)/src/libtracker-sparql \
$(WARN_CFLAGS) \
$(GCOV_CFLAGS) \
$(TRACKER_MINER_FLICKR_CFLAGS)
VALAFLAGS = \
......@@ -36,7 +32,7 @@ tracker_miner_flickr_SOURCES = \
tracker_miner_flickr_LDADD = \
$(top_builddir)/src/libtracker-miner/libtracker-miner-@TRACKER_API_VERSION@.la \
$(top_builddir)/src/libtracker-sparql/libtracker-sparql-@TRACKER_API_VERSION@.la \
$(GCOV_LIBS) \
$(BUILD_LIBS) \
$(TRACKER_MINER_FLICKR_LIBS)
vapi_sources = \
......
include $(top_srcdir)/Makefile.decl
INCLUDES = \
-Wall \
$(BUILD_CFLAGS) \
-DSHAREDIR=\""$(datadir)"\" \
-DLOCALEDIR=\""$(localedir)"\" \
-DLIBEXEC_PATH=\""$(libexecdir)"\" \
-DG_LOG_DOMAIN=\"Tracker\" \
-DTRACKER_COMPILATION \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/libtracker-sparql \
-I$(top_builddir)/src \
......@@ -16,8 +14,6 @@ INCLUDES = \
-I$(top_builddir)/src/libtracker-data \
-I$(top_srcdir)/src/libtracker-sparql \
-I$(top_builddir)/src/libtracker-sparql \
$(WARN_CFLAGS) \
$(GCOV_CFLAGS) \
$(TRACKER_MINER_FS_CFLAGS)
libexec_PROGRAMS = tracker-miner-fs
......@@ -40,7 +36,7 @@ tracker_miner_fs_LDADD = \
$(top_builddir)/src/libtracker-sparql/libtracker-sparql-@TRACKER_API_VERSION@.la \
$(top_builddir)/src/libtracker-data/libtracker-data.la \
$(top_builddir)/src/libtracker-common/libtracker-common.la \
$(GCOV_LIBS) \
$(BUILD_LIBS) \
$(TRACKER_MINER_FS_LIBS)
if HAVE_MEEGOTOUCH
......
include $(top_srcdir)/Makefile.decl
INCLUDES = \
-Wall \
$(BUILD_CFLAGS) \
-DSHAREDIR=\""$(datadir)"\" \
-DLOCALEDIR=\""$(localedir)"\" \
-DLIBEXEC_PATH=\""$(libexecdir)"\" \
-DG_LOG_DOMAIN=\"Tracker\" \
-DTRACKER_COMPILATION \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/libtracker-sparql \
-I$(top_builddir)/src \
-I$(top_builddir)/src/libtracker-sparql \
$(WARN_CFLAGS) \
$(GCOV_CFLAGS) \
$(TRACKER_MINER_RSS_CFLAGS)
libexec_PROGRAMS = tracker-miner-rss
......@@ -26,5 +22,5 @@ tracker_miner_rss_LDADD = \
$(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 \
$(GCOV_LIBS) \
$(BUILD_LIBS) \
$(TRACKER_MINER_RSS_LIBS)
include $(top_srcdir)/Makefile.decl
INCLUDES = \
$(BUILD_CFLAGS) \
-I$(top_srcdir)/src \
-DGETTEXT_PACKAGE="\"$(GETTEXT_PACKAGE)\"" \
-DLOCALEDIR="\"$(localedir)\"" \
-DG_LOG_DOMAIN=\"Tracker\" \
-DTRACKER_COMPILATION \
-I$(top_builddir)/src \
-I$(top_builddir)/src/libtracker-sparql \
$(WARN_CFLAGS) \
$(DBUS_CFLAGS) \
$(EVOLUTION_PLUGIN_CFLAGS) \
$(GCOV_CFLAGS)
$(EVOLUTION_PLUGIN_CFLAGS)
%.eplug.in: %.eplug.xml
LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@
......@@ -39,9 +35,9 @@ 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) \
$(EVOLUTION_PLUGIN_LIBS) \
$(DBUS_LIBS) \
$(GCOV_LIBS)
$(DBUS_LIBS)
@INTLTOOL_DESKTOP_RULE@
......
include $(top_srcdir)/Makefile.decl
INCLUDES = \
$(BUILD_CFLAGS) \
-DLOCALEDIR=\""$(localedir)"\" \
-DG_LOG_DOMAIN=\"Tracker\" \
-DTRACKER_COMPILATION \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/libtracker-sparql \
-I$(top_builddir)/src \
......@@ -12,8 +11,6 @@ INCLUDES = \
-I$(top_builddir)/src/libtracker-data \
-I$(top_srcdir)/src/libtracker-sparql \
-I$(top_builddir)/src/libtracker-sparql \
$(WARN_CFLAGS) \
$(GCOV_CFLAGS) \
$(TRACKER_CONTROL_CFLAGS)
bin_PROGRAMS = tracker-control
......@@ -27,7 +24,7 @@ tracker_control_LDADD = \
$(top_builddir)/src/libtracker-sparql/libtracker-sparql-@TRACKER_API_VERSION@.la \
$(top_builddir)/src/libtracker-data/libtracker-data.la \
$(top_builddir)/src/libtracker-common/libtracker-common.la \
$(GCOV_LIBS) \
$(BUILD_LIBS) \
$(TRACKER_CONTROL_LIBS)
dbus_sources = \
......
......@@ -4,16 +4,13 @@ module_flags = -module -avoid-version -no-undefined
modulesdir = $(libdir)/tracker-$(TRACKER_API_VERSION)/extract-modules
INCLUDES = \
$(BUILD_CFLAGS) \
-DLOCALEDIR=\""$(localedir)"\" \
-DTRACKER_EXTRACTORS_DIR=\"$(modulesdir)\" \
-DG_LOG_DOMAIN=\"Tracker\" \
-DTRACKER_COMPILATION \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/libtracker-sparql \
-I$(top_builddir)/src \
-I$(top_builddir)/src/libtracker-sparql \
$(GCOV_CFLAGS) \
$(WARN_CFLAGS) \
$(TRACKER_EXTRACT_CFLAGS) \
$(GDKPIXBUF_CFLAGS) \
$(LIBGIF_CFLAGS) \
......@@ -115,8 +112,8 @@ libextract_abw_la_LDFLAGS = $(module_flags)
libextract_abw_la_LIBADD = \
$(top_builddir)/src/libtracker-extract/libtracker-extract-@TRACKER_API_VERSION@.la \
$(top_builddir)/src/libtracker-common/libtracker-common.la \
$(GLIB2_LIBS) \
$(GCOV_LIBS)
$(BUILD_LIBS) \
$(GLIB2_LIBS)
# MP3
libextract_mp3_la_SOURCES = tracker-extract-mp3.c
......@@ -124,8 +121,8 @@ libextract_mp3_la_LDFLAGS = $(module_flags)
libextract_mp3_la_LIBADD = \
$(top_builddir)/src/libtracker-extract/libtracker-extract-@TRACKER_API_VERSION@.la \
$(top_builddir)/src/libtracker-common/libtracker-common.la \
$(GLIB2_LIBS) \
$(GCOV_LIBS)
$(BUILD_LIBS) \
$(GLIB2_LIBS)
if HAVE_ENCA
libextract_mp3_la_LIBADD += $(ENCA_LIBS)
......@@ -138,9 +135,9 @@ libextract_vorbis_la_LDFLAGS = $(module_flags)
libextract_vorbis_la_LIBADD = \
$(top_builddir)/src/libtracker-extract/libtracker-extract-@TRACKER_API_VERSION@.la \
$(top_builddir)/src/libtracker-common/libtracker-common.la \
$(LIBVORBIS_LIBS) \
$(BUILD_LIBS) \
$(GLIB2_LIBS) \
$(GCOV_LIBS)
$(LIBVORBIS_LIBS)
# Flac
libextract_flac_la_SOURCES = tracker-extract-flac.c $(escape_sources)
......@@ -148,9 +145,9 @@ libextract_flac_la_LDFLAGS = $(module_flags)
libextract_flac_la_LIBADD = \
$(top_builddir)/src/libtracker-extract/libtracker-extract-@TRACKER_API_VERSION@.la \
$(top_builddir)/src/libtracker-common/libtracker-common.la \
$(LIBFLAC_LIBS) \
$(BUILD_LIBS) \
$(GLIB2_LIBS) \
$(GCOV_LIBS)
$(LIBFLAC_LIBS)
# MPlayer
libextract_mplayer_la_SOURCES = tracker-extract-mplayer.c
......@@ -158,6 +155,7 @@ libextract_mplayer_la_LDFLAGS = $(module_flags)
libextract_mplayer_la_LIBADD = \
$(top_builddir)/src/libtracker-extract/libtracker-extract-@TRACKER_API_VERSION@.la \
$(top_builddir)/src/libtracker-common/libtracker-common.la \
$(BUILD_LIBS) \
$(GLIB2_LIBS)
# Oasis
......@@ -166,8 +164,8 @@ libextract_oasis_la_LDFLAGS = $(module_flags)
libextract_oasis_la_LIBADD = \
$(top_builddir)/src/libtracker-extract/libtracker-extract-@TRACKER_API_VERSION@.la \
$(top_builddir)/src/libtracker-common/libtracker-common.la \
$(GLIB2_LIBS) \
$(GCOV_LIBS)
$(BUILD_LIBS) \
$(GLIB2_LIBS)
# PNG
libextract_png_la_SOURCES = tracker-extract-png.c
......@@ -175,9 +173,9 @@ libextract_png_la_LDFLAGS = $(module_flags)
libextract_png_la_LIBADD = \
$(top_builddir)/src/libtracker-extract/libtracker-extract-@TRACKER_API_VERSION@.la \
$(top_builddir)/src/libtracker-common/libtracker-common.la \
$(GLIB2_LIBS) \
$(LIBPNG_LIBS) \
$(GCOV_LIBS)
$(BUILD_LIBS) \
$(GLIB2_LIBS) \
$(LIBPNG_LIBS)
# PS
libextract_ps_la_SOURCES = tracker-extract-ps.c
......@@ -185,8 +183,8 @@ libextract_ps_la_LDFLAGS = $(module_flags)
libextract_ps_la_LIBADD = \
$(top_builddir)/src/libtracker-extract/libtracker-extract-@TRACKER_API_VERSION@.la \
$(top_builddir)/src/libtracker-common/libtracker-common.la \
$(GLIB2_LIBS) \
$(GCOV_LIBS)
$(BUILD_LIBS) \
$(GLIB2_LIBS)
# Totem
libextract_totem_la_SOURCES = tracker-extract-totem.c
......@@ -194,25 +192,25 @@ libextract_totem_la_LDFLAGS = $(module_flags)
libextract_totem_la_LIBADD = \
$(top_builddir)/src/libtracker-extract/libtracker-extract-@TRACKER_API_VERSION@.la \
$(top_builddir)/src/libtracker-common/libtracker-common.la \
$(GLIB2_LIBS) \
$(GCOV_LIBS)
$(BUILD_LIBS) \
$(GLIB2_LIBS)
# XMP
libextract_xmp_la_SOURCES = tracker-extract-xmp.c
libextract_xmp_la_LDFLAGS = $(module_flags)
libextract_xmp_la_LIBADD = \
$(top_builddir)/src/libtracker-extract/libtracker-extract-@TRACKER_API_VERSION@.la \
$(GLIB2_LIBS) \
$(GCOV_LIBS)
$(BUILD_LIBS) \
$(GLIB2_LIBS)
# HTML
libextract_html_la_SOURCES = tracker-extract-html.c
libextract_html_la_LDFLAGS = $(module_flags)
libextract_html_la_LIBADD = \
$(top_builddir)/src/libtracker-extract/libtracker-extract-@TRACKER_API_VERSION@.la \
$(GLIB2_LIBS) \
$(LIBXML2_LIBS) \
$(GCOV_LIBS)
$(BUILD_LIBS) \
$(GLIB2_LIBS) \
$(LIBXML2_LIBS)
# MS Office
libextract_msoffice_la_SOURCES = tracker-extract-msoffice.c
......@@ -220,9 +218,9 @@ libextract_msoffice_la_LDFLAGS = $(module_flags)
libextract_msoffice_la_LIBADD = \
$(top_builddir)/src/libtracker-extract/libtracker-extract-@TRACKER_API_VERSION@.la \
$(top_builddir)/src/libtracker-common/libtracker-common.la \
$(LIBGSF_LIBS) \
$(BUILD_LIBS) \
$(GLIB2_LIBS) \
$(GCOV_LIBS)
$(LIBGSF_LIBS)
# PDF
libextract_pdf_la_SOURCES = tracker-extract-pdf.cpp
......@@ -230,36 +228,36 @@ libextract_pdf_la_LDFLAGS = $(module_flags)
libextract_pdf_la_LIBADD = \
$(top_builddir)/src/libtracker-extract/libtracker-extract-@TRACKER_API_VERSION@.la \
$(top_builddir)/src/libtracker-common/libtracker-common.la \
$(POPPLER_LIBS) \
$(BUILD_LIBS) \
$(GLIB2_LIBS) \
$(GCOV_LIBS)
$(POPPLER_LIBS)
# GStreamer
libextract_gstreamer_la_SOURCES = tracker-extract-gstreamer.c
libextract_gstreamer_la_LDFLAGS = $(module_flags)
libextract_gstreamer_la_LIBADD = \
$(top_builddir)/src/libtracker-extract/libtracker-extract-@TRACKER_API_VERSION@.la \
$(GSTREAMER_LIBS) \
$(BUILD_LIBS) \
$(GLIB2_LIBS) \
$(GCOV_LIBS)
$(GSTREAMER_LIBS)
# GStreamer helix
libextract_gstreamer_helix_la_SOURCES = tracker-extract-gstreamer-helix.c
libextract_gstreamer_helix_la_LDFLAGS = $(module_flags) $(albumart_flags)
libextract_gstreamer_helix_la_LIBADD = \
$(top_builddir)/src/libtracker-extract/libtracker-extract-@TRACKER_API_VERSION@.la \
$(GSTREAMER_LIBS) \
$(GLIB2_LIBS) \
$(GCOV_LIBS)
$(BUILD_LIBS) \
$(GLIB2_LIBS) \
$(GSTREAMER_LIBS)
# GUPnP DLNA
libextract_gupnp_dlna_la_SOURCES = tracker-extract-gupnp-dlna.c
libextract_gupnp_dlna_la_LDFLAGS = $(module_flags) $(albumart_flags)
libextract_gupnp_dlna_la_LIBADD = \
$(top_builddir)/src/libtracker-extract/libtracker-extract-@TRACKER_API_VERSION@.la \
$(GUPNP_DLNA_LIBS) \
$(GLIB2_LIBS) \
$(GCOV_LIBS)
$(BUILD_LIBS) \
$(GLIB2_LIBS) \
$(GUPNP_DLNA_LIBS)
# Xine
libextract_xine_la_SOURCES = tracker-extract-libxine.c
......@@ -267,9 +265,9 @@ libextract_xine_la_LDFLAGS = $(module_flags)
libextract_xine_la_LIBADD = \
$(top_builddir)/src/libtracker-extract/libtracker-extract-@TRACKER_API_VERSION@.la \
$(top_builddir)/src/libtracker-common/libtracker-common.la \
$(XINE_LIBS) \
$(GLIB2_LIBS) \
$(GCOV_LIBS)
$(BUILD_LIBS) \
$(GLIB2_LIBS) \
$(XINE_LIBS)
# GIF
libextract_gif_la_SOURCES = tracker-extract-gif.c
......@@ -277,9 +275,9 @@ libextract_gif_la_LDFLAGS = $(module_flags)
libextract_gif_la_LIBADD = \
$(top_builddir)/src/libtracker-extract/libtracker-extract-@TRACKER_API_VERSION@.la \
$(top_builddir)/src/libtracker-common/libtracker-common.la \
$(LIBGIF_LIBS) \
$(GLIB2_LIBS) \
$(GCOV_LIBS)
$(BUILD_LIBS) \
$(GLIB2_LIBS) \
$(LIBGIF_LIBS)
# JPEG
libextract_jpeg_la_SOURCES = tracker-extract-jpeg.c
......@@ -287,36 +285,36 @@ libextract_jpeg_la_LDFLAGS = $(module_flags)
libextract_jpeg_la_LIBADD = \
$(top_builddir)/src/libtracker-extract/libtracker-extract-@TRACKER_API_VERSION@.la \
$(top_builddir)/src/libtracker-common/libtracker-common.la \
$(LIBJPEG_LIBS) \
$(GLIB2_LIBS) \
$(GCOV_LIBS)
$(BUILD_LIBS) \
$(GLIB2_LIBS) \
$(LIBJPEG_LIBS)
# TIFF
libextract_tiff_la_SOURCES = tracker-extract-tiff.c $(xmp_sources) $(iptc_sources)
libextract_tiff_la_LDFLAGS = $(module_flags)
libextract_tiff_la_LIBADD = \
$(top_builddir)/src/libtracker-extract/libtracker-extract-@TRACKER_API_VERSION@.la \
$(LIBTIFF_LIBS) \
$(GLIB2_LIBS) \
$(GCOV_LIBS)
$(BUILD_LIBS) \
$(GLIB2_LIBS) \
$(LIBTIFF_LIBS)
# Playlists using totem-pl-parser
libextract_playlist_la_SOURCES = tracker-extract-playlist.c
libextract_playlist_la_LDFLAGS = $(module_flags)
libextract_playlist_la_LIBADD = \
$(top_builddir)/src/libtracker-extract/libtracker-extract-@TRACKER_API_VERSION@.la \
$(TOTEM_PL_PARSER_LIBS) \
$(GLIB2_LIBS) \
$(GCOV_LIBS)
$(BUILD_LIBS) \
$(GLIB2_LIBS) \
$(TOTEM_PL_PARSER_LIBS)
# TIFF
libextract_text_la_SOURCES = tracker-extract-text.c
libextract_text_la_LDFLAGS = $(module_flags)
libextract_text_la_LIBADD = \
$(top_builddir)/src/libtracker-extract/libtracker-extract-@TRACKER_API_VERSION@.la \
$(BUILD_LIBS) \
$(GIO_LIBS) \
$(GLIB2_LIBS) \
$(GCOV_LIBS)
$(GLIB2_LIBS)
#
# Binaries
......@@ -345,7 +343,7 @@ tracker_extract_LDADD = \
$(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 \
$(GCOV_LIBS) \
$(BUILD_LIBS) \
$(TRACKER_EXTRACT_LIBS)
if HAVE_LIBGSF
......
include $(top_srcdir)/Makefile.decl
INCLUDES = \
$(BUILD_CFLAGS) \
-DSHAREDIR=\""$(datadir)"\" \
-DLOCALEDIR=\""$(localedir)"\" \
-DMAIL_MODULES_DIR=\""$(libdir)"/tracker-$(TRACKER_API_VERSION)/mail-modules\" \
-DPUSH_MODULES_DIR=\""$(libdir)/tracker-$(TRACKER_API_VERSION)/push-modules/daemon"\" \
-DG_LOG_DOMAIN=\"Tracker\" \
-DTRACKER_COMPILATION \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/libtracker-sparql \
-I$(top_srcdir)/src/libtracker-data \
-I$(top_builddir)/src \
-I$(top_builddir)/src/libtracker-sparql \
-I$(top_builddir)/src/libtracker-data \
$(WARN_CFLAGS) \
$(GCOV_CFLAGS) \
$(TRACKER_STORE_CFLAGS)
#
......@@ -48,11 +45,10 @@ tracker_store_SOURCES = \
tracker-steroids.h
tracker_store_LDADD = \
$(plugin_libs) \
$(top_builddir)/src/libtracker-data/libtracker-data.la \
$(top_builddir)/src/libtracker-common/libtracker-common.la \
$(top_builddir)/src/libtracker-sparql/libtracker-sparql-@TRACKER_API_VERSION@.la \
$(GCOV_LIBS) \
$(BUILD_LIBS) \
$(TRACKER_STORE_LIBS)
marshal_sources = \
......
include $(top_srcdir)/Makefile.decl
INCLUDES = \
$(BUILD_CFLAGS) \
-DLOCALEDIR=\""$(localedir)"\" \
-DG_LOG_DOMAIN=\"Tracker\" \
-DTRACKER_COMPILATION \
-I$(top_srcdir)/src \
-I$(top_builddir)/src \
-I$(top_builddir)/src/libtracker-sparql \
$(WARN_CFLAGS) \
$(GCOV_CFLAGS) \
$(TRACKER_UTILS_CFLAGS)
libs = \
$(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 \
$(GCOV_LIBS) \
$(BUILD_LIBS) \
$(TRACKER_UTILS_LIBS)
bin_PROGRAMS = \
......
......@@ -4,16 +4,13 @@ module_flags = -module -avoid-version -no-undefined
modulesdir = $(libdir)/tracker-$(TRACKER_API_VERSION)/writeback-modules
INCLUDES = \
$(BUILD_CFLAGS) \
-DLOCALEDIR=\""$(localedir)"\" \
-DMODULESDIR