]> git.proxmox.com Git - mirror_iproute2.git/blame - tipc/Makefile
ll_map: Add function to remove link cache entry by index
[mirror_iproute2.git] / tipc / Makefile
CommitLineData
6054c1eb 1# SPDX-License-Identifier: GPL-2.0
5f1df307
SH
2include ../config.mk
3
cfd6ccbf
MS
4TARGETS :=
5
acfeb55a
GZ
6ifeq ($(HAVE_MNL),y)
7
f043759d
RA
8TIPCOBJ=bearer.o \
9 cmdl.o link.o \
10 media.o misc.o \
11 msg.o nametable.o \
12 node.o socket.o \
535194a1 13 peer.o tipc.o
f043759d 14
cfd6ccbf 15TARGETS += tipc
f043759d 16
acfeb55a
GZ
17endif
18
f043759d
RA
19all: $(TARGETS) $(LIBS)
20
21tipc: $(TIPCOBJ)
57bdf8b7 22 $(QUIET_LINK)$(CC) $^ $(LDFLAGS) $(LDLIBS) -o $@
f043759d
RA
23
24install: all
a7a7e450
ED
25 for i in $(TARGETS); \
26 do install -m 0755 $$i $(DESTDIR)$(SBINDIR); \
27 done
f043759d
RA
28
29clean:
30 rm -f $(TIPCOBJ) $(TARGETS)