; dnw, 23-Feb-2022
echo "Cross build Diagram15 for NeXT (hardware fp)."

cd /print/FONT
Abs HP12.f HP9.f HP6.f HP4.f HP3.f
Abs Arrow.f Arrowp.f Darrow.f Diarrow.f
Abs Circle.f Pcircle.f Squarep.f Roundp.f Sleeve.f Cross.f Plus.f Minus.f
Abs Fish.f Skull.f Tophat.f Man.f Woman.f
Link -y HP12.y Arrow.y Circle.y Fish.y -o /usr/DIAGRAM/Fonts.y
cd //DIAGRAM

AAma -R2 /usr/EMUL/Femulx.a -o Femulx.y

AAma -R2 k=1 Diagrad.a Drad.a Dpartd.a Postscd.a Texd.a Picd.a Derd.a
Link -y Diagrad.y Drad.y Dpartd.y Postscd.y Texd.y Picd.y Derd.y -o Dgram.y

Link -y Dgram.y Femulx.y Fonts.y -o Diagramx.y

; Machine dependent.
Ldo /usr/lib/Link15.y -n p=12000 /usr/lib/IOst15.y Diagramx.y -o Diagram15c
echo "Move Diagram15c to a NeXT execution path and rename as Diagram."
