aboutsummaryrefslogtreecommitdiff
path: root/libcontextsubscriber/src/Makefile.am
blob: 9cc161a3bc5fdf990ab7fda45751408ca7be9211 (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
lib_LTLIBRARIES = libcontextsubscriber.la
libcontextsubscriber_la_SOURCES = contextproperty.cpp			\
	contextproperty.h propertyhandle.cpp propertyhandle.h		\
	provider.cpp provider.h safedbuspendingcallwatcher.h		\
	subscriberinterface.h subscriberinterface.cpp			\
	contextpropertyinfo.cpp contextpropertyinfo.h			\
	contextregistryinfo.cpp contextregistryinfo.h infobackend.h	\
	infobackend.cpp infoxmlbackend.h infoxmlbackend.cpp		\
	infoxmlkeysfinder.h infoxmlkeysfinder.cpp infokeydata.h		\
	cdbwriter.h cdbwriter.cpp cdbreader.cpp cdbreader.h		\
	infocdbbackend.cpp infocdbbackend.h dbusnamelistener.h		\
	dbusnamelistener.cpp handlesignalrouter.cpp			\
	handlesignalrouter.h queuedinvoker.cpp queuedinvoker.h		\
	loggingfeatures.h bluezinterface.h bluezinterface.cpp		\
	contextkitplugin.h contextkitplugin.cpp iproviderplugin.h

includecontextsubscriberdir=$(includedir)/contextsubscriber
includecontextsubscriber_HEADERS = contextproperty.h			\
	contextpropertyinfo.h contextregistryinfo.h iproviderplugin.h

AM_CXXFLAGS = -I$(top_srcdir)/common \
	      $(QtCore_CFLAGS) $(QtXml_CFLAGS) $(QtDBus_CFLAGS)	\
	      '-DDEFAULT_CONTEXT_PROVIDERS="@datadir@/contextkit/providers/"' \
	      '-DDEFAULT_CONTEXT_CORE_DECLARATIONS="@datadir@/contextkit/core.context"' \
	      '-DCONTEXT_LOG_MODULE_NAME="libcontextsubscriber"'

$(top_builddir)/common/libcommon.la:
	$(MAKE) -C $(top_builddir)/common libcommon.la

LIBS += $(CDB_LIBS) $(QtCore_LIBS) $(QtXml_LIBS) $(QtDBus_LIBS) 
libcontextsubscriber_la_LIBADD=$(top_builddir)/common/libcommon.la

.PHONY: $(top_builddir)/common/libcommon.la

# moccing
nodist_libcontextsubscriber_la_SOURCES = mocs.cpp
QT_TOMOC = $(filter %.h, $(libcontextsubscriber_la_SOURCES))
include $(top_srcdir)/am/qt.am

# because if you change configure parameter DEFAULT_CONTEXT_PROVIDERS,
# you should do a recompile
infocdbbackend.lo infoxmlbackend.lo: Makefile