obj-$(CONFIG_HINIC) += hinic.o

EXTRA_CFLAGS += -I${src}/bounds_checking_function/include

hinic-objs := hinic_nic_cfg.o hinic_nic_cfg_vf_msg.o hinic_nic_cfg_vf.o \
	   hinic_nic_cfg_rx.o hinic_nic_event.o hinic_nic_io.o hinic_nic_dbg.o \
	   hinic_hwif.o hinic_msix_attr.o hinic_eqs.o \
	   hinic_mbox.o hinic_api_cmd.o hinic_mgmt.o \
	   hinic_wq.o hinic_cmdq.o hinic_hwdev.o hinic_comm_cfg.o \
	   hinic_comm_event.o hinic_hilink_event.o hinic_fault.o \
	   hinic_hwdev_cfg.o hinic_mgmt_msg.o hinic_stateful_cfg.o hinic_cfg.o \
	   hinic_cfg_init.o hinic_cfg_cap.o \
	   hinic_multi_host_mgmt.o ossl_knl_linux.o \
	   hinic_sml_counter.o hinic_sml_lt.o \
	   hinic_main.o hinic_netdev_ops.o hinic_io_cfg.o hinic_rx_cfg.o \
	   hinic_lld.o hinic_lld_dev.o hinic_lld_nic.o hinic_qp.o \
	   hinic_rx.o hinic_tx.o hinic_dbgtool_knl.o \
	   hinic_nictool.o hinic_nictool_nic.o hinic_nictool_hw.o \
	   hinic_sriov.o hinic_ethtool.o hinic_ethtool_stats.o hinic_ethtool_rss.o \
	   hinic_dcb.o \
	   bounds_checking_function/src/securecutil.o \
	   bounds_checking_function/src/secureinput_a.o \
	   bounds_checking_function/src/secureprintoutput_a.o \
	   bounds_checking_function/src/memset_s.o \
	   bounds_checking_function/src/memcpy_s.o \
	   bounds_checking_function/src/memmove_s.o \
	   bounds_checking_function/src/strncpy_s.o \
	   bounds_checking_function/src/strncat_s.o \
	   bounds_checking_function/src/sprintf_s.o \
	   bounds_checking_function/src/vsprintf_s.o \
	   bounds_checking_function/src/vsnprintf_s.o \
	   bounds_checking_function/src/snprintf_s.o \
	   bounds_checking_function/src/vsscanf_s.o \
	   bounds_checking_function/src/sscanf_s.o \
	   bounds_checking_function/src/strcpy_s.o \
	   bounds_checking_function/src/strcat_s.o \
	   bounds_checking_function/src/strtok_s.o
