freebsd-nq/sys/modules/ibcore/Makefile
Konstantin Belousov 15fe251399 Introduce LINUXKPI_GENSRCS.
Centralize the list of generated files required by linuxkpi consumers,
into the common variable.  This way, consumers that use the variable
are insulated from possible changes in the list.

Reviewed by:	hselasky, imp
Sponsored by:	Mellanox Technologies
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D24137
2020-03-20 21:06:58 +00:00

43 lines
787 B
Makefile

# $FreeBSD$
.PATH: ${SRCTOP}/sys/ofed/drivers/infiniband/core
KMOD= ibcore
SRCS= \
ib_addr.c \
ib_agent.c \
ib_cache.c \
ib_cm.c \
ib_cma.c \
ib_cq.c \
ib_device.c \
ib_fmr_pool.c \
ib_iwcm.c \
ib_iwpm_msg.c \
ib_iwpm_util.c \
ib_mad.c \
ib_mad_rmpp.c \
ib_multicast.c \
ib_packer.c \
ib_roce_gid_mgmt.c \
ib_sa_query.c \
ib_smi.c \
ib_sysfs.c \
ib_ucm.c \
ib_ucma.c \
ib_ud_header.c \
ib_umem.c \
ib_user_mad.c \
ib_uverbs_cmd.c \
ib_uverbs_main.c \
ib_uverbs_marshall.c \
ib_verbs.c
SRCS+= ${LINUXKPI_GENSRCS}
SRCS+= opt_inet.h opt_inet6.h
CFLAGS+= -I${SRCTOP}/sys/ofed/include
CFLAGS+= -I${SRCTOP}/sys/ofed/include/uapi
CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include
CFLAGS+= -DINET6 -DINET -DCONFIG_INFINIBAND_USER_MEM
.include <bsd.kmod.mk>