DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T m

⟦e0c1a02e3⟧ TextFile

    Length: 1031 (0x407)
    Types: TextFile
    Names: »make-lib.sh«

Derivation

└─⟦3d0c2be1b⟧ Bits:30001254 ISODE-5.0 Tape
    └─⟦eba4602b1⟧ »./isode-5.0.tar.Z« 
        └─⟦d3ac74d73⟧ 
            └─⟦this⟧ »isode-5.0/util/make-lib.sh« 

TextFile

: run this script through /bin/sh

M=BSD42 L= O= S= Q=

for A in $*
do
    case $A in
	-bsd42)
		M=BSD42
		;;

	-sys5)	M=SYS5
		;;

	-aix)	M=AIX
		;;

	-ros)	M=ROS
		;;

	-ranlib)
		case $M in
		    BSD42|ROS)
			    echo ranlib "$L"
			    ranlib "$L"
			    ;;

		    SYS5|AIX|old)
			    ;;

		    *)	    echo "make-lib: mode botch" 1>&2
			    exit 1
		esac
		exit 0
		;;

	-quick)	Q=T
		;;

	-*)	S="$S`echo $A | sed -e s%-%%`"
		;;

	*)	if [ "x$L" = x ]; then
		    L="$A"
		else
		    O="$O $A"
		fi
		;;
    esac
done

case $M in
    BSD42|ROS)
	    echo ar q"$S" "$L" $O
	    ar q"$S" "$L" $O
	    if [ "x$Q" != xT ]; then
		echo ranlib "$L"
		ranlib "$L"
	    fi
	    ;;

    SYS5)   echo ar q"$S" "$L" $O
	    ar q"$S" "$L" $O
	    ;;

    AIX)    echo ar rlv"$S" "$L" \`lorder $O \| tsort\`
	    ar rlv"$S" "$L" `lorder $O | tsort`
	    ;;

    old)    echo ar r"$S" "$L" \`lorder $O \| tsort\`
	    ar r"$S" "$L" `lorder $O | tsort`
	    ;;

    *)	    echo "make-lib: mode botch" 1>&2
	    exit 1
	    ;;
esac

exit 0