xref: /haiku/src/kits/shared/Jamfile (revision 4a55cc230cf7566cadcbb23b1928eefff8aea9a2)
1SubDir HAIKU_TOP src kits shared ;
2
3AddSubDirSupportedPlatforms libbe_test ;
4
5UseLibraryHeaders agg ;
6UsePrivateHeaders shared locale ;
7
8local architectureObject ;
9for architectureObject in [ MultiArchSubDirSetup ] {
10	on $(architectureObject) {
11		local architecture = $(TARGET_PACKAGING_ARCH) ;
12
13		UseHeaders [ FDirName
14			$(TARGET_COMMON_DEBUG_OBJECT_DIR_$(TARGET_PACKAGING_ARCHS[1]))
15			servers input ] ;
16			# For the generated SystemKeymap.h. We're fine with the one for the
17			# primary architecture.
18		UseHeaders [ FDirName $(HAIKU_TOP) src kits ] ;
19
20		# for RWLockManager only
21		UsePrivateSystemHeaders ;
22		UsePrivateHeaders kernel libroot ;
23
24		# for BKeymap
25		UsePrivateHeaders interface ;
26
27		# FIXME: These symbols should be hidden, but too many applications depend
28		# on them at present for that.
29		NO_HIDDEN_VISIBILITY on <$(architecture)>libshared.a = 1 ;
30
31		StaticLibrary <$(architecture)>libshared.a :
32			AboutMenuItem.cpp
33			ArgumentVector.cpp
34			AttributeUtilities.cpp
35			BitmapButton.cpp
36			CalendarView.cpp
37			ColorQuantizer.cpp
38			CommandPipe.cpp
39			DateTimeEdit.cpp
40			DragTrackingFilter.cpp
41			DriverSettingsMessageAdapter.cpp
42			HashString.cpp
43			IconButton.cpp
44			IconView.cpp
45			JsonWriter.cpp
46			JsonEventListener.cpp
47			JsonMessageWriter.cpp
48			JsonTextWriter.cpp
49			JsonEvent.cpp
50			Json.cpp
51			Keymap.cpp
52			LongAndDragTrackingFilter.cpp
53			md5.cpp
54			MemoryRingIO.cpp
55			MessageBuilder.cpp
56			NaturalCompare.cpp
57			PromptWindow.cpp
58			QueryFile.cpp
59			RegExp.cpp
60			RWLocker.cpp
61			RWLockManager.cpp
62			SettingsHandler.cpp
63			SettingsMessage.cpp
64			ShakeTrackingFilter.cpp
65			StringForRate.cpp
66			StringForSize.cpp
67			StripeView.cpp
68			TextTable.cpp
69			Thread.cpp
70			ToolBar.cpp
71			Variant.cpp
72			;
73
74		Includes [ FGristFiles Keymap.cpp ]
75			: <src!servers!input>SystemKeymap.h ;
76	}
77}
78
79
80UseLibraryHeaders mapm ;
81
82StaticLibrary libexpression_parser.a :
83	ExpressionParser.cpp
84	;
85