Refactored generation of versions.

Signed-off-by: Oleg Nenashev <nenashev@synopsys.com>
Expose version variables to environment

Signed-off-by: Oleg Nenashev <nenashev@synopsys.com>
Modified license notes

Signed-off-by: Oleg Nenashev <nenashev@synopsys.com>