Commit 2c66ced1 authored by Pavel Tvrdík's avatar Pavel Tvrdík
Browse files

Integrate RTRlib into BIRD's build system

You need to do manually still:
 $ cd rtrlib && cmake .
parent d08c2cb8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@
objdir=@objdir@

all depend tags install install-docs:
	$(MAKE) -C rtrlib
	$(MAKE) -C $(objdir) $@

docs userdocs progdocs:
+1 −1
Original line number Diff line number Diff line
@@ -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

+1 −1
Original line number Diff line number Diff line
@@ -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@