summaryrefslogtreecommitdiffstats
path: root/kontact/plugins/korganizer/Makefile.am
blob: f041fa4ca499e1487a3173e278359f0a9f0792e4 (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
# top_srcdir/korganizer is a hack, to get korganizeriface.h
INCLUDES = -I$(top_srcdir)/kontact/interfaces \
  -I$(top_srcdir)/libtdepim \
  -I$(top_srcdir)/korganizer \
  -I$(top_srcdir)/korganizer/interfaces \
  -I$(top_srcdir) $(all_includes)

kde_module_LTLIBRARIES = libkontact_korganizerplugin.la \
                         libkontact_todoplugin.la \
                         libkontact_journalplugin.la \
                         kcm_korgsummary.la

noinst_LTLIBRARIES = libcommon.la
libcommon_la_SOURCES = korg_uniqueapp.cpp

libkontact_korganizerplugin_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
libkontact_korganizerplugin_la_LIBADD = libcommon.la \
    $(top_builddir)/kontact/interfaces/libkpinterfaces.la $(LIB_KPARTS) \
    $(top_builddir)/korganizer/libkorganizer_calendar.la
libkontact_korganizerplugin_la_SOURCES = korganizerplugin.cpp \
                                         kcalendariface.stub \
                                         summarywidget.cpp \
                                         korganizeriface.stub

korganizeriface_DIR = $(top_srcdir)/korganizer
korganizeriface_DCOPIDLNG = true

libkontact_todoplugin_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
libkontact_todoplugin_la_LIBADD = libcommon.la \
    $(top_builddir)/kontact/interfaces/libkpinterfaces.la $(LIB_KPARTS) \
    $(top_builddir)/korganizer/libkorganizer_calendar.la \
    $(top_builddir)/korganizer/libkorganizer.la
libkontact_todoplugin_la_SOURCES = todoplugin.cpp \
                                   kcalendariface.stub \
                                   todosummarywidget.cpp \
                                   korganizeriface.stub

libkontact_journalplugin_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
libkontact_journalplugin_la_LIBADD = libcommon.la \
    $(top_builddir)/kontact/interfaces/libkpinterfaces.la $(LIB_KPARTS) \
    $(top_builddir)/korganizer/libkorganizer_calendar.la
libkontact_journalplugin_la_SOURCES = journalplugin.cpp kcalendariface.stub

kcm_korgsummary_la_SOURCES = kcmkorgsummary.cpp
kcm_korgsummary_la_LDFLAGS = -module $(KDE_PLUGIN) $(KDE_RPATH) \
                             $(all_libraries) \
                             -avoid-version -no-undefined
kcm_korgsummary_la_LIBADD = $(LIB_KDEUI)

METASOURCES = AUTO

kcalendariface_DIR = $(top_srcdir)/korganizer

servicedir = $(kde_servicesdir)/kontact
service_DATA = korganizerplugin.desktop todoplugin.desktop journalplugin.desktop

kde_services_DATA = kcmkorgsummary.desktop