1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
|
# librist. Copyright (c) 2020 SipRadius LLC. All right reserved.
# Author: Sergio Ammirata, Ph.D. <sergio@ammirata.net>
# SPDX-License-Identifier: BSD-2-Clause
tools_dependencies = []
tools_deps = []
if host_machine.system() == 'windows'
tools_deps += ['../contrib/getopt-shim.c']
tools_dependencies += [ cc.find_library('ws2_32') ]
endif
tools_deps += [ '../contrib/time-shim.c']
tools_deps += [ '../contrib/pthread-shim.c']
if filter_obj
tools_deps += [objcopy_fake_file ]
endif
srp_shared = []
if use_mbedtls
srp_shared += 'srp_shared.c'
tools_dependencies += mbedcrypto_lib
endif
executable('ristsender',
['ristsender.c', 'oob_shared.c', srp_shared, tools_deps, rev_target],
dependencies: [
librist_dep,
threads,
stdatomic_dependency,
tools_dependencies
],
include_directories: inc,
install: should_install)
executable('ristreceiver',
['ristreceiver.c', 'oob_shared.c', srp_shared, tools_deps, rev_target],
dependencies: [
librist_dep,
tools_dependencies,
threads,
],
include_directories: inc,
install: should_install)
executable('rist2rist',
['rist2rist.c', 'oob_shared.c', srp_shared, tools_deps, rev_target],
dependencies: [
tools_dependencies,
threads,
librist_dep,
],
include_directories: inc,
install: should_install)
if use_mbedtls
executable('ristsrppasswd',
['ristsrppasswd.c', '../contrib/srp.c', tools_deps],
dependencies: [
mbedcrypto_lib,
librist_dep,
],
include_directories: inc,
install: should_install)
endif
|