aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2016-02-02 11:36:58 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2016-02-02 11:36:58 +0000
commitb3404919397b789ea3b30e993784dafa7fed371c (patch)
treef8fef8db8c1d53be855c0d77c2f9d8fbb9426101 /contrib
parentfc4c15c46610f472c0efb90f63ae0ee860912425 (diff)
downloadsrc-b3404919397b789ea3b30e993784dafa7fed371c.tar.gz
src-b3404919397b789ea3b30e993784dafa7fed371c.zip
Use LIBADD instead of LDADD.
Sponsored by: Mellanox Technologies
Notes
Notes: svn path=/head/; revision=295146
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ofed/librdmacm/examples/build/cmatose/Makefile3
-rw-r--r--contrib/ofed/librdmacm/examples/build/mckey/Makefile3
-rw-r--r--contrib/ofed/librdmacm/examples/build/udaddy/Makefile3
3 files changed, 3 insertions, 6 deletions
diff --git a/contrib/ofed/librdmacm/examples/build/cmatose/Makefile b/contrib/ofed/librdmacm/examples/build/cmatose/Makefile
index 31d2ae7f7f6b..e2baf40bcf2c 100644
--- a/contrib/ofed/librdmacm/examples/build/cmatose/Makefile
+++ b/contrib/ofed/librdmacm/examples/build/cmatose/Makefile
@@ -5,7 +5,6 @@
PROG= cmatose
MAN=
SRCS= cmatose.c
-LDADD+= -libverbs -lrdmacm -lpthread
-LDADD+= -lmlx4
+LIBADD= ibverbs rdmacm pthread mlx4
.include <bsd.prog.mk>
diff --git a/contrib/ofed/librdmacm/examples/build/mckey/Makefile b/contrib/ofed/librdmacm/examples/build/mckey/Makefile
index 4abaf2786d56..6ef498fb905b 100644
--- a/contrib/ofed/librdmacm/examples/build/mckey/Makefile
+++ b/contrib/ofed/librdmacm/examples/build/mckey/Makefile
@@ -5,7 +5,6 @@
PROG= mckey
MAN=
SRCS= mckey.c
-LDADD+= -libverbs -lrdmacm -lpthread
-LDADD+= -lmlx4
+LIBADD= ibverbs rdmacm pthread mlx4
.include <bsd.prog.mk>
diff --git a/contrib/ofed/librdmacm/examples/build/udaddy/Makefile b/contrib/ofed/librdmacm/examples/build/udaddy/Makefile
index 1e325505bc86..fc76534fbed1 100644
--- a/contrib/ofed/librdmacm/examples/build/udaddy/Makefile
+++ b/contrib/ofed/librdmacm/examples/build/udaddy/Makefile
@@ -5,7 +5,6 @@
PROG= udaddy
MAN=
SRCS= udaddy.c
-LDADD+= -libverbs -lrdmacm -lpthread
-LDADD+= -lmlx4
+LIBADD= ibverbs rdmacm pthread mlx4
.include <bsd.prog.mk>