xref: /haiku/src/libs/bsd/Jamfile (revision c42868a015daa160e093679b2637b1cf9f0b26ba)
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			explicit_bzero.c
17			fgetln.c
18			getpass.c
19			issetugid.c
20			lutimes.c
21			progname.c
22			pty.cpp
23			readpassphrase.c
24			signal.c
25			string.cpp
26			stringlist.c
27			unvis.c
28			usershell.c
29			vis.c
30			wait.c
31			;
32	}
33}
34