summaryrefslogtreecommitdiffstats
path: root/lib/subdir.am
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2020-04-15 10:27:49 +0200
committerDavid Lamparter <equinox@diac24.net>2020-04-27 09:52:41 +0200
commit94cfb0692e0499e7ba40908db5259cd19c0e3d5e (patch)
tree21dea4bef030b2e9170029235fe2385bda5cf90f /lib/subdir.am
parenttools/symalyzer: fix copypasta (diff)
downloadfrr-94cfb0692e0499e7ba40908db5259cd19c0e3d5e.tar.xz
frr-94cfb0692e0499e7ba40908db5259cd19c0e3d5e.zip
build: make clippy Makefile rules nicer
These are easy to get subtly wrong, and doing so can cause nondeterministic failures when racing in parallel builds. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/subdir.am')
-rw-r--r--lib/subdir.am23
1 files changed, 9 insertions, 14 deletions
diff --git a/lib/subdir.am b/lib/subdir.am
index 5adbd42c4..2f8cbe5d5 100644
--- a/lib/subdir.am
+++ b/lib/subdir.am
@@ -146,20 +146,15 @@ lib_libfrr_la_LIBADD += $(SQLITE3_LIBS)
lib_libfrr_la_SOURCES += lib/db.c
endif
-lib/if_clippy.c: $(CLIPPY_DEPS)
-lib/if.lo: lib/if_clippy.c
-lib/plist_clippy.c: $(CLIPPY_DEPS)
-lib/plist.lo: lib/plist_clippy.c
-lib/nexthop_group_clippy.c: $(CLIPPY_DEPS)
-lib/nexthop_group.lo: lib/nexthop_group_clippy.c
-lib/northbound_cli_clippy.c: $(CLIPPY_DEPS)
-lib/northbound_cli.lo: lib/northbound_cli_clippy.c
-lib/routemap_cli_clippy.c: $(CLIPPY_DEPS)
-lib/routemap_cli.lo: lib/routemap_cli_clippy.c
-lib/vty_clippy.c: $(CLIPPY_DEPS)
-lib/vty.lo: lib/vty_clippy.c
-lib/log_vty_clippy.c: $(CLIPPY_DEPS)
-lib/log_vty.lo: lib/log_vty_clippy.c
+clippy_scan += \
+ lib/if.c \
+ lib/log_vty.c \
+ lib/nexthop_group.c \
+ lib/northbound_cli.c \
+ lib/plist.c \
+ lib/routemap_cli.c \
+ lib/vty.c \
+ # end
pkginclude_HEADERS += \
lib/agg_table.h \