File: meson.build

package info (click to toggle)
composefs 1.0.8-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,040 kB
  • sloc: ansic: 9,004; sh: 416; python: 225; makefile: 5
file content (54 lines) | stat: -rw-r--r-- 1,180 bytes parent folder | download
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
# SPDX-License-Identifier: GPL-2.0-or-later OR Apache-2.0
internal_source_files = files([
  'lcfs-utils.h',
  'lcfs-utils.c',
])

libcomposefs_internal = static_library('composefs-internal',
  internal_source_files,
  c_args : composefs_hash_cflags + hidden_visibility_cflags,
  include_directories : config_inc,
  install : false,
)

source_files = files([
  'bitrotate.h',
  'erofs_fs.h',
  'erofs_fs_wrapper.h',
  'hash.c',
  'hash.h',
  'lcfs-internal.h',
  'lcfs-erofs.h',
  'lcfs-erofs-internal.h',
  'lcfs-fsverity.c',
  'lcfs-fsverity.h',
  'lcfs-writer-erofs.c',
  'lcfs-writer.c',
  'lcfs-writer.h',
  'lcfs-mount.c',
  'lcfs-mount.h',
  'xalloc-oversized.h',
])

libcomposefs = both_libraries('composefs',
  source_files,
  c_args : composefs_hash_cflags + hidden_visibility_cflags,
  dependencies : libcrypto_dep,
  link_with: libcomposefs_internal,
  version : libversion,
  soversion : soversion,
  include_directories : config_inc,
  install : true,
)

pkg.generate(libcomposefs,
  description : 'library for generating and using composefs images',
)

install_headers([
    'lcfs-writer.h',
    'lcfs-erofs.h',
    'lcfs-mount.h',
  ],
  subdir : 'libcomposefs',
)