summaryrefslogtreecommitdiffstats
path: root/filesharing/advanced
diff options
context:
space:
mode:
Diffstat (limited to 'filesharing/advanced')
-rw-r--r--filesharing/advanced/CMakeLists.txt14
-rw-r--r--filesharing/advanced/kcm_sambaconf/CMakeLists.txt51
-rw-r--r--filesharing/advanced/nfs/CMakeLists.txt25
-rw-r--r--filesharing/advanced/propsdlgplugin/CMakeLists.txt46
4 files changed, 136 insertions, 0 deletions
diff --git a/filesharing/advanced/CMakeLists.txt b/filesharing/advanced/CMakeLists.txt
new file mode 100644
index 00000000..d4c7d970
--- /dev/null
+++ b/filesharing/advanced/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
+#
+#################################################
+
+add_subdirectory( nfs )
+add_subdirectory( kcm_sambaconf )
+add_subdirectory( propsdlgplugin )
diff --git a/filesharing/advanced/kcm_sambaconf/CMakeLists.txt b/filesharing/advanced/kcm_sambaconf/CMakeLists.txt
new file mode 100644
index 00000000..9ed92497
--- /dev/null
+++ b/filesharing/advanced/kcm_sambaconf/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
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+tde_install_icons( )
+install( FILES kcmsambaconf.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### filesharesamba (static) ###################
+
+tde_add_library( filesharesamba STATIC_PIC AUTOMOC
+ SOURCES
+ sambafile.cpp share.ui sharedlgimpl.cpp sambashare.cpp
+ socketoptionsdlg.ui common.cpp userselectdlg.ui
+ groupselectdlg.ui usertab.ui usertabimpl.cpp filemodedlg.ui
+ filemodedlgimpl.cpp smbpasswdfile.cpp passwd.cpp hiddenfileview.cpp
+ dictmanager.cpp qmultichecklistitem.cpp smbconfconfigwidget.cpp
+ linuxpermissionchecker.cpp expertuserdlg.ui
+)
+
+
+##### kcm_kcmsambaconf (module) #################
+
+tde_add_kpart( kcm_kcmsambaconf AUTOMOC
+ SOURCES
+ kcminterface.ui kcmprinterdlg.ui printerdlgimpl.cpp kcmsambaconf.cpp
+ joindomaindlg.ui
+ LINK filesharesamba-static kdeprint-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/filesharing/advanced/nfs/CMakeLists.txt b/filesharing/advanced/nfs/CMakeLists.txt
new file mode 100644
index 00000000..9aee09a9
--- /dev/null
+++ b/filesharing/advanced/nfs/CMakeLists.txt
@@ -0,0 +1,25 @@
+#################################################
+#
+# (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}
+)
+
+
+##### filesharenfs (static) #####################
+
+tde_add_library( filesharenfs STATIC_PIC AUTOMOC
+ SOURCES
+ nfsdialog.cpp nfshostdlg.cpp hostprops.ui nfsdialoggui.ui nfsfile.cpp
+ nfsentry.cpp
+)
diff --git a/filesharing/advanced/propsdlgplugin/CMakeLists.txt b/filesharing/advanced/propsdlgplugin/CMakeLists.txt
new file mode 100644
index 00000000..f6477d19
--- /dev/null
+++ b/filesharing/advanced/propsdlgplugin/CMakeLists.txt
@@ -0,0 +1,46 @@
+#################################################
+#
+# (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_CURRENT_BINARY_DIR}/../kcm_sambaconf
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES
+ fileshare_propsdlgplugin.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### propsdlgplugin_common (static) ############
+
+tde_add_library( propsdlgplugin_common STATIC_PIC AUTOMOC
+ SOURCES propertiespage.cpp propertiespagegui.ui
+)
+
+
+##### fileshare_propsdlgplugin (module) #########
+
+tde_add_kpart( fileshare_propsdlgplugin AUTOMOC
+ SOURCES propsdlgshareplugin.cpp
+ LINK
+ propsdlgplugin_common-static filesharenfs-static
+ filesharesamba-static kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)