]> git.proxmox.com Git - mirror_iproute2.git/blob - tipc/Makefile
Merge branch 'master' into net-next
[mirror_iproute2.git] / tipc / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2 include ../config.mk
3
4 TARGETS :=
5
6 ifeq ($(HAVE_MNL),y)
7
8 TIPCOBJ=bearer.o \
9 cmdl.o link.o \
10 media.o misc.o \
11 msg.o nametable.o \
12 node.o socket.o \
13 peer.o tipc.o
14
15 TARGETS += tipc
16
17 endif
18
19 all: $(TARGETS) $(LIBS)
20
21 tipc: $(TIPCOBJ)
22 $(QUIET_LINK)$(CC) $^ $(LDFLAGS) $(LDLIBS) -o $@
23
24 install: all
25 install -m 0755 $(TARGETS) $(DESTDIR)$(SBINDIR)
26
27 clean:
28 rm -f $(TIPCOBJ) $(TARGETS)