blob: 7deea0085b8dc08a3a4fb89ddf56a5fbd5749c2d (
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
|
#################################################
#
# (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
${CMAKE_SOURCE_DIR}/libkdenetwork
${CMAKE_SOURCE_DIR}/libkdepim
${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( )
|