mirror of
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
synced 2024-11-24 02:13:33 +08:00
23 lines
436 B
Makefile
23 lines
436 B
Makefile
IPOBJ=ip.o ipaddress.o iproute.o iprule.o \
|
|
rtm_map.o iptunnel.o ipneigh.o iplink.o ipmaddr.o \
|
|
ipmonitor.o ipmroute.o
|
|
|
|
RTMONOBJ=rtmon.o
|
|
|
|
ALLOBJ=$(IPOBJ) $(RTMONOBJ)
|
|
TARGETS=ip rtmon
|
|
|
|
all: $(TARGETS)
|
|
|
|
ip: $(IPOBJ) $(LIBNETLINK) $(LIBUTIL)
|
|
|
|
rtmon: $(RTMONOBJ) $(LIBNETLINK)
|
|
|
|
install: all
|
|
install -m 0755 -s $(TARGETS) $(DESTDIR)$(SBINDIR)
|
|
install -m 0755 routel routef $(DESTDIR)$(SBINDIR)
|
|
|
|
clean:
|
|
rm -f $(ALLOBJ) $(TARGETS)
|
|
|