xref: /haiku/src/servers/app/Jamfile (revision f92aeedd7f20ae0f53014ab6318a7753747dd517)
1SubDir HAIKU_TOP src servers app ;
2
3UseLibraryHeaders agg ;
4UsePrivateHeaders app graphics input interface kernel shared storage support ;
5
6UseHeaders [ FDirName $(HAIKU_TOP) src servers app drawing ] ;
7UseHeaders [ FDirName $(HAIKU_TOP) src servers app drawing Painter ] ;
8UseHeaders [ FDirName $(HAIKU_TOP) src servers app drawing interface local ] ;
9UseHeaders [ FDirName $(HAIKU_TOP) src servers app drawing interface remote ] ;
10UseHeaders [ FDirName $(HAIKU_TOP) src servers app drawing interface html5 ] ;
11UseHeaders [ FDirName $(HAIKU_TOP) src servers app stackandtile ] ;
12
13UseHeaders [ FDirName $(HAIKU_TOP) src servers app decorator ] ;
14local decorator_src =
15	DecorManager.cpp
16	Decorator.cpp
17	DefaultDecorator.cpp
18	DefaultWindowBehaviour.cpp
19	MagneticBorder.cpp
20	TabDecorator.cpp
21	WindowBehaviour.cpp
22	;
23
24UseHeaders [ FDirName $(HAIKU_TOP) src servers app font ] ;
25local font_src =
26	FontCache.cpp
27	FontCacheEntry.cpp
28	FontEngine.cpp
29	FontFamily.cpp
30	FontManager.cpp
31	FontStyle.cpp
32	;
33
34UseBuildFeatureHeaders freetype ;
35Includes [ FGristFiles AppServer.cpp BitmapManager.cpp Canvas.cpp
36	ClientMemoryAllocator.cpp Desktop.cpp DesktopSettings.cpp
37	DrawState.cpp DrawingEngine.cpp Layer.cpp PictureBoundingBoxPlayer.cpp
38	ServerApp.cpp ServerBitmap.cpp ServerCursor.cpp ServerFont.cpp
39	ServerPicture.cpp ServerWindow.cpp View.cpp Window.cpp WorkspacesView.cpp
40	$(decorator_src) $(font_src) ]
41	: [ BuildFeatureAttribute freetype : headers ] ;
42
43
44local BROKEN_64 = ;
45if $(TARGET_ARCH) != x86_64 {
46    BROKEN_64 = "" ;
47}
48
49Server app_server :
50	Angle.cpp
51	AppServer.cpp
52	#BitfieldRegion.cpp
53	BitmapManager.cpp
54	Canvas.cpp
55	ClientMemoryAllocator.cpp
56	CursorData.cpp
57	CursorManager.cpp
58	CursorSet.cpp
59	Desktop.cpp
60	DesktopListener.cpp
61	DesktopSettings.cpp
62	DirectWindowInfo.cpp
63	DrawState.cpp
64	EventDispatcher.cpp
65	EventStream.cpp
66	HashTable.cpp
67	InputManager.cpp
68	IntPoint.cpp
69	IntRect.cpp
70	Layer.cpp
71	MessageLooper.cpp
72	MultiLocker.cpp
73	OffscreenServerWindow.cpp
74	OffscreenWindow.cpp
75	PictureBoundingBoxPlayer.cpp
76	ProfileMessageSupport.cpp
77	RGBColor.cpp
78	RegionPool.cpp
79	Screen.cpp
80	ScreenConfigurations.cpp
81	ScreenManager.cpp
82	ServerApp.cpp
83	ServerBitmap.cpp
84	ServerCursor.cpp
85	ServerFont.cpp
86	ServerPicture.cpp
87	ServerWindow.cpp
88	SystemPalette.cpp
89	View.cpp
90	VirtualScreen.cpp
91	Window.cpp
92	WindowList.cpp
93	Workspace.cpp
94	WorkspacesView.cpp
95
96	$(decorator_src)
97	$(font_src)
98
99	# libraries
100	:
101	libtranslation.so libbe.so libbnetapi.so
102	libaslocal.a $(BROKEN_64)libasremote.a $(BROKEN_64)libashtml5.a
103	libasdrawing.a libpainter.a libagg.a
104	[ BuildFeatureAttribute freetype : library ]
105	libstackandtile.a liblinprog.a libtextencoding.so libshared.a
106	[ TargetLibstdc++ ]
107
108	: app_server.rdef
109;
110
111SEARCH on [ FGristFiles $(decorator_src) ] = [ FDirName $(HAIKU_TOP) src servers app decorator ] ;
112SEARCH on [ FGristFiles $(font_src) ] = [ FDirName $(HAIKU_TOP) src servers app font ] ;
113
114
115SubInclude HAIKU_TOP src servers app drawing ;
116SubInclude HAIKU_TOP src servers app stackandtile ;
117