summaryrefslogtreecommitdiffstats
path: root/pimd/subdir.am
blob: aa06b86479d941d13b22061d86714de4e3cfcdd0 (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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
#
# pimd
#

if PIMD
sbin_PROGRAMS += pimd/pimd
bin_PROGRAMS += pimd/mtracebis
noinst_PROGRAMS += pimd/test_igmpv3_join
vtysh_scan += \
	pimd/pim_cmd.c \
	pimd/pim6_cmd.c \
	pimd/pim6_mld.c \
	#end
vtysh_daemons += pimd
vtysh_daemons += pim6d
man8 += $(MANBUILD)/frr-pimd.8
man8 += $(MANBUILD)/mtracebis.8
endif

pim_common = \
	pimd/pim_addr.c \
	pimd/pim_assert.c \
	pimd/pim_bfd.c \
	pimd/pim_br.c \
	pimd/pim_bsm.c \
	pimd/pim_cmd_common.c \
	pimd/pim_errors.c \
	pimd/pim_hello.c \
	pimd/pim_iface.c \
	pimd/pim_ifchannel.c \
	pimd/pim_instance.c \
	pimd/pim_int.c \
	pimd/pim_join.c \
	pimd/pim_jp_agg.c \
	pimd/pim_macro.c \
	pimd/pim_memory.c \
	pimd/pim_mroute.c \
	pimd/pim_msg.c \
	pimd/pim_nb.c \
	pimd/pim_nb_config.c \
	pimd/pim_neighbor.c \
	pimd/pim_nht.c \
	pimd/pim_oil.c \
	pimd/pim_pim.c \
	pimd/pim_routemap.c \
	pimd/pim_rp.c \
	pimd/pim_rpf.c \
	pimd/pim_sock.c \
	pimd/pim_ssm.c \
	pimd/pim_ssmpingd.c \
	pimd/pim_static.c \
	pimd/pim_str.c \
	pimd/pim_tib.c \
	pimd/pim_time.c \
	pimd/pim_tlv.c \
	pimd/pim_upstream.c \
	pimd/pim_util.c \
	pimd/pim_vty.c \
	pimd/pim_zebra.c \
	pimd/pim_zlookup.c \
	pimd/pim_vxlan.c \
	pimd/pim_register.c \
	pimd/pimd.c \
	# end

pimd_pimd_SOURCES = \
	$(pim_common) \
	pimd/pim_cmd.c \
	pimd/pim_igmp.c \
	pimd/pim_igmp_mtrace.c \
	pimd/pim_igmp_stats.c \
	pimd/pim_igmpv2.c \
	pimd/pim_igmpv3.c \
	pimd/pim_main.c \
	pimd/pim_mlag.c \
	pimd/pim_msdp.c \
	pimd/pim_msdp_packet.c \
	pimd/pim_msdp_socket.c \
	pimd/pim_signals.c \
	pimd/pim_zpthread.c \
	# end

nodist_pimd_pimd_SOURCES = \
	yang/frr-pim.yang.c \
	yang/frr-pim-rp.yang.c \
	yang/frr-gmp.yang.c \
	# end

pimd_pim6d_SOURCES = \
	$(pim_common) \
	pimd/pim6_main.c \
	pimd/pim6_mld.c \
	pimd/pim6_cmd.c \
	# end

nodist_pimd_pim6d_SOURCES = \
	yang/frr-pim.yang.c \
	yang/frr-pim-rp.yang.c \
	yang/frr-gmp.yang.c \
	# end

noinst_HEADERS += \
	pimd/pim_addr.h \
	pimd/pim_assert.h \
	pimd/pim_bfd.h \
	pimd/pim_br.h \
	pimd/pim_bsm.h \
	pimd/pim_cmd.h \
	pimd/pim_cmd_common.h \
	pimd/pim_errors.h \
	pimd/pim_hello.h \
	pimd/pim_iface.h \
	pimd/pim_ifchannel.h \
	pimd/pim_igmp.h \
	pimd/pim_igmp_join.h \
	pimd/pim_igmp_mtrace.h \
	pimd/pim_igmp_stats.h \
	pimd/pim_igmpv2.h \
	pimd/pim_igmpv3.h \
	pimd/pim_instance.h \
	pimd/pim_int.h \
	pimd/pim_join.h \
	pimd/pim_jp_agg.h \
	pimd/pim_macro.h \
	pimd/pim_memory.h \
	pimd/pim_mlag.h \
	pimd/pim_mroute.h \
	pimd/pim_msdp.h \
	pimd/pim_msdp_packet.h \
	pimd/pim_msdp_socket.h \
	pimd/pim_msg.h \
	pimd/pim_nb.h \
	pimd/pim_neighbor.h \
	pimd/pim_nht.h \
	pimd/pim_oil.h \
	pimd/pim_pim.h \
	pimd/pim_register.h \
	pimd/pim_rp.h \
	pimd/pim_rpf.h \
	pimd/pim_signals.h \
	pimd/pim_sock.h \
	pimd/pim_ssm.h \
	pimd/pim_ssmpingd.h \
	pimd/pim_static.h \
	pimd/pim_str.h \
	pimd/pim_tib.h \
	pimd/pim_time.h \
	pimd/pim_tlv.h \
	pimd/pim_upstream.h \
	pimd/pim_util.h \
	pimd/pim_vty.h \
	pimd/pim_zebra.h \
	pimd/pim_zlookup.h \
	pimd/pim_vxlan.h \
	pimd/pim_vxlan_instance.h \
	pimd/pimd.h \
	pimd/pim6_mld.h \
	pimd/pim6_mld_protocol.h \
	pimd/mtracebis_netlink.h \
	pimd/mtracebis_routeget.h \
	pimd/pim6_cmd.h \
	# end

clippy_scan += \
	pimd/pim_cmd.c \
	pimd/pim6_cmd.c \
	pimd/pim6_mld.c \
	# end

pimd_pimd_CFLAGS = $(AM_CFLAGS) -DPIM_IPV=4
pimd_pimd_LDADD = lib/libfrr.la $(LIBCAP)

if PIM6D
sbin_PROGRAMS += pimd/pim6d
pimd_pim6d_CFLAGS = $(AM_CFLAGS) -DPIM_IPV=6
pimd_pim6d_LDADD = lib/libfrr.la $(LIBCAP)
endif

pimd_test_igmpv3_join_LDADD = lib/libfrr.la
pimd_test_igmpv3_join_SOURCES = pimd/test_igmpv3_join.c

pimd_mtracebis_LDADD =  lib/libfrr.la
pimd_mtracebis_CFLAGS = $(AM_CFLAGS) -DPIM_IPV=4
pimd_mtracebis_SOURCES = pimd/mtracebis.c \
			 pimd/mtracebis_netlink.c \
			 pimd/mtracebis_routeget.c \
			 # end