#!/bin/bash

rm -f *.gds *.cif *.ap *.vbe

cp -p ../../../alliance/vbe/sxlib013/*.vbe .
cp -p ../../../magic/cif/sxlib013/*.cif .
cp -p ../../../magic/gds/sxlib013/*.gds .
ls -1 *.cif | \
sed 's|^\(.*\)\.cif$|cp -p ../../../alliance/cells/sxlib/\1\.ap .|' | bash

ls -1 *.vbe | sed 's/\(.*\)\.vbe/\1 C/' > SXLIB013
ls -1 rowend*.vbe | sed 's/\(.*\)\.vbe/\1 F/' >> SXLIB013
ls -1 tie*.vbe | sed 's/\(.*\)\.vbe/\1 F/' >> SXLIB013

sort -o SXLIB013 SXLIB013
