xref: /haiku/src/system/libroot/posix/crypt/Jamfile (revision 1a76488fc88584bf66b9751d7fb9b6527ac20d87)
1SubDir HAIKU_TOP src system libroot posix crypt ;
2
3UsePrivateHeaders libroot ;
4UsePrivateSystemHeaders ;
5SubDirSysHdrs $(HAIKU_TOP) headers compatibility bsd ;
6SubDirSysHdrs $(HAIKU_TOP) headers compatibility gnu ;
7
8local architectureObject ;
9for architectureObject in [ MultiArchSubDirSetup ] {
10	on $(architectureObject) {
11		local architecture = $(TARGET_PACKAGING_ARCH) ;
12
13		# filter warnings we don't want here
14		TARGET_WARNING_CCFLAGS_$(architecture)
15			= [ FFilter $(TARGET_WARNING_CCFLAGS_$(architecture))
16				: -Wall -Wmissing-prototypes -Wsign-compare ] ;
17
18		MergeObject <$(architecture)>posix_crypt.o :
19			crypt_legacy.c
20			crypt_legacy_util.c
21			crypto_scrypt_smix.cpp
22			crypto_scrypt.cpp
23			crypt.cpp
24			pbkdf2.cpp
25			SHA256.cpp
26			;
27	}
28}
29