Remove all references to ath_info
authorPavel Roskin <proski@gnu.org>
Fri, 8 Nov 2013 15:39:40 +0000 (10:39 -0500)
committerPavel Roskin <proski@gnu.org>
Fri, 8 Nov 2013 16:00:41 +0000 (11:00 -0500)
It's a dangerous program that should be distributed separately from
MadWifi, with its own README full of serious warnings.

ath_info is not even using MadWifi, it writes to the hardware registers
directly.  ath_info is definitely not needed to use MadWifi.  It could
help with the development, but so could Wireshark and many other
programs that are not part of MadWifi.

tools/Makefile

index 3ad998823c6093b3abcbe52689f2e48e2cd9a6e5..c3bc02be299a8bc4da96d62ac8547d2dbe86aa21 100644 (file)
@@ -48,19 +48,12 @@ endif
 PROGRAMS = athstats 80211stats athkey athchans athctrl \
        athdebug 80211debug wlanconfig wpakey
 
-SUBDIRS = ath_info
-
 INCS = -I. -I$(HAL) -I$(TOP)
 CFLAGS = -g -O2 -Wall
 ALL_CFLAGS = $(CFLAGS) $(INCS)
 LDFLAGS =
 
-all: all-subdirs $(PROGRAMS)
-
-all-subdirs:
-       for d in $(SUBDIRS); do \
-               $(MAKE) -C $$d || exit 1; \
-       done
+all: $(PROGRAMS)
 
 athstats: athstats.c
        $(CC) -o athstats $(ALL_CFLAGS) -I$(TOP)/ath $(LDFLAGS) athstats.c
@@ -90,9 +83,6 @@ install: all
        install -d $(DESTDIR)$(MANDIR)/man8
        install -m 0644 man/*.8 $(DESTDIR)$(MANDIR)/man8
        install $(TOP)/scripts/madwifi-unload $(DESTDIR)$(BINDIR)/madwifi-unload
-       for d in $(SUBDIRS); do \
-               $(MAKE) -C $$d install || exit 1; \
-       done
 
 uninstall:
        for i in $(PROGRAMS); do \
@@ -101,14 +91,8 @@ uninstall:
        for i in $(PROGRAMS:=.8); do \
                rm -f $(DESTDIR)$(MANDIR)/man8/$$i; \
        done
-       for d in $(SUBDIRS); do \
-               $(MAKE) -C $$d uninstall || exit 1; \
-       done
 
 clean:
        rm -f $(PROGRAMS) core a.out
-       for d in $(SUBDIRS); do \
-               $(MAKE) -C $$d clean; \
-       done
 
-.PHONY: all all-subdirs clean install uninstall
+.PHONY: all clean install uninstall