1srcs_fb = [
2	'fballpriv.c',
3	'fbarc.c',
4	'fbbits.c',
5	'fbblt.c',
6	'fbbltone.c',
7	'fbcmap_mi.c',
8	'fbcopy.c',
9	'fbfill.c',
10	'fbfillrect.c',
11	'fbfillsp.c',
12	'fbgc.c',
13	'fbgetsp.c',
14	'fbglyph.c',
15	'fbimage.c',
16	'fbline.c',
17	'fboverlay.c',
18	'fbpict.c',
19	'fbpixmap.c',
20	'fbpoint.c',
21	'fbpush.c',
22	'fbscreen.c',
23	'fbseg.c',
24	'fbsetsp.c',
25	'fbsolid.c',
26	'fbtrap.c',
27	'fbutil.c',
28	'fbwindow.c',
29]
30
31hdrs_fb = [
32	'fb.h',
33	'fboverlay.h',
34	'fbpict.h',
35	'fbrop.h',
36	'wfbrename.h'
37]
38
39libxserver_fb = static_library('libxserver_fb',
40	srcs_fb,
41	include_directories: inc,
42	dependencies: common_dep,
43	pic: true,
44)
45
46wfb_args = '-DFB_ACCESS_WRAPPER'
47
48libxserver_wfb = static_library('libxserver_wfb',
49	srcs_fb,
50	c_args: wfb_args,
51	include_directories: inc,
52	dependencies: common_dep,
53	pic: true,
54	build_by_default: false,
55)
56
57install_data(hdrs_fb, install_dir: xorgsdkdir)
58