Fix -soname.

This commit is contained in:
Jonathan Schleifer 2007-10-21 02:32:31 +02:00
parent 4cdf2dde37
commit 1d86e48884
2 changed files with 59 additions and 67 deletions

View file

@ -201,32 +201,29 @@ install: ${LIB} ${STATIC_LIB} ${PLUGIN} ${PROG} install-extra
${DIR_LEAVE}; \
done
for i in ${LIB}; do \
${INSTALL_STATUS}; \
if ${MKDIR_P} ${DESTDIR}${libdir} && ${INSTALL_LIB}; then \
${INSTALL_OK}; \
else \
${INSTALL_FAILED}; \
fi \
done
i=${LIB}; \
${INSTALL_STATUS}; \
if ${MKDIR_P} ${DESTDIR}${libdir} && ${INSTALL_LIB}; then \
${INSTALL_OK}; \
else \
${INSTALL_FAILED}; \
fi
for i in ${STATIC_LIB}; do \
${INSTALL_STATUS}; \
if ${MKDIR_P} ${DESTDIR}${libdir} && ${INSTALL} -m 644 $$i ${DESTDIR}${libdir}/$$i; then \
${INSTALL_OK}; \
else \
${INSTALL_FAILED}; \
fi \
done
i=${STATIC_LIB}; \
${INSTALL_STATUS}; \
if ${MKDIR_P} ${DESTDIR}${libdir} && ${INSTALL} -m 644 $$i ${DESTDIR}${libdir}/$$i; then \
${INSTALL_OK}; \
else \
${INSTALL_FAILED}; \
fi
for i in ${PLUGIN}; do \
${INSTALL_STATUS}; \
if ${MKDIR_P} ${DESTDIR}${plugindir} && ${INSTALL} -m 755 $$i ${DESTDIR}${plugindir}/$$i; then \
${INSTALL_OK}; \
else \
${INSTALL_FAILED}; \
fi \
done
i=${PLUGIN}; \
${INSTALL_STATUS}; \
if ${MKDIR_P} ${DESTDIR}${plugindir} && ${INSTALL} -m 755 $$i ${DESTDIR}${plugindir}/$$i; then \
${INSTALL_OK}; \
else \
${INSTALL_FAILED}; \
fi
for i in ${DATA}; do \
${INSTALL_STATUS}; \
@ -237,14 +234,13 @@ install: ${LIB} ${STATIC_LIB} ${PLUGIN} ${PROG} install-extra
fi \
done
for i in ${PROG}; do \
${INSTALL_STATUS}; \
if ${MKDIR_P} ${DESTDIR}${bindir} && ${INSTALL} -m 755 $$i ${DESTDIR}${bindir}/$$i; then \
${INSTALL_OK}; \
else \
${INSTALL_FAILED}; \
fi \
done
i=${PROG}; \
${INSTALL_STATUS}; \
if ${MKDIR_P} ${DESTDIR}${bindir} && ${INSTALL} -m 755 $$i ${DESTDIR}${bindir}/$$i; then \
${INSTALL_OK}; \
else \
${INSTALL_FAILED}; \
fi
for i in ${INCLUDES}; do \
${INSTALL_STATUS}; \
@ -273,35 +269,32 @@ uninstall: uninstall-extra
${DIR_LEAVE}; \
done
for i in ${LIB}; do \
if test -f ${DESTDIR}${libdir}/$$i; then \
if ${UNINSTALL_LIB}; then \
${DELETE_OK}; \
else \
${DELETE_FAILED}; \
fi \
fi; \
done
for i in ${STATIC_LIB}; do \
if test -f ${DESTDIR}${libdir}/$$i; then \
if rm -f ${DESTDIR}${libdir}/$$i; then \
${DELETE_OK}; \
else \
${DELETE_FAILED}; \
fi \
i=${LIB}; \
if test -f ${DESTDIR}${libdir}/$$i; then \
if ${UNINSTALL_LIB}; then \
${DELETE_OK}; \
else \
${DELETE_FAILED}; \
fi \
done
fi
for i in ${PLUGIN}; do \
if test -f ${DESTDIR}${plugindir}/$$i; then \
if rm -f ${DESTDIR}${plugindir}/$$i; then \
${DELETE_OK}; \
else \
${DELETE_FAILED}; \
fi \
i=${STATIC_LIB}; \
if test -f ${DESTDIR}${libdir}/$$i; then \
if rm -f ${DESTDIR}${libdir}/$$i; then \
${DELETE_OK}; \
else \
${DELETE_FAILED}; \
fi \
done
fi
i=${PLUGIN}; \
if test -f ${DESTDIR}${plugindir}/$$i; then \
if rm -f ${DESTDIR}${plugindir}/$$i; then \
${DELETE_OK}; \
else \
${DELETE_FAILED}; \
fi \
fi
-rmdir ${DESTDIR}${plugindir} >/dev/null 2>&1
for i in ${DATA}; do \
@ -314,15 +307,14 @@ uninstall: uninstall-extra
fi \
done
for i in ${PROG}; do \
if test -f ${DESTDIR}${bindir}/$$i; then \
if rm -f ${DESTDIR}${bindir}/$$i; then \
${DELETE_OK}; \
else \
${DELETE_FAILED}; \
fi \
i=${PROG}; \
if test -f ${DESTDIR}${bindir}/$$i; then \
if rm -f ${DESTDIR}${bindir}/$$i; then \
${DELETE_OK}; \
else \
${DELETE_FAILED}; \
fi \
done
fi
for i in ${INCLUDES}; do \
if test -f ${DESTDIR}${includedir}/${includesubdir}/$$i; then \