Move existing standalone -compat source files to build only under MK_SYMVER=yes.
Move __sym_compat macros into #ifdef SYMVER_COMPAT blocks and #define SYMVER_COMPAT in libc's Makefile under MK_SYMVER=yes.
Posted for comment. In general where __sym_compat is included in the main source file I think I'd rather move the compat block into its own file and in the Makefile optionally include it in SRCS, as I did for e.g. fts-compat.c and unvis-compat.c. In some cases it's tricky because the compat code references a static function, and perhaps this -D approach is fine.