xref: /haiku/src/kits/locale/Jamfile (revision 560ff4478d5c85455ea3e5ed5e392ef93132d545)
1SubDir HAIKU_TOP src kits locale ;
2
3AddSubDirSupportedPlatforms libbe_test ;
4
5UsePrivateHeaders libbe locale shared ;
6UsePublicHeaders locale storage ;
7
8local sources =
9	cat.cpp
10	Catalog.cpp
11	Collator.cpp
12	Country.cpp
13	DefaultCatalog.cpp
14	FormattingConventions.cpp
15	HashMapCatalog.cpp
16	Language.cpp
17	LibbeLocaleBackend.cpp
18	LibraryInit.cpp
19	Locale.cpp
20	LocaleRoster.cpp
21	MutableLocaleRoster.cpp
22	TimeZone.cpp
23
24	# in progress
25	DateFormat.cpp
26	DateTimeFormat.cpp
27	DurationFormat.cpp
28	TimeFormat.cpp
29	TimeUnitFormat.cpp
30	Format.cpp # Used by some of the above.
31	UnicodeChar.cpp # Already used in ReadOnlyBootPrompt.
32
33	# old, needs investigation
34	# Currency.cpp
35	# FloatFormat.cpp
36	# FloatFormatImpl.cpp
37	# FloatFormatParameters.cpp
38	# FormatImpl.cpp
39	# FormatParameters.cpp
40	# GenericNumberFormat.cpp
41	# IntegerFormat.cpp
42	# IntegerFormatImpl.cpp
43	# IntegerFormatParameters.cpp
44	# NumberFormat.cpp
45	# NumberFormatImpl.cpp
46	# NumberFormatParameters.cpp
47	;
48
49
50SubDirSysHdrs $(HAIKU_ICU_HEADERS) ;
51Includes [ FGristFiles $(sources) ] : $(HAIKU_ICU_HEADERS_DEPENDENCY) ;
52	# Dependency needed to trigger downloading/unzipping the package before
53	# compiling the files.
54
55AddResources liblocale.so : CountryFlags.rdef ;
56
57SharedLibrary liblocale.so
58	: $(sources)
59	: be $(TARGET_LIBSTDC++) $(HAIKU_ICU_LIBS)
60	;
61
62StaticLibrary liblocalestub.a
63	: CatalogStub.cpp
64	;
65
66SEARCH on [ FGristFiles AboutMenuItem.cpp ] += [ FDirName $(HAIKU_TOP) src kits shared ] ;
67SEARCH on [ FGristFiles AboutWindow.cpp ] += [ FDirName $(HAIKU_TOP) src kits shared ] ;
68SEARCH on [ FGristFiles ColorControl.cpp ] += [ FDirName $(HAIKU_TOP) src kits interface ] ;
69SEARCH on [ FGristFiles StringForSize.cpp ] += [ FDirName $(HAIKU_TOP) src kits shared ] ;
70SEARCH on [ FGristFiles TextView.cpp ] += [ FDirName $(HAIKU_TOP) src kits interface ] ;
71SEARCH on [ FGristFiles Dragger.cpp ] += [ FDirName $(HAIKU_TOP) src kits interface ] ;
72SEARCH on [ FGristFiles Menu.cpp ] += [ FDirName $(HAIKU_TOP) src kits interface ] ;
73SEARCH on [ FGristFiles PrintJob.cpp ] += [ FDirName $(HAIKU_TOP) src kits interface ] ;
74SEARCH on [ FGristFiles ZombieReplicantView.cpp ] += [ FDirName $(HAIKU_TOP) src kits interface ] ;
75
76DoCatalogs liblocale.so
77	: system
78	:
79	AboutMenuItem.cpp
80	AboutWindow.cpp
81	ColorControl.cpp
82	Dragger.cpp
83	Menu.cpp
84	PrintJob.cpp
85	StringForSize.cpp
86	TextView.cpp
87	ZombieReplicantView.cpp
88	;
89