xref: /haiku/src/servers/app/Jamfile (revision e5d65858f2361fe0552495b61620c84dcee6bc00)
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	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
33UseHeaders $(HAIKU_FREETYPE_HEADERS) : true ;
34Includes [ FGristFiles AppServer.cpp BitmapManager.cpp
35	ClientMemoryAllocator.cpp Desktop.cpp DesktopSettings.cpp DrawState.cpp
36	ServerApp.cpp ServerBitmap.cpp ServerFont.cpp ServerPicture.cpp
37	ServerWindow.cpp View.cpp Window.cpp WorkspacesView.cpp
38	$(decorator_src) $(font_src) ]
39	: $(HAIKU_FREETYPE_HEADERS_DEPENDENCY) ;
40
41
42local BROKEN_64 = ;
43if $(TARGET_ARCH) != x86_64 {
44    BROKEN_64 = "" ;
45}
46
47Server app_server :
48	Angle.cpp
49	AppServer.cpp
50	#BitfieldRegion.cpp
51	BitmapDrawingEngine.cpp
52	BitmapManager.cpp
53	ClientMemoryAllocator.cpp
54	CursorData.cpp
55	CursorManager.cpp
56	CursorSet.cpp
57	Desktop.cpp
58	DesktopListener.cpp
59	DesktopSettings.cpp
60	DirectWindowInfo.cpp
61	DrawState.cpp
62	EventDispatcher.cpp
63	EventStream.cpp
64	HashTable.cpp
65	InputManager.cpp
66	IntPoint.cpp
67	IntRect.cpp
68	MessageLooper.cpp
69	MultiLocker.cpp
70	OffscreenServerWindow.cpp
71	OffscreenWindow.cpp
72	ProfileMessageSupport.cpp
73	RGBColor.cpp
74	RegionPool.cpp
75	Screen.cpp
76	ScreenConfigurations.cpp
77	ScreenManager.cpp
78	ServerApp.cpp
79	ServerBitmap.cpp
80	ServerCursor.cpp
81	ServerFont.cpp
82	ServerPicture.cpp
83	ServerWindow.cpp
84	SystemPalette.cpp
85	View.cpp
86	VirtualScreen.cpp
87	Window.cpp
88	WindowList.cpp
89	Workspace.cpp
90	WorkspacesView.cpp
91
92	$(decorator_src)
93	$(font_src)
94
95	# libraries
96	:
97	libtranslation.so libbe.so libbnetapi.so
98	libaslocal.a $(BROKEN_64)libasremote.a $(BROKEN_64)libashtml5.a
99	libasdrawing.a libpainter.a libagg.a $(HAIKU_FREETYPE_LIB)
100	libstackandtile.a liblinprog.a libtextencoding.so libshared.a
101	$(TARGET_LIBSTDC++)
102
103	: app_server.rdef
104;
105
106SEARCH on [ FGristFiles $(decorator_src) ] = [ FDirName $(HAIKU_TOP) src servers app decorator ] ;
107SEARCH on [ FGristFiles $(font_src) ] = [ FDirName $(HAIKU_TOP) src servers app font ] ;
108
109
110SubInclude HAIKU_TOP src servers app drawing ;
111SubInclude HAIKU_TOP src servers app stackandtile ;
112