mirror of
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
synced 2024-11-16 06:25:35 +08:00
b0af8fc1aa
Since libmnl CFLAGS are now handled by config.mk Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
26 lines
382 B
Makefile
26 lines
382 B
Makefile
include ../config.mk
|
|
|
|
ifeq ($(HAVE_MNL),y)
|
|
|
|
TIPCOBJ=bearer.o \
|
|
cmdl.o link.o \
|
|
media.o misc.o \
|
|
msg.o nametable.o \
|
|
node.o socket.o \
|
|
peer.o tipc.o
|
|
|
|
TARGETS=tipc
|
|
|
|
endif
|
|
|
|
all: $(TARGETS) $(LIBS)
|
|
|
|
tipc: $(TIPCOBJ)
|
|
$(QUIET_LINK)$(CC) $^ $(LDFLAGS) $(LDLIBS) -o $@
|
|
|
|
install: all
|
|
install -m 0755 $(TARGETS) $(DESTDIR)$(SBINDIR)
|
|
|
|
clean:
|
|
rm -f $(TIPCOBJ) $(TARGETS)
|