diff options
author | Vincent Bernat <bernat@luffy.cx> | 2012-05-22 14:32:22 +0200 |
---|---|---|
committer | Vincent Bernat <bernat@luffy.cx> | 2012-06-25 19:03:23 +0200 |
commit | 9e7a548ce421660b0d22bfeb90c2b2b53742aac7 (patch) | |
tree | 4c962403808f98806781fb4ad15594152bc1effa /bgpd/Makefile.am | |
parent | isisd: fix typo in topology generator (BZ#731) (diff) | |
download | frr-9e7a548ce421660b0d22bfeb90c2b2b53742aac7.tar.xz frr-9e7a548ce421660b0d22bfeb90c2b2b53742aac7.zip |
build: allow configure and build in a separate directory
Some .h files in lib/ are autogenerated. The search path should
include the build directory and the source directory. They usually
match but sometimes, they may be different. For example:
$ mkdir build
$ cd build
$ ../configure
$ make
Diffstat (limited to 'bgpd/Makefile.am')
-rw-r--r-- | bgpd/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/Makefile.am b/bgpd/Makefile.am index 3051555b9..e5ee893a1 100644 --- a/bgpd/Makefile.am +++ b/bgpd/Makefile.am @@ -1,6 +1,6 @@ ## Process this file with automake to produce Makefile.in. -INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib @SNMP_INCLUDES@ +INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_builddir)/lib @SNMP_INCLUDES@ DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" INSTALL_SDATA=@INSTALL@ -m 600 |