xref: /haiku/src/servers/app/Jamfile (revision fce4895d1884da5ae6fb299d23c735c598e690b1)
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	DelayedMessage.cpp
60	Desktop.cpp
61	DesktopListener.cpp
62	DesktopSettings.cpp
63	DirectWindowInfo.cpp
64	DrawState.cpp
65	EventDispatcher.cpp
66	EventStream.cpp
67	HashTable.cpp
68	InputManager.cpp
69	IntPoint.cpp
70	IntRect.cpp
71	Layer.cpp
72	MessageLooper.cpp
73	MultiLocker.cpp
74	OffscreenServerWindow.cpp
75	OffscreenWindow.cpp
76	PictureBoundingBoxPlayer.cpp
77	ProfileMessageSupport.cpp
78	RGBColor.cpp
79	RegionPool.cpp
80	Screen.cpp
81	ScreenConfigurations.cpp
82	ScreenManager.cpp
83	ServerApp.cpp
84	ServerBitmap.cpp
85	ServerCursor.cpp
86	ServerFont.cpp
87	ServerPicture.cpp
88	ServerWindow.cpp
89	SystemPalette.cpp
90	View.cpp
91	VirtualScreen.cpp
92	Window.cpp
93	WindowList.cpp
94	Workspace.cpp
95	WorkspacesView.cpp
96
97	$(decorator_src)
98	$(font_src)
99
100	# libraries
101	:
102	libtranslation.so libbe.so libbnetapi.so
103	libaslocal.a $(BROKEN_64)libasremote.a $(BROKEN_64)libashtml5.a
104	libasdrawing.a libpainter.a libagg.a
105	[ BuildFeatureAttribute freetype : library ]
106	libstackandtile.a liblinprog.a libtextencoding.so shared
107	[ TargetLibstdc++ ]
108
109	: app_server.rdef
110;
111
112SEARCH on [ FGristFiles $(decorator_src) ] = [ FDirName $(HAIKU_TOP) src servers app decorator ] ;
113SEARCH on [ FGristFiles $(font_src) ] = [ FDirName $(HAIKU_TOP) src servers app font ] ;
114
115
116SubInclude HAIKU_TOP src servers app drawing ;
117SubInclude HAIKU_TOP src servers app stackandtile ;
118