summaryrefslogtreecommitdiffstats
path: root/contrib/ofed
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2016-02-02 11:36:58 +0000
committerhselasky <hselasky@FreeBSD.org>2016-02-02 11:36:58 +0000
commit2dd3f93a4bbeb8931ca56f139ef169319ae075c2 (patch)
treef8fef8db8c1d53be855c0d77c2f9d8fbb9426101 /contrib/ofed
parent7e1c03eb21e331df8f1351de93f84e377f7a6435 (diff)
downloadFreeBSD-src-2dd3f93a4bbeb8931ca56f139ef169319ae075c2.zip
FreeBSD-src-2dd3f93a4bbeb8931ca56f139ef169319ae075c2.tar.gz
Use LIBADD instead of LDADD.
Sponsored by: Mellanox Technologies
Diffstat (limited to 'contrib/ofed')
-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 31d2ae7..e2baf40 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 4abaf27..6ef498f 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 1e32550..fc76534 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>
OpenPOWER on IntegriCloud