summaryrefslogtreecommitdiffstats
path: root/pathd/subdir.am
blob: 693afabb39ac852038d6bbeec76440ee52b8c7d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
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 = -avoid-version -module -shared -export-dynamic