]>
Commit | Line | Data |
---|---|---|
6054c1eb | 1 | # SPDX-License-Identifier: GPL-2.0 |
5f1df307 SH |
2 | include ../config.mk |
3 | ||
cfd6ccbf MS |
4 | TARGETS := |
5 | ||
acfeb55a GZ |
6 | ifeq ($(HAVE_MNL),y) |
7 | ||
f043759d RA |
8 | TIPCOBJ=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 | 15 | TARGETS += tipc |
f043759d | 16 | |
acfeb55a GZ |
17 | endif |
18 | ||
f043759d RA |
19 | all: $(TARGETS) $(LIBS) |
20 | ||
21 | tipc: $(TIPCOBJ) | |
57bdf8b7 | 22 | $(QUIET_LINK)$(CC) $^ $(LDFLAGS) $(LDLIBS) -o $@ |
f043759d RA |
23 | |
24 | install: all | |
a7a7e450 ED |
25 | for i in $(TARGETS); \ |
26 | do install -m 0755 $$i $(DESTDIR)$(SBINDIR); \ | |
27 | done | |
f043759d RA |
28 | |
29 | clean: | |
30 | rm -f $(TIPCOBJ) $(TARGETS) |