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 libroot 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			LaunchRoster.cpp
45			LinkReceiver.cpp
46			LinkSender.cpp
47			Looper.cpp
48			LooperList.cpp
49			Message.cpp
50			MessageAdapter.cpp
51			MessageFilter.cpp
52			MessageQueue.cpp
53			MessageRunner.cpp
54			Messenger.cpp
55			MessageUtils.cpp
56			Notification.cpp
57			PropertyInfo.cpp
58			PortLink.cpp
59			RegistrarDefs.cpp
60			Roster.cpp
61			RosterPrivate.cpp
62			Server.cpp
63			ServerLink.cpp
64			ServerMemoryAllocator.cpp
65			TokenSpace.cpp
66			TypeConstants.cpp
67
68			# KeyStore implementation
69			Key.cpp
70			KeyStore.cpp
71			;
72	}
73}
74