|
|
|
@ -45,6 +45,8 @@
|
|
|
|
|
|
|
|
|
|
DIRS = src doc man etc
|
|
|
|
|
|
|
|
|
|
CTAGOPTS = --totals -I '__initdata,__exitdata,EXPORT_SYMBOL,EXPORT_SYMBOL_NOVERS'
|
|
|
|
|
|
|
|
|
|
help:
|
|
|
|
|
@echo "Pick one of the following targets:"
|
|
|
|
|
@echo -e "\tmake auto_config\t- automated configure"
|
|
|
|
@ -62,11 +64,12 @@ all:
|
|
|
|
|
|
|
|
|
|
mrproper: clean
|
|
|
|
|
rm -f config.out
|
|
|
|
|
rm -f tags.linux
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
|
touch config.mk config.new
|
|
|
|
|
set -e; for d in $(DIRS); do $(MAKE) -C $$d clean ; done
|
|
|
|
|
rm -f core core.* *.o .*.o *.s *.a .depend tmp_make *~ tags
|
|
|
|
|
rm -f core core.* *.o .*.o *.s *.a .depend tmp_make *~ tags
|
|
|
|
|
for i in *_obj; do if [ -d $$i ]; then rm -fr $$i; fi; done
|
|
|
|
|
rm -f config.mk config.new
|
|
|
|
|
rm -f src/include/wlan/version.h
|
|
|
|
@ -89,9 +92,26 @@ config:
|
|
|
|
|
@touch config.mk
|
|
|
|
|
@./Configure
|
|
|
|
|
|
|
|
|
|
tags: dummy
|
|
|
|
|
ctags `find . -name '*.[ch]' -o -name '*.mk' -o -name '[Mm]akefile'`
|
|
|
|
|
# ctags -R
|
|
|
|
|
tags: tags.linux dummy
|
|
|
|
|
if [ -r tags.linux ]; then cp tags.linux tags; fi
|
|
|
|
|
find . \
|
|
|
|
|
-name '*.[ch]' -o \
|
|
|
|
|
-name '*.mk' -o \
|
|
|
|
|
-iname 'Makefile' | \
|
|
|
|
|
xargs ctags -a $(CTAGOPTS)
|
|
|
|
|
|
|
|
|
|
tags.linux:
|
|
|
|
|
if [ -h linux ]; then \
|
|
|
|
|
find linux/include \
|
|
|
|
|
-type d \( -name 'asm-*' -o -name config \) \
|
|
|
|
|
-prune -o \
|
|
|
|
|
-name '*.h' -print | \
|
|
|
|
|
xargs ctags -a -f $@ $(CTAGOPTS) && \
|
|
|
|
|
find linux/kernel linux/drivers linux/mm linux/fs \
|
|
|
|
|
linux/net linux/ipc linux/lib linux/init \
|
|
|
|
|
-name '*.[ch]' | \
|
|
|
|
|
xargs ctags -a -f $@ $(CTAGOPTS); \
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
dummy:
|
|
|
|
|
|
|
|
|
|