comparison m4/sharedlib.m4 @ 1864:911853b3d451

Update sharedlib.m4.
author Jonathan Schleifer <js@h3c.de>
date Mon, 24 Sep 2007 23:26:16 +0200
parents a99495a865eb
children
comparison
equal deleted inserted replaced
1863:0e92506c1805 1864:911853b3d451
49 PLUGIN_SUFFIX='.impl' 49 PLUGIN_SUFFIX='.impl'
50 INSTALL_LIB='${INSTALL} -m 755 $$i ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib && ${LN_S} -f $${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.dylib && ${LN_S} -f $${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib ${DESTDIR}${libdir}/$$i' 50 INSTALL_LIB='${INSTALL} -m 755 $$i ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib && ${LN_S} -f $${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.dylib && ${LN_S} -f $${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib ${DESTDIR}${libdir}/$$i'
51 UNINSTALL_LIB='rm -f ${DESTDIR}${libdir}/$$i ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.dylib ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib' 51 UNINSTALL_LIB='rm -f ${DESTDIR}${libdir}/$$i ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.dylib ${DESTDIR}${libdir}/$${i%.dylib}.${LIB_MAJOR}.${LIB_MINOR}.dylib'
52 CLEAN_LIB='' 52 CLEAN_LIB=''
53 ;; 53 ;;
54 *-sun-* | *-openbsd-* | *-mirbsd-*) 54 *-*-solaris* | *-openbsd-* | *-mirbsd-*)
55 AC_MSG_RESULT(Solaris) 55 AC_MSG_RESULT(Solaris)
56 LIB_CPPFLAGS='-DPIC' 56 LIB_CPPFLAGS='-DPIC'
57 LIB_CFLAGS='-fPIC' 57 LIB_CFLAGS='-fPIC'
58 LIB_LDFLAGS='-shared -fPIC -Wl,-soname=${LIB}.${LIB_MAJOR}.${LIB_MINOR}' 58 LIB_LDFLAGS='-shared -fPIC -Wl,-soname=${LIB}.${LIB_MAJOR}.${LIB_MINOR}'
59 LIB_PREFIX='lib' 59 LIB_PREFIX='lib'
60 LIB_SUFFIX='.so' 60 LIB_SUFFIX='.so'
61 PLUGIN_CPPFLAGS='-DPIC' 61 PLUGIN_CPPFLAGS='-DPIC'
62 PLUGIN_CFLAGS='-fPIC' 62 PLUGIN_CFLAGS='-fPIC'
63 PLUGIN_LDFLAGS='-shared -fPIC' 63 PLUGIN_LDFLAGS='-shared -fPIC'
64 PLUGIN_SUFFIX='.so' 64 PLUGIN_SUFFIX='.so'
65 INSTALL_LIB='${INSTALL} -m 755 $$i ${DESTDIR}${libdir}/$$i.${LIB_MAJOR}.${LIB_MINOR} && ${LN_S} -f $$i.${LIB_MAJOR}.${LIB_MINOR} ${DESTDIR}${libdir}/$$i' 65 INSTALL_LIB='${INSTALL} -m 755 $$i ${DESTDIR}${libdir}/$$i.${LIB_MAJOR}.${LIB_MINOR} && rm -f ${DESTDIR}${libdir}/$$i && ${LN_S} $$i.${LIB_MAJOR}.${LIB_MINOR} ${DESTDIR}${libdir}/$$i'
66 UNINSTALL_LIB='rm -f ${DESTDIR}${libdir}/$$i ${DESTDIR}${libdir}/$$i.${LIB_MAJOR}.${LIB_MINOR}' 66 UNINSTALL_LIB='rm -f ${DESTDIR}${libdir}/$$i ${DESTDIR}${libdir}/$$i.${LIB_MAJOR}.${LIB_MINOR}'
67 CLEAN_LIB='' 67 CLEAN_LIB=''
68 ;; 68 ;;
69 *-*-mingw32) 69 *-*-mingw32 | *-*-cygwin)
70 AC_MSG_RESULT(MinGW32) 70 AC_MSG_RESULT(Win32)
71 LIB_CPPFLAGS='-DPIC' 71 LIB_CPPFLAGS='-DPIC'
72 LIB_CFLAGS='' 72 LIB_CFLAGS=''
73 LIB_LDFLAGS='-shared -Wl,--out-implib,${LIB}.a' 73 LIB_LDFLAGS='-shared -Wl,--out-implib,${LIB}.a'
74 LIB_PREFIX='lib' 74 LIB_PREFIX='lib'
75 LIB_SUFFIX='.dll' 75 LIB_SUFFIX='.dll'
76 PLUGIN_CPPFLAGS='' 76 PLUGIN_CPPFLAGS=''
77 PLUGIN_CFLAGS='' 77 PLUGIN_CFLAGS=''
78 PLUGIN_LDFLAGS='' 78 PLUGIN_LDFLAGS='-shared'
79 PLUGIN_SUFFIX='.dll' 79 PLUGIN_SUFFIX='.dll'
80 INSTALL_LIB='${INSTALL} -m 755 $$i ${DESTDIR}${bindir}/$$i && ${INSTALL} -m 755 $$i.a ${DESTDIR}${libdir}/$$i.a' 80 INSTALL_LIB='${INSTALL} -m 755 $$i ${DESTDIR}${bindir}/$$i && ${INSTALL} -m 755 $$i.a ${DESTDIR}${libdir}/$$i.a'
81 UNINSTALL_LIB='rm -f ${DESTDIR}${bindir}/$$i ${DESTDIR}${libdir}/$$i.a' 81 UNINSTALL_LIB='rm -f ${DESTDIR}${bindir}/$$i ${DESTDIR}${libdir}/$$i.a'
82 CLEAN_LIB='${LIB}.a' 82 CLEAN_LIB='${LIB}.a'
83 ;; 83 ;;