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