]> git.proxmox.com Git - mirror_frr.git/commit - ldpd/Makefile
build: non-recursive ldpd
authorDavid Lamparter <equinox@opensourcerouting.org>
Fri, 4 Aug 2017 14:13:29 +0000 (16:13 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Fri, 4 Aug 2017 17:09:11 +0000 (19:09 +0200)
commit30237d294fcb522e3be0df3a5625178db6f47a32
tree8447ae64a257378808081e27cca355a9694a05cd
parent50ffbc124bca15b2ca09c1b8b2fd57de6c4d3da4
build: non-recursive ldpd

This also fixes a build problem where using #include
"ldpd/ldp_vty_cmds_clippy.c" results in the Makefile dependency tracking
having both

ldp_vty_cmds.c: ldp_vty_cmds_clippy.c
ldp_vty_cmds.c: ../ldpd/ldp_vty_cmds_clippy.c

(because, if it's included as "ldpd/..", it uses the "-I.." include path
in gcc, so the gcc -MD dependency output is "../ldpd/...")

... all of which causes the build to try to build it twice (at the same
time) and fail rather stupidly.

With a non-recursive build, the two paths are identical and everything
just works.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Makefile.am
configure.ac
ldpd/.gitignore
ldpd/Makefile [new file with mode: 0644]
ldpd/Makefile.am [deleted file]
ldpd/subdir.am [new file with mode: 0644]