-
Notifications
You must be signed in to change notification settings - Fork 7
/
meson.build
51 lines (43 loc) · 1.26 KB
/
meson.build
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
project(
'dinit-chimera',
['cpp'],
version: '0.99.15',
default_options: [
'prefix=/usr',
'cpp_std=c++17',
'cpp_eh=none', 'cpp_rtti=false',
'warning_level=3',
'buildtype=debugoptimized',
],
license: 'BSD-2-Clause',
)
pfx = get_option('prefix')
lexecdir = get_option('libexecdir')
sbindir = get_option('sbindir')
dlibdir = get_option('libdir') / 'dinit'
tmpfdir = get_option('libdir') / 'tmpfiles.d'
srvdir = get_option('libdir') / 'dinit.d'
earlydir = srvdir / 'early'
kmod_dep = dependency('libkmod')
bless_boot_path = get_option('bless-boot-path')
dinit_console_path = get_option('dinit-console-path')
dinit_cryptdisks_path = get_option('dinit-cryptdisks-path')
dinit_devd_path = get_option('dinit-devd-path')
dinit_path = pfx / sbindir / 'dinit'
if bless_boot_path == ''
bless_boot_path = pfx / lexecdir / 'systemd-bless-boot'
endif
if dinit_console_path == ''
dinit_console_path = pfx / lexecdir / 'dinit-console'
endif
if dinit_cryptdisks_path == ''
dinit_cryptdisks_path = pfx / lexecdir / 'dinit-cryptdisks'
endif
if dinit_devd_path == ''
dinit_devd_path = pfx / lexecdir / 'dinit-devd'
endif
subdir('early/helpers')
subdir('early/scripts')
subdir('man')
subdir('services')
subdir('tmpfiles')