]> git.proxmox.com Git - mirror_lxc.git/blame - src/lxc/meson.build
meson: Fix hook install locations
[mirror_lxc.git] / src / lxc / meson.build
CommitLineData
9b9d56e6
CB
1# SPDX-License-Identifier: LGPL-2.1-or-later
2
3liblxcfs_version_file = configure_file(
20b03401
SG
4 configuration: version_data,
5 input: 'version.h.in',
6 output: 'version.h')
9b9d56e6
CB
7
8liblxc_sources = files(
20b03401
SG
9 'cgroups/cgfsng.c',
10 'cgroups/cgroup.c',
11 'cgroups/cgroup.h',
12 'cgroups/cgroup2_devices.c',
13 'cgroups/cgroup2_devices.h',
14 'cgroups/cgroup_utils.c',
15 'cgroups/cgroup_utils.h',
16 'lsm/apparmor.c',
17 'lsm/lsm.c',
18 'lsm/lsm.h',
19 'lsm/nop.c',
20 'lsm/selinux.c',
21 'storage/btrfs.c',
22 'storage/btrfs.h',
23 'storage/dir.c',
24 'storage/dir.h',
25 'storage/loop.c',
26 'storage/loop.h',
27 'storage/lvm.c',
28 'storage/lvm.h',
29 'storage/nbd.c',
30 'storage/nbd.h',
31 'storage/overlay.c',
32 'storage/overlay.h',
33 'storage/rbd.c',
34 'storage/rbd.h',
35 'storage/rsync.c',
36 'storage/rsync.h',
37 'storage/storage.c',
38 'storage/storage.h',
39 'storage/storage_utils.c',
40 'storage/storage_utils.h',
41 'storage/zfs.c',
42 'storage/zfs.h',
43 'af_unix.c',
44 'af_unix.h',
45 'api_extensions.h',
46 'attach.c',
47 'attach.h',
48 'attach_options.h',
49 'caps.c',
50 'caps.h',
51 'commands.c',
52 'commands.h',
53 'commands_utils.c',
54 'commands_utils.h',
55 'compiler.h',
56 'conf.c',
57 'conf.h',
58 'confile.c',
59 'confile.h',
60 'confile_utils.c',
61 'confile_utils.h',
62 'criu.c',
63 'criu.h',
64 'error.c',
65 'error.h',
66 'error_utils.h',
67 'execute.c',
68 'file_utils.c',
69 'file_utils.h',
70 'freezer.c',
71 'hlist.h',
72 'initutils.c',
73 'initutils.h',
74 'list.h',
75 'log.c',
76 'log.h',
77 'lxc.h',
78 'lxccontainer.c',
79 'lxccontainer.h',
80 'lxclock.c',
81 'lxclock.h',
82 'lxcseccomp.h',
83 'macro.h',
84 'mainloop.c',
85 'mainloop.h',
86 'memory_utils.h',
87 'monitor.c',
88 'monitor.h',
89 'mount_utils.c',
90 'mount_utils.h',
91 'namespace.c',
92 'namespace.h',
93 'network.c',
94 'network.h',
95 'nl.c',
96 'nl.h',
97 'parse.c',
98 'parse.h',
99 'process_utils.c',
100 'process_utils.h',
101 'rexec.c',
102 'rexec.h',
103 'ringbuf.c',
104 'ringbuf.h',
105 'rtnl.c',
106 'rtnl.h',
107 'seccomp.c',
108 'start.c',
109 'start.h',
110 'state.c',
111 'state.h',
112 'string_utils.c',
113 'string_utils.h',
114 'sync.c',
115 'sync.h',
116 'syscall_numbers.h',
117 'syscall_wrappers.h',
118 'terminal.c',
119 'terminal.h',
120 'utils.c',
121 'utils.h',
122 'uuid.c',
123 'uuid.h')
9b9d56e6 124
9b9d56e6 125liblxc_static = static_library(
20b03401
SG
126 'lxc_static',
127 liblxc_sources + include_sources + netns_ifaddrs_sources,
128 install: false,
129 include_directories: liblxc_includes,
130 dependencies: [threads],
131 c_args: '-fvisibility=default')