diff options
author | Igor Ryzhov <iryzhov@nfware.com> | 2024-01-30 20:53:31 +0100 |
---|---|---|
committer | Christian Hopps <chopps@labn.net> | 2024-01-30 21:41:26 +0100 |
commit | ecc88c52ba15d9a1cbd625d5c54f0748393bdbe5 (patch) | |
tree | da8565a072c6207527c03eb44141d1a2866926ed /mgmtd/subdir.am | |
parent | mgmtd: backend subscriptions to notifications (diff) | |
download | frr-ecc88c52ba15d9a1cbd625d5c54f0748393bdbe5.tar.xz frr-ecc88c52ba15d9a1cbd625d5c54f0748393bdbe5.zip |
build: build: make mgmtd test client build conditional
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to '')
-rw-r--r-- | mgmtd/subdir.am | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mgmtd/subdir.am b/mgmtd/subdir.am index ab3d25819..fa8025c0e 100644 --- a/mgmtd/subdir.am +++ b/mgmtd/subdir.am @@ -48,10 +48,13 @@ noinst_HEADERS += \ zebra/zebra_cli.h \ # end -sbin_PROGRAMS += mgmtd/mgmtd mgmtd/mgmtd_testc +sbin_PROGRAMS += mgmtd/mgmtd +if MGMTD_TESTC +sbin_PROGRAMS += mgmtd/mgmtd_testc mgmtd_mgmtd_testc_SOURCES = mgmtd/mgmt_testc.c mgmtd_mgmtd_testc_LDADD = lib/libfrr.la +endif mgmtd_mgmtd_SOURCES = \ mgmtd/mgmt_main.c \ |