summaryrefslogtreecommitdiffstats
path: root/tderesources/kolab/kcal/Makefile.am
blob: a2502791952ffbe3986e530f79ee4aad8172a334 (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
METASOURCES = AUTO

INCLUDES = -I$(top_srcdir)/tderesources/kolab/shared -I$(top_srcdir) \
        -I$(top_builddir)/libtdepim $(all_includes)

# The kolab wizard links to this library too
lib_LTLIBRARIES = libkcalkolab.la

libkcalkolab_la_SOURCES = incidence.cpp event.cpp task.cpp journal.cpp resourcekolab.cpp
libkcalkolab_la_LDFLAGS = $(all_libraries) -no-undefined
libkcalkolab_la_LIBADD = $(top_builddir)/libkcal/libkcal.la \
	$(top_builddir)/tderesources/kolab/shared/libresourcekolabshared.la \
	-ltderesources

kde_module_LTLIBRARIES = kcal_kolab.la

kcal_kolab_la_SOURCES = resourcekolab_plugin.cpp
kcal_kolab_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -no-undefined
kcal_kolab_la_LIBADD = libkcalkolab.la

servicedir = $(kde_servicesdir)/tderesources/kcal
service_DATA = kolab.desktop

install-data-local: $(srcdir)/../uninstall.desktop
	$(mkinstalldirs) $(DESTDIR)$(servicedir)
	$(INSTALL_DATA) $(srcdir)/../uninstall.desktop $(DESTDIR)$(servicedir)/imap.desktop