summaryrefslogtreecommitdiffstats
path: root/pathd/subdir.am
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:53:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:53:30 +0000
commit2c7cac91ed6e7db0f6937923d2b57f97dbdbc337 (patch)
treec05dc0f8e6aa3accc84e3e5cffc933ed94941383 /pathd/subdir.am
parentInitial commit. (diff)
downloadfrr-2c7cac91ed6e7db0f6937923d2b57f97dbdbc337.tar.xz
frr-2c7cac91ed6e7db0f6937923d2b57f97dbdbc337.zip
Adding upstream version 8.4.4.upstream/8.4.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--pathd/subdir.am85
1 files changed, 85 insertions, 0 deletions
diff --git a/pathd/subdir.am b/pathd/subdir.am
new file mode 100644
index 0000000..f339c79
--- /dev/null
+++ b/pathd/subdir.am
@@ -0,0 +1,85 @@
+#
+# pathd
+#
+
+if PATHD
+noinst_LIBRARIES += pathd/libpath.a
+sbin_PROGRAMS += pathd/pathd
+vtysh_scan += \
+ pathd/path_cli.c \
+ pathd/path_ted.c \
+ #end
+vtysh_daemons += pathd
+# TODO add man page
+#man8 += $(MANBUILD)/pathd.8
+
+if PATHD_PCEP
+vtysh_scan += pathd/path_pcep_cli.c
+module_LTLIBRARIES += pathd/pathd_pcep.la
+endif
+
+endif
+
+pathd_libpath_a_SOURCES = \
+ pathd/path_cli.c \
+ pathd/path_debug.c \
+ pathd/path_errors.c \
+ pathd/path_nb.c \
+ pathd/path_nb_config.c \
+ pathd/path_nb_state.c \
+ pathd/path_ted.c \
+ pathd/path_zebra.c \
+ pathd/pathd.c \
+ # end
+
+clippy_scan += \
+ pathd/path_cli.c \
+ pathd/path_pcep_cli.c \
+ pathd/path_ted.c \
+ # end
+
+noinst_HEADERS += \
+ pathd/path_debug.h \
+ pathd/path_errors.h \
+ pathd/path_nb.h \
+ pathd/path_pcep.h \
+ pathd/path_pcep_cli.h \
+ pathd/path_pcep_controller.h \
+ pathd/path_pcep_debug.h \
+ pathd/path_pcep_lib.h \
+ pathd/path_pcep_config.h \
+ pathd/path_pcep_pcc.h \
+ pathd/path_ted.h \
+ pathd/path_zebra.h \
+ pathd/pathd.h \
+ # end
+
+pathd_pathd_SOURCES = \
+ pathd/path_main.c \
+ # end
+nodist_pathd_pathd_SOURCES = \
+ yang/frr-pathd.yang.c \
+ # end
+pathd_pathd_LDADD = pathd/libpath.a lib/libfrr.la -lm $(LIBCAP)
+
+pathd_pathd_pcep_la_SOURCES = \
+ pathd/path_pcep.c \
+ pathd/path_pcep_cli.c \
+ pathd/path_pcep_controller.c \
+ pathd/path_pcep_debug.c \
+ pathd/path_pcep_lib.c \
+ pathd/path_pcep_config.c \
+ pathd/path_pcep_pcc.c \
+ # end
+
+if PATHD_PCEP
+pathd_pathd_pcep_la_CPPFLAGS = -I./pceplib $(AM_CPPFLAGS)
+pathd_pathd_pcep_la_LIBADD = pceplib/libpcep_pcc.la
+else
+pathd_pathd_pcep_la_CPPFLAGS = $(AM_CPPFLAGS)
+pathd_pathd_pcep_la_LIBADD =
+endif
+
+
+#pathd_pathd_pcep_la_CFLAGS = $(AM_CFLAGS)
+pathd_pathd_pcep_la_LDFLAGS = $(MODULE_LDFLAGS)