New upstream version 18.08
[deb_dpdk.git] / drivers / crypto / qat / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017-2018 Intel Corporation
3
4 # this does not build the QAT driver, instead that is done in the compression
5 # driver which comes later. Here we just add our sources files to the list
6 build = false
7 dep = dependency('libcrypto', required: false)
8 qat_includes += include_directories('.')
9 qat_deps += 'cryptodev'
10 if dep.found()
11         # Add our sources files to the list
12         qat_sources += files('qat_sym_pmd.c',
13                              'qat_sym.c',
14                              'qat_sym_session.c')
15         qat_ext_deps += dep
16         pkgconfig_extra_libs += '-lcrypto'
17         qat_cflags += '-DBUILD_QAT_SYM'
18 endif