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

17
lib/sources/meson.build Normal file
View File

@ -0,0 +1,17 @@
libsysprof_headers += files([
'sp-gjs-source.h',
'sp-hostinfo-source.h',
'sp-perf-source.h',
'sp-proc-source.h',
'sp-source.h',
])
libsysprof_sources += files([
'sp-gjs-source.c',
'sp-hostinfo-source.c',
'sp-perf-counter.c',
'sp-perf-counter.h',
'sp-perf-source.c',
'sp-proc-source.c',
'sp-source.c',
])