xref: /haiku/src/kits/shared/Jamfile (revision 46d4471af7fad4e52cfbd09174598cf5318aceed)
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			RWLockManager.cpp
50			SHA256.cpp
51			ShakeTrackingFilter.cpp
52			StringForRate.cpp
53			StringForSize.cpp
54			TextTable.cpp
55			Thread.cpp
56			Toolbar.cpp
57			Variant.cpp
58			;
59
60		Includes [ FGristFiles Keymap.cpp ]
61			: <src!servers!input>SystemKeymap.h ;
62	}
63}
64
65
66UseLibraryHeaders mapm ;
67
68StaticLibrary libexpression_parser.a :
69	ExpressionParser.cpp
70	;
71