summaryrefslogtreecommitdiffstats
path: root/kresources/egroupware/Makefile.am
blob: 23e5232e7cefa9f75f37dd3f1b9b5fbc7da7348e (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
66
67
68
69
70
71
72
73
INCLUDES = -I$(top_srcdir)/libical/src/libical \
           -I$(top_srcdir)/libical/src/libicalss \
           -I$(top_builddir)/libical/src/libical \
           -I$(top_builddir)/libical/src/libicalss \
           -I$(srcdir)/versit -I$(top_srcdir)/ \
           -I$(top_srcdir)/knotes \
           -I$(top_builddir)/kaddressbook \
           -I$(top_builddir)/kaddressbook/common \
           -I$(top_srcdir)/kaddressbook/common \
           -I$(top_builddir)/kresources/egroupware \
           $(all_includes)

noinst_HEADERS = kabc_resourcexmlrpcconfig.h kcal_resourcexmlrpcconfig.h \
                 knotes_resourcexmlrpcconfig.h

noinst_LTLIBRARIES = libegwcommon.la
libegwcommon_la_SOURCES = xmlrpciface.cpp synchronizer.cpp debugdialog.cpp

lib_LTLIBRARIES = libkabc_xmlrpc.la libkcal_xmlrpc.la libknotes_xmlrpc.la
libkabc_xmlrpc_la_SOURCES = kabc_resourcexmlrpc.cpp kabc_resourcexmlrpcconfig.cpp  \
                            kabc_egroupwareprefs.kcfgc
libkabc_xmlrpc_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) -version-info 1:0:0 -no-undefined
libkabc_xmlrpc_la_LIBADD = $(LIB_KIO) -lkabc $(top_builddir)/libtdepim/libtdepim.la \
                           $(top_builddir)/kaddressbook/common/libkabcommon.la \
                           libegwcommon.la

libkcal_xmlrpc_la_SOURCES = kcal_resourcexmlrpc.cpp kcal_resourcexmlrpcconfig.cpp \
                            todostatemapper.cpp kcal_egroupwareprefs.kcfgc
libkcal_xmlrpc_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) -version-info 1:0:0 -no-undefined
libkcal_xmlrpc_la_LIBADD = $(top_builddir)/libkcal/libkcal.la \
                           $(top_builddir)/libtdepim/libtdepim.la \
                           libegwcommon.la

libknotes_xmlrpc_la_SOURCES = knotes_resourcexmlrpc.cpp knotes_resourcexmlrpcconfig.cpp \
                              knotes_egroupwareprefs.kcfgc
libknotes_xmlrpc_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) -version-info 1:0:0 -no-undefined
libknotes_xmlrpc_la_LIBADD = $(top_builddir)/libkcal/libkcal.la -lkdeprint \
                             $(top_builddir)/knotes/libknotesresources.la \
                             $(top_builddir)/libtdepim/libtdepim.la \
                             libegwcommon.la

kabcincludedir = $(includedir)/kabc
kabcinclude_HEADERS = kabc_resourcexmlrpc.h kcal_resourcexmlrpc.h

kde_module_LTLIBRARIES = kabc_xmlrpc.la kcal_xmlrpc.la knotes_xmlrpc.la

kabc_xmlrpc_la_SOURCES = kabc_resourcexmlrpcplugin.cpp
kabc_xmlrpc_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
kabc_xmlrpc_la_LIBADD	= libkabc_xmlrpc.la

kcal_xmlrpc_la_SOURCES = kcal_resourcexmlrpcplugin.cpp
kcal_xmlrpc_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
kcal_xmlrpc_la_LIBADD = libkcal_xmlrpc.la

knotes_xmlrpc_la_SOURCES = knotes_resourcexmlrpcplugin.cpp
knotes_xmlrpc_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
knotes_xmlrpc_la_LIBADD = libknotes_xmlrpc.la

kabc_servicedir = $(kde_servicesdir)/kresources/kabc
kabc_service_DATA = kabc_xmlrpc.desktop

kcal_servicedir = $(kde_servicesdir)/kresources/kcal
kcal_service_DATA = kcal_xmlrpc.desktop

knotes_servicedir = $(kde_servicesdir)/kresources/knotes
knotes_service_DATA = knotes_xmlrpc.desktop

METASOURCES = AUTO

messages: rc.cpp
	$(XGETTEXT) *.cpp -o $(podir)/kres_xmlrpc.pot

kabc_resourcexmlrpc.lo: ../../kaddressbook/common/kabprefs_base.h