mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-28 14:24:09 +01:00
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
34 lines
393 B
Makefile
34 lines
393 B
Makefile
# $FreeBSD$
|
|
|
|
_spath= ${SRCTOP}/contrib/ofed/libibmad
|
|
.PATH: ${_spath}
|
|
|
|
SHLIBDIR?= /usr/lib
|
|
LIB= ibmad
|
|
SHLIB_MAJOR= 5
|
|
MK_PROFILE= no
|
|
|
|
SRCS= \
|
|
bm.c \
|
|
cc.c \
|
|
dump.c \
|
|
fields.c \
|
|
gs.c \
|
|
mad.c \
|
|
portid.c \
|
|
register.c \
|
|
resolve.c \
|
|
rpc.c \
|
|
sa.c \
|
|
serv.c \
|
|
smp.c \
|
|
vendor.c
|
|
|
|
LIBADD= ibumad
|
|
CFLAGS+= -DHAVE_CONFIG_H=1
|
|
CFLAGS+= -I${_spath}
|
|
VERSION_MAP= ${_spath}/libibmad.map
|
|
|
|
.include <bsd.lib.mk>
|
|
|