GPS is not required per se - the NAV data can, and often does, come from the FMS (which could be DME/DME or worse) to drive the Terrain function. Don't forget that any Enhanced GPWS (to use what is now Honeywell's (ex-Sundstrand) proprietary nomenclature) still includes a normal GPWS that must not be effected by any of the "Enhanced" additions.