Revision ed9a8236

View differences:

tools/Makefile-top.in
3 3

  
4 4
objdir=@objdir@
5 5

  
6
all depend:
6
all depend tags:
7 7
	$(MAKE) -C $(objdir) $@
8 8

  
9 9
clean:
tools/Makefile.in
5 5

  
6 6
srcdir_abs := $(shell cd $(srcdir) ; pwd)
7 7

  
8
.PHONY: all subdir depend clean distclean
8
.PHONY: all subdir depend clean distclean tags
9 9

  
10
all: .dir-stamp .dep-stamp subdir $(exedir)/bird
10
all: .dep-stamp subdir $(exedir)/bird
11 11

  
12
subdir depend:
12
subdir depend: .dir-stamp
13 13
	set -e ; for a in $(dynamic-dirs) ; do $(MAKE) -C $$a $@ ; done
14 14
	set -e ; for a in $(static-dirs) ; do $(MAKE) -C $$a -f $(srcdir_abs)/$$a/Makefile $@ ; done
15 15

  
......
24 24
	$(MAKE) depend
25 25
	touch .dep-stamp
26 26

  
27
tags:
28
	cd $(srcdir) ; etags -lc `find $(static-dirs) $(addprefix $(objdir)/,$(dynamic-dirs)) -name *.[chY]`
29

  
27 30
clean:
28 31
	find . -name "*.[oa]" -or -name core -or -name depend | xargs rm -f
29 32
	rm -f $(exedir)/bird .dep-stamp

Also available in: Unified diff