0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-10-18 18:08:45 +00:00

Integrate RTRlib into BIRD's build system

You need to do manually still:
 $ cd rtrlib && cmake .
This commit is contained in:
Pavel Tvrdík 2015-09-28 00:18:35 +02:00
parent d08c2cb836
commit 2c66ced11a
3 changed files with 3 additions and 2 deletions

View File

@ -4,6 +4,7 @@
objdir=@objdir@
all depend tags install install-docs:
$(MAKE) -C rtrlib
$(MAKE) -C $(objdir) $@
docs userdocs progdocs:

View File

@ -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

View File

@ -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@