Revision ed608150 tools/Makefile.in

View differences:

tools/Makefile.in
7 7

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

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

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

  
16 16
$(exedir)/bird: $(addsuffix /all.o, $(static-dirs)) conf/all.o lib/birdlib.a
17 17
	$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
18 18

  
19
$(exedir)/birdc: client/all.o lib/birdlib.a
20
	$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
21

  
19 22
.dir-stamp:
20
	mkdir -p $(static-dirs)
23
	mkdir -p $(static-dirs) $(client-dirs)
21 24
	touch .dir-stamp
22 25

  
23 26
.dep-stamp:
......
25 28
	touch .dep-stamp
26 29

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

  
30 33
clean:
31 34
	find . -name "*.[oa]" -or -name core -or -name depend | xargs rm -f
32
	rm -f $(exedir)/bird .dep-stamp
35
	rm -f $(exedir)/bird $(exedir)/birdc .dep-stamp
33 36

  
34 37
distclean: clean
35 38
	rm -f config.* configure sysdep/autoconf.h Makefile Rules

Also available in: Unified diff