]> git.proxmox.com Git - mirror_frr.git/blob - pathd/subdir.am
build, vtysh: extract vtysh commands from .xref
[mirror_frr.git] / pathd / subdir.am
1 #
2 # pathd
3 #
4
5 if PATHD
6 noinst_LIBRARIES += pathd/libpath.a
7 sbin_PROGRAMS += pathd/pathd
8 vtysh_daemons += pathd
9 # TODO add man page
10 #man8 += $(MANBUILD)/pathd.8
11
12 if PATHD_PCEP
13 module_LTLIBRARIES += pathd/pathd_pcep.la
14 endif
15
16 endif
17
18 pathd_libpath_a_SOURCES = \
19 pathd/path_cli.c \
20 pathd/path_debug.c \
21 pathd/path_errors.c \
22 pathd/path_nb.c \
23 pathd/path_nb_config.c \
24 pathd/path_nb_state.c \
25 pathd/path_ted.c \
26 pathd/path_zebra.c \
27 pathd/pathd.c \
28 # end
29
30 clippy_scan += \
31 pathd/path_cli.c \
32 pathd/path_pcep_cli.c \
33 pathd/path_ted.c \
34 # end
35
36 noinst_HEADERS += \
37 pathd/path_debug.h \
38 pathd/path_errors.h \
39 pathd/path_nb.h \
40 pathd/path_pcep.h \
41 pathd/path_pcep_cli.h \
42 pathd/path_pcep_controller.h \
43 pathd/path_pcep_debug.h \
44 pathd/path_pcep_lib.h \
45 pathd/path_pcep_config.h \
46 pathd/path_pcep_pcc.h \
47 pathd/path_ted.h \
48 pathd/path_zebra.h \
49 pathd/pathd.h \
50 # end
51
52 pathd_pathd_SOURCES = \
53 pathd/path_main.c \
54 # end
55 nodist_pathd_pathd_SOURCES = \
56 yang/frr-pathd.yang.c \
57 # end
58 pathd_pathd_LDADD = pathd/libpath.a lib/libfrr.la -lm $(LIBCAP)
59
60 pathd_pathd_pcep_la_SOURCES = \
61 pathd/path_pcep.c \
62 pathd/path_pcep_cli.c \
63 pathd/path_pcep_controller.c \
64 pathd/path_pcep_debug.c \
65 pathd/path_pcep_lib.c \
66 pathd/path_pcep_config.c \
67 pathd/path_pcep_pcc.c \
68 # end
69
70 if PATHD_PCEP
71 pathd_pathd_pcep_la_CPPFLAGS = -I./pceplib $(AM_CPPFLAGS)
72 pathd_pathd_pcep_la_LIBADD = pceplib/libpcep_pcc.la
73 else
74 pathd_pathd_pcep_la_CPPFLAGS = $(AM_CPPFLAGS)
75 pathd_pathd_pcep_la_LIBADD =
76 endif
77
78
79 #pathd_pathd_pcep_la_CFLAGS = $(AM_CFLAGS)
80 pathd_pathd_pcep_la_LDFLAGS = $(MODULE_LDFLAGS)