xref: /haiku/src/tools/locale/Jamfile (revision cbed190f71b8aff814bf95539c39a1bcfb953ed8)
1SubDir HAIKU_TOP src tools locale ;
2
3UsePublicHeaders locale ;
4UsePrivateHeaders locale ;
5UsePrivateHeaders shared ;
6
7SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits locale ] ;
8SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits tracker ] ;
9
10local localetools =
11	<build>linkcatkeys
12	<build>collectcatkeys
13;
14
15USES_BE_API on $(localetools) = true ;
16
17UseLibraryHeaders icu ;
18
19# TODO: temporary kludge
20local libHaikuCompat ;
21if $(HOST_PLATFORM) in r5 bone dano {
22	ObjectC++Flags database_support.cpp UpdateMimeInfoThread.cpp
23		MimeUpdateThread.cpp
24		: -include [ FDirName $(HAIKU_TOP) headers build
25			HaikuBuildCompatibility.h ] ;
26	libHaikuCompat = libhaikucompat_build.a ;
27}
28
29BuildPlatformMain <build>collectcatkeys :
30	collectcatkeys.cpp
31	PlainTextCatalog.cpp
32	HashMapCatalog.cpp
33	Catalog.cpp
34	RegExp.cpp
35	: $(HOST_LIBBE)  $(HOST_LIBSUPC++) $(HOST_LIBSTDC++) ;
36
37BuildPlatformMain <build>linkcatkeys :
38	linkcatkeys.cpp
39	PlainTextCatalog.cpp
40	HashMapCatalog.cpp
41	DefaultCatalog.cpp
42	Catalog.cpp
43	: $(HOST_LIBBE) $(HOST_LIBSUPC++) $(HOST_LIBSTDC++) ;
44