summaryrefslogtreecommitdiffstats
path: root/kitchensync/src/Makefile.am
blob: 779aec82ea0882f0459fce29cd5a20d2c05ef141 (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
SUBDIRS = about pics

INCLUDES = -I$(top_srcdir)/kitchensync/src \
           -I$(top_srcdir)/kitchensync \
           -I$(top_srcdir)/libtdepim \
           -I$(top_srcdir) \
            $(all_includes)

# Application
bin_PROGRAMS = kitchensync

kitchensync_SOURCES = main.cpp mainwindow.cpp
kitchensync_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
kitchensync_LDADD = libkitchensync.la

xdg_apps_DATA = kitchensync.desktop

# Library
lib_LTLIBRARIES = libkitchensync.la

libkitchensync_la_SOURCES = aboutpage.cpp mainwidget.cpp groupconfigdialog.cpp \
                            groupconfig.cpp groupitem.cpp groupview.cpp memberconfig.cpp \
                            syncprocess.cpp syncprocessmanager.cpp connectionwidgets.cpp \
                            pluginpicker.cpp configgui.cpp configguiblank.cpp configguifile.cpp \
                            memberinfo.cpp groupconfigcommon.cpp kwidgetlist.cpp \
                            configguipalm.cpp conflictdialog.cpp singleconflictdialog.cpp \
                            addresseediffalgo.cpp calendardiffalgo.cpp \
                            htmldiffalgodisplay.cpp genericdiffalgo.cpp multiconflictdialog.cpp \
                            configguiirmc.cpp \
                            configguisyncmlobex.cpp configguisyncmlhttp.cpp configguiopie.cpp  \
                            configguignokii.cpp configguigcalendar.cpp configguildap.cpp configguigpe.cpp \
                            configguijescs.cpp configguievo2.cpp configguimoto.cpp configguisynce.cpp \
                            configguisunbird.cpp
libkitchensync_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -no-undefined
libkitchensync_la_LIBADD = $(LIB_KIO) $(LIB_KHTML) $(top_builddir)/kitchensync/libqopensync/libqopensync.la \
                           $(LIB_KABC) $(top_builddir)/libtdepim/libtdepim.la $(top_builddir)/libkcal/libkcal.la \
                           $(LIB_QT)

# KPart
kde_module_LTLIBRARIES = libkitchensyncpart.la

libkitchensyncpart_la_SOURCES = part.cpp
libkitchensyncpart_la_LDFLAGS = -module $(KDE_PLUGIN) $(KDE_RPATH) $(all_libraries) -no-undefined
libkitchensyncpart_la_LIBADD = $(LIB_KPARTS) libkitchensync.la $(LIB_QT) $(LIB_KIO) $(LIB_KHTML) $(LIB_KABC) $(LIB_TDECORE) $(LIB_TDEUI)

# Resources
kitchensyncdatadir = $(kde_datadir)/kitchensync
kitchensyncdata_DATA = kitchensyncui.rc kitchensync_part.rc

METASOURCES = AUTO

messages: rc.cpp
	$(XGETTEXT) *.cpp *.h -o $(podir)/kitchensync.pot