+LEGACYSRCS += creat.c setregid.c setreuid.c sigcompat.c killpg.c
+CANCELABLESRCS += creat.c sigcompat.c
+
+# set the LIBC_ALIAS_* macros so we can decorate the symbol independent
+# of other macro settings
+CFLAGS-creat-fbsd.c += -DLIBC_ALIAS_CREAT
+CFLAGS-setregid.c += -DLIBC_ALIAS_SETREGID
+CFLAGS-setreuid.c += -DLIBC_ALIAS_SETREUID
+CFLAGS-setpgrp-fbsd.c += -DLIBC_ALIAS_SETPGRP
+CFLAGS-sigcompat.c += -DLIBC_ALIAS_SIGPAUSE
+CFLAGS-killpg-fbsd.c += -DLIBC_ALIAS_KILLPG
+CFLAGS-sigaltstk.c += -DLIBC_ALIAS_SIGALTSTACK