xref: /haiku/src/libs/iconv/Jamfile (revision f73f5d4c42a01ece688cbb57b5d332cc0f68b2c6)
1SubDir HAIKU_TOP src libs iconv ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4AddSubDirSupportedPlatforms libbe_test ;
5
6UseLibraryHeaders iconv ;
7
8local architectureObject ;
9for architectureObject in [ MultiArchSubDirSetup ] {
10	on $(architectureObject) {
11		local architecture = $(TARGET_PACKAGING_ARCH) ;
12
13		# disable warnings we don't want here
14		TARGET_WARNING_CCFLAGS_$(architecture)
15			= [ FFilter $(TARGET_WARNING_CCFLAGS_$(architecture))
16				: -Wmissing-prototypes -Wsign-compare ] ;
17
18		SubDirCcFlags
19			-DLIBDIR="\\\"/boot/system/lib\\\""
20			-DICONV_CONST=""
21			;
22
23		StaticLibrary [ MultiArchDefaultGristFiles libiconv.a ] :
24			iconv.c
25			localcharset.c
26			;
27	}
28}
29