xref: /haiku/src/servers/app/Jamfile (revision 6aff37d1c79e20748c683ae224bd629f88a5b0be)
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 ;
35if [ FIsBuildFeatureEnabled fontconfig ] {
36	SubDirC++Flags -DFONTCONFIG_ENABLED ;
37	UseBuildFeatureHeaders fontconfig ;
38	Includes [ FGristFiles AppServer.cpp BitmapManager.cpp Canvas.cpp
39	ClientMemoryAllocator.cpp Desktop.cpp DesktopSettings.cpp
40	DrawState.cpp DrawingEngine.cpp Layer.cpp PictureBoundingBoxPlayer.cpp
41	ServerApp.cpp ServerBitmap.cpp ServerCursor.cpp ServerFont.cpp
42	ServerPicture.cpp ServerWindow.cpp View.cpp Window.cpp WorkspacesView.cpp
43	$(decorator_src) $(font_src) ]
44	: [ BuildFeatureAttribute freetype : headers ]
45	  [ BuildFeatureAttribute fontconfig : headers ] ;
46} else {
47	Includes [ FGristFiles AppServer.cpp BitmapManager.cpp Canvas.cpp
48	ClientMemoryAllocator.cpp Desktop.cpp DesktopSettings.cpp
49	DrawState.cpp DrawingEngine.cpp Layer.cpp PictureBoundingBoxPlayer.cpp
50	ServerApp.cpp ServerBitmap.cpp ServerCursor.cpp ServerFont.cpp
51	ServerPicture.cpp ServerWindow.cpp View.cpp Window.cpp WorkspacesView.cpp
52	$(decorator_src) $(font_src) ]
53	: [ BuildFeatureAttribute freetype : headers ] ;
54}
55
56Server app_server :
57	Angle.cpp
58	AppServer.cpp
59	#BitfieldRegion.cpp
60	BitmapManager.cpp
61	Canvas.cpp
62	ClientMemoryAllocator.cpp
63	CursorData.cpp
64	CursorManager.cpp
65	CursorSet.cpp
66	DelayedMessage.cpp
67	Desktop.cpp
68	DesktopListener.cpp
69	DesktopSettings.cpp
70	DirectWindowInfo.cpp
71	DrawState.cpp
72	EventDispatcher.cpp
73	EventStream.cpp
74	HashTable.cpp
75	InputManager.cpp
76	IntPoint.cpp
77	IntRect.cpp
78	Layer.cpp
79	MessageLooper.cpp
80	MultiLocker.cpp
81	OffscreenServerWindow.cpp
82	OffscreenWindow.cpp
83	PictureBoundingBoxPlayer.cpp
84	ProfileMessageSupport.cpp
85	RGBColor.cpp
86	RegionPool.cpp
87	Screen.cpp
88	ScreenConfigurations.cpp
89	ScreenManager.cpp
90	ServerApp.cpp
91	ServerBitmap.cpp
92	ServerCursor.cpp
93	ServerFont.cpp
94	ServerPicture.cpp
95	ServerWindow.cpp
96	SystemPalette.cpp
97	View.cpp
98	VirtualScreen.cpp
99	Window.cpp
100	WindowList.cpp
101	Workspace.cpp
102	WorkspacesView.cpp
103
104	$(decorator_src)
105	$(font_src)
106
107	# libraries
108	:
109	libtranslation.so libbe.so libbnetapi.so
110	libaslocal.a libasremote.a libashtml5.a
111	libasdrawing.a libpainter.a libagg.a
112	[ BuildFeatureAttribute freetype : library ]
113	[ BuildFeatureAttribute fontconfig : library ]
114	libstackandtile.a liblinprog.a libtextencoding.so shared
115	[ TargetLibstdc++ ]
116
117	: app_server.rdef
118;
119
120SEARCH on [ FGristFiles $(decorator_src) ] = [ FDirName $(HAIKU_TOP) src servers app decorator ] ;
121SEARCH on [ FGristFiles $(font_src) ] = [ FDirName $(HAIKU_TOP) src servers app font ] ;
122
123
124SubInclude HAIKU_TOP src servers app drawing ;
125SubInclude HAIKU_TOP src servers app stackandtile ;
126