summaryrefslogtreecommitdiffstats
path: root/plugins/kmail/bodypartformatter/Makefile.am
blob: b768cb56c7bde3be4f16ff98b6dd9b32ef5e633a (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
KDE_OPTIONS = nofinal
KDE_CXXFLAGS = $(USE_RTTI)

INCLUDES = -I$(top_srcdir)/kmail \
           -I$(top_srcdir)/libtdepim \
           -I$(top_srcdir)/libkmime \
           -I$(top_srcdir)/mimelib \
           -I$(top_srcdir)/libemailfunctions \
           -I$(top_srcdir) \
           -I$(top_builddir)/libtdepim \
           -I$(top_srcdir)/korganizer \
           $(all_includes)

kde_module_LTLIBRARIES = libkmail_bodypartformatter_text_vcard.la \
                         libkmail_bodypartformatter_text_calendar.la \
                         libkmail_bodypartformatter_text_xdiff.la

libkmail_bodypartformatter_text_vcard_la_SOURCES = text_vcard.cpp
libkmail_bodypartformatter_text_vcard_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -no-undefined
libkmail_bodypartformatter_text_vcard_la_LIBADD  = $(LIB_QT) $(LIB_KABC) \
                                                   ../../../libtdepim/libtdepim.la \
                                                   ../../../libkmime/libkmime.la \
                                                   ../../../libemailfunctions/libemailfunctions.la

libkmail_bodypartformatter_text_calendar_la_SOURCES = \
	text_calendar.cpp \
	delegateselector.cpp \
	attendeeselector.cpp \
	ui_attendeeselector.ui \
	kcalendariface.stub
libkmail_bodypartformatter_text_calendar_la_LDFLAGS = \
  $(all_libraries) -module $(KDE_PLUGIN) -no-undefined
libkmail_bodypartformatter_text_calendar_la_LIBADD  = $(LIB_QT) $(LIB_KABC) \
  $(top_builddir)/libkcal/libkcal.la $(top_builddir)/kmail/libkmailprivate.la

kcalendariface_DIR = $(top_srcdir)/korganizer

libkmail_bodypartformatter_text_xdiff_la_SOURCES = text_xdiff.cpp
libkmail_bodypartformatter_text_xdiff_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
libkmail_bodypartformatter_text_xdiff_la_LIBADD  = $(LIB_QT)


linkdir = $(kde_datadir)/kmail/plugins/bodypartformatter
link_DATA = text_vcard.desktop text_calendar.desktop text_xdiff.desktop

METASOURCES = AUTO

messages:
	$(EXTRACTRC) ui_attendeeselector.ui >> ui_attendeeselector.rc.cpp
	$(XGETTEXT) text_vcard.cpp -o $(podir)/kmail_text_vcard_plugin.pot
	$(XGETTEXT) text_calendar.cpp delegateselector.cpp attendeeselector.cpp ui_attendeeselector.rc.cpp -o $(podir)/kmail_text_calendar_plugin.pot
	$(XGETTEXT) text_xdiff.cpp -o $(podir)/kmail_text_xdiff_plugin.pot