1SubDir HAIKU_TOP src libs bsd ; 2 3SetSubDirSupportedPlatforms $(HAIKU_BONE_COMPATIBLE_PLATFORMS) ; 4 5UseHeaders [ FDirName $(HAIKU_TOP) headers compatibility bsd ] : true ; 6 7SubDirCcFlags [ FDefines _BSD_SOURCE=1 ] ; 8SubDirC++Flags [ FDefines _BSD_SOURCE=1 ] ; 9 10local architectureObject ; 11for architectureObject in [ MultiArchSubDirSetup ] { 12 on $(architectureObject) { 13 SharedLibrary [ MultiArchDefaultGristFiles libbsd.so ] : 14 daemon.c 15 err.c 16 fgetln.c 17 getpass.c 18 issetugid.c 19 lutimes.c 20 progname.c 21 pty.cpp 22 signal.c 23 string.cpp 24 stringlist.c 25 unvis.c 26 usershell.c 27 vis.c 28 wait.c 29 ; 30 } 31} 32