You need to do manually still:
$ cd rtrlib && cmake .
objdir=@objdir@
all depend tags install install-docs:
+ $(MAKE) -C rtrlib
$(MAKE) -C $(objdir) $@
docs userdocs progdocs:
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
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@