...
General: the default global calculation is the mean over the brain mask. In SPM, you can specify global values manually.
ANCOVA
...
regressors in design
In some designs (multiple groups, 2 sample or ANOVA), you can specify "ANCOVA-by-factor" regressors. The factor would usually be the group, and the covariate the global value (mean over the mask).
...