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