summaryrefslogtreecommitdiffstats
path: root/kcontrol
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-13 12:27:48 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-13 12:27:48 +0000
commit3f8943dc55dda548298a7514e47ac4649b92e937 (patch)
treeb850eb9d301cfc33d293f1b852b3f41f7c97c312 /kcontrol
parent64f8fc7f84d8771888cdee6ac412fa21f8e5320a (diff)
downloadtdebase-3f8943dc55dda548298a7514e47ac4649b92e937.tar.gz
tdebase-3f8943dc55dda548298a7514e47ac4649b92e937.zip
[kdebase] added samba and ldap support
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1224685 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol')
-rw-r--r--kcontrol/CMakeLists.txt2
-rw-r--r--kcontrol/samba/CMakeLists.txt36
2 files changed, 37 insertions, 1 deletions
diff --git a/kcontrol/CMakeLists.txt b/kcontrol/CMakeLists.txt
index 9362653f2..0bd7f3706 100644
--- a/kcontrol/CMakeLists.txt
+++ b/kcontrol/CMakeLists.txt
@@ -27,7 +27,6 @@ if( BUILD_KCONTROL )
add_subdirectory( bell )
add_subdirectory( dnssd )
add_subdirectory( filetypes )
- # add_subdirectory( samba )
add_subdirectory( krdb )
add_subdirectory( input )
add_subdirectory( kicker )
@@ -67,6 +66,7 @@ if( BUILD_KCONTROL )
add_subdirectory( kfontinst )
add_subdirectory( access )
+ tde_conditional_add_subdirectory( WITH_SAMBA samba )
tde_conditional_add_subdirectory( WITH_XRANDR randr )
tde_conditional_add_subdirectory( WITH_LIBRAW1394 view1394 )
diff --git a/kcontrol/samba/CMakeLists.txt b/kcontrol/samba/CMakeLists.txt
new file mode 100644
index 000000000..1358e0d53
--- /dev/null
+++ b/kcontrol/samba/CMakeLists.txt
@@ -0,0 +1,36 @@
+#################################################
+#
+# (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}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES smbstatus.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### kcm_samba (module) ########################
+
+tde_add_kpart( kcm_samba AUTOMOC
+ SOURCES
+ main.cpp ksmbstatus.cpp kcmsambaimports.cpp kcmsambalog.cpp
+ kcmsambastatistics.cpp
+ LINK kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)