]> git.proxmox.com Git - mirror_iproute2.git/blame - tipc/Makefile
tipc: make build conditional on having libmnl
[mirror_iproute2.git] / tipc / Makefile
CommitLineData
acfeb55a
GZ
1include ../Config
2ifeq ($(HAVE_MNL),y)
3
f043759d
RA
4TIPCOBJ=bearer.o \
5 cmdl.o link.o \
6 media.o misc.o \
7 msg.o nametable.o \
8 node.o socket.o \
9 tipc.o
10
11TARGETS=tipc
12LDLIBS += -lmnl
13
acfeb55a
GZ
14endif
15
f043759d
RA
16all: $(TARGETS) $(LIBS)
17
18tipc: $(TIPCOBJ)
19
20install: all
21 install -m 0755 $(TARGETS) $(DESTDIR)$(SBINDIR)
22
23clean:
24 rm -f $(TIPCOBJ) $(TARGETS)