Lines Matching refs:LIBNAME
73 # libname to make
82 LIBNAME=$1
87 rm -f ${LIBNAME}
90 ar ${OPTS} ${LIBNAME} ${OBJECTS}
94 ranlib ${LIBNAME}
97 echo ${LIBNAME}
134 LIBNAME=""
163 LIBNAME=$1
278 if [ "x${LIBNAME}" = "x" ] ; then
294 echo LIBNAME is $LIBNAME
343 echo "mklib: Making" $ARCH "shared library: " ${LIBNAME}
359 rm -f ${LIBNAME}
361 ${LINK} ${OPTS} ${LDFLAGS} -o ${LIBNAME} ${OBJECTS} ${DEPS}
363 FINAL_LIBS="${LIBNAME}"
366 LIBNAME="lib${LIBNAME}.a" # prefix with "lib", suffix with ".a"
367 echo "mklib: Making" $ARCH "static library: " ${LIBNAME}
374 NEW_OBJECTS=`expand_archives ${LIBNAME}.obj $OBJECTS`
377 FINAL_LIBS=`make_ar_static_lib ${OPTS} 1 ${LIBNAME} ${NEW_OBJECTS}`
380 rm -rf ${LIBNAME}.obj
383 LIBNAME="lib${LIBNAME}" # prefix with "lib"
385 OPTS="-Xlinker -Bsymbolic -shared -Wl,-soname,${LIBNAME}.so.${MAJOR}"
388 OPTS="-shared -Wl,-soname,${LIBNAME}.so.${MAJOR}"
417 echo "mklib: Making" $ARCH "shared library: " ${LIBNAME}.so.${VERSION}
420 rm -f ${LIBNAME}.so.${VERSION}
421 rm -f ${LIBNAME}.so.${MAJOR}
422 rm -f ${LIBNAME}.so
425 ${LINK} ${OPTS} ${LDFLAGS} -o ${LIBNAME}.so.${VERSION} ${OBJECTS} ${DEPS}
427 ln -s ${LIBNAME}.so.${VERSION} ${LIBNAME}.so.${MAJOR}
428 ln -s ${LIBNAME}.so.${MAJOR} ${LIBNAME}.so
430 FINAL_LIBS="${LIBNAME}.so.${VERSION} ${LIBNAME}.so.${MAJOR} ${LIBNAME}.so"
437 LIBNAME="lib${LIBNAME}.a"
438 echo "mklib: Making SunOS static library: " ${LIBNAME}
439 FINAL_LIBS=`make_ar_static_lib -ruc 0 ${LIBNAME} ${OBJECTS}`
442 LIBNAME="lib${LIBNAME}.so"
444 echo "mklib: Making SunOS shared library: " ${LIBNAME}
526 rm -f ${LIBNAME}
527 ${LINK} ${OPTS} ${LDFLAGS} -o ${LIBNAME} ${OBJECTS} ${DEPS}
528 FINAL_LIBS="${LIBNAME}"
530 rm -f ${LIBNAME}.${MAJOR} ${LIBNAME}
531 ${LINK} ${OPTS} ${LDFLAGS} -o ${LIBNAME}.${MAJOR} -h ${LIBNAME}.${MAJOR} ${OBJECTS} ${DEPS}
532 ln -s ${LIBNAME}.${MAJOR} ${LIBNAME}
533 FINAL_LIBS="${LIBNAME}.${MAJOR} ${LIBNAME}"
552 echo "mklib: Making FreeBSD shared library: " ${LIBNAME}
557 rm -f ${LIBNAME}
558 ${LINK} ${OPTS} ${LDFLAGS} -o ${LIBNAME} ${OBJECTS} ${DEPS}
559 FINAL_LIBS=${LIBNAME}
562 STLIB="lib${LIBNAME}.a"
574 SHLIB="lib${LIBNAME}.so.${MAJOR}"
582 ln -sf ${SHLIB} "lib${LIBNAME}.so"
583 FINAL_LIBS="${SHLIB} lib${LIBNAME}.so"
589 LIBNAME="lib${LIBNAME}.a"
590 FINAL_LIBS=`make_ar_static_lib rc 0 ${LIBNAME} ${OBJECTS}`
592 LIBNAME="lib${LIBNAME}.so" # prefix with "lib", suffix with ".so"
623 echo "mklib: Making IRIX " ${ABI} " shared library: " ${LIBNAME}
624 ${LINK} ${OPTS} ${LDFLAGS} -o ${LIBNAME} ${OBJECTS} ${DEPS}
625 FINAL_LIBS=${LIBNAME}
630 LIBNAME="lib${LIBNAME}.a"
631 echo "mklib: Making linux-cygwin library: " ${LIBNAME}
632 rm -f ${LIBNAME}
633 gnuwin32ar ruv ${LIBNAME} ${OBJECTS}
634 FINAL_LIBS=${LIBNAME}
639 LIBNAME="lib${LIBNAME}.a"
640 LIBNAME}
641 FINAL_LIBS=`make_ar_static_lib -ruv 0 ${LIBNAME} ${OBJECTS}`
644 if [ ${LIBNAME} = "GL" -o ${LIBNAME} = "GLU" ] ; then
647 RUNLIB="lib${LIBNAME}.${MAJOR}"
648 DEVLIB="lib${LIBNAME}.sl"
669 LIBNAME="lib${LIBNAME}.a"
670 echo "mklib: Making AIX static library: " ${LIBNAME}
671 FINAL_LIBS=`make_ar_static_lib -ruv 0 ${LIBNAME} ${OBJECTS}`
673 EXPFILE="lib${LIBNAME}.exp"
674 LIBNAME="lib${LIBNAME}.a" # shared objects are still stored in the .a libraries
678 echo "#! /usr/lib/${LIBNAME}" > ${EXPFILE}
701 cc -G ${OPTS} ${LDFLAGS} -o ${LIBNAME} ${OBJECTS} ${DEPS}
704 ar ${X64} -r ${LIBNAME} ${OFILE}
707 FINAL_LIBS="${LIBNAME}"
712 LIBNAME="lib${LIBNAME}.a"
713 echo "mklib: Making OpenSTEP static library: " ${LIBNAME}
714 libtool -static -o ${LIBNAME} - ${OBJECTS}
715 FINAL_LIBS=${LIBNAME}
720 LIBNAME="lib${LIBNAME}.a"
721 echo "mklib: Making OSF/1 static library: " ${LIBNAME}
722 FINAL_LIBS=`make_ar_static_lib -ruv 0 ${LIBNAME} ${OBJECTS}`
725 LIBNAME="lib${LIBNAME}.so"
726 echo "mklib: Making OSF/1 shared library: " ${LIBNAME}
734 rm -f ${LIBNAME}.${VERSION}
735 ${LINK} -o ${LIBNAME}.${VERSION} -shared -set_version ${VERSION} -soname ${LIBNAME}.${VERSION} -expect_unresolved \* -all ${OBJECTS} ${DEPS}
736 ln -sf ${LIBNAME}.${VERSION} ${LIBNAME}
737 FINAL_LIBS="${LIBNAME} ${LIBNAME}.${VERSION}"
743 LIBNAME="lib${LIBNAME}.a"
744 echo "mklib: Making Darwin static library: " ${LIBNAME}
751 NEW_OBJECTS=`expand_archives ${LIBNAME}.obj $OBJECTS`
754 FINAL_LIBS=`make_ar_static_lib ${OPTS} 1 ${LIBNAME} ${NEW_OBJECTS}`
757 rm -rf ${LIBNAME}.obj
759 FINAL_LIBS=${LIBNAME}
768 ID="lib${LIBNAME}.${MAJOR}.${LIBSUFFIX}"
780 LINKNAME="lib${LIBNAME}.${LIBSUFFIX}"
781 LIBNAME="lib${LIBNAME}.${MAJOR}.${LIBSUFFIX}"
801 echo "mklib: Making Darwin shared library: " ${LIBNAME}
803 ${LINK} ${OPTS} ${LDFLAGS} -o ${LIBNAME} ${OBJECTS} ${DEPS}
804 ln -s ${LIBNAME} ${LINKNAME}
805 FINAL_LIBS="${LIBNAME} ${LINKNAME}"
810 LIBNAME="lib${LIBNAME}.a"
811 echo "mklib: Making LynxOS static library: " ${LIBNAME}
812 FINAL_LIBS=`make_ar_static_lib -ru 0 ${LIBNAME} ${OBJECTS}`
816 LIBNAME="lib${LIBNAME}.a"
817 echo "mklib: Making QNX library: " ${LIBNAME}
818 wlib ${LIBNAME} ${OBJECTS}
819 FINAL_LIBS=${LIBNAME}
823 LIBNAME="lib${LIBNAME}.a"
824 echo "mklib: Making MorphOS library: " ${LIBNAME}
825 ppc-morphos-ar rc ${LIBNAME} ${OBJECTS}
826 FINAL_LIBS="${LIBNAME}"
833 LIBNAME="lib${LIBNAME}" # prefix with "lib"
836 echo "mklib: Making Intel ICC static library: " ${LIBNAME}.a
843 ${LINK} ${OPTS} ${LIBNAME}.a ${OBJECTS}
845 FINAL_LIBS="${LIBNAME}.a"
856 echo "mklib: Making Intel ICC shared library: " ${LIBNAME}.so.${VERSION}
864 rm -f ${LIBNAME}.so.${VERSION}
865 rm -f ${LIBNAME}.so.${MAJOR}
866 rm -f ${LIBNAME}.so
868 ${LINK} ${OPTS} ${LDFLAGS} -o ${LIBNAME}.so.${VERSION} ${OBJECTS} ${DEPS}
870 ln -s ${LIBNAME}.so.${VERSION} ${LIBNAME}.so.${MAJOR}
871 ln -s ${LIBNAME}.so.${MAJOR} ${LIBNAME}.so
873 FINAL_LIBS="${LIBNAME}.so.${VERSION} ${LIBNAME}.so.${MAJOR} ${LIBNAME}.so"
880 LIBNAME="lib${LIBNAME}.a"
881 echo "mklib: Making AIX GCC static library: " ${LIBNAME}
882 FINAL_LIBS=`make_ar_static_lib ru 0 ${LIBNAME} ${OBJECTS}`
884 LIBNAME="lib${LIBNAME}.so" # prefix with "lib", suffix with ".so"
885 echo "mklib: Making AIX GCC shared library: " ${LIBNAME}
887 rm -f ${LIBNAME}
889 gcc -shared -Wl,-G ${OBJECTS} ${DEPS} -o ${LIBNAME}
892 FINAL_LIBS=${LIBNAME}
901 LIBNAME="lib${LIBNAME}.a"
902 echo "mklib: Making static library for Ultrix: " ${LIBNAME}
903 FINAL_LIBS=`make_ar_static_lib ru 0 ${LIBNAME} ${OBJECTS}`
920 echo "mklib: Making CYGWIN shared library: " ${LIBNAME}
925 rm -f ${LIBNAME}
926 ${LINK} ${OPTS} ${LDFLAGS} -o ${LIBNAME} ${OBJECTS} ${DEPS} || exit $?
927 FINAL_LIBS=${LIBNAME}
929 CYGNAME="cyg${LIBNAME}" # prefix with "cyg"
930 LIBNAME="lib${LIBNAME}" # prefix with "lib"
933 LIBNAME=${LIBNAME}.a
934 echo "mklib: Making CYGWIN static library: " ${LIBNAME}
941 NEW_OBJECTS=`expand_archives ${LIBNAME}.obj $OBJECTS`
943 FINAL_LIBS=`make_ar_static_lib ${OPTS} 1 ${LIBNAME} ${NEW_OBJECTS}`
946 rm -rf ${LIBNAME}.obj
948 OPTS="-shared -Wl,--enable-auto-image-base -Wl,-export-all -Wl,--out-implib=${LIBNAME}-${MAJOR}.dll.a"
956 rm -f ${LIBNAME}-${MAJOR}.dll.a
957 rm -f ${LIBNAME}.dll.a
958 rm -f ${LIBNAME}.a
963 ln -s ${LIBNAME}-${MAJOR}.dll.a ${LIBNAME}.dll.a
965 FINAL_LIBS="${LIBNAME}-${MAJOR}.dll.a ${LIBNAME}.dll.a"
974 LIBNAME="lib${LIBNAME}.a"
989 echo "mklib: Making static library for Haiku: " ${LIBNAME}
992 NEW_OBJECTS=`expand_archives ${LIBNAME}.obj $OBJECTS`
995 FINAL_LIBS=`make_ar_static_lib ${OPTS} 1 ${LIBNAME} ${NEW_OBJECTS}`
998 rm -rf ${LIBNAME}.obj
1000 LIBNAME="lib${LIBNAME}.so" # prefix with "lib", suffix with ".so"
1003 echo "mklib: Making shared library for Haiku: " ${LIBNAME}
1004 ${LINK} ${OPTS} ${LDFLAGS} ${OBJECTS} ${DEPS} -o ${LIBNAME}
1005 FINAL_LIBS="${LIBNAME}"
1013 LIBNAME="lib${LIBNAME}.a"
1014 echo "mklib: Making static library for example arch: " ${LIBNAME}
1015 FINAL_LIBS=`make_ar_static_lib rv 0 ${LIBNAME} ${OBJECTS}`
1017 LIBNAME="lib${LIBNAME}.so" # prefix with "lib", suffix with ".so"
1018 echo "mklib: Making shared library for example arch: " ${LIBNAME}
1019 ld -o ${LIBNAME} ${OBJECTS} ${DEPS}
1020 FINAL_LIBS="${LIBNAME}"