xref: /haiku/src/servers/app/Jamfile (revision c0936b5a0384bc6fe654d296ee54222a0f45d2b6)
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	HashTable.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