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