f39bffc62c
Aligns the build with the FreeBSD traditional approach to not build in contrib/, and to track inter-dependencies between libraries. With help from: bdrewery Reviewed by: bdrewery, hselasky Sponsored by: Mellanox Technologies MFC after: 2 weeks Differential revision: https://reviews.freebsd.org/D15648
18 lines
254 B
Makefile
18 lines
254 B
Makefile
# $FreeBSD$
|
|
|
|
_spath= ${SRCTOP}/contrib/ofed/libibumad
|
|
.PATH: ${_spath}
|
|
|
|
SHLIBDIR?= /usr/lib
|
|
LIB= ibumad
|
|
SHLIB_MAJOR= 1
|
|
MK_PROFILE= no
|
|
SRCS= \
|
|
umad.c \
|
|
umad_str.c \
|
|
sysfs.c
|
|
CFLAGS+= -I${_spath}
|
|
VERSION_MAP= ${_spath}/libibumad.map
|
|
|
|
.include <bsd.lib.mk>
|