summaryrefslogtreecommitdiffstats
path: root/korganizer/Makefile.am
blob: 84fc724c614818fb79c58f158b20c46d5f878005 (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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
SUBDIRS = printing . korgac pixmaps sounds plugins interfaces

INCLUDES = \
  -I$(srcdir)/interfaces \
  -I$(top_srcdir)/libemailfunctions \
  -I$(top_srcdir)/libkpimidentities \
  -I$(top_srcdir)/libkholidays \
  -I$(top_srcdir)/mimelib \
  -I$(top_srcdir)/certmanager/lib \
  -I$(top_srcdir)/korganizer/printing \
  -I$(top_srcdir) \
  -I$(top_builddir) \
  $(all_includes)

bin_PROGRAMS = korganizer

korganizer_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
korganizer_LDADD   = libkorganizer.la
korganizer_SOURCES = main.cpp korganizer.cpp koapp.cpp
korganizer_COMPILE_FIRST = koprefs_base.h


kde_module_LTLIBRARIES = kcm_korganizer.la libkorganizerpart.la

kcm_korganizer_la_SOURCES = koprefsdialog.cpp
kcm_korganizer_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined
kcm_korganizer_la_LIBADD = libkorganizer.la $(top_builddir)/libtdepim/libtdepim.la \
  $(LIB_TDECORE)
kcm_korganizer_la_COMPILE_FIRST = koprefs_base.h 	kogroupwareprefspage.h

libkorganizerpart_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
libkorganizerpart_la_LIBADD  = libkorganizer.la $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEPARTS) $(LIB_TDEIO) $(LIB_TDEHTML) $(LIB_TDEUI) -L$(top_builddir)/libtdepim/ -ltdepim -L$(top_builddir)/libkcal/ -lkcal -lkorganizer_calendar
libkorganizerpart_la_SOURCES = korganizer_part.cpp
libkorganizerpart_la_COMPILE_FIRST = publishdialog_base.h koprefs_base.h


check_PROGRAMS = korgplugins timezone

korgplugins_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
korgplugins_LDADD   = libkorganizer.la $(LIB_TDESYCOCA)
korgplugins_SOURCES = korgplugins.cpp
korgplugins_COMPILE_FIRST = koprefs_base.h

timezone_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
timezone_LDADD   = libkorganizer.la $(LIB_TDESYCOCA)
timezone_SOURCES = timezone.cpp
timezone_COMPILE_FIRST = koprefs_base.h

lib_LTLIBRARIES = libkorganizer_eventviewer.la \
                  libkorganizer_calendar.la libkorganizer.la

libkorganizer_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -version-info 1:0
libkorganizer_la_LIBADD  = \
	$(top_builddir)/libkcal/libkcal.la \
	$(top_builddir)/libkpimidentities/libkpimidentities.la \
	$(top_builddir)/libtdepim/libtdepim.la \
	libkorganizer_eventviewer.la \
	libkorganizer_calendar.la \
	printing/libkocorehelper.la \
	printing/libkorg_stdprinting.la \
	$(top_builddir)/kdgantt/libkdgantt.la \
	$(top_builddir)/libemailfunctions/libemailfunctions.la \
	$(top_builddir)/libkholidays/libkholidays.la \
	$(top_builddir)/libkmime/libkmime.la \
	$(LIB_TDEPARTS) $(LIB_TDEFILE) $(LIB_TDENEWSTUFF) \
	-ltdeprint -ltdeabc -ltdeutils

libkorganizer_la_COMPILE_FIRST = \
	kogroupwareprefspage.ui \
	$(top_srcdir)/libtdepim/categoryselectdialog.h
libkorganizer_la_SOURCES = komessagebox.cpp \
	koagendaview.cpp koagenda.cpp koagendaitem.cpp \
	datenavigator.cpp kdatenavigator.cpp datenavigatorcontainer.cpp \
	datechecker.cpp \
	komonthview.cpp \
	searchdialog.cpp calendarview.cpp koviewmanager.cpp \
	kodialogmanager.cpp \
	archivedialog.cpp \
	kohelper.cpp \
	komailclient.cpp kotodoview.cpp kotodoviewitem.cpp \
	kolistview.cpp \
	koincidenceeditor.cpp koeventeditor.cpp kotodoeditor.cpp kojournaleditor.cpp\
	koprefs.cpp kowindowlist.cpp \
	koeditorgeneral.cpp \
	koeditorgeneralevent.cpp koeditorgeneraltodo.cpp koeditorgeneraljournal.cpp \
	koeditordetails.cpp koeditoralarms_base.ui koeditoralarms.cpp \
	koeditorrecurrence.cpp koeditorattachments.cpp \
	kogroupwareprefspage.ui koeventpopupmenu.cpp koeditorfreebusy.cpp \
	publishdialog_base.ui publishdialog.cpp \
	koeventview.cpp \
	korganizeriface.skel kcalendariface.skel \
	filtereditdialog.cpp filteredit_base.ui \
	kowhatsnextview.cpp \
	kojournalview.cpp journalentry.cpp \
	kocore.cpp mailscheduler.cpp \
	kodaymatrix.cpp docprefs.cpp statusdialog.cpp\
	koglobals.cpp konewstuff.cpp \
	actionmanager.cpp resourceview.cpp \
	navigatorbar.cpp kogroupware.cpp \
	history.cpp \
	koprefs_base.kcfgc \
	koincidencetooltip.cpp aboutdata.cpp \
	importdialog.cpp \
	previewdialog.cpp \
	korganizerifaceimpl.cpp \
	freebusymanager.cpp freebusyurldialog.cpp \
	eventarchiver.cpp koidentitymanager.cpp \
	exportwebdialog.cpp kocorehelper.cpp incidencechanger.cpp \
	template_management_dialog_base.ui templatemanagementdialog.cpp \
	agendaview.cpp multiagendaview.cpp \
	timelineitem.cpp \
	kotimelineview.cpp \
	koattendeeeditor.cpp \
	timelabels.cpp


