Commit 78e4728f authored by Keith Packard's avatar Keith Packard

Add meson.build files for i386 machine directories

Optimized files for 32-bit x86 targets.
Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
parent 74609b66
srcs_machine = [
'memchr.S',
'memcmp.S',
'memcpy.S',
'memmove.S',
'memset.S',
'setjmp.S',
'strchr.S',
'strlen.S',
'i386mach.h'
]
foreach target : targets
value = get_variable('target_' + target)
set_variable('lib_machine' + target,
static_library('machine' + target,
srcs_machine,
pic: false,
include_directories: inc,
c_args: value[1]))
endforeach
srcs_libm_machine = [
'f_atan2f.S',
'f_atan2.S',
'f_exp.c',
'f_expf.c',
'f_frexpf.S',
'f_frexp.S',
'f_ldexpf.S',
'f_ldexp.S',
'f_llrint.c',
'f_llrintf.c',
'f_llrintl.c',
'f_log10f.S',
'f_log10.S',
'f_logf.S',
'f_log.S',
'f_lrint.c',
'f_lrintf.c',
'f_lrintl.c',
'f_math.h',
'f_pow.c',
'f_powf.c',
'f_rint.c',
'f_rintf.c',
'f_rintl.c',
'f_tanf.S',
'f_tan.S',
'i386mach.h',
]
foreach target : targets
value = get_variable('target_' + target)
set_variable('lib_machine' + target,
static_library('machine' + target,
srcs_libm_machine,
pic: false,
include_directories: [ inc, include_directories('../../common') ],
c_args: value[1] + ['-fno-builtin']))
endforeach
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment