]>
Commit | Line | Data |
---|---|---|
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 | for i in $(TARGETS); \ | |
26 | do install -m 0755 $$i $(DESTDIR)$(SBINDIR); \ | |
27 | done | |
28 | ||
29 | clean: | |
30 | rm -f $(TIPCOBJ) $(TARGETS) |