From 39b7aeb53f37c64c1abb95b5bf1e500ac14478a3 Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Sun, 21 May 2000 13:44:36 +0000 Subject: Add mii-tool from David Hinds. --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 56199fb..850d297 100644 --- a/Makefile +++ b/Makefile @@ -82,6 +82,9 @@ PROGS := ifconfig hostname arp netstat route rarp slattach plipconfig ifeq ($(HAVE_IP_TOOLS),1) PROGS += iptunnel ipmaddr endif +ifeq ($(HAVE_MII),1) +PROGS += mii-tool +endif # Compiler and Linker Options # You may need to uncomment and edit these if you are using libc5 and IPv6. @@ -211,6 +214,9 @@ iptunnel: $(NET-LIB) iptunnel.o ipmaddr: $(NET-LIB) ipmaddr.o $(CC) $(LDFLAGS) -o ipmaddr ipmaddr.o $(NLIB) $(RESLIB) +mii-tool: mii-tool.o + $(CC) $(LDFLAGS) -o mii-tool mii-tool.o + installbin: install -m 0755 -d ${BASEDIR}/sbin install -m 0755 -d ${BASEDIR}/bin @@ -225,6 +231,9 @@ installbin: ifeq ($(HAVE_IP_TOOLS),1) install -m 0755 ipmaddr $(BASEDIR)/sbin install -m 0755 iptunnel $(BASEDIR)/sbin +endif +ifeq ($(HAVE_MII),1) + install -m 0755 mii-tool $(BASEDIR)/sbin endif ln -fs hostname $(BASEDIR)/bin/dnsdomainname ln -fs hostname $(BASEDIR)/bin/ypdomainname -- cgit v1.2.3-65-gdbad