xref: /freebsd/sys/modules/qat/qat_api/Makefile (revision 031beb4e239bfce798af17f5fe8dba8bcaf13d99)
178ee8d1cSJulian Grajkowski# SPDX-License-Identifier: BSD-3-Clause
278ee8d1cSJulian Grajkowski# Copyright(c) 2007-2022 Intel Corporation
378ee8d1cSJulian Grajkowski.PATH: ${SRCTOP}/sys/dev/qat/qat_api
478ee8d1cSJulian Grajkowski
578ee8d1cSJulian GrajkowskiKMOD= qat_api
678ee8d1cSJulian Grajkowski
778ee8d1cSJulian GrajkowskiSRCS+= freebsd_module.c
878ee8d1cSJulian GrajkowskiSRCS+= common/compression/dc_datapath.c
978ee8d1cSJulian GrajkowskiSRCS+= common/compression/dc_header_footer.c
1078ee8d1cSJulian GrajkowskiSRCS+= common/compression/dc_session.c
1178ee8d1cSJulian GrajkowskiSRCS+= common/compression/dc_stats.c
1278ee8d1cSJulian GrajkowskiSRCS+= common/compression/dc_buffers.c
1378ee8d1cSJulian GrajkowskiSRCS+= common/compression/dc_dp.c
1478ee8d1cSJulian GrajkowskiSRCS+= common/compression/icp_sal_dc_err.c
15*266b0663SKrzysztof ZdziarskiSRCS+= common/compression/dc_chain.c
16*266b0663SKrzysztof ZdziarskiSRCS+= common/compression/dc_ns_datapath.c
17*266b0663SKrzysztof ZdziarskiSRCS+= common/compression/dc_ns_header_footer.c
1878ee8d1cSJulian GrajkowskiSRCS+= common/utils/lac_buffer_desc.c
1978ee8d1cSJulian GrajkowskiSRCS+= common/utils/lac_mem.c
2078ee8d1cSJulian GrajkowskiSRCS+= common/utils/lac_mem_pools.c
2178ee8d1cSJulian GrajkowskiSRCS+= common/utils/lac_sync.c
2278ee8d1cSJulian GrajkowskiSRCS+= common/utils/sal_service_state.c
2378ee8d1cSJulian GrajkowskiSRCS+= common/utils/sal_statistics.c
2478ee8d1cSJulian GrajkowskiSRCS+= common/utils/sal_string_parse.c
2578ee8d1cSJulian GrajkowskiSRCS+= common/utils/sal_versions.c
2678ee8d1cSJulian GrajkowskiSRCS+= common/utils/sal_user_process.c
2778ee8d1cSJulian GrajkowskiSRCS+= common/ctrl/sal_list.c
2878ee8d1cSJulian GrajkowskiSRCS+= common/ctrl/sal_compression.c
2978ee8d1cSJulian GrajkowskiSRCS+= common/ctrl/sal_ctrl_services.c
3078ee8d1cSJulian GrajkowskiSRCS+= common/ctrl/sal_create_services.c
3178ee8d1cSJulian GrajkowskiSRCS+= common/ctrl/sal_crypto.c
32*266b0663SKrzysztof ZdziarskiSRCS+= common/ctrl/sal_get_instances.c
3378ee8d1cSJulian GrajkowskiSRCS+= common/qat_comms/sal_qat_cmn_msg.c
3478ee8d1cSJulian GrajkowskiSRCS+= common/crypto/sym/lac_sym_api.c
3578ee8d1cSJulian GrajkowskiSRCS+= common/crypto/sym/lac_sym_cb.c
3678ee8d1cSJulian GrajkowskiSRCS+= common/crypto/sym/lac_sym_queue.c
3778ee8d1cSJulian GrajkowskiSRCS+= common/crypto/sym/lac_sym_cipher.c
3878ee8d1cSJulian GrajkowskiSRCS+= common/crypto/sym/lac_sym_alg_chain.c
3978ee8d1cSJulian GrajkowskiSRCS+= common/crypto/sym/lac_sym_auth_enc.c
4078ee8d1cSJulian GrajkowskiSRCS+= common/crypto/sym/lac_sym_hash.c
4178ee8d1cSJulian GrajkowskiSRCS+= common/crypto/sym/lac_sym_hash_sw_precomputes.c
4278ee8d1cSJulian GrajkowskiSRCS+= common/crypto/sym/lac_sym_stats.c
4378ee8d1cSJulian GrajkowskiSRCS+= common/crypto/sym/lac_sym_compile_check.c
4478ee8d1cSJulian GrajkowskiSRCS+= common/crypto/sym/lac_sym_partial.c
4578ee8d1cSJulian GrajkowskiSRCS+= common/crypto/sym/lac_sym_dp.c
4678ee8d1cSJulian GrajkowskiSRCS+= common/crypto/sym/qat/lac_sym_qat.c
4778ee8d1cSJulian GrajkowskiSRCS+= common/crypto/sym/qat/lac_sym_qat_hash.c
4878ee8d1cSJulian GrajkowskiSRCS+= common/crypto/sym/qat/lac_sym_qat_hash_defs_lookup.c
4978ee8d1cSJulian GrajkowskiSRCS+= common/crypto/sym/qat/lac_sym_qat_cipher.c
50a977168cSMichal GulbickiSRCS+= common/crypto/sym/qat/lac_sym_qat_constants_table.c
5178ee8d1cSJulian GrajkowskiSRCS+= common/crypto/sym/qat/lac_sym_qat_key.c
5278ee8d1cSJulian GrajkowskiSRCS+= common/crypto/sym/key/lac_sym_key.c
5378ee8d1cSJulian GrajkowskiSRCS+= common/stubs/lac_stubs.c
5478ee8d1cSJulian GrajkowskiSRCS+= device/dev_info.c
5578ee8d1cSJulian GrajkowskiSRCS+= qat_kernel/src/lac_adf_interface_freebsd.c
5678ee8d1cSJulian GrajkowskiSRCS+= qat_kernel/src/qat_transport.c
5778ee8d1cSJulian GrajkowskiSRCS+= qat_kernel/src/lac_symbols.c
5878ee8d1cSJulian GrajkowskiSRCS+= qat_utils/src/QatUtilsServices.c
5978ee8d1cSJulian GrajkowskiSRCS+= qat_utils/src/QatUtilsSemaphore.c
6078ee8d1cSJulian GrajkowskiSRCS+= qat_utils/src/QatUtilsSpinLock.c
6178ee8d1cSJulian GrajkowskiSRCS+= qat_utils/src/QatUtilsAtomic.c
6278ee8d1cSJulian GrajkowskiSRCS+= qat_utils/src/QatUtilsCrypto.c
6378ee8d1cSJulian GrajkowskiSRCS+= bus_if.h cryptodev_if.h device_if.h pci_if.h vnode_if.h
6478ee8d1cSJulian Grajkowski
6578ee8d1cSJulian GrajkowskiCFLAGS+= -I${SRCTOP}/sys/dev/qat/qat_api/include
6678ee8d1cSJulian GrajkowskiCFLAGS+= -I${SRCTOP}/sys/dev/qat/qat_api/include/lac
6778ee8d1cSJulian GrajkowskiCFLAGS+= -I${SRCTOP}/sys/dev/qat/qat_api/include/dc
6878ee8d1cSJulian GrajkowskiCFLAGS+= -I${SRCTOP}/sys/dev/qat/qat_api/qat_direct/include
6978ee8d1cSJulian GrajkowskiCFLAGS+= -I${SRCTOP}/sys/dev/qat/qat_api/qat_utils/include
7078ee8d1cSJulian GrajkowskiCFLAGS+= -I${SRCTOP}/sys/dev/qat/qat_api/common/include
7178ee8d1cSJulian GrajkowskiCFLAGS+= -I${SRCTOP}/sys/dev/qat/qat_api/common/compression/include
7278ee8d1cSJulian GrajkowskiCFLAGS+= -I${SRCTOP}/sys/dev/qat/qat_api/common/crypto/sym/include
7378ee8d1cSJulian GrajkowskiCFLAGS+= -I${SRCTOP}/sys/dev/qat/qat_api/firmware/include
7478ee8d1cSJulian GrajkowskiCFLAGS+= -I${SRCTOP}/sys/dev/qat/include/common
75514fb387SBjoern A. ZeebCFLAGS+= ${LINUXKPI_INCLUDES}
7678ee8d1cSJulian Grajkowski
7778ee8d1cSJulian Grajkowski.include <bsd.kmod.mk>
78e120d3b2SJohn Baldwin
79e120d3b2SJohn BaldwinCWARNFLAGS+= -Wno-cast-qual
80