]> git.proxmox.com Git - mirror_frr.git/blob - pathd/subdir.am
38df326489ee542dcdf9ec930f523ce7de99e0b6
[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_scan += $(top_srcdir)/pathd/path_cli.c
9 vtysh_daemons += pathd
10 # TODO add man page
11 #man8 += $(MANBUILD)/pathd.8
12
13 if PATHD_PCEP
14 vtysh_scan += $(top_srcdir)/pathd/path_pcep_cli.c
15 module_LTLIBRARIES += pathd/pathd_pcep.la
16 endif
17
18 endif
19
20 pathd_libpath_a_SOURCES = \
21 pathd/path_cli.c \
22 pathd/path_debug.c \
23 pathd/path_errors.c \
24 pathd/path_nb.c \
25 pathd/path_nb_config.c \
26 pathd/path_nb_state.c \
27 pathd/path_zebra.c \
28 pathd/pathd.c \
29 # end
30
31 clippy_scan += \
32 pathd/path_cli.c \
33 pathd/path_pcep_cli.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_zebra.h \
48 pathd/pathd.h \
49 # end
50
51 pathd_pathd_SOURCES = \
52 pathd/path_main.c \
53 # end
54 nodist_pathd_pathd_SOURCES = \
55 yang/frr-pathd.yang.c \
56 # end
57 pathd_pathd_LDADD = pathd/libpath.a lib/libfrr.la -lm $(LIBCAP)
58
59 pathd_pathd_pcep_la_SOURCES = \
60 pathd/path_pcep.c \
61 pathd/path_pcep_cli.c \
62 pathd/path_pcep_controller.c \
63 pathd/path_pcep_debug.c \
64 pathd/path_pcep_lib.c \
65 pathd/path_pcep_config.c \
66 pathd/path_pcep_pcc.c \
67 # end
68
69 if PATHD_PCEP
70 pathd_pathd_pcep_la_CPPFLAGS = -I./pceplib $(AM_CPPFLAGS)
71 pathd_pathd_pcep_la_LIBADD = pceplib/libpcep_pcc.la
72 else
73 pathd_pathd_pcep_la_CPPFLAGS = $(AM_CPPFLAGS)
74 pathd_pathd_pcep_la_LIBADD =
75 endif
76
77
78 pathd_pathd_pcep_la_CFLAGS = $(WERROR)
79 pathd_pathd_pcep_la_LDFLAGS = -avoid-version -module -shared -export-dynamic