aboutsummaryrefslogtreecommitdiff
path: root/lib/mlibc/options/glibc/meson.build
blob: 93bad857b2057a244bcac1ed4fd3a08fc5016c43 (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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
if disable_glibc_option
	subdir_done()
endif
libc_sources += files(
	'generic/getopt-stubs.cpp',
	'generic/stdio_ext-stubs.cpp',
	'generic/sys-ioctl.cpp',
	'generic/err.cpp',
	'generic/error.cpp',
	'generic/resolv-stubs.cpp',
	'generic/shadow-stubs.cpp',
	'generic/printf.cpp',
	'generic/glibc-signal.cpp',
	'generic/execinfo.cpp',
	'generic/string.cpp',
	'generic/personality.cpp',
	'generic/gshadow.cpp',
	'generic/sys-timex.cpp',
	'generic/glibc-assert.cpp',
	'generic/malloc.cpp',
	'generic/sys-io.cpp',
)

if not no_headers
	install_headers(
		'include/getopt.h',
		'include/stdio_ext.h',
		'include/err.h',
		'include/error.h',
		'include/paths.h',
		'include/sysexits.h',
		'include/resolv.h',
		'include/endian.h',
		'include/ar.h',
		'include/shadow.h',
		'include/memory.h',
		'include/printf.h',
		'include/gshadow.h',
		'include/execinfo.h',
		'include/features.h'
	)
	install_headers(
		'include/sys/dir.h',
		'include/sys/ioctl.h',
		'include/sys/user.h',
		'include/sys/procfs.h',
		'include/sys/reg.h',
		'include/sys/errno.h',
		'include/sys/signal.h',
		'include/sys/ucontext.h',
		'include/sys/personality.h',
		'include/sys/timeb.h',
		'include/sys/mtio.h',
		'include/sys/endian.h',
		'include/sys/timex.h',
		'include/sys/kd.h',
		'include/sys/io.h',
		subdir: 'sys'
	)
	install_headers(
		'include/net/ethernet.h',
		'include/net/route.h',
		'include/net/if_ppp.h',
		subdir: 'net'
	)
	install_headers(
		'include/netax25/ax25.h',
		subdir: 'netax25'
	)
	install_headers(
		'include/netipx/ipx.h',
		subdir: 'netipx'
	)
	install_headers(
		'include/netrom/netrom.h',
		subdir: 'netrom'
	)
	install_headers(
		'include/netinet/in_systm.h',
		subdir: 'netinet'
	)
	install_headers(
		'include/bits/glibc/glibc_signal.h',
		'include/bits/glibc/glibc_assert.h',
		'include/bits/glibc/glibc_malloc.h',
		'include/bits/glibc/glibc_icmp6.h',
		subdir: 'bits/glibc'
	)
endif