#!/bin/sh
set -C -e -f -u
cd "$ADTTMP"

cat > p.gpr <<EOF
with "pcscada";
project P is
   for Main use ("p.adb");
end P;
EOF
cat > p.adb <<EOF
with PCSC.Version;
procedure P is
   V : constant String := PCSC.Version.Version_String;
begin
   null;
end P;
EOF
gprbuild -v p.gpr
./p
