summaryrefslogtreecommitdiffstats
path: root/cmakemodules/generatelibtoolfile.cmake
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-17 00:43:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-17 00:43:50 +0000
commitceea23677c61f20759ae986bd77b0d5c4d673edb (patch)
tree3fcec1702eaf9c14d1dd736e594f5df08dab4001 /cmakemodules/generatelibtoolfile.cmake
downloadkbfx-ceea23677c61f20759ae986bd77b0d5c4d673edb.tar.gz
kbfx-ceea23677c61f20759ae986bd77b0d5c4d673edb.zip
Added old KDE3 version of kbfx
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kbfx@1091549 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'cmakemodules/generatelibtoolfile.cmake')
-rw-r--r--cmakemodules/generatelibtoolfile.cmake16
1 files changed, 16 insertions, 0 deletions
diff --git a/cmakemodules/generatelibtoolfile.cmake b/cmakemodules/generatelibtoolfile.cmake
new file mode 100644
index 0000000..d74ed21
--- /dev/null
+++ b/cmakemodules/generatelibtoolfile.cmake
@@ -0,0 +1,16 @@
+ FILE(WRITE ${OUTPUTFILE} "# ${OUTPUTFILE} - a libtool library file, generated by cmake \n")
+ FILE(APPEND ${OUTPUTFILE} "# The name that we can dlopen(3).\n")
+ FILE(APPEND ${OUTPUTFILE} "dlname='${SONAME}'\n")
+ FILE(APPEND ${OUTPUTFILE} "# Names of this library\n")
+ FILE(APPEND ${OUTPUTFILE} "library_names='${SONAME} ${SONAME} ${SONAME}'\n")
+ FILE(APPEND ${OUTPUTFILE} "# The name of the static archive\n")
+ FILE(APPEND ${OUTPUTFILE} "old_library=''\n")
+ FILE(APPEND ${OUTPUTFILE} "# Libraries that this one depends upon.\n")
+ FILE(APPEND ${OUTPUTFILE} "dependency_libs=''\n")
+# FILE(APPEND ${OUTPUTFILE} "dependency_libs='${${_target}_LIB_DEPENDS}'\n")
+ FILE(APPEND ${OUTPUTFILE} "# Version information.\ncurrent=0\nage=0\nrevision=0\n")
+ FILE(APPEND ${OUTPUTFILE} "# Is this an already installed library?\ninstalled=yes\n")
+ FILE(APPEND ${OUTPUTFILE} "# Should we warn about portability when linking against -modules?\nshouldnotlink=yes\n")
+ FILE(APPEND ${OUTPUTFILE} "# Files to dlopen/dlpreopen\ndlopen=''\ndlpreopen=''\n")
+ FILE(APPEND ${OUTPUTFILE} "# Directory that this library needs to be installed in:\n")
+ FILE(APPEND ${OUTPUTFILE} "libdir='${LIBDIR}'\n")