If I want to share variables between documents I put them into CVS files and then in each document include the CVS file to read in and declare standard variables.
$(Must_include=../Config/Conf.txt);
OR
$(Include=../Config/Conf.txt);
But.... maybe I'm over simplifying your problem, if so, please describe in more detail.