1# SPDX-License-Identifier: BSD-3-Clause 2# Copyright(c) 2018 Intel Corporation 3 4if is_windows 5 build = false 6 reason = 'not supported on Windows' 7 subdir_done() 8endif 9 10dep = dependency('zlib', required: false, method: 'pkg-config') 11build = dep.found() 12reason = 'missing dependency, "zlib"' 13ext_deps += dep 14cflags += '-DZLIB_CONST' 15sources = files( 16 'bnx2x.c', 17 'bnx2x_ethdev.c', 18 'bnx2x_rxtx.c', 19 'bnx2x_stats.c', 20 'bnx2x_vfpf.c', 21 'ecore_sp.c', 22 'elink.c', 23) 24 25annotate_locks = false 26