File: meson.build

package info (click to toggle)
sysprof 3.30.2-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,616 kB
  • sloc: ansic: 20,056; xml: 96; cpp: 23; sh: 18; makefile: 9
file content (62 lines) | stat: -rw-r--r-- 1,182 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
55
56
57
58
59
60
61
62
util_headers = [
  'sp-map-lookaside.h',
  'sp-selection.h',
]

util_sources = [
  'binfile.c',
  'binfile.h',
  'demangle.cpp',
  'demangle.h',
  'elfparser.c',
  'elfparser.h',
  'sp-line-reader.c',
  'sp-line-reader.h',
  'sp-map-lookaside.c',
  'sp-platform.c',
  'sp-platform.h',
  'sp-selection.c',
  'stackstash.c',
  'stackstash.h',
]

libsysprof_headers += files(util_headers)
libsysprof_sources += files(util_sources)

install_headers(util_headers,
  subdir: join_paths(libsysprof_header_subdir, 'util'))


if get_option('enable_gtk')

util_ui_headers = [
  'sp-model-filter.h',
  'sp-process-model-item.h',
  'sp-process-model.h',
  'sp-zoom-manager.h',
]

util_ui_sources = [
  'pointcache.c',
  'pointcache.h',
  'rectangles.c',
  'rectangles.h',
  'sp-color-cycle.c',
  'sp-color-cycle.h',
  'sp-model-filter.c',
  'sp-process-model-item.c',
  'sp-process-model.c',
  'sp-theme-manager.c',
  'sp-theme-manager.h',
  'sp-zoom-manager.c',
  'stackstash.c',
  'stackstash.h',
]

libsysprof_ui_headers += files(util_ui_headers)
libsysprof_ui_sources += files(util_ui_sources)

install_headers(util_ui_headers,
  subdir: join_paths(libsysprof_header_subdir, 'util'))

endif