This commit was generated by cvs2svn to compensate for changes in r2587,
[iproute2.git] / ip / Makefile
1 IPOBJ=ip.o ipaddress.o iproute.o iprule.o \
2     rtm_map.o iptunnel.o ipneigh.o ipntable.o iplink.o \
3     ipmaddr.o ipmonitor.o ipmroute.o ipprefix.o \
4     ipxfrm.o xfrm_state.o xfrm_policy.o xfrm_monitor.o
5
6 RTMONOBJ=rtmon.o
7
8 ALLOBJ=$(IPOBJ) $(RTMONOBJ)
9 SCRIPTS=ifcfg rtpr routel routef
10 TARGETS=ip rtmon
11
12 all: $(TARGETS) $(SCRIPTS)
13
14 ip: $(IPOBJ) $(LIBNETLINK) $(LIBUTIL)
15
16 rtmon: $(RTMONOBJ) $(LIBNETLINK)
17
18 install: all
19         install -m 0755 -s $(TARGETS) $(DESTDIR)$(SBINDIR)
20         install -m 0755 $(SCRIPTS) $(DESTDIR)$(SBINDIR)
21
22 clean:
23         rm -f $(ALLOBJ) $(TARGETS)
24