summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/tde_dummy_cpp.cmake5
-rw-r--r--templates/tde_export_library.cmake7
-rw-r--r--templates/tde_libtool_file.cmake35
-rw-r--r--templates/tde_tdeinit_executable.cmake2
-rw-r--r--templates/tde_tdeinit_module.cmake3
5 files changed, 52 insertions, 0 deletions
diff --git a/templates/tde_dummy_cpp.cmake b/templates/tde_dummy_cpp.cmake
new file mode 100644
index 0000000..8e1f5ff
--- /dev/null
+++ b/templates/tde_dummy_cpp.cmake
@@ -0,0 +1,5 @@
+#ifdef _AIX
+ namespace {
+ void *not_empty_file;
+ }
+#endif
diff --git a/templates/tde_export_library.cmake b/templates/tde_export_library.cmake
new file mode 100644
index 0000000..4d6cb3f
--- /dev/null
+++ b/templates/tde_export_library.cmake
@@ -0,0 +1,7 @@
+add_library( @_target@ @_type@ IMPORTED )
+
+set_target_properties( @_target@ PROPERTIES
+ IMPORTED_LINK_INTERFACE_LIBRARIES "@_shared_libs@"
+ IMPORTED_LOCATION "@_location@"
+ IMPORTED_SONAME "@_soname@" )
+
diff --git a/templates/tde_libtool_file.cmake b/templates/tde_libtool_file.cmake
new file mode 100644
index 0000000..fcd73d4
--- /dev/null
+++ b/templates/tde_libtool_file.cmake
@@ -0,0 +1,35 @@
+# @_laname@ - a libtool library file
+# Generated by CMake - GNU libtool
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# The name that we can dlopen(3).
+dlname='@_library_name_2@'
+
+# Names of this library.
+library_names='@_library_name_1@ @_library_name_2@ @_library_name_3@'
+
+# The name of the static archive.
+old_library=''
+
+# Libraries that this one depends upon.
+dependency_libs=''
+
+# Version information for @_name@.
+current=@_version_current@
+age=@_version_age@
+revision=@_version_revision@
+
+# Is this an already installed library?
+installed=yes
+
+# Should we warn about portability when linking against -modules?
+shouldnotlink=@_shouldnotlink@
+
+# Files to dlopen/dlpreopen
+dlopen=''
+dlpreopen=''
+
+# Directory that this library needs to be installed in:
+libdir='@_libdir@'
diff --git a/templates/tde_tdeinit_executable.cmake b/templates/tde_tdeinit_executable.cmake
new file mode 100644
index 0000000..3d480c4
--- /dev/null
+++ b/templates/tde_tdeinit_executable.cmake
@@ -0,0 +1,2 @@
+extern "C" int kdemain(int argc, char* argv[]);
+int main(int argc, char* argv[]) { return kdemain(argc,argv); }
diff --git a/templates/tde_tdeinit_module.cmake b/templates/tde_tdeinit_module.cmake
new file mode 100644
index 0000000..efd89d8
--- /dev/null
+++ b/templates/tde_tdeinit_module.cmake
@@ -0,0 +1,3 @@
+#include <kdemacros.h>
+extern "C" int kdemain(int argc, char* argv[]);
+extern "C" KDE_EXPORT int tdeinitmain(int argc, char* argv[]) { return kdemain(argc,argv); }