crypto/qat: move common qat files to common dir
[dpdk.git] / drivers / crypto / qat / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017-2018 Intel Corporation
3
4 build = false
5 dep = dependency('libcrypto', required: false)
6 if dep.found()
7         # Add our sources files to the list
8         qat_sources += files('qat_sym_pmd.c',
9                              'qat_sym.c',
10                              'qat_sym_session.c')
11         qat_includes += include_directories('.')
12         qat_deps += 'cryptodev'
13         qat_ext_deps += dep
14         pkgconfig_extra_libs += '-lcrypto'
15         qat_cflags += '-DBUILD_QAT_SYM'
16
17         # build the whole driver
18         sources += qat_sources
19         cflags += qat_cflags
20         deps += qat_deps
21         ext_deps += qat_ext_deps
22         includes += qat_includes
23         build = true
24 endif