xref: /haiku/src/kits/shared/Jamfile (revision 2897df967633aab846ff4917b53e2af7d1e54eeb)
1SubDir HAIKU_TOP src kits shared ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4AddSubDirSupportedPlatforms libbe_test ;
5
6UseLibraryHeaders agg ;
7UsePrivateHeaders shared locale ;
8
9if [ Glob $(SUBDIR) : DefaultGeolocationServiceKey.h ] {
10	SubDirC++Flags [ FDefines HAVE_DEFAULT_GEOLOCATION_SERVICE_KEY ] ;
11}
12
13local architectureObject ;
14for architectureObject in [ MultiArchSubDirSetup ] {
15	on $(architectureObject) {
16		local architecture = $(TARGET_PACKAGING_ARCH) ;
17
18		UseHeaders [ FDirName
19			$(TARGET_COMMON_DEBUG_OBJECT_DIR_$(TARGET_PACKAGING_ARCHS[1]))
20			servers input ] ;
21			# For the generated SystemKeymap.h. We're fine with the one for the
22			# primary architecture.
23		UseHeaders [ FDirName $(HAIKU_TOP) src kits ] ;
24
25		# for RWLockManager only
26		UsePrivateSystemHeaders ;
27		UsePrivateHeaders kernel libroot ;
28
29		StaticLibrary <$(architecture)>libshared.a :
30			AboutMenuItem.cpp
31			ArgumentVector.cpp
32			AttributeUtilities.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			TextTable.cpp
61			Thread.cpp
62			ToolBar.cpp
63			Variant.cpp
64			;
65
66		Includes [ FGristFiles Keymap.cpp ]
67			: <src!servers!input>SystemKeymap.h ;
68	}
69}
70
71
72UseLibraryHeaders mapm ;
73
74StaticLibrary libexpression_parser.a :
75	ExpressionParser.cpp
76	;
77