Revision f9254d23 tools/Makefile.in

View differences:

tools/Makefile.in
5 5

  
6 6
.PHONY: all daemon client subdir depend clean distclean tags docs userdocs progdocs
7 7

  
8
all: .dep-stamp subdir daemon @CLIENT@
8
all: sysdep/paths.h .dep-stamp subdir daemon @CLIENT@
9 9

  
10 10
daemon: $(exedir)/bird
11 11

  
......
34 34
userdocs progdocs: .dir-stamp
35 35
	$(MAKE) -C doc -f $(srcdir_abs)/doc/Makefile $@
36 36

  
37
sysdep/paths.h:
38
	echo >sysdep/paths.h "/* Generated by Makefile, don't edit manually! */"
39
	echo >>sysdep/paths.h "#define PATH_CONFIG_DIR \"$(sysconfdir)\""
40
	echo >>sysdep/paths.h "#define PATH_CONTROL_SOCKET_DIR \"$(localstatedir)\""
41

  
37 42
tags:
38 43
	cd $(srcdir) ; etags -lc `find $(static-dirs) $(addprefix $(objdir)/,$(dynamic-dirs)) $(client-dirs) -name *.[chY]`
39 44

  
40 45
install: all
41
	$(INSTALL) -d $(sbindir) $(sysconfdir)
46
	$(INSTALL) -d $(sbindir) $(sysconfdir) $(localstatedir)
42 47
	$(INSTALL_PROGRAM) -s $(exedir)/bird $(sbindir)/
43 48
	if test -n "@CLIENT@" ; then								\
44 49
		$(INSTALL_PROGRAM) -s $(exedir)/birdc $(sbindir)/ ;				\
......
54 59
	rm -f $(exedir)/bird $(exedir)/birdc $(exedir)/bird.ctl .dep-stamp
55 60

  
56 61
distclean: clean
57
	rm -f config.* configure sysdep/autoconf.h Makefile Rules
62
	rm -f config.* configure sysdep/autoconf.h sysdep/paths.h Makefile Rules
58 63
	rm -rf .dir-stamp $(clean-dirs)

Also available in: Unified diff