xref: /haiku/src/system/libroot/posix/Jamfile (revision d123849688fadac4a8cebe5925c034fdfff971db)
1SubDir HAIKU_TOP src system libroot posix ;
2
3UsePrivateHeaders app shared [ FDirName syslog_daemon ] ;
4UsePrivateHeaders kernel ;
5	# For util/KMessage.h
6UsePrivateHeaders libroot runtime_loader shared ;
7
8local architectureObject ;
9for architectureObject in [ MultiArchSubDirSetup ] {
10	on $(architectureObject) {
11		local architecture = $(TARGET_PACKAGING_ARCH) ;
12
13		UsePrivateSystemHeaders ;
14
15		if $(HAIKU_MULTIUSER_QUERY) = 1 {
16			PWD_BACKEND = pwd_query.c ;
17		} else {
18			PWD_BACKEND = pwd.cpp grp.cpp shadow.cpp user_group_common.cpp ;
19		}
20		MergeObject <$(architecture)>posix_main.o :
21			assert.cpp
22			dlfcn.c
23			dirent.c
24			errno.c
25			fcntl.cpp
26			fts.c
27			ftw.c
28			glob.c
29			inttypes.c
30			libgen.cpp
31			nftw.c
32			poll.c
33			$(PWD_BACKEND)
34			scheduler.cpp
35			semaphore.cpp
36			spawn.cpp
37			syslog.cpp
38			termios.c
39			utime.c
40			utmpx.cpp
41			;
42	}
43}
44
45local arch ;
46for arch in $(TARGET_ARCHS) {
47	HaikuSubInclude arch $(arch) ;
48}
49
50SubInclude HAIKU_TOP src system libroot posix crypt ;
51SubInclude HAIKU_TOP src system libroot posix locale ;
52SubInclude HAIKU_TOP src system libroot posix malloc_hoard2 ;
53SubInclude HAIKU_TOP src system libroot posix malloc_debug ;
54SubInclude HAIKU_TOP src system libroot posix pthread ;
55SubInclude HAIKU_TOP src system libroot posix signal ;
56SubInclude HAIKU_TOP src system libroot posix stdio ;
57SubInclude HAIKU_TOP src system libroot posix stdlib ;
58SubInclude HAIKU_TOP src system libroot posix string ;
59SubInclude HAIKU_TOP src system libroot posix sys ;
60SubInclude HAIKU_TOP src system libroot posix time ;
61SubInclude HAIKU_TOP src system libroot posix unistd ;
62SubInclude HAIKU_TOP src system libroot posix wchar ;
63
64SubInclude HAIKU_TOP src system libroot posix glibc ;
65SubInclude HAIKU_TOP src system libroot posix musl ;
66