xref: /haiku/src/kits/shared/Jamfile (revision 97dfeb96704e5dbc5bec32ad7b21379d0125e031)
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			Json.cpp
43			Keymap.cpp
44			LongAndDragTrackingFilter.cpp
45			MessageBuilder.cpp
46			NaturalCompare.cpp
47			PromptWindow.cpp
48			QueryFile.cpp
49			RegExp.cpp
50			RWLocker.cpp
51			RWLockManager.cpp
52			SHA256.cpp
53			ShakeTrackingFilter.cpp
54			StringForRate.cpp
55			StringForSize.cpp
56			TextTable.cpp
57			Thread.cpp
58			ToolBar.cpp
59			Variant.cpp
60			;
61
62		Includes [ FGristFiles Keymap.cpp ]
63			: <src!servers!input>SystemKeymap.h ;
64	}
65}
66
67
68UseLibraryHeaders mapm ;
69
70StaticLibrary libexpression_parser.a :
71	ExpressionParser.cpp
72	;
73