1SubDir HAIKU_TOP src libs gnu ; 2 3UseHeaders [ FDirName $(HAIKU_TOP) headers compatibility bsd ] : true ; 4UseHeaders [ FDirName $(HAIKU_TOP) headers compatibility gnu ] : true ; 5UsePrivateHeaders shared ; 6 7SubDirCcFlags [ FDefines _GNU_SOURCE=1 ] ; 8SubDirC++Flags [ FDefines _GNU_SOURCE=1 ] ; 9 10local architectureObject ; 11for architectureObject in [ MultiArchSubDirSetup ] { 12 on $(architectureObject) { 13 SharedLibrary [ MultiArchDefaultGristFiles libgnu.so ] : 14 crypt.cpp 15 memmem.c 16 qsort.c 17 xattr.cpp 18 ; 19 } 20} 21