Fixes Issue 9676 - Deprecated declarations should be wrapped in $(DEP) macro.