]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - ip/Makefile
(Logical change 1.3)
[mirror_iproute2.git] / ip / Makefile
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2aa0051827a6ad6c57f4a1347e7b0935e2339617 100644 (file)
@@ -0,0 +1,22 @@
+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)
+