summaryrefslogtreecommitdiffstats
path: root/kaddressbook/xxport/Makefile.am
blob: 04e2aeadc4d831878170bbc2d8d87eedc9a79f8a (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
INCLUDES = -I$(top_srcdir) \
           -I$(top_srcdir)/kaddressbook/interfaces \
           -I$(top_srcdir)/kaddressbook \
           -I$(top_srcdir)/libkdenetwork \
           $(GPGME_CFLAGS) \
           $(all_includes)

if compile_GNOKIIXXPORT
  gnokii_MODULE = libkaddrbk_gnokii_xxport.la
  gnokii_RCFILE = gnokii_xxportui.rc
endif

kde_module_LTLIBRARIES = libkaddrbk_csv_xxport.la libkaddrbk_vcard_xxport.la \
                         libkaddrbk_kde2_xxport.la libkaddrbk_bookmark_xxport.la \
                         libkaddrbk_eudora_xxport.la libkaddrbk_ldif_xxport.la \
                         libkaddrbk_opera_xxport.la libkaddrbk_pab_xxport.la $(gnokii_MODULE)

AM_LDFLAGS = -module $(KDE_PLUGIN) $(KDE_RPATH) $(all_libraries) -no-undefined

XXLIBS = $(top_builddir)/kaddressbook/interfaces/libkabinterfaces.la \
         $(top_builddir)/libtdepim/libtdepim.la

libkaddrbk_csv_xxport_la_SOURCES = csv_xxport.cpp csvimportdialog.cpp dateparser.cpp
libkaddrbk_csv_xxport_la_LIBADD = $(XXLIBS) $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) $(LIB_KABC) $(LIB_KIO)

libkaddrbk_vcard_xxport_la_SOURCES = vcard_xxport.cpp
libkaddrbk_vcard_xxport_la_LIBADD = $(XXLIBS) $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) $(LIB_KABC) $(LIB_KIO) \
                                    $(top_builddir)/kaddressbook/libkaddressbook.la \
                                    $(top_builddir)/libkdenetwork/qgpgme/libqgpgme.la

libkaddrbk_kde2_xxport_la_SOURCES = kde2_xxport.cpp
libkaddrbk_kde2_xxport_la_LIBADD = $(XXLIBS) $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) $(LIB_KABC) $(LIB_KIO)

libkaddrbk_bookmark_xxport_la_SOURCES = bookmark_xxport.cpp
libkaddrbk_bookmark_xxport_la_LIBADD = $(XXLIBS) $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) $(LIB_KABC) $(LIB_KIO)

libkaddrbk_eudora_xxport_la_SOURCES = eudora_xxport.cpp
libkaddrbk_eudora_xxport_la_LIBADD = $(XXLIBS) $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) $(LIB_KABC) $(LIB_KIO)

libkaddrbk_ldif_xxport_la_SOURCES = ldif_xxport.cpp
libkaddrbk_ldif_xxport_la_LIBADD = $(XXLIBS) $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) $(LIB_KABC) $(LIB_KIO)

libkaddrbk_gnokii_xxport_la_SOURCES = gnokii_xxport.cpp
libkaddrbk_gnokii_xxport_la_LIBADD = $(XPMLIB) $(LIB_GNOKII) $(XXLIBS) $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) $(LIB_KABC) $(LIB_KIO)

libkaddrbk_opera_xxport_la_SOURCES = opera_xxport.cpp
libkaddrbk_opera_xxport_la_LIBADD = $(XXLIBS) $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) $(LIB_KABC) $(LIB_KIO)

libkaddrbk_pab_xxport_la_SOURCES = pab_xxport.cpp pab_mapihd.cpp pab_pablib.cpp
libkaddrbk_pab_xxport_la_LIBADD = $(XXLIBS) $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) $(LIB_KABC) $(LIB_KIO)

noinst_HEADERS = csvimportdialog.h

METASOURCES = AUTO

servicedir = $(kde_servicesdir)/kaddressbook
service_DATA = csv_xxport.desktop vcard_xxport.desktop kde2_xxport.desktop \
               bookmark_xxport.desktop eudora_xxport.desktop ldif_xxport.desktop \
               gnokii_xxport.desktop opera_xxport.desktop pab_xxport.desktop

rcdir = $(kde_datadir)/kaddressbook
rc_DATA = csv_xxportui.rc vcard_xxportui.rc kde2_xxportui.rc \
          bookmark_xxportui.rc eudora_xxportui.rc ldif_xxportui.rc \
          opera_xxportui.rc pab_xxportui.rc $(gnokii_RCFILE)