diff --git a/tools/Makefile-top.in b/tools/Makefile-top.in index cf59f7a1..0244a563 100644 --- a/tools/Makefile-top.in +++ b/tools/Makefile-top.in @@ -4,6 +4,7 @@ objdir=@objdir@ all depend tags install install-docs: + $(MAKE) -C rtrlib $(MAKE) -C $(objdir) $@ docs userdocs progdocs: diff --git a/tools/Makefile.in b/tools/Makefile.in index 01bb7a7c..f19aceb2 100644 --- a/tools/Makefile.in +++ b/tools/Makefile.in @@ -13,7 +13,7 @@ birdc: $(exedir)/birdc birdcl: $(exedir)/birdcl -bird-dep := $(addsuffix /all.o, $(static-dirs)) conf/all.o lib/birdlib.a +bird-dep := $(addsuffix /all.o, $(static-dirs)) conf/all.o lib/birdlib.a ../rtrlib/librtr.a $(bird-dep): sysdep/paths.h .dep-stamp subdir diff --git a/tools/Rules.in b/tools/Rules.in index f00c85d1..ea05b287 100644 --- a/tools/Rules.in +++ b/tools/Rules.in @@ -19,7 +19,7 @@ doc-dir-paths := $(doc-dirs) all-dirs:=$(static-dirs) $(dynamic-dirs) $(client-dirs) $(doc-dirs) clean-dirs:=$(all-dirs) proto sysdep -CPPFLAGS=-I$(root-rel) -I$(srcdir) @CPPFLAGS@ +CPPFLAGS=-I$(root-rel) -I$(srcdir) -I$(srcdir)/rtrlib @CPPFLAGS@ CFLAGS=$(CPPFLAGS) @CFLAGS@ LDFLAGS=@LDFLAGS@ LIBS=@LIBS@