Fixes #1511.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
#include "libfrr.h"
#include "version.h"
-#include "bgp_rpki_clippy.c"
+#ifndef VTYSH_EXTRACT_PL
+#include "bgpd/bgp_rpki_clippy.c"
+#endif
DEFINE_MTYPE_STATIC(BGPD, BGP_RPKI_CACHE, "BGP RPKI Cache server")
DEFINE_MTYPE_STATIC(BGPD, BGP_RPKI_CACHE_GROUP, "BGP RPKI Cache server group")
#ifndef VTYSH_EXTRACT_PL
-#include "bgp_vty_clippy.c"
+#include "bgpd/bgp_vty_clippy.c"
#endif
/* BGP global configuration. */
...
-#include "filename_clippy.c"
+#include "daemon/filename_clippy.c"
DEFPY(...)
DEFPY(...)
ldpd/util.c \
# end
+ldpd/ldp_vty_cmds_clippy.c: $(CLIPPY_DEPS)
ldpd/ldp_vty_cmds.$(OBJEXT): ldpd/ldp_vty_cmds_clippy.c
noinst_HEADERS += \
}
#ifndef VTYSH_EXTRACT_PL
-#include "plist_clippy.c"
+#include "lib/plist_clippy.c"
#endif
DEFPY (ip_prefix_list,
}
#ifndef VTYSH_EXTRACT_PL
-#include "ospf_vty_clippy.c"
+#include "ospfd/ospf_vty_clippy.c"
#endif
DEFUN_NOSH (router_ospf,
#include "sharpd/sharp_zebra.h"
#include "sharpd/sharp_vty.h"
+#ifndef VTYSH_EXTRACT_PL
#include "sharpd/sharp_vty_clippy.c"
+#endif
extern uint32_t total_routes;
extern uint32_t installed_routes;