SubDir HAIKU_TOP src libs bsd ; SetSubDirSupportedPlatforms $(HAIKU_BONE_COMPATIBLE_PLATFORMS) ; UseHeaders [ FDirName $(HAIKU_TOP) headers compatibility bsd ] : true ; SubDirCcFlags [ FDefines _BSD_SOURCE=1 ] ; SubDirC++Flags [ FDefines _BSD_SOURCE=1 ] ; local architectureObject ; for architectureObject in [ MultiArchSubDirSetup ] { on $(architectureObject) { SharedLibrary [ MultiArchDefaultGristFiles libbsd.so ] : daemon.c err.c explicit_bzero.c fgetln.c getpass.c issetugid.c lutimes.c progname.c pty.cpp readpassphrase.c signal.c string.cpp stringlist.c unvis.c usershell.c vis.c wait.c ; } }