mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-11-01 13:54:12 +00:00
This reverts commit f9dec657e4.
Since this code is not in upstream kernel, it shouldn't be in iproute2
28 lines
436 B
Makefile
28 lines
436 B
Makefile
include ../Config
|
|
ifeq ($(HAVE_MNL),y)
|
|
|
|
TIPCOBJ=bearer.o \
|
|
cmdl.o link.o \
|
|
media.o misc.o \
|
|
msg.o nametable.o \
|
|
node.o socket.o \
|
|
tipc.o
|
|
|
|
include ../Config
|
|
|
|
TARGETS=tipc
|
|
CFLAGS += $(shell $(PKG_CONFIG) libmnl --cflags)
|
|
LDLIBS += $(shell $(PKG_CONFIG) libmnl --libs)
|
|
|
|
endif
|
|
|
|
all: $(TARGETS) $(LIBS)
|
|
|
|
tipc: $(TIPCOBJ)
|
|
|
|
install: all
|
|
install -m 0755 $(TARGETS) $(DESTDIR)$(SBINDIR)
|
|
|
|
clean:
|
|
rm -f $(TIPCOBJ) $(TARGETS)
|