build: fix header installation paths

This commit is contained in:
Christian Hergert
2017-09-28 17:44:02 -07:00
parent 190faa818d
commit 00b6892a72
9 changed files with 128 additions and 52 deletions

View File

@ -1,17 +1,23 @@
libsysprof_headers += files([
symbols_headers = [
'sp-elf-symbol-resolver.h',
'sp-jitmap-symbol-resolver.h',
'sp-kernel-symbol-resolver.h',
'sp-kernel-symbol.h',
'sp-symbol-dirs.h',
'sp-symbol-resolver.h',
])
]
libsysprof_sources += files([
symbols_sources = [
'sp-elf-symbol-resolver.c',
'sp-jitmap-symbol-resolver.c',
'sp-kernel-symbol-resolver.c',
'sp-kernel-symbol.c',
'sp-symbol-dirs.c',
'sp-symbol-resolver.c',
])
]
libsysprof_headers += files(symbols_headers)
libsysprof_sources += files(symbols_sources)
install_headers(symbols_headers,
subdir: join_paths(libsysprof_header_subdir, 'symbols'))