libkorganizer_eventviewer_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) \
                                       -no-undefined -version-info 1:0
libkorganizer_eventviewer_la_LIBADD  = $(LIB_TDEPARTS) \
                                       $(top_builddir)/libkcal/libkcal.la
libkorganizer_eventviewer_la_SOURCES = koeventviewer.cpp urihandler.cpp \
                                       kmailIface.stub koeventviewerdialog.cpp

libkorganizer_calendar_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) \
                                    -no-undefined -version-info 1:0
libkorganizer_calendar_la_LIBADD  = $(LIB_TDEPARTS) \
                                    $(top_builddir)/libtdepim/libtdepim.la \
                                    $(top_builddir)/libkcal/libkcal.la
libkorganizer_calendar_la_SOURCES = stdcalendar.cpp


kmailIface_DIR = $(top_srcdir)/kmail
kmailIface_DCOPIDLNG = true

METASOURCES = AUTO

noinst_HEADERS = komonthview.h \
	koagendaview.h koagenda.h \
	koagendaitem.h \
	kdatenavigator.h \
	calendarview.h \
	version.h \
	searchdialog.h \
	archivedialog.h \
	komailclient.h kotodoview.h \
	kolistview.h \
	koapp.h korganizer_part.h korganizer.h \
	koprefsdialog.h koeventeditor.h \
	kotodoeditor.h koprefs.h koeventviewer.h \
	kowindowlist.h kocounterdialog.h \
	koeditorgeneralevent.h koeditorgeneraltodo.h koeditordetails.h \
	koeditorrecurrence.h koeventviewerdialog.h koeventpopupmenu.h \
	publishdialog.h koeditorfreebusy.h \
	koeventview.h statusdialog.h customlistviewitem.h \
	kohelper.h \
	navigatorbar.h kogroupware.h \
	koincidencetooltip.h korganizerifaceimpl.h \
	exportwebdialog.h templatemanagementdialog.h

tip_DATA = tips
tipdir = $(kde_datadir)/korganizer

kde_bin_SCRIPTS = ical2vcal

rcdir = $(kde_datadir)/korganizer
rc_DATA = korganizerui.rc

partdir   = $(kde_datadir)/korganizer
part_DATA = korganizer_part.rc

kde_servicetypes_DATA = dcopcalendar.desktop

KDE_ICON = AUTO

META_INCLUDES = $(srcdir)/interfaces/korganizer

messages: rc.cpp
	$(PREPARETIPS) > tips.cpp
	$(EXTRACTRC) `find . -name "*.rc" -o -name "*.ui" -o -name "*.kcfg"` >> rc.cpp
	$(XGETTEXT) `find . -name "*.cpp" -o -name "*.h"` -o $(podir)/korganizer.pot
	rm -f tips.cpp

xdg_apps_DATA = korganizer.desktop

kde_kcfg_DATA = korganizer.kcfg

kde_services_DATA = korganizer_configmain.desktop \
                    korganizer_configtime.desktop \
                    korganizer_configviews.desktop \
                    korganizer_configcolors.desktop \
                    korganizer_configfonts.desktop \
                    korganizer_configplugins.desktop \
                    korganizer_configgroupscheduling.desktop \
                    korganizer_configfreebusy.desktop \
                    korganizer_configdesignerfields.desktop \
                    webcal.protocol

update_DATA = korganizer.upd
updatedir = $(kde_datadir)/tdeconf_update

DOXYGEN_REFERENCES=libkcal tdeui
include $(top_srcdir)/admin/Doxyfile.am

install-data-local:
	$(mkinstalldirs) $(DESTDIR)$(kde_servicesdir)
	$(mkinstalldirs) $(DESTDIR)$(kde_servicesdir)/korganizer
	$(INSTALL_DATA) $(srcdir)/uninstall.desktop $(DESTDIR)$(kde_servicesdir)/korganizer_configgroupautomation.desktop
	$(INSTALL_DATA) $(srcdir)/uninstall.desktop $(DESTDIR)$(kde_servicesdir)/korganizer/webexport.desktop
	$(INSTALL_DATA) $(srcdir)/uninstall.desktop $(DESTDIR)$(kde_servicesdir)/korganizer/holidays.desktop