summaryrefslogtreecommitdiffstats
path: root/ip/Makefile
diff options
context:
space:
mode:
authorosdl.org!shemminger <osdl.org!shemminger>2004-04-15 20:56:59 +0000
committerosdl.org!shemminger <osdl.org!shemminger>2004-04-15 20:56:59 +0000
commitaba5acdfdb347d2c21fc67d613d83d4430ca3937 (patch)
tree20a89d844444d062bac7e2a945251068f8e39d18 /ip/Makefile
parent86fdf0e47be697587efcf9602cd1f952a1d73170 (diff)
(Logical change 1.3)
Diffstat (limited to 'ip/Makefile')
-rw-r--r--ip/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/ip/Makefile b/ip/Makefile
index e69de29b..2aa00518 100644
--- a/ip/Makefile
+++ b/ip/Makefile
@@ -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)
+