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