]> git.proxmox.com Git - mirror_iproute2.git/blame - tipc/Makefile
Make builds default to quiet mode
[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 \
385caeb1 9 tipc.o
f043759d 10
a6ea668c
JE
11include ../Config
12
f043759d 13TARGETS=tipc
a6ea668c
JE
14CFLAGS += $(shell $(PKG_CONFIG) libmnl --cflags)
15LDLIBS += $(shell $(PKG_CONFIG) libmnl --libs)
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
25 install -m 0755 $(TARGETS) $(DESTDIR)$(SBINDIR)
26
27clean:
28 rm -f $(TIPCOBJ) $(TARGETS)