xref: /haiku/src/kits/app/Jamfile (revision 2b76973fa2401f7a5edf68e6470f3d3210cbcff3)
1SubDir HAIKU_TOP src kits app ;
2
3# If defined allows to run applications without the registrar
4# -- for development only, of course.
5if $(RUN_WITHOUT_REGISTRAR) {
6	local defines = [ FDefines RUN_WITHOUT_REGISTRAR ] ;
7	SubDirCcFlags $(defines) ;
8	SubDirC++Flags $(defines) ;
9}
10
11# If defined allows to run applications without the app server
12# -- needed until the app server runs on our kernel.
13RUN_WITHOUT_APP_SERVER ?= 0 ;
14if $(RUN_WITHOUT_APP_SERVER) != 0 {
15	local defines = [ FDefines RUN_WITHOUT_APP_SERVER ] ;
16	SubDirCcFlags $(defines) ;
17	SubDirC++Flags $(defines) ;
18}
19
20UseLibraryHeaders icon ;
21UsePrivateHeaders shared app interface kernel locale notification ;
22
23SetSubDirSupportedPlatforms haiku libbe_test ;
24
25local architectureObject ;
26for architectureObject in [ MultiArchSubDirSetup ] {
27	on $(architectureObject) {
28		local architecture = $(TARGET_PACKAGING_ARCH) ;
29
30		UsePrivateSystemHeaders ;
31
32		MergeObject <libbe!$(architecture)>app_kit.o :
33			AppDefs.cpp
34			Application.cpp
35			AppMisc.cpp
36			AppServerLink.cpp
37			Cursor.cpp
38			Clipboard.cpp
39			DesktopLink.cpp
40			DirectMessageTarget.cpp
41			Handler.cpp
42			InitTerminateLibBe.cpp
43			Invoker.cpp
44			LinkReceiver.cpp
45			LinkSender.cpp
46			Looper.cpp
47			LooperList.cpp
48			Message.cpp
49			MessageAdapter.cpp
50			MessageFilter.cpp
51			MessageQueue.cpp
52			MessageRunner.cpp
53			Messenger.cpp
54			MessageUtils.cpp
55			Notification.cpp
56			PropertyInfo.cpp
57			PortLink.cpp
58			RegistrarDefs.cpp
59			Roster.cpp
60			RosterPrivate.cpp
61			Server.cpp
62			ServerLink.cpp
63			ServerMemoryAllocator.cpp
64			TokenSpace.cpp
65			TypeConstants.cpp
66
67			# KeyStore implementation
68			Key.cpp
69			KeyStore.cpp
70			;
71	}
72}
73