xref: /haiku/src/kits/shared/Jamfile (revision d511533a487fce70d2d555ecce7c5e702fa4cac8)
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		StaticLibrary <$(architecture)>libshared.a :
29			AboutMenuItem.cpp
30			ArgumentVector.cpp
31			AttributeUtilities.cpp
32			BitmapButton.cpp
33			CalendarView.cpp
34			ColorQuantizer.cpp
35			CommandPipe.cpp
36			DragTrackingFilter.cpp
37			DriverSettingsMessageAdapter.cpp
38			Geolocation.cpp
39			HashString.cpp
40			IconButton.cpp
41			IconView.cpp
42			JsonWriter.cpp
43			JsonEventListener.cpp
44			JsonMessageWriter.cpp
45			JsonTextWriter.cpp
46			JsonEvent.cpp
47			Json.cpp
48			Keymap.cpp
49			LongAndDragTrackingFilter.cpp
50			MessageBuilder.cpp
51			NaturalCompare.cpp
52			PromptWindow.cpp
53			QueryFile.cpp
54			RegExp.cpp
55			RWLocker.cpp
56			RWLockManager.cpp
57			ShakeTrackingFilter.cpp
58			StringForRate.cpp
59			StringForSize.cpp
60			StripeView.cpp
61			TextTable.cpp
62			Thread.cpp
63			ToolBar.cpp
64			Variant.cpp
65			;
66
67		Includes [ FGristFiles Keymap.cpp ]
68			: <src!servers!input>SystemKeymap.h ;
69	}
70}
71
72
73UseLibraryHeaders mapm ;
74
75StaticLibrary libexpression_parser.a :
76	ExpressionParser.cpp
77	;
78