xref: /haiku/src/kits/shared/Jamfile (revision 44a4bc5fd6d2bf7a0cfbaf303f6ec4b3f46f7142)
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			md5.c
54			MessageBuilder.cpp
55			NaturalCompare.cpp
56			PromptWindow.cpp
57			QueryFile.cpp
58			RegExp.cpp
59			RWLocker.cpp
60			RWLockManager.cpp
61			SettingsHandler.cpp
62			ShakeTrackingFilter.cpp
63			StringForRate.cpp
64			StringForSize.cpp
65			StripeView.cpp
66			TextTable.cpp
67			Thread.cpp
68			ToolBar.cpp
69			Variant.cpp
70			;
71
72		Includes [ FGristFiles Keymap.cpp ]
73			: <src!servers!input>SystemKeymap.h ;
74	}
75}
76
77
78UseLibraryHeaders mapm ;
79
80StaticLibrary libexpression_parser.a :
81	ExpressionParser.cpp
82	;
83