]> git.proxmox.com Git - mirror_iproute2.git/blob - rdma/Makefile
Merge branch 'master' into net-next
[mirror_iproute2.git] / rdma / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2 include ../config.mk
3
4 TARGETS :=
5
6 ifeq ($(HAVE_MNL),y)
7
8 RDMA_OBJ = rdma.o utils.o dev.o link.o
9
10 TARGETS += rdma
11 endif
12
13 all: $(TARGETS) $(LIBS)
14
15 rdma: $(RDMA_OBJ) $(LIBS)
16 $(QUIET_LINK)$(CC) $^ $(LDFLAGS) $(LDLIBS) -o $@
17
18 install: all
19 install -m 0755 $(TARGETS) $(DESTDIR)$(SBINDIR)
20
21 clean:
22 rm -f $(RDMA_OBJ) $(TARGETS)