summaryrefslogtreecommitdiff
path: root/fb/meson.build
blob: 477ab047dfd647e0e5be063b1be0b32dc46fc06b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
srcs_fb = [
	'fballpriv.c',
	'fbarc.c',
	'fbbits.c',
	'fbblt.c',
	'fbbltone.c',
	'fbcmap_mi.c',
	'fbcopy.c',
	'fbfill.c',
	'fbfillrect.c',
	'fbfillsp.c',
	'fbgc.c',
	'fbgetsp.c',
	'fbglyph.c',
	'fbimage.c',
	'fbline.c',
	'fboverlay.c',
	'fbpict.c',
	'fbpixmap.c',
	'fbpoint.c',
	'fbpush.c',
	'fbscreen.c',
	'fbseg.c',
	'fbsetsp.c',
	'fbsolid.c',
	'fbtrap.c',
	'fbutil.c',
	'fbwindow.c',
]

hdrs_fb = [
	'fb.h',
	'fboverlay.h',
	'fbpict.h',
	'fbrop.h',
	'wfbrename.h'
]

libxserver_fb = static_library('libxserver_fb',
	srcs_fb,
	include_directories: inc,
	dependencies: common_dep,
	pic: true,
)

wfb_args = '-DFB_ACCESS_WRAPPER'

libxserver_wfb = static_library('libxserver_wfb',
	srcs_fb,
	c_args: wfb_args,
	include_directories: inc,
	dependencies: common_dep,
	pic: true,
	build_by_default: false,
)

install_data(hdrs_fb, install_dir: xorgsdkdir)