xref: /haiku/src/libs/bsd/Jamfile (revision a5a3b2d9a3d95cbae71eaf371708c73a1780ac0d)
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			progname.c
20			pty.cpp
21			signal.c
22			string.cpp
23			stringlist.c
24			unvis.c
25			usershell.c
26			vis.c
27			wait.c
28			;
29	}
30}
31