]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - rdma/Makefile
rdma: Add driver QP type string
[mirror_iproute2.git] / rdma / Makefile
index 819fcbe37506ae7252288eb711078213a3fa479c..e3f550bf1b06fed1b06b44ed7c18cd7d0589de4a 100644 (file)
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-2.0
+# SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
 include ../config.mk
 
 TARGETS :=
@@ -6,7 +6,8 @@ TARGETS :=
 ifeq ($(HAVE_MNL),y)
 CFLAGS += -I./include/uapi/
 
-RDMA_OBJ = rdma.o utils.o dev.o link.o res.o
+RDMA_OBJ = rdma.o utils.o dev.o link.o res.o res-pd.o res-mr.o res-cq.o \
+          res-cmid.o res-qp.o sys.o stat.o
 
 TARGETS += rdma
 endif
@@ -17,7 +18,9 @@ rdma: $(RDMA_OBJ) $(LIBS)
        $(QUIET_LINK)$(CC) $^ $(LDFLAGS) $(LDLIBS) -o $@
 
 install: all
-       install -m 0755 $(TARGETS) $(DESTDIR)$(SBINDIR)
+       for i in $(TARGETS); \
+       do install -m 0755 $$i $(DESTDIR)$(SBINDIR); \
+       done
 
 clean:
        rm -f $(RDMA_OBJ) $(TARGETS)