Read 250.32 N.E.C. 2005 . You;ll have to use an existing grounding Electroid system if ones there.(In the second building).
If ones not there you must add one. You cannot use the equipment grounding conductor run with the feeders.As your bonding XO in the transformer the grounding electroide conductor well be required to terminate there and not in the panel.
I hope I;m reading you right.