xref: /haiku/src/servers/app/Jamfile (revision 2ad7efd4b54e3e06e44932df4d247609dc065198)
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 Painter drawing_modes ] ;
9UseHeaders [ FDirName $(HAIKU_TOP) src servers app drawing interface local ] ;
10UseHeaders [ FDirName $(HAIKU_TOP) src servers app drawing interface remote ] ;
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	InputManager.cpp
75	IntPoint.cpp
76	IntRect.cpp
77	Layer.cpp
78	MessageLooper.cpp
79	MultiLocker.cpp
80	OffscreenServerWindow.cpp
81	OffscreenWindow.cpp
82	PictureBoundingBoxPlayer.cpp
83	ProfileMessageSupport.cpp
84	RGBColor.cpp
85	RegionPool.cpp
86	Screen.cpp
87	ScreenConfigurations.cpp
88	ScreenManager.cpp
89	ServerApp.cpp
90	ServerBitmap.cpp
91	ServerCursor.cpp
92	ServerFont.cpp
93	ServerPicture.cpp
94	ServerWindow.cpp
95	SystemPalette.cpp
96	View.cpp
97	VirtualScreen.cpp
98	Window.cpp
99	WindowList.cpp
100	Workspace.cpp
101	WorkspacesView.cpp
102
103	$(decorator_src)
104	$(font_src)
105
106	# libraries
107	:
108	libtranslation.so libbe.so libbnetapi.so
109	libaslocal.a libasremote.a
110	libasdrawing.a libpainter.a libagg.a
111	[ BuildFeatureAttribute freetype : library ]
112	[ BuildFeatureAttribute fontconfig : library ]
113	libstackandtile.a liblinprog.a libtextencoding.so shared
114	[ TargetLibstdc++ ]
115
116	: app_server.rdef
117;
118
119SEARCH on [ FGristFiles $(decorator_src) ] = [ FDirName $(HAIKU_TOP) src servers app decorator ] ;
120SEARCH on [ FGristFiles $(font_src) ] = [ FDirName $(HAIKU_TOP) src servers app font ] ;
121
122
123SubInclude HAIKU_TOP src servers app drawing ;
124SubInclude HAIKU_TOP src servers app stackandtile ;
125