summaryrefslogtreecommitdiff
path: root/src/backends/tdepim/tdepim.am
blob: e26e375e28716cb35add2a87e8a460a086f7ac5f (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
dist_noinst_DATA += src/backends/tdepim/configure-sub.in \
  src/backends/tdepim/README

src_backends_tdepim_lib = src/backends/tdepim/synctdepimcal.la \
   src/backends/tdepim/synctdepimabc.la \
   src/backends/tdepim/synctdepimnotes.la

MOSTLYCLEANFILES += $(src_backends_tdepim_lib)
if ENABLE_MODULES
src_backends_tdepim_backenddir = $(BACKENDS_DIRECTORY)
src_backends_tdepim_backend_LTLIBRARIES = $(src_backends_tdepim_lib)
else
noinst_LTLIBRARIES += $(src_backends_tdepim_lib)
endif

src_backends_tdepim_synctdepimcal_src = \
  src/backends/tdepim/TDEPIMSyncSource.h \
  src/backends/tdepim/TDEPIMSyncSource.cpp \
  src/backends/tdepim/TDEPIMCalendarSource.h \
  src/backends/tdepim/TDEPIMCalendarSource.cpp \
  $(NOP)

src_backends_tdepim_synctdepimabc_src = \
  src/backends/tdepim/TDEPIMSyncSource.h \
  src/backends/tdepim/TDEPIMSyncSource.cpp \
  src/backends/tdepim/TDEPIMAddressBookSource.h \
  src/backends/tdepim/TDEPIMAddressBookSource.cpp

src_backends_tdepim_synctdepimnotes_src = \
  src/backends/tdepim/TDEPIMSyncSource.h \
  src/backends/tdepim/TDEPIMSyncSource.cpp \
  src/backends/tdepim/KNotesIface_stub.h \
  src/backends/tdepim/KNotesIface_stub.cpp \
  src/backends/tdepim/TDEPIMNotesSource.h \
  src/backends/tdepim/TDEPIMNotesSource.cpp

src_backends_tdepim_cppflags = \
   $(SYNCEVOLUTION_CFLAGS) \
   -I$(top_srcdir)/test \
   $(BACKEND_CPPFLAGS) \
   -I$(top_srcdir)/src/backends/tdepim

#src_backends_tdepim_src = $(src_backends_tdepim_synctdepimcal_src) $(src_backends_tdepim_synctdepimabc_src)

src_backends_tdepim_synctdepimcal_la_SOURCES = $(src_backends_tdepim_synctdepimcal_src)
src_backends_tdepim_synctdepimcal_la_LIBADD = $(TDEPIMCAL_LIBS) $(SYNCEVOLUTION_LIBS)
src_backends_tdepim_synctdepimcal_la_CPPFLAGS = $(TDEPIMCAL_CFLAGS) $(src_backends_tdepim_cppflags)
src_backends_tdepim_synctdepimcal_la_LDFLAGS = -module -avoid-version -ldl
src_backends_tdepim_synctdepimcal_la_CXXFLAGS = $(TDEPIMCAL_CFLAGS) $(SYNCEVOLUTION_CXXFLAGS) $(SYNCEVO_WFLAGS)  $(src_backends_tdepim_cppflags)
src_backends_tdepim_synctdepimcal_la_DEPENDENCIES = src/syncevo/libsyncevolution.la

src_backends_tdepim_synctdepimabc_la_SOURCES = $(src_backends_tdepim_synctdepimabc_src)
src_backends_tdepim_synctdepimabc_la_LIBADD = $(TDEPIMABC_LIBS) $(SYNCEVOLUTION_LIBS)
src_backends_tdepim_synctdepimabc_la_LDFLAGS = -module -avoid-version
src_backends_tdepim_synctdepimabc_la_CXXFLAGS = $(TDEPIMABC_CFLAGS) $(SYNCEVOLUTION_CXXFLAGS) $(SYNCEVO_WFLAGS)  $(src_backends_tdepim_cppflags)
src_backends_tdepim_synctdepimabc_la_CPPFLAGS = $(TDEPIMABC_CFLAGS) $(src_backends_tdepim_cppflags)
src_backends_tdepim_synctdepimabc_la_DEPENDENCIES = src/syncevo/libsyncevolution.la

src_backends_tdepim_synctdepimnotes_la_SOURCES = $(src_backends_tdepim_synctdepimnotes_src)
src_backends_tdepim_synctdepimnotes_la_LIBADD = $(TDEPIMNOTES_LIBS) $(TDEPIM_LIBS) $(SYNCEVOLUTION_LIBS)
src_backends_tdepim_synctdepimnotes_la_LDFLAGS = -module -avoid-version
src_backends_tdepim_synctdepimnotes_la_CXXFLAGS = $(TDEPIMCAL_CFLAGS) $(TDEPIM_CFLAGS) $(SYNCEVOLUTION_CXXFLAGS) $(SYNCEVO_WFLAGS)
src_backends_tdepim_synctdepimnotes_la_CPPFLAGS = $(TDEPIMCAL_CFLAGS) $(TDEPIM_CFLAGS) $(src_backends_tdepim_cppflags)
# $(src_backends_tdepim_synctdepimnotes_cppflags)
src_backends_tdepim_synctdepimnotes_la_DEPENDENCIES = src/syncevo/libsyncevolution.la