summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgregory guy <g-gregory@gmx.fr>2018-08-11 09:09:44 +0200
committerSlávek Banko <slavek.banko@axis.cz>2018-09-01 19:02:09 +0200
commitd9576addaa0ca9588e484dba09dacc236b41a332 (patch)
tree2bc59dfe549facc5db3e355b7c328404b72b5ed8
parent5a68382903e8a21e43a50fa9f87b1968d3cb00b9 (diff)
downloadtdeadmin-d9576addaa0ca9588e484dba09dacc236b41a332.tar.gz
tdeadmin-d9576addaa0ca9588e484dba09dacc236b41a332.zip
First bach of cmake files in order to convert tdeadmin
from autotools to cmake building system. (cherry picked from commit 88073834d0052272dce61556b9508e66b84cd494)
-rw-r--r--BUILD_OK.txt7
-rw-r--r--CMakeLists.txt91
-rw-r--r--ConfigureChecks.cmake43
-rw-r--r--config.h.cmake465
-rw-r--r--doc/CMakeLists.txt7
-rw-r--r--doc/kcron/CMakeLists.txt2
-rw-r--r--doc/kdat/CMakeLists.txt2
-rw-r--r--doc/knetworkconf/CMakeLists.txt2
-rw-r--r--doc/kpackage/CMakeLists.txt2
-rw-r--r--doc/ksysv/CMakeLists.txt2
-rw-r--r--doc/kuser/CMakeLists.txt2
-rw-r--r--doc/lilo-config/CMakeLists.txt3
-rw-r--r--kcron/CMakeLists.txt42
-rw-r--r--kdat/CMakeLists.txt39
-rw-r--r--kdat/pics/CMakeLists.txt3
-rw-r--r--knetworkconf/CMakeLists.txt5
-rw-r--r--knetworkconf/backends/CMakeLists.txt1
-rw-r--r--knetworkconf/knetworkconf/CMakeLists.txt45
-rw-r--r--knetworkconf/pixmaps/CMakeLists.txt13
-rw-r--r--kpackage/CMakeLists.txt44
-rw-r--r--kpackage/icon/CMakeLists.txt4
-rw-r--r--kpackage/pics/CMakeLists.txt8
-rw-r--r--kpackage/toolbar/CMakeLists.txt5
-rw-r--r--ksysv/CMakeLists.txt56
-rw-r--r--ksysv/pics/CMakeLists.txt6
-rw-r--r--ksysv/toolbar/CMakeLists.txt3
-rw-r--r--kuser/CMakeLists.txt47
-rw-r--r--kuser/icon/CMakeLists.txt4
-rw-r--r--kuser/pic/CMakeLists.txt5
-rw-r--r--kuser/toolbar/CMakeLists.txt1
-rw-r--r--lilo-config/CMakeLists.txt6
-rw-r--r--lilo-config/common/CMakeLists.txt21
-rw-r--r--lilo-config/common/tests/CMakeLists.txt1
-rw-r--r--lilo-config/kde-qt-common/CMakeLists.txt22
-rw-r--r--lilo-config/kde/CMakeLists.txt32
-rw-r--r--lilo-config/qt/CMakeLists.txt21
-rw-r--r--secpolicy/CMakeLists.txt23
-rw-r--r--tdefile-plugins/CMakeLists.txt4
-rw-r--r--tdefile-plugins/deb/CMakeLists.txt30
-rw-r--r--tdefile-plugins/rpm/CMakeLists.txt30
40 files changed, 1149 insertions, 0 deletions
diff --git a/BUILD_OK.txt b/BUILD_OK.txt
new file mode 100644
index 0000000..e7c16ea
--- /dev/null
+++ b/BUILD_OK.txt
@@ -0,0 +1,7 @@
+DOC
+SECPOLICY --> remove deprecated parameter to initialize main.cpp
+KDAT
+KSYSV
+TDEFILE_PLUGINS
+KCRON --> remove strstream in kcron/ktview.cpp this feature is deprecated and might be dropped without further notice
+KNETWORKCONF --> perl scripts in backends not done...yet
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..0b7fa37
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,91 @@
+###############################################
+#
+# Improvements and feedbacks are welcome
+#
+# This file is released under GPL >= 3
+#
+###############################################
+
+cmake_minimum_required( VERSION 2.8 )
+
+
+#### general package setup
+
+project( tdeadmin )
+set( VERSION R14.0.4 )
+
+
+#### include essential cmake modules
+
+include( FindPkgConfig )
+include( CheckIncludeFile )
+include( CheckLibraryExists )
+include( CheckCSourceCompiles )
+include( CheckCXXSourceCompiles )
+
+
+#### include our cmake modules
+
+set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" )
+include( TDEMacros )
+
+
+##### setup install paths
+
+include( TDESetupPaths )
+tde_setup_paths( )
+
+
+##### optional stuff ############################
+
+
+
+
+##### user requested modules #####
+
+option( BUILD_ALL "Build all" OFF )
+option( BUILD_DOC "Build doc" ${BUILD_ALL} )
+option( BUILD_KCRON "Build kcron" ${BUILD_ALL} )
+option( BUILD_KDAT "Build kdat" ${BUILD_ALL} )
+option( BUILD_KNETWORKCONF "Build knetworkconf" ${BUILD_ALL} )
+option( BUILD_KPACKAGE "Build kpackage" ${BUILD_ALL} )
+option( BUILD_KSYSV "Build ksysv" ${BUILD_ALL} )
+option( BUILD_KUSER "Build kuser" ${BUILD_ALL} )
+option( BUILD_LILO_CONFIG "Build lilo-config" ${BUILD_ALL} )
+option( BUILD_SECPOLICY "Build secpolicy" ${BUILD_ALL} )
+option( BUILD_TDEFILE_PLUGINS "Build tdefile-plugins" ${BUILD_ALL} )
+
+
+##### configure checks
+
+include( ConfigureChecks.cmake )
+
+
+###### global compiler settings
+
+add_definitions(
+ -DHAVE_CONFIG_H
+)
+
+set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" )
+set( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined" )
+set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" )
+
+
+##### @TDE_MODULE_NAME@ directories
+
+tde_conditional_add_subdirectory( BUILD_DOC doc )
+tde_conditional_add_subdirectory( BUILD_KCRON kcron )
+tde_conditional_add_subdirectory( BUILD_KDAT kdat )
+tde_conditional_add_subdirectory( BUILD_KNETWORKCONF knetworkconf )
+tde_conditional_add_subdirectory( BUILD_KPACKAGE kpackage )
+tde_conditional_add_subdirectory( BUILD_KSYSV ksysv )
+tde_conditional_add_subdirectory( BUILD_KUSER kuser )
+tde_conditional_add_subdirectory( BUILD_LILO_CONFIG lilo-config )
+tde_conditional_add_subdirectory( BUILD_SECPOLICY secpolicy )
+tde_conditional_add_subdirectory( BUILD_TDEFILE_PLUGINS tdefile-plugins )
+
+
+##### write configure files
+
+configure_file( config.h.cmake config.h @ONLY )
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
new file mode 100644
index 0000000..426dc7a
--- /dev/null
+++ b/ConfigureChecks.cmake
@@ -0,0 +1,43 @@
+#################################################
+#
+# (C) 2013 Alexander Golubev
+# fatzer2 (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+if( WITH_GCC_VISIBILITY )
+ if( NOT UNIX )
+ tde_message_fatal( "gcc visibility support was requested, but your system is not *NIX" )
+ endif( NOT UNIX )
+ set( __KDE_HAVE_GCC_VISIBILITY 1 )
+ set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden -fvisibility-inlines-hidden")
+ set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden -fvisibility-inlines-hidden")
+endif( WITH_GCC_VISIBILITY )
+
+
+tde_setup_architecture_flags( )
+
+
+##### kcron
+
+if( BUILD_KCRON )
+ check_include_file( "sstream" HAVE_SSTREAM )
+endif( BUILD_KCRON )
+
+
+##### kuser
+
+if( BUILD_KUSER )
+ check_include_file( "unistd.h" HAVE_UNISTD_H )
+ check_include_file( "sys/stat.h" HAVE_SYS_STAT_H )
+endif( BUILD_KUSER )
+
+
+
+# required stuff
+find_package( TQt )
+find_package( TDE )
diff --git a/config.h.cmake b/config.h.cmake
new file mode 100644
index 0000000..ba7231e
--- /dev/null
+++ b/config.h.cmake
@@ -0,0 +1,465 @@
+/* #cmakedefine VERSION "@VERSION@" */
+
+/* Define to the full name and version of this package. */
+#define PACKAGE_STRING "@VERSION@"
+
+/* config.h. Generated from config.h.in by configure. */
+/* config.h.in. Generated from configure.in by autoheader. */
+
+/* Define if building universal (internal helper macro) */
+/* #undef AC_APPLE_UNIVERSAL_BUILD */
+
+/* Define to 1 if you have the <Carbon/Carbon.h> header file. */
+/* #undef HAVE_CARBON_CARBON_H */
+
+/* Define if you have the CoreAudio API */
+/* #undef HAVE_COREAUDIO */
+
+/* Define to 1 if you have the <crt_externs.h> header file. */
+/* #undef HAVE_CRT_EXTERNS_H */
+
+/* Defines if your system has the crypt function */
+#define HAVE_CRYPT 1
+
+/* Define to 1 if you have the <crypt.h> header file. */
+#define HAVE_CRYPT_H 1
+
+/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
+ */
+#define HAVE_DIRENT_H 1
+
+/* Define to 1 if you have the <dlfcn.h> header file. */
+#define HAVE_DLFCN_H 1
+
+/* Define to 1 if you have the <fcntl.h> header file. */
+#define HAVE_FCNTL_H 1
+
+/* Define if you have fgetgrent */
+#define HAVE_FGETGRENT 1
+
+/* Define if you have the fgetgrent prototype */
+#define HAVE_FGETGRENT_PROTO 1
+
+/* Define if you have fgetpwent */
+#define HAVE_FGETPWENT 1
+
+/* Define if you have the fgetpwent prototype */
+#define HAVE_FGETPWENT_PROTO 1
+
+/* Define if you have fgetspent */
+#define HAVE_FGETSPENT 1
+
+/* Define if you have the fgetspent prototype */
+#define HAVE_FGETSPENT_PROTO 1
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#define HAVE_INTTYPES_H 1
+
+/* Irix */
+/* #undef HAVE_IRIX */
+
+/* Define if you have libjpeg */
+#define HAVE_LIBJPEG 1
+
+/* Define if you have libpng */
+#define HAVE_LIBPNG 1
+
+/* Define if you have a working libpthread (will enable threaded code) */
+#define HAVE_LIBPTHREAD 1
+
+/* Define if you have libz */
+#define HAVE_LIBZ 1
+
+/* Linux */
+#define HAVE_LINUX 1
+
+/* Define to 1 if you have the <linux/quota.h> header file. */
+#define HAVE_LINUX_QUOTA_H 1
+
+/* Define to 1 if you have the <linux/unistd.h> header file. */
+#define HAVE_LINUX_UNISTD_H 1
+
+/* Define to 1 if you have the <memory.h> header file. */
+#define HAVE_MEMORY_H 1
+
+/* Define to 1 if you have the <mntent.h> header file. */
+#define HAVE_MNTENT_H 1
+
+/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
+/* #undef HAVE_NDIR_H */
+
+/* Define if your system needs _NSGetEnviron to set up the environment */
+/* #undef HAVE_NSGETENVIRON */
+
+/* Defines if you have PAM (Pluggable Authentication Modules) */
+/* #undef HAVE_PAM */
+
+/* Define if your PAM headers are in pam/ instead of security/ */
+/* #undef HAVE_PAM_PAM_APPL_H */
+
+/* Define to 1 if you have the <paths.h> header file. */
+#define HAVE_PATHS_H 1
+
+/* Define if you have res_init */
+#define HAVE_RES_INIT 1
+
+/* Define if you have the res_init prototype */
+#define HAVE_RES_INIT_PROTO 1
+
+/* Define if you have setenv */
+#define HAVE_SETENV 1
+
+/* Define if you have the setenv prototype */
+#define HAVE_SETENV_PROTO 1
+
+/* Define if you have a STL implementation by SGI */
+#define HAVE_SGI_STL 1
+
+/* Define if you use shadow passwords */
+#define HAVE_SHADOW 1
+
+/* Define to 1 if you have the <signal.h> header file. */
+#define HAVE_SIGNAL_H 1
+
+/* Define to 1 if you have the `snprintf' function. */
+#define HAVE_SNPRINTF 1
+
+/* Define to 1 if you have the <sstream> header file. */
+#define HAVE_SSTREAM 1
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#define HAVE_STDINT_H 1
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#define HAVE_STDLIB_H 1
+
+/* Define to 1 if you have the <strings.h> header file. */
+#define HAVE_STRINGS_H 1
+
+/* Define to 1 if you have the <string.h> header file. */
+#define HAVE_STRING_H 1
+
+/* Define if you have strlcat */
+/* #undef HAVE_STRLCAT */
+
+/* Define if you have the strlcat prototype */
+/* #undef HAVE_STRLCAT_PROTO */
+
+/* Define if you have strlcpy */
+/* #undef HAVE_STRLCPY */
+
+/* Define if you have the strlcpy prototype */
+/* #undef HAVE_STRLCPY_PROTO */
+
+/* Define to 1 if you have the <stropts.h> header file. */
+#define HAVE_STROPTS_H 1
+
+/* Define to 1 if you have the <sys/bitypes.h> header file. */
+#define HAVE_SYS_BITYPES_H 1
+
+/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
+ */
+/* #undef HAVE_SYS_DIR_H */
+
+/* Define to 1 if you have the <sys/fcntl.h> header file. */
+#define HAVE_SYS_FCNTL_H 1
+
+/* Define to 1 if you have the <sys/fs/ufs_quota.h> header file. */
+/* #undef HAVE_SYS_FS_UFS_QUOTA_H */
+
+/* Define to 1 if you have the <sys/mntent.h> header file. */
+/* #undef HAVE_SYS_MNTENT_H */
+
+/* Define to 1 if you have the <sys/mnttab.h> header file. */
+/* #undef HAVE_SYS_MNTTAB_H */
+
+/* Define to 1 if you have the <sys/mount.h> header file. */
+#define HAVE_SYS_MOUNT_H 1
+
+/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
+ */
+/* #undef HAVE_SYS_NDIR_H */
+
+/* Define to 1 if you have the <sys/params.h> header file. */
+/* #undef HAVE_SYS_PARAMS_H */
+
+/* Define to 1 if you have the <sys/param.h> header file. */
+#define HAVE_SYS_PARAM_H 1
+
+/* Define to 1 if you have the <sys/quota.h> header file. */
+#define HAVE_SYS_QUOTA_H 1
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#define HAVE_SYS_STAT_H 1
+
+/* Define to 1 if you have the <sys/stropts.h> header file. */
+#define HAVE_SYS_STROPTS_H 1
+
+/* Define to 1 if you have the <sys/time.h> header file. */
+#define HAVE_SYS_TIME_H 1
+
+/* Define to 1 if you have the <sys/types.h> header file. */
+#define HAVE_SYS_TYPES_H 1
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#define HAVE_UNISTD_H 1
+
+/* Define if you have unsetenv */
+#define HAVE_UNSETENV 1
+
+/* Define if you have the unsetenv prototype */
+#define HAVE_UNSETENV_PROTO 1
+
+/* Define to 1 if you have the `vsnprintf' function. */
+#define HAVE_VSNPRINTF 1
+
+/* Suffix for lib directories */
+#define KDELIBSUFF "64"
+
+/* first group ID */
+#define KU_FIRSTGID 500
+
+/* first user ID */
+#define KU_FIRSTUID 500
+
+/* home directory permissions */
+#define KU_HOMEDIR_PERM 0700
+
+/* default template for homedir */
+#define KU_HOMETEMPLATE "/home/%U"
+
+/* mailbox gid */
+#define KU_MAILBOX_GID 0
+
+/* mailbox permissions */
+#define KU_MAILBOX_PERM 0660
+
+/* private groups */
+#define KU_USERPRIVATEGROUP false
+
+/* Define to the sub-directory where libtool stores uninstalled libraries. */
+#define LT_OBJDIR ".libs/"
+
+/* Name of package */
+#define PACKAGE "tdeadmin"
+
+/* Define to the address where bug reports for this package should be sent. */
+#define PACKAGE_BUGREPORT ""
+
+/* Define to the full name of this package. */
+#define PACKAGE_NAME ""
+
+/* Define to the one symbol short name of this package. */
+#define PACKAGE_TARNAME ""
+
+/* Define to the home page for this package. */
+#define PACKAGE_URL ""
+
+/* Define if your PAM support takes non-const arguments (Solaris) */
+/* #undef PAM_MESSAGE_NONCONST */
+
+/* The size of `char *', as computed by sizeof. */
+#define SIZEOF_CHAR_P 8
+
+/* The size of `int', as computed by sizeof. */
+#define SIZEOF_INT 4
+
+/* The size of `long', as computed by sizeof. */
+#define SIZEOF_LONG 8
+
+/* The size of `short', as computed by sizeof. */
+#define SIZEOF_SHORT 2
+
+/* The size of `size_t', as computed by sizeof. */
+#define SIZEOF_SIZE_T 8
+
+/* The size of `unsigned long', as computed by sizeof. */
+#define SIZEOF_UNSIGNED_LONG 8
+
+/* Define to 1 if you have the ANSI C header files. */
+#define STDC_HEADERS 1
+
+/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
+#define TIME_WITH_SYS_TIME 1
+
+/* Version number of package */
+#define VERSION "3.5.10"
+
+/* Defined if compiling without arts */
+/* #undef WITHOUT_ARTS */
+
+/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
+ significant byte first (like Motorola and SPARC, unlike Intel). */
+#if defined AC_APPLE_UNIVERSAL_BUILD
+# if defined __BIG_ENDIAN__
+# define WORDS_BIGENDIAN 1
+# endif
+#else
+# ifndef WORDS_BIGENDIAN
+/* # undef WORDS_BIGENDIAN */
+# endif
+#endif
+
+/*
+ * jpeg.h needs HAVE_BOOLEAN, when the system uses boolean in system
+ * headers and I'm too lazy to write a configure test as long as only
+ * unixware is related
+ */
+#ifdef _UNIXWARE
+#define HAVE_BOOLEAN
+#endif
+
+
+
+/*
+ * AIX defines FD_SET in terms of bzero, but fails to include <strings.h>
+ * that defines bzero.
+ */
+
+#if defined(_AIX)
+#include <strings.h>
+#endif
+
+
+
+#if defined(HAVE_NSGETENVIRON) && defined(HAVE_CRT_EXTERNS_H)
+# include <sys/time.h>
+# include <crt_externs.h>
+# define environ (*_NSGetEnviron())
+#endif
+
+
+
+#if !defined(HAVE_FGETGRENT_PROTO)
+#ifdef __cplusplus
+extern "C" {
+#endif
+;
+#ifdef __cplusplus
+}
+#endif
+#endif
+
+
+
+#if !defined(HAVE_FGETPWENT_PROTO)
+#ifdef __cplusplus
+extern "C" {
+#endif
+;
+#ifdef __cplusplus
+}
+#endif
+#endif
+
+
+
+#if !defined(HAVE_FGETSPENT_PROTO)
+#ifdef __cplusplus
+extern "C" {
+#endif
+;
+#ifdef __cplusplus
+}
+#endif
+#endif
+
+
+
+#if !defined(HAVE_RES_INIT_PROTO)
+#ifdef __cplusplus
+extern "C" {
+#endif
+int res_init(void);
+#ifdef __cplusplus
+}
+#endif
+#endif
+
+
+
+#if !defined(HAVE_SETENV_PROTO)
+#ifdef __cplusplus
+extern "C" {
+#endif
+int setenv (const char *, const char *, int);
+#ifdef __cplusplus
+}
+#endif
+#endif
+
+
+
+#if !defined(HAVE_STRLCAT_PROTO)
+#ifdef __cplusplus
+extern "C" {
+#endif
+unsigned long strlcat(char*, const char*, unsigned long);
+#ifdef __cplusplus
+}
+#endif
+#endif
+
+
+
+#if !defined(HAVE_STRLCPY_PROTO)
+#ifdef __cplusplus
+extern "C" {
+#endif
+unsigned long strlcpy(char*, const char*, unsigned long);
+#ifdef __cplusplus
+}
+#endif
+#endif
+
+
+
+#if !defined(HAVE_UNSETENV_PROTO)
+#ifdef __cplusplus
+extern "C" {
+#endif
+void unsetenv (const char *);
+#ifdef __cplusplus
+}
+#endif
+#endif
+
+
+
+/*
+ * On HP-UX, the declaration of vsnprintf() is needed every time !
+ */
+
+#if !defined(HAVE_VSNPRINTF) || defined(hpux)
+#if __STDC__
+#include <stdarg.h>
+#include <stdlib.h>
+#else
+#include <varargs.h>
+#endif
+#ifdef __cplusplus
+extern "C"
+#endif
+int vsnprintf(char *str, size_t n, char const *fmt, va_list ap);
+#ifdef __cplusplus
+extern "C"
+#endif
+int snprintf(char *str, size_t n, char const *fmt, ...);
+#endif
+
+
+/* define to 1 if -fvisibility is supported */
+/* #undef __KDE_HAVE_GCC_VISIBILITY */
+
+
+#if defined(__SVR4) && !defined(__svr4__)
+#define __svr4__ 1
+#endif
+
+
+/* type to use in place of socklen_t if not defined */
+#define kde_socklen_t socklen_t
+
+/* type to use in place of socklen_t if not defined (deprecated, use
+ kde_socklen_t) */
+#define ksize_t socklen_t
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
new file mode 100644
index 0000000..da734f9
--- /dev/null
+++ b/doc/CMakeLists.txt
@@ -0,0 +1,7 @@
+add_subdirectory( lilo-config )
+add_subdirectory( kuser )
+add_subdirectory( ksysv )
+add_subdirectory( kpackage )
+add_subdirectory( knetworkconf )
+add_subdirectory( kdat )
+add_subdirectory( kcron )
diff --git a/doc/kcron/CMakeLists.txt b/doc/kcron/CMakeLists.txt
new file mode 100644
index 0000000..e82a241
--- /dev/null
+++ b/doc/kcron/CMakeLists.txt
@@ -0,0 +1,2 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+tde_create_handbook( DESTINATION kcron )
diff --git a/doc/kdat/CMakeLists.txt b/doc/kdat/CMakeLists.txt
new file mode 100644
index 0000000..55fa83a
--- /dev/null
+++ b/doc/kdat/CMakeLists.txt
@@ -0,0 +1,2 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+tde_create_handbook( DESTINATION kdat )
diff --git a/doc/knetworkconf/CMakeLists.txt b/doc/knetworkconf/CMakeLists.txt
new file mode 100644
index 0000000..60026f3
--- /dev/null
+++ b/doc/knetworkconf/CMakeLists.txt
@@ -0,0 +1,2 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+tde_create_handbook( DESTINATION knetworkconf )
diff --git a/doc/kpackage/CMakeLists.txt b/doc/kpackage/CMakeLists.txt
new file mode 100644
index 0000000..3dffd3c
--- /dev/null
+++ b/doc/kpackage/CMakeLists.txt
@@ -0,0 +1,2 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+tde_create_handbook( DESTINATION kpackage )
diff --git a/doc/ksysv/CMakeLists.txt b/doc/ksysv/CMakeLists.txt
new file mode 100644
index 0000000..49257fe
--- /dev/null
+++ b/doc/ksysv/CMakeLists.txt
@@ -0,0 +1,2 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+tde_create_handbook( DESTINATION ksysv )
diff --git a/doc/kuser/CMakeLists.txt b/doc/kuser/CMakeLists.txt
new file mode 100644
index 0000000..7f353c7
--- /dev/null
+++ b/doc/kuser/CMakeLists.txt
@@ -0,0 +1,2 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+tde_create_handbook( DESTINATION kuser )
diff --git a/doc/lilo-config/CMakeLists.txt b/doc/lilo-config/CMakeLists.txt
new file mode 100644
index 0000000..41ee046
--- /dev/null
+++ b/doc/lilo-config/CMakeLists.txt
@@ -0,0 +1,3 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+tde_create_handbook( DESTINATION lilo-config )
+
diff --git a/kcron/CMakeLists.txt b/kcron/CMakeLists.txt
new file mode 100644
index 0000000..66cd953
--- /dev/null
+++ b/kcron/CMakeLists.txt
@@ -0,0 +1,42 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### kcron (executable) ########################
+
+tde_add_executable( kcron AUTOMOC
+ SOURCES cthost.cpp ctcron.cpp ctmonth.cpp ctdom.cpp ctdow.cpp cttask.cpp
+ ctvariable.cpp kticon.cpp ktapp.cpp ktview.cpp ktlistitem.cpp
+ ktlistcron.cpp ktlisttask.cpp ktlisttasks.cpp ktlistvar.cpp ktlistvars.cpp
+ kttask.cpp ktvariable.cpp ktprint.cpp ktprintopt.cpp main.cpp
+ LINK tdecore-shared tdeui-shared tdeio-shared tdeprint-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### icons #####################################
+
+tde_install_icons( kcron )
+
+
+##### other data ################################
+
+install( FILES kcronui.rc
+ DESTINATION ${DATA_INSTALL_DIR}/kcron
+)
+
+install( FILES kcron.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR}
+)
diff --git a/kdat/CMakeLists.txt b/kdat/CMakeLists.txt
new file mode 100644
index 0000000..4adf4fb
--- /dev/null
+++ b/kdat/CMakeLists.txt
@@ -0,0 +1,39 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+add_subdirectory( pics )
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### kdat (executable) #########################
+
+tde_add_executable( kdat AUTOMOC
+ SOURCES Archive.cpp ArchiveInfoWidget.cpp BackupDlg.cpp BackupOptDlg.cpp
+ BackupProfile.cpp BackupProfileInfoWidget.cpp BackupProfileManager.cpp
+ BackupProfileWidget.cpp ErrorHandler.cpp File.cpp FileInfoWidget.cpp
+ ImageCache.cpp IndexDlg.cpp InfoShellWidget.cpp KDatMainWindow.cpp
+ LoggerWidget.cpp Node.cpp Options.cpp OptionsDlg.cpp OptionsDlgWidget.ui
+ Range.cpp Tape.cpp TapeDrive.cpp TapeFileInfoWidget.cpp TapeInfoWidget.cpp
+ TapeManager.cpp FormatOptDlg.cpp TarParser.cpp Util.cpp VerifyDlg.cpp
+ VerifyOptDlg.cpp ktreeview.cpp main.cpp
+ LINK tdecore-shared tdeui-shared tdeio-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### other data ################################
+
+install( FILES kdat.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR}
+)
diff --git a/kdat/pics/CMakeLists.txt b/kdat/pics/CMakeLists.txt
new file mode 100644
index 0000000..86a39ef
--- /dev/null
+++ b/kdat/pics/CMakeLists.txt
@@ -0,0 +1,3 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+tde_install_icons( kdat )
diff --git a/knetworkconf/CMakeLists.txt b/knetworkconf/CMakeLists.txt
new file mode 100644
index 0000000..f5b50fa
--- /dev/null
+++ b/knetworkconf/CMakeLists.txt
@@ -0,0 +1,5 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+add_subdirectory( knetworkconf )
+add_subdirectory( backends )
+add_subdirectory( pixmaps )
diff --git a/knetworkconf/backends/CMakeLists.txt b/knetworkconf/backends/CMakeLists.txt
new file mode 100644
index 0000000..89a876b
--- /dev/null
+++ b/knetworkconf/backends/CMakeLists.txt
@@ -0,0 +1 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
diff --git a/knetworkconf/knetworkconf/CMakeLists.txt b/knetworkconf/knetworkconf/CMakeLists.txt
new file mode 100644
index 0000000..a00d070
--- /dev/null
+++ b/knetworkconf/knetworkconf/CMakeLists.txt
@@ -0,0 +1,45 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+add_definitions( -UQT_NO_COMPAT
+)
+
+
+##### kcm_knetworkconfmodule (kpart) ############
+
+tde_add_kpart( kcm_knetworkconfmodule AUTOMOC
+ SOURCES tdeselectdistrodlg.ui kknownhostinfo.cpp kinterfaceupdowndlg.ui
+ kaddknownhostdlg.ui kdetectdistrodlg.ui knetworkconfmodule.cpp
+ kroutinginfo.cpp kreloadnetworkdlg.ui kaddressvalidator.cpp kdnsinfo.cpp
+ knetworkinfo.cpp kadddevicedlg.ui kadddnsserverdlg.ui
+ knetworkconfigparser.cpp knetworkinterface.cpp knetworkconfdlg.ui
+ knetworkconf.cpp main.cpp kadddevicedlgextension.ui knetworkconfiface.skel
+ kwirelessinterface.cpp kadddevicewifiext.ui kadddevicecontainer.cpp
+ kprofileslistviewtooltip.cpp
+ LINK tdeui-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### icons #####################################
+
+tde_install_icons( )
+
+
+##### other data ################################
+
+install( FILES kcm_knetworkconfmodule.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR}
+)
diff --git a/knetworkconf/pixmaps/CMakeLists.txt b/knetworkconf/pixmaps/CMakeLists.txt
new file mode 100644
index 0000000..3bf4b1d
--- /dev/null
+++ b/knetworkconf/pixmaps/CMakeLists.txt
@@ -0,0 +1,13 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+tde_install_icons( network_connected_lan_knc network_disconnected_lan
+ network_disconnected_wlan network_traffic_wlan )
+
+
+##### other data ################################
+
+install( FILES ark.png debian.png mandriva.png blackpanther.png pld.png
+ redhat.png suse.png turbolinux.png conectiva.png fedora.png openna.png
+ slackware.png freebsd.png gentoo.png vine.png kubuntu.png yoper.png rpath.png
+ DESTINATION ${DATA_INSTALL_DIR}/knetworkconf/pixmaps/
+)
diff --git a/kpackage/CMakeLists.txt b/kpackage/CMakeLists.txt
new file mode 100644
index 0000000..5853e6d
--- /dev/null
+++ b/kpackage/CMakeLists.txt
@@ -0,0 +1,44 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+add_subdirectory( pics )
+add_subdirectory( toolbar )
+add_subdirectory( icon )
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### kpackage (executable) #####################
+
+tde_add_executable( kpackage AUTOMOC
+ SOURCES kpackage.cpp managementWidget.cpp packageDisplay.cpp
+ packageProperties.cpp findf.cpp search.cpp options.cpp pkgOptions.cpp
+ packageInfo.cpp cache.cpp main.cpp utils.cpp tdeio.cpp debInterface.cpp
+ debDpkgInterface.cpp debAptInterface.cpp updateLoc.cpp procbuf.cpp
+ kplview.cpp pkgInterface.cpp rpmInterface.cpp kissInterface.cpp
+ slackInterface.cpp fbsdInterface.cpp gentooInterface.cpp kpPty.cpp
+ kpTerm.cpp
+ LINK tdecore-shared tdeui-shared tdeio-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### other data ################################
+
+install( FILES kpackageui.rc
+ DESTINATION ${DATA_INSTALL_DIR}/kpackage
+)
+
+install( FILES kpackage.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR}
+)
diff --git a/kpackage/icon/CMakeLists.txt b/kpackage/icon/CMakeLists.txt
new file mode 100644
index 0000000..495bca5
--- /dev/null
+++ b/kpackage/icon/CMakeLists.txt
@@ -0,0 +1,4 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+tde_install_icons( kpackage )
+
diff --git a/kpackage/pics/CMakeLists.txt b/kpackage/pics/CMakeLists.txt
new file mode 100644
index 0000000..e0baad9
--- /dev/null
+++ b/kpackage/pics/CMakeLists.txt
@@ -0,0 +1,8 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+install( FILES cross.png dbad.png deb.png dnew.png dupdated.png ptick.png
+ question.png rnew.png rpm.png rupdated.png kiss.png knew.png kupdated.png
+ slack.png snew.png supdated.png bsd.png bnew.png bupdated.png tick.png
+ noball.png
+ DESTINATION ${DATA_INSTALL_DIR}/kpackage/pics
+)
diff --git a/kpackage/toolbar/CMakeLists.txt b/kpackage/toolbar/CMakeLists.txt
new file mode 100644
index 0000000..4a927db
--- /dev/null
+++ b/kpackage/toolbar/CMakeLists.txt
@@ -0,0 +1,5 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+install( FILES ftin.xpm ftout.xpm
+ DESTINATION ${DATA_INSTALL_DIR}/kpackage/pics
+)
diff --git a/ksysv/CMakeLists.txt b/ksysv/CMakeLists.txt
new file mode 100644
index 0000000..64f11e7
--- /dev/null
+++ b/ksysv/CMakeLists.txt
@@ -0,0 +1,56 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+add_subdirectory( pics )
+add_subdirectory( toolbar )
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### ksysv (executable) ########################
+
+tde_add_executable( ksysv AUTOMOC
+ SOURCES main.cpp ActionList.cpp IOCore.cpp ksvdraglist.cpp
+ RunlevelAuthIcon.cpp OldView.cpp Properties.cpp SpinBox.cpp ServiceDlg.cpp
+ TopWidget.cpp Data.cpp ksv_conf.cpp ksvapplication.cpp kdltooltip.cpp
+ ksv_core.cpp ksvdrag.cpp kscroller.cpp ksv_service.cpp leveldb.c
+ PreferencesDialog.cpp trash.cpp pathconfig.ui ksvpathconfig.cpp
+ miscconfig.ui ksvmiscconfig.cpp lookandfeelconfig.ui ksvlookandfeel.cpp
+ configwizard.ui ksvconfigwizard.cpp kbusymanager.cpp
+ LINK tdecore-shared tdeui-shared tdeio-shared tdeprint-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### icons #####################################
+
+tde_install_icons( )
+
+
+##### other data ################################
+
+install( FILES ksysvui.rc
+ DESTINATION ${DATA_INSTALL_DIR}/ksysv
+)
+
+install( FILES ksysv.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR}
+)
+
+install( FILES x-ksysv-log.desktop
+ DESTINATION ${MIME_INSTALL_DIR}/text
+)
+
+install( FILES x-ksysv.desktop
+ DESTINATION ${MIME_INSTALL_DIR}/application
+)
diff --git a/ksysv/pics/CMakeLists.txt b/ksysv/pics/CMakeLists.txt
new file mode 100644
index 0000000..1b67975
--- /dev/null
+++ b/ksysv/pics/CMakeLists.txt
@@ -0,0 +1,6 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+install( FILES ksysv_start.png ksysv_locked.png ksysv_unlocked.png
+ ksysv_restart.png ksysv_stop.png
+ DESTINATION ${DATA_INSTALL_DIR}/ksysv/pics
+)
diff --git a/ksysv/toolbar/CMakeLists.txt b/ksysv/toolbar/CMakeLists.txt
new file mode 100644
index 0000000..2b6a060
--- /dev/null
+++ b/ksysv/toolbar/CMakeLists.txt
@@ -0,0 +1,3 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+tde_install_icons( )
diff --git a/kuser/CMakeLists.txt b/kuser/CMakeLists.txt
new file mode 100644
index 0000000..2ecfd90
--- /dev/null
+++ b/kuser/CMakeLists.txt
@@ -0,0 +1,47 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+add_subdirectory( pic )
+add_subdirectory( toolbar )
+add_subdirectory( icon )
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/kuser
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### kuser (executable) ########################
+
+tde_add_executable( kuser AUTOMOC
+ SOURCES mainWidget.cpp editGroup.cpp kuservw.cpp kgroupvw.cpp delUser.cpp
+ kuser.cpp kgroup.cpp main.cpp mainView.cpp propdlg.cpp misc.cpp pwddlg.cpp
+ addUser.cpp editDefaults.cpp tdeglobal.cpp sid.cpp kuserfiles.cpp
+ kgroupfiles.cpp kuserldap.cpp kgroupldap.cpp kusersystem.cpp
+ kgroupsystem.cpp selectconn.cpp sha1.cpp kuserprefs.kcfgc filessettings.ui
+ generalsettings.ui ldapsettings.ui ldapsamba.ui passwordpolicy.ui
+ LINK tdecore-shared tdeui-shared tdeio-shared tdeui-shared crypt tdeabc_ldaptdeio tdeabc ldap
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### other data ################################
+
+install( FILES kuserui.rc
+ DESTINATION ${DATA_INSTALL_DIR}/kuser
+)
+
+install( FILES kuser.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR}
+)
+
+install( FILES kuser.kcfg
+ DESTINATION ${KCFG_INSTALL_DIR}
+)
diff --git a/kuser/icon/CMakeLists.txt b/kuser/icon/CMakeLists.txt
new file mode 100644
index 0000000..58576a9
--- /dev/null
+++ b/kuser/icon/CMakeLists.txt
@@ -0,0 +1,4 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+tde_install_icons( kuser )
+
diff --git a/kuser/pic/CMakeLists.txt b/kuser/pic/CMakeLists.txt
new file mode 100644
index 0000000..ab2f4de
--- /dev/null
+++ b/kuser/pic/CMakeLists.txt
@@ -0,0 +1,5 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+install( FILES group.png user.png
+ DESTINATION ${DATA_INSTALL_DIR}/kuser/pics/
+)
diff --git a/kuser/toolbar/CMakeLists.txt b/kuser/toolbar/CMakeLists.txt
new file mode 100644
index 0000000..89a876b
--- /dev/null
+++ b/kuser/toolbar/CMakeLists.txt
@@ -0,0 +1 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
diff --git a/lilo-config/CMakeLists.txt b/lilo-config/CMakeLists.txt
new file mode 100644
index 0000000..43cb7b8
--- /dev/null
+++ b/lilo-config/CMakeLists.txt
@@ -0,0 +1,6 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+add_subdirectory( common )
+add_subdirectory( kde )
+#add_subdirectory( qt )
+#add_subdirectory( kde-qt-common )
diff --git a/lilo-config/common/CMakeLists.txt b/lilo-config/common/CMakeLists.txt
new file mode 100644
index 0000000..9db95db
--- /dev/null
+++ b/lilo-config/common/CMakeLists.txt
@@ -0,0 +1,21 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### common (static) ###########################
+
+tde_add_library( common STATIC_PIC AUTOMOC
+ SOURCES String.cc Files.cc Disks.cc Config.cc lilo.cc
+)
diff --git a/lilo-config/common/tests/CMakeLists.txt b/lilo-config/common/tests/CMakeLists.txt
new file mode 100644
index 0000000..89a876b
--- /dev/null
+++ b/lilo-config/common/tests/CMakeLists.txt
@@ -0,0 +1 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
diff --git a/lilo-config/kde-qt-common/CMakeLists.txt b/lilo-config/kde-qt-common/CMakeLists.txt
new file mode 100644
index 0000000..81e638a
--- /dev/null
+++ b/lilo-config/kde-qt-common/CMakeLists.txt
@@ -0,0 +1,22 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### widgets (static) ##########################
+
+tde_add_library( widgets STATIC_PIC AUTOMOC
+ SOURCES mainwidget.cpp general.cpp images.cpp expert.cpp EditWidget.cpp
+ LINK common-shared
+)
diff --git a/lilo-config/kde/CMakeLists.txt b/lilo-config/kde/CMakeLists.txt
new file mode 100644
index 0000000..49b1059
--- /dev/null
+++ b/lilo-config/kde/CMakeLists.txt
@@ -0,0 +1,32 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/lilo-config/kde-qt-common
+ ${CMAKE_SOURCE_DIR}/lilo-config/common/
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### kcm_lilo (kpart) ##########################
+
+tde_add_kpart( kcm_lilo AUTOMOC
+ SOURCES kcontrol.cpp Details.cpp InputBox.cpp
+ LINK tdeio-shared tdecore-shared tdeui-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data ################################
+
+install( FILES lilo.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR}
+)
diff --git a/lilo-config/qt/CMakeLists.txt b/lilo-config/qt/CMakeLists.txt
new file mode 100644
index 0000000..4e8c303
--- /dev/null
+++ b/lilo-config/qt/CMakeLists.txt
@@ -0,0 +1,21 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### lilo-config (executable) ##################
+
+tde_add_executable( lilo-config AUTOMOC
+ SOURCES
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/secpolicy/CMakeLists.txt b/secpolicy/CMakeLists.txt
new file mode 100644
index 0000000..ea9dd25
--- /dev/null
+++ b/secpolicy/CMakeLists.txt
@@ -0,0 +1,23 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### secpolicy (executable) ####################
+
+tde_add_executable( secpolicy AUTOMOC
+ SOURCES main.cpp secpolicywin.cpp pamview.cpp ppitem.cpp
+ LINK tdecore-shared tdeui-shared tdeio-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/tdefile-plugins/CMakeLists.txt b/tdefile-plugins/CMakeLists.txt
new file mode 100644
index 0000000..a88f8fa
--- /dev/null
+++ b/tdefile-plugins/CMakeLists.txt
@@ -0,0 +1,4 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+add_subdirectory( rpm )
+add_subdirectory( deb )
diff --git a/tdefile-plugins/deb/CMakeLists.txt b/tdefile-plugins/deb/CMakeLists.txt
new file mode 100644
index 0000000..70ec689
--- /dev/null
+++ b/tdefile-plugins/deb/CMakeLists.txt
@@ -0,0 +1,30 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### tdefile_deb (kpart) #######################
+
+tde_add_kpart( tdefile_deb AUTOMOC
+ SOURCES tdefile_deb.cpp
+ LINK tdeio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data ################################
+
+install( FILES tdefile_deb.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
diff --git a/tdefile-plugins/rpm/CMakeLists.txt b/tdefile-plugins/rpm/CMakeLists.txt
new file mode 100644
index 0000000..8e161e3
--- /dev/null
+++ b/tdefile-plugins/rpm/CMakeLists.txt
@@ -0,0 +1,30 @@
+# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### tdefile_rpm (kpart) #######################
+
+tde_add_kpart( tdefile_rpm AUTOMOC
+ SOURCES tdefile_rpm.cpp
+ LINK tdeio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data ################################
+
+install( FILES tdefile_rpm.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)