summaryrefslogtreecommitdiffstats
path: root/kresources/scalix/knotes/Makefile.am
blob: 42a1c2302989cff7c00c5c8cfb917a1028e89f6e (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
METASOURCES = AUTO

INCLUDES = -I$(top_srcdir)/kresources/scalix/shared \
	-I$(top_srcdir) -I$(top_srcdir)/knotes -I$(top_builddir)/libkdepim $(all_includes)

# The scalix wizard links to this library too
lib_LTLIBRARIES = libknotesscalix.la

libknotesscalix_la_SOURCES = resourcescalix.cpp
libknotesscalix_la_LDFLAGS = $(all_libraries) -no-undefined
libknotesscalix_la_LIBADD = \
	$(top_builddir)/kresources/scalix/shared/libresourcescalixshared.la \
	$(top_builddir)/knotes/libknotesresources.la \
	$(top_builddir)/libkcal/libkcal.la \
	-lkresources -lkdeprint

kde_module_LTLIBRARIES = knotes_scalix.la

knotes_scalix_la_SOURCES = resourcescalix_plugin.cpp
knotes_scalix_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -no-undefined
knotes_scalix_la_LIBADD = libknotesscalix.la

servicedir = $(kde_servicesdir)/kresources/knotes
service_DATA = scalix.desktop

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