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