Rename library to libfadec

This commit is contained in:
Alexis Engelke
2019-06-16 09:44:12 +02:00
parent 07709fcdd8
commit 2933b0f106
2 changed files with 6 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
project('libx86decode', ['c'], default_options: ['warning_level=3', 'c_std=c99']) project('fadec', ['c'], default_options: ['warning_level=3', 'c_std=c99'])
python3 = find_program('python3') python3 = find_program('python3')
@@ -58,8 +58,8 @@ instr_data = custom_target('tables',
input: files('parseinstrs.py', 'instrs.txt'), input: files('parseinstrs.py', 'instrs.txt'),
output: ['decode-table.inc']) output: ['decode-table.inc'])
libdecode = static_library('x86decode', 'decode.c', 'format.c', instr_data) libfadec = static_library('fadec', 'decode.c', 'format.c', instr_data)
libx86decode = declare_dependency(link_with: libdecode, fadec = declare_dependency(link_with: libfadec,
include_directories: include_directories('.'), include_directories: include_directories('.'),
sources: instr_data) sources: instr_data)

View File

@@ -1,6 +1,6 @@
test_driver = executable('test_driver', 'driver.c', test_driver = executable('test_driver', 'driver.c',
dependencies: libx86decode, dependencies: fadec,
c_args: ['-D_GNU_SOURCE']) c_args: ['-D_GNU_SOURCE'])
test_args = [files('test.py'), test_driver] test_args = [files('test.py'), test_driver]
if decode_32 if decode_32