summaryrefslogtreecommitdiffstats
path: root/kresources/caldav/Makefile.am
blob: 604976cd7d0602d710b44f736e287ea455362ebe (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
INCLUDES = -I$(top_srcdir) $(all_includes)

lib_LTLIBRARIES = libkcal_caldav.la

libkcal_caldav_la_SOURCES = resource.cpp \
                               config.cpp \
                               configwidgets.cpp \
                               preferences.cpp \
                               job.cpp \
                               reader.cpp \
                               writer.cpp \
                               prefsskel.kcfgc
libkcal_caldav_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) \
                               -version-info 1:0:0 -no-undefined
libkcal_caldav_la_LIBADD = \
                              $(top_builddir)/libkcal/libkcal.la \
                              $(top_builddir)/libkdepim/libkdepim.la \
                              -lcaldav -lkorganizer
libkcal_caldav_la_COMPILE_FIRST = prefsskel.h

kde_module_LTLIBRARIES = kcal_caldav.la

kcal_caldav_la_SOURCES = plugin.cpp
kcal_caldav_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
kcal_caldav_la_LIBADD = libkcal_caldav.la
kcal_caldav_la_COMPILE_FIRST = prefsskel.h

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

METASOURCES = AUTO

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