1 # SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
7 CFLAGS
+= -I.
/include/uapi
/
9 RDMA_OBJ
= rdma.o utils.o dev.o link.o res.o res-pd.o res-mr.o res-cq.o \
10 res-cmid.o res-qp.o sys.o stat.o
15 all: $(TARGETS
) $(LIBS
)
17 rdma
: $(RDMA_OBJ
) $(LIBS
)
18 $(QUIET_LINK
)$(CC
) $^
$(LDFLAGS
) $(LDLIBS
) -o
$@
21 for i in
$(TARGETS
); \
22 do
install -m
0755 $$i $(DESTDIR
)$(SBINDIR
); \
26 rm -f
$(RDMA_OBJ
) $(TARGETS
)