summaryrefslogtreecommitdiffstats
path: root/kaddressbook
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-05 23:54:57 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-05 23:54:57 +0000
commitb67ece773ccb72aafa48a4117a9aae82531e3aaf (patch)
tree9dd91fcd5599ae865bea43313ed7068eb4ec0177 /kaddressbook
parenta21c1c9b1dca09b9ab3a56d60e6f4c7a253689f8 (diff)
downloadtdepim-b67ece773ccb72aafa48a4117a9aae82531e3aaf.tar.gz
tdepim-b67ece773ccb72aafa48a4117a9aae82531e3aaf.zip
[kdepim]: initial cmake support for following subpackages: akregator, certmanager, kaddressbook, kalarm, kioslaves, kmail, ktnef, libemailfunctions, libkcal, libkdenetwork, libkdepim, libkmime, libkpgp, libkpimidentities, libksieve, mimelib
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1223912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kaddressbook')
-rw-r--r--kaddressbook/CMakeLists.txt109
-rw-r--r--kaddressbook/common/CMakeLists.txt26
-rw-r--r--kaddressbook/csv-templates/CMakeLists.txt14
-rw-r--r--kaddressbook/editors/CMakeLists.txt51
-rw-r--r--kaddressbook/editors/icons/CMakeLists.txt12
-rw-r--r--kaddressbook/editors/protocols/CMakeLists.txt17
-rw-r--r--kaddressbook/features/CMakeLists.txt59
-rw-r--r--kaddressbook/interfaces/CMakeLists.txt50
-rw-r--r--kaddressbook/kcmconfigs/CMakeLists.txt61
-rw-r--r--kaddressbook/pics/CMakeLists.txt13
-rw-r--r--kaddressbook/printing/CMakeLists.txt31
-rw-r--r--kaddressbook/thumbnailcreator/CMakeLists.txt33
-rw-r--r--kaddressbook/views/CMakeLists.txt65
-rw-r--r--kaddressbook/xxport/CMakeLists.txt132
-rw-r--r--kaddressbook/xxport/ConfigureChecks.cmake18
15 files changed, 691 insertions, 0 deletions
diff --git a/kaddressbook/CMakeLists.txt b/kaddressbook/CMakeLists.txt
new file mode 100644
index 000000000..20788aa51
--- /dev/null
+++ b/kaddressbook/CMakeLists.txt
@@ -0,0 +1,109 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_import( libkdenetwork )
+tde_import( certmanager )
+tde_import( libkmime )
+tde_import( ktnef )
+tde_import( libkcal )
+tde_import( libkdepim )
+
+add_subdirectory( interfaces )
+add_subdirectory( common )
+add_subdirectory( printing )
+add_subdirectory( editors )
+add_subdirectory( views )
+add_subdirectory( features )
+add_subdirectory( xxport )
+add_subdirectory( kcmconfigs )
+add_subdirectory( pics )
+add_subdirectory( csv-templates )
+add_subdirectory( thumbnailcreator )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}/common
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/common
+ ${CMAKE_CURRENT_SOURCE_DIR}/interfaces
+ ${CMAKE_CURRENT_SOURCE_DIR}/editors
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+tde_install_icons( kaddressbook )
+
+install( FILES
+ kaddressbook.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+install( FILES
+ kaddressbook_view.desktop dcopaddressbook.desktop
+ DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+
+install( FILES
+ kaddressbookui.rc kaddressbook_part.rc zone.tab
+ DESTINATION ${DATA_INSTALL_DIR}/kaddressbook )
+
+
+##### libkaddressbookpart (module) ##############
+
+tde_add_kpart( libkaddressbookpart AUTOMOC
+ SOURCES kaddressbook_part.cpp
+ LINK kaddressbook-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### kaddressbook (executable) #################
+
+tde_add_executable( kaddressbook AUTOMOC
+ SOURCES main.cpp kaddressbookmain.cpp
+ LINK kaddressbook-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### kaddressbook (shared) #####################
+
+tde_add_library( kaddressbook SHARED AUTOMOC
+ SOURCES
+ addresseeconfig.cpp addresseeeditordialog.cpp addresseeeditorwidget.cpp
+ addresseeeditorbase.cpp addresseeeditorextension.cpp addresseeutil.cpp
+ addresseditwidget.cpp addviewdialog.cpp emaileditwidget.cpp
+ extensionmanager.cpp filtereditdialog.cpp filterselectionwidget.cpp
+ geowidget.cpp imagewidget.cpp incsearchwidget.cpp jumpbuttonbar.cpp kabcore.cpp
+ kablock.cpp kaddressbookiface.skel kaddressbookservice.cpp kaddressbookview.cpp
+ keywidget.cpp ldapsearchdialog.cpp nameeditdialog.cpp phoneeditwidget.cpp
+ secrecywidget.cpp soundwidget.cpp viewconfigurefieldspage.cpp
+ viewconfigurefilterpage.cpp viewconfigurewidget.cpp undocmds.cpp
+ viewmanager.cpp xxportmanager.cpp xxportselectdialog.cpp
+ contacteditorwidgetmanager.cpp simpleaddresseeeditor.cpp
+ advancedcustomfields.cpp customfieldswidget.cpp freebusywidget.cpp
+ searchmanager.cpp imeditwidget.cpp kabtools.cpp distributionlistpicker.cpp
+ distributionlisteditor.cpp distributionlistentryview.cpp
+ VERSION 0.0.0
+ LINK
+ kabcommon-static kabim-static printer-static
+ kabinterfaces-shared
+ kdepim-shared kabc_file-shared kdeprint-shared kutils-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
diff --git a/kaddressbook/common/CMakeLists.txt b/kaddressbook/common/CMakeLists.txt
new file mode 100644
index 000000000..369638387
--- /dev/null
+++ b/kaddressbook/common/CMakeLists.txt
@@ -0,0 +1,26 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+
+##### kabcommon (static) ########################
+
+tde_add_library( kabcommon STATIC_PIC AUTOMOC
+ SOURCES
+ kabprefs.cpp kabprefs_base.kcfgc locationmap.cpp
+ filter.cpp
+)
diff --git a/kaddressbook/csv-templates/CMakeLists.txt b/kaddressbook/csv-templates/CMakeLists.txt
new file mode 100644
index 000000000..983b5a6ca
--- /dev/null
+++ b/kaddressbook/csv-templates/CMakeLists.txt
@@ -0,0 +1,14 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES
+ kaddressbook.desktop outlook2000.desktop yahoo.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/kaddressbook/csv-templates )
diff --git a/kaddressbook/editors/CMakeLists.txt b/kaddressbook/editors/CMakeLists.txt
new file mode 100644
index 000000000..0d4e12372
--- /dev/null
+++ b/kaddressbook/editors/CMakeLists.txt
@@ -0,0 +1,51 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( protocols )
+add_subdirectory( icons )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/libkdenetwork
+ ${CMAKE_SOURCE_DIR}/kaddressbook/interfaces
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${GPGME_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES cryptosettings.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kaddressbook )
+install( FILES kaddressbookimprotocol.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+
+
+##### kabim (static) ############################
+
+tde_add_library( kabim STATIC_PIC AUTOMOC
+ SOURCES
+ imeditorwidget.cpp imeditorbase.ui imaddressbase.ui imaddresswidget.cpp
+)
+
+
+##### libkaddrbk_cryptosettings (module) ########
+
+tde_add_kpart( libkaddrbk_cryptosettings AUTOMOC
+ SOURCES cryptowidget.cpp
+ LINK kabinterfaces-shared kleopatra-shared kabc-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kaddressbook/editors/icons/CMakeLists.txt b/kaddressbook/editors/icons/CMakeLists.txt
new file mode 100644
index 000000000..fa71f9d59
--- /dev/null
+++ b/kaddressbook/editors/icons/CMakeLists.txt
@@ -0,0 +1,12 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/kaddressbook/icons )
diff --git a/kaddressbook/editors/protocols/CMakeLists.txt b/kaddressbook/editors/protocols/CMakeLists.txt
new file mode 100644
index 000000000..87e3e32c8
--- /dev/null
+++ b/kaddressbook/editors/protocols/CMakeLists.txt
@@ -0,0 +1,17 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES
+ icqprotocol.desktop aimprotocol.desktop ircprotocol.desktop smsprotocol.desktop
+ gaduprotocol.desktop jabberprotocol.desktop yahooprotocol.desktop
+ msnprotocol.desktop groupwiseprotocol.desktop meanwhileprotocol.desktop
+ skypeprotocol.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}/kaddressbook )
diff --git a/kaddressbook/features/CMakeLists.txt b/kaddressbook/features/CMakeLists.txt
new file mode 100644
index 000000000..73f47ba13
--- /dev/null
+++ b/kaddressbook/features/CMakeLists.txt
@@ -0,0 +1,59 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/kaddressbook
+ ${CMAKE_SOURCE_DIR}/kaddressbook/interfaces
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+if( WITH_NEWDISTRLISTS )
+ set( DESKTOP distributionlistng.desktop )
+ set( SOURCE distributionlistngwidget.cpp )
+ set( TARGET libkaddrbk_distributionlistng )
+else( )
+ set( DESKTOP distributionlist.desktop )
+ set( SOURCE distributionlistwidget.cpp )
+ set( TARGET libkaddrbk_distributionlist )
+endif( )
+
+
+##### other data ################################
+
+install( FILES
+ ${DESKTOP} resourceselection.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}/kaddressbook )
+
+
+##### libkaddrbk_distributionlist (module) ######
+
+tde_add_kpart( ${TARGET} AUTOMOC
+ SOURCES ${SOURCE}
+ LINK kabinterfaces-shared kdepim-shared kabc-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### libkaddrbk_resourceselection (module) #####
+
+tde_add_kpart( libkaddrbk_resourceselection AUTOMOC
+ SOURCES resourceselection.cpp
+ LINK kabinterfaces-shared kdepim-shared kabc-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kaddressbook/interfaces/CMakeLists.txt b/kaddressbook/interfaces/CMakeLists.txt
new file mode 100644
index 000000000..67438ece5
--- /dev/null
+++ b/kaddressbook/interfaces/CMakeLists.txt
@@ -0,0 +1,50 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### headers ###################################
+
+install( FILES
+ configurewidget.h contacteditorwidget.h core.h
+ extensionwidget.h xxport.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/kaddressbook )
+
+
+##### other data ################################
+
+install( FILES
+ kaddressbook_contacteditorwidget.desktop
+ kaddressbook_extension.desktop kaddressbook_xxport.desktop
+ DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+
+
+##### kabinterfaces (shared) ####################
+
+tde_add_library( kabinterfaces SHARED AUTOMOC
+ SOURCES
+ configurewidget.cpp contacteditorwidget.cpp
+ core.cpp extensionwidget.cpp xxport.cpp
+ VERSION 1.0.0
+ LINK kabc-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
diff --git a/kaddressbook/kcmconfigs/CMakeLists.txt b/kaddressbook/kcmconfigs/CMakeLists.txt
new file mode 100644
index 000000000..835acb61c
--- /dev/null
+++ b/kaddressbook/kcmconfigs/CMakeLists.txt
@@ -0,0 +1,61 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}/kaddressbook/common
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/kaddressbook/common
+ ${CMAKE_SOURCE_DIR}/kaddressbook/interfaces
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES
+ kabconfig.desktop kabldapconfig.desktop kabcustomfields.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### kcm_kabconfig (module) ####################
+
+tde_add_kpart( kcm_kabconfig AUTOMOC
+ SOURCES
+ kcmkabconfig.cpp kabconfigwidget.cpp extensionconfigdialog.cpp
+ addresseewidget.cpp
+ LINK kabcommon-static kdepim-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### kcm_kabldapconfig (module) ################
+
+tde_add_kpart( kcm_kabldapconfig AUTOMOC
+ SOURCES
+ addhostdialog.cpp kcmkabldapconfig.cpp ldapoptionswidget.cpp
+ LINK kdepim-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### kcm_kabcustomfields (module) ##############
+
+tde_add_kpart( kcm_kabcustomfields AUTOMOC
+ SOURCES kcmkabcustomfields.cpp
+ LINK kabcommon-static kdepim-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kaddressbook/pics/CMakeLists.txt b/kaddressbook/pics/CMakeLists.txt
new file mode 100644
index 000000000..8e6a7c45c
--- /dev/null
+++ b/kaddressbook/pics/CMakeLists.txt
@@ -0,0 +1,13 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/kaddressbook/icons )
+install( FILES world.jpg DESTINATION ${DATA_INSTALL_DIR}/kaddressbook/pics )
diff --git a/kaddressbook/printing/CMakeLists.txt b/kaddressbook/printing/CMakeLists.txt
new file mode 100644
index 000000000..7e3d6d565
--- /dev/null
+++ b/kaddressbook/printing/CMakeLists.txt
@@ -0,0 +1,31 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}/kaddressbook/common
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/kaddressbook
+ ${CMAKE_SOURCE_DIR}/kaddressbook/common
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+
+##### printer (static) ##########################
+
+tde_add_library( printer STATIC_PIC AUTOMOC
+ SOURCES
+ detailledstyle.cpp ds_appearance.ui kabentrypainter.cpp mikesstyle.cpp
+ printingwizard.cpp printprogress.cpp printstyle.cpp selectionpage.cpp
+ stylepage.cpp printsortmode.cpp
+)
diff --git a/kaddressbook/thumbnailcreator/CMakeLists.txt b/kaddressbook/thumbnailcreator/CMakeLists.txt
new file mode 100644
index 000000000..d8ac40f06
--- /dev/null
+++ b/kaddressbook/thumbnailcreator/CMakeLists.txt
@@ -0,0 +1,33 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES ldifvcardthumbnail.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### ldifvcardthumbnail (module) ###############
+
+tde_add_kpart( ldifvcardthumbnail
+ SOURCES ldifvcardcreator.cpp
+ LINK kabc-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kaddressbook/views/CMakeLists.txt b/kaddressbook/views/CMakeLists.txt
new file mode 100644
index 000000000..b1ab1103e
--- /dev/null
+++ b/kaddressbook/views/CMakeLists.txt
@@ -0,0 +1,65 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}/kaddressbook/common
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/kaddressbook
+ ${CMAKE_SOURCE_DIR}/kaddressbook/interfaces
+ ${CMAKE_SOURCE_DIR}/kaddressbook/common
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES
+ cardview.desktop iconview.desktop tableview.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}/kaddressbook )
+
+
+##### libkaddrbk_cardview (module) ##############
+
+tde_add_kpart( libkaddrbk_cardview AUTOMOC
+ SOURCES
+ cardview.cpp colorlistbox.cpp configurecardviewdialog.cpp
+ kaddressbookcardview.cpp
+ LINK kaddressbook-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### libkaddrbk_iconview (module) ##############
+
+tde_add_kpart( libkaddrbk_iconview AUTOMOC
+ SOURCES
+ kaddressbookiconview.cpp
+ LINK kaddressbook-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### libkaddrbk_tableview (module) #############
+
+tde_add_kpart( libkaddrbk_tableview AUTOMOC
+ SOURCES
+ configuretableviewdialog.cpp contactlistview.cpp
+ kaddressbooktableview.cpp
+ LINK kaddressbook-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kaddressbook/xxport/CMakeLists.txt b/kaddressbook/xxport/CMakeLists.txt
new file mode 100644
index 000000000..6d61f97e3
--- /dev/null
+++ b/kaddressbook/xxport/CMakeLists.txt
@@ -0,0 +1,132 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include( ConfigureChecks.cmake )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/kaddressbook
+ ${CMAKE_SOURCE_DIR}/kaddressbook/interfaces
+ ${CMAKE_SOURCE_DIR}/libkdenetwork
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${GNOKII_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+if( WITH_GNOKII )
+ set( GNOKII_DESKTOP gnokii_xxport.desktop )
+ set( GNOKII_RCFILE gnokii_xxportui.rc )
+endif( )
+
+
+##### other data ################################
+
+install( FILES
+ csv_xxport.desktop vcard_xxport.desktop kde2_xxport.desktop
+ bookmark_xxport.desktop eudora_xxport.desktop ldif_xxport.desktop
+ opera_xxport.desktop pab_xxport.desktop ${GNOKII_DESKTOP}
+ DESTINATION ${SERVICES_INSTALL_DIR}/kaddressbook )
+
+install( FILES
+ 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}
+ DESTINATION ${DATA_INSTALL_DIR}/kaddressbook )
+
+
+##### libkaddrbk_csv_xxport (module) ############
+
+tde_add_kpart( libkaddrbk_csv_xxport AUTOMOC
+ SOURCES csv_xxport.cpp csvimportdialog.cpp dateparser.cpp
+ LINK kabinterfaces-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### libkaddrbk_vcard_xxport (module) ##########
+
+tde_add_kpart( libkaddrbk_vcard_xxport AUTOMOC
+ SOURCES vcard_xxport.cpp
+ LINK kaddressbook-shared qgpgme-shared kabinterfaces-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### libkaddrbk_kde2_xxport (module) ###########
+
+tde_add_kpart( libkaddrbk_kde2_xxport AUTOMOC
+ SOURCES kde2_xxport.cpp
+ LINK kabinterfaces-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### libkaddrbk_bookmark_xxport (module) #######
+
+tde_add_kpart( libkaddrbk_bookmark_xxport AUTOMOC
+ SOURCES bookmark_xxport.cpp
+ LINK kabinterfaces-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### libkaddrbk_eudora_xxport (module) #########
+
+tde_add_kpart( libkaddrbk_eudora_xxport AUTOMOC
+ SOURCES eudora_xxport.cpp
+ LINK kabinterfaces-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### libkaddrbk_ldif_xxport (module) ###########
+
+tde_add_kpart( libkaddrbk_ldif_xxport AUTOMOC
+ SOURCES ldif_xxport.cpp
+ LINK kabinterfaces-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### libkaddrbk_opera_xxport (module) ##########
+
+tde_add_kpart( libkaddrbk_opera_xxport AUTOMOC
+ SOURCES opera_xxport.cpp
+ LINK kabinterfaces-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### libkaddrbk_pab_xxport (module) ############
+
+tde_add_kpart( libkaddrbk_pab_xxport AUTOMOC
+ SOURCES pab_xxport.cpp pab_mapihd.cpp pab_pablib.cpp
+ LINK kabinterfaces-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### libkaddrbk_gnokii_xxport (module) #########
+
+# FIXME gnokii suport are not ready
+if( WITH_GNOKII )
+ tde_add_kpart( libkaddrbk_gnokii_xxport AUTOMOC
+ SOURCES gnokii_xxport.cpp
+ LINK kabinterfaces-shared ${GNOKII_LIBRARIES}
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+ )
+endif( )
diff --git a/kaddressbook/xxport/ConfigureChecks.cmake b/kaddressbook/xxport/ConfigureChecks.cmake
new file mode 100644
index 000000000..340842a88
--- /dev/null
+++ b/kaddressbook/xxport/ConfigureChecks.cmake
@@ -0,0 +1,18 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+# gnokii
+if( WITH_GNOKII )
+ pkg_search_module( GNOKII gnokii )
+ if( NOT GNOKII_FOUND )
+ tde_message_fatal( "gnokii are requested, but was not found on your system" )
+ endif( )
+endif( )