build: use subdir meson.build files

This keeps the build file closer to the sources it effects.
This commit is contained in:
Christian Hergert
2017-09-28 16:57:00 -07:00
parent 4f93ede6fa
commit 190faa818d
9 changed files with 168 additions and 110 deletions

43
lib/util/meson.build Normal file
View File

@ -0,0 +1,43 @@
libsysprof_headers += files([
'sp-map-lookaside.h',
'sp-selection.h',
])
libsysprof_sources += files([
'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_ui_headers += files([
'sp-model-filter.h',
'sp-process-model-item.h',
'sp-process-model.h',
'sp-zoom-manager.h',
])
libsysprof_ui_sources += files([
'pointcache.c',
'pointcache.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',
])