1
include $(top_srcdir)/m4-repo/autotroll.mk
3
# "test" only works when compiling as part of SyncEvolution
4
AM_CPPFLAGS = $(SYNCEVOLUTION_CFLAGS) -I$(srcdir)/../../../test $(BACKEND_CPPFLAGS)
5
EXTRA_DIST = configure-sub.in
6
MAINTAINERCLEANFILES = Makefile.in
8
# directories required by Buteo for plugins and config files
9
syncdir = $(libdir)/sync
10
profilesdir = $(sysconfdir)/sync
13
nobase_dist_profiles_DATA = \
14
profiles/sync/google-calendar.xml \
15
profiles/service/google-calendar.xml \
16
profiles/sync/google-contacts.xml \
17
profiles/service/google-contacts.xml \
18
profiles/sync/yahoo.xml \
19
profiles/service/yahoo.xml \
20
profiles/client/syncevo-buteo.xml
21
sync_LTLIBRARIES = libsyncevo-buteo-client.la
23
BUILT_SOURCES = ButeoBridge.moc.cpp
25
libsyncevo_buteo_client_la_SOURCES = \
28
nodist_libsyncevo_buteo_client_la_SOURCES = \
31
libsyncevo_buteo_client_la_LIBADD = $(BUTEO_LIBS) $(QT_LIBS) $(SYNCEVOLUTION_LIBS)
32
libsyncevo_buteo_client_la_LDFLAGS = -module -avoid-version $(QT_LDFLAGS)
33
libsyncevo_buteo_client_la_CPPFLAGS = $(AM_CPPFLAGS) $(QT_CPPFLAGS)
35
# Allow Qt to set some compile flags, but not the ones normally set via configure.
36
# In particular -W is not compatible with the SyncEvolution header files (we have
37
# unused parameters in some inline functions).
38
libsyncevo_buteo_client_la_CXXFLAGS = $(SYNCEVOLUTION_CXXFLAGS) $(BUTEO_CFLAGS) $(filter-out -O2 -g -W -Wall, $(QT_CXXFLAGS))