xref: /haiku/src/kits/shared/Jamfile (revision cb29eafe2586fdb2d7685afa69fdab5d88a8b576)
1SubDir HAIKU_TOP src kits shared ;
2
3AddSubDirSupportedPlatforms libbe_test ;
4
5UseLibraryHeaders agg ;
6UsePrivateHeaders shared locale ;
7
8if [ Glob $(SUBDIR) : DefaultGeolocationServiceKey.h ] {
9	SubDirC++Flags [ FDefines HAVE_DEFAULT_GEOLOCATION_SERVICE_KEY ] ;
10}
11
12local architectureObject ;
13for architectureObject in [ MultiArchSubDirSetup ] {
14	on $(architectureObject) {
15		local architecture = $(TARGET_PACKAGING_ARCH) ;
16
17		UseHeaders [ FDirName
18			$(TARGET_COMMON_DEBUG_OBJECT_DIR_$(TARGET_PACKAGING_ARCHS[1]))
19			servers input ] ;
20			# For the generated SystemKeymap.h. We're fine with the one for the
21			# primary architecture.
22		UseHeaders [ FDirName $(HAIKU_TOP) src kits ] ;
23
24		# for RWLockManager only
25		UsePrivateSystemHeaders ;
26		UsePrivateHeaders kernel libroot ;
27
28		# for BKeymap
29		UsePrivateHeaders interface ;
30
31		StaticLibrary <$(architecture)>libshared.a :
32			AboutMenuItem.cpp
33			ArgumentVector.cpp
34			AttributeUtilities.cpp
35			BitmapButton.cpp
36			CalendarView.cpp
37			ColorQuantizer.cpp
38			CommandPipe.cpp
39			DragTrackingFilter.cpp
40			DriverSettingsMessageAdapter.cpp
41			Geolocation.cpp
42			HashString.cpp
43			IconButton.cpp
44			IconView.cpp
45			JsonWriter.cpp
46			JsonEventListener.cpp
47			JsonMessageWriter.cpp
48			JsonTextWriter.cpp
49			JsonEvent.cpp
50			Json.cpp
51			Keymap.cpp
52			LongAndDragTrackingFilter.cpp
53			MessageBuilder.cpp
54			NaturalCompare.cpp
55			PromptWindow.cpp
56			QueryFile.cpp
57			RegExp.cpp
58			RWLocker.cpp
59			RWLockManager.cpp
60			SettingsHandler.cpp
61			ShakeTrackingFilter.cpp
62			StringForRate.cpp
63			StringForSize.cpp
64			StripeView.cpp
65			TextTable.cpp
66			Thread.cpp
67			ToolBar.cpp
68			Variant.cpp
69			;
70
71		Includes [ FGristFiles Keymap.cpp ]
72			: <src!servers!input>SystemKeymap.h ;
73	}
74}
75
76
77UseLibraryHeaders mapm ;
78
79StaticLibrary libexpression_parser.a :
80	ExpressionParser.cpp
81	;
82