]> git.proxmox.com Git - mirror_iproute2.git/blame - ip/Makefile
Fix modes of test files
[mirror_iproute2.git] / ip / Makefile
CommitLineData
aba5acdf 1IPOBJ=ip.o ipaddress.o iproute.o iprule.o \
288384f2 2 rtm_map.o iptunnel.o ip6tunnel.o tunnel.o ipneigh.o ipntable.o iplink.o \
1cb54e58 3 ipmaddr.o ipmonitor.o ipmroute.o ipprefix.o \
147da5de 4 ipxfrm.o xfrm_state.o xfrm_policy.o xfrm_monitor.o
aba5acdf
SH
5
6RTMONOBJ=rtmon.o
7
8ALLOBJ=$(IPOBJ) $(RTMONOBJ)
03ffadfe
SH
9SCRIPTS=ifcfg rtpr routel routef
10TARGETS=ip rtmon
aba5acdf 11
03ffadfe 12all: $(TARGETS) $(SCRIPTS)
aba5acdf
SH
13
14ip: $(IPOBJ) $(LIBNETLINK) $(LIBUTIL)
15
16rtmon: $(RTMONOBJ) $(LIBNETLINK)
17
18install: all
19 install -m 0755 -s $(TARGETS) $(DESTDIR)$(SBINDIR)
03ffadfe 20 install -m 0755 $(SCRIPTS) $(DESTDIR)$(SBINDIR)
aba5acdf
SH
21
22clean:
23 rm -f $(ALLOBJ) $(TARGETS)
24
1d934839
PM
25LDLIBS += -ldl
26LDFLAGS += -Wl,-export-dynamic