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