summaryrefslogtreecommitdiffstats
path: root/kdnssd
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-17 22:21:01 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-17 22:21:01 +0000
commitd64072db8ef872ff2c97cf2b857a2eb104b6ea41 (patch)
tree1f11ed01f0cf063ed5a42677b7a9e9affca27fba /kdnssd
parentfd31d8d4a8a6c400d29993db38cf0fe12373b38d (diff)
downloadtdenetwork-d64072db8ef872ff2c97cf2b857a2eb104b6ea41.tar.gz
tdenetwork-d64072db8ef872ff2c97cf2b857a2eb104b6ea41.zip
[kdenetwork/kdnssd] added cmake support
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237326 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdnssd')
-rw-r--r--kdnssd/CMakeLists.txt13
-rw-r--r--kdnssd/ioslave/CMakeLists.txt44
-rw-r--r--kdnssd/kdedmodule/CMakeLists.txt34
3 files changed, 91 insertions, 0 deletions
diff --git a/kdnssd/CMakeLists.txt b/kdnssd/CMakeLists.txt
new file mode 100644
index 00000000..8aedd4c0
--- /dev/null
+++ b/kdnssd/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
+#
+#################################################
+
+add_subdirectory( ioslave )
+add_subdirectory( kdedmodule )
diff --git a/kdnssd/ioslave/CMakeLists.txt b/kdnssd/ioslave/CMakeLists.txt
new file mode 100644
index 00000000..f999dff5
--- /dev/null
+++ b/kdnssd/ioslave/CMakeLists.txt
@@ -0,0 +1,44 @@
+#################################################
+#
+# (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
+ zeroconf.protocol invitation.protocol
+ DESTINATION ${SERVICES_INSTALL_DIR} )
+
+install( FILES
+ _http._tcp _ftp._tcp _ldap._tcp _webdav._tcp _nfs._tcp _ssh._tcp
+ DESTINATION ${DATA_INSTALL_DIR}/zeroconf )
+
+install( FILES
+ zeroconf.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/remoteview )
+
+
+##### kio_zeroconf (module) #####################
+
+tde_add_kpart( kio_zeroconf AUTOMOC
+ SOURCES dnssd.cpp
+ LINK kdnssd-shared kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kdnssd/kdedmodule/CMakeLists.txt b/kdnssd/kdedmodule/CMakeLists.txt
new file mode 100644
index 00000000..5604c97a
--- /dev/null
+++ b/kdnssd/kdedmodule/CMakeLists.txt
@@ -0,0 +1,34 @@
+#################################################
+#
+# (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 dnssdwatcher.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kded )
+
+
+##### kded_dnssdwatcher (module) ################
+
+tde_add_kpart( kded_dnssdwatcher AUTOMOC
+ SOURCES dnssdwatcher.cpp dnssdwatcher.skel watcher.cpp
+ LINK kdnssd-shared kdeinit_kded-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)