]>
Commit | Line | Data |
---|---|---|
acfeb55a GZ |
1 | include ../Config |
2 | ifeq ($(HAVE_MNL),y) | |
3 | ||
f043759d RA |
4 | TIPCOBJ=bearer.o \ |
5 | cmdl.o link.o \ | |
6 | media.o misc.o \ | |
7 | msg.o nametable.o \ | |
8 | node.o socket.o \ | |
d4585a4b | 9 | peer.o tipc.o |
f043759d | 10 | |
a6ea668c JE |
11 | include ../Config |
12 | ||
f043759d | 13 | TARGETS=tipc |
a6ea668c JE |
14 | CFLAGS += $(shell $(PKG_CONFIG) libmnl --cflags) |
15 | LDLIBS += $(shell $(PKG_CONFIG) libmnl --libs) | |
f043759d | 16 | |
acfeb55a GZ |
17 | endif |
18 | ||
f043759d RA |
19 | all: $(TARGETS) $(LIBS) |
20 | ||
21 | tipc: $(TIPCOBJ) | |
22 | ||
23 | install: all | |
24 | install -m 0755 $(TARGETS) $(DESTDIR)$(SBINDIR) | |
25 | ||
26 | clean: | |
27 | rm -f $(TIPCOBJ) $(TARGETS) |