summaryrefslogtreecommitdiffstats
path: root/isisd/subdir.am
blob: 3e5816c16b9a04156f71ff05b29a6a4e92d0f0dc (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
#
# isisd
#

if ISISD
noinst_LIBRARIES += isisd/libisis.a
sbin_PROGRAMS += isisd/isisd
vtysh_scan += \
	isisd/isis_cli.c \
	isisd/isis_ldp_sync.c \
	isisd/isis_redist.c \
	isisd/isis_spf.c \
	isisd/isis_te.c \
	isisd/isis_sr.c \
	isisd/isis_vty_fabricd.c \
	isisd/isisd.c \
	# end
vtysh_daemons += isisd
if SNMP
module_LTLIBRARIES += isisd/isisd_snmp.la
endif
man8 += $(MANBUILD)/frr-isisd.8
endif

if FABRICD
noinst_LIBRARIES += isisd/libfabric.a
sbin_PROGRAMS += isisd/fabricd
if !ISISD
vtysh_scan += \
	isisd/isis_cli.c \
	isisd/isis_ldp_sync.c \
	isisd/isis_redist.c \
	isisd/isis_spf.c \
	isisd/isis_te.c \
	isisd/isis_sr.c \
	isisd/isis_vty_fabricd.c \
	isisd/isisd.c \
	# end
endif
vtysh_daemons += fabricd
endif

noinst_HEADERS += \
	isisd/isis_adjacency.h \
	isisd/isis_bfd.h \
	isisd/isis_circuit.h \
	isisd/isis_common.h \
	isisd/isis_constants.h \
	isisd/isis_csm.h \
	isisd/isis_dr.h \
	isisd/isis_dynhn.h \
	isisd/isis_errors.h \
	isisd/isis_events.h \
	isisd/isis_flags.h \
	isisd/isis_ldp_sync.h \
	isisd/isis_lfa.h \
	isisd/isis_lsp.h \
	isisd/isis_misc.h \
	isisd/isis_mt.h \
	isisd/isis_nb.h \
	isisd/isis_network.h \
	isisd/isis_pdu.h \
	isisd/isis_pdu_counter.h \
	isisd/isis_redist.h \
	isisd/isis_route.h \
	isisd/isis_routemap.h \
	isisd/isis_spf.h \
	isisd/isis_spf_private.h \
	isisd/isis_sr.h \
	isisd/isis_te.h \
	isisd/isis_tlvs.h \
	isisd/isis_tx_queue.h \
	isisd/isis_zebra.h \
	isisd/isisd.h \
	isisd/iso_checksum.h \
	isisd/fabricd.h \
	# end

LIBISIS_SOURCES = \
	isisd/isis_adjacency.c \
	isisd/isis_bfd.c \
	isisd/isis_circuit.c \
	isisd/isis_csm.c \
	isisd/isis_dr.c \
	isisd/isis_dynhn.c \
	isisd/isis_errors.c \
	isisd/isis_events.c \
	isisd/isis_flags.c \
	isisd/isis_ldp_sync.c \
	isisd/isis_lfa.c \
	isisd/isis_lsp.c \
	isisd/isis_misc.c \
	isisd/isis_mt.c \
	isisd/isis_pdu.c \
	isisd/isis_pdu_counter.c \
	isisd/isis_redist.c \
	isisd/isis_route.c \
	isisd/isis_routemap.c \
	isisd/isis_spf.c \
	isisd/isis_sr.c \
	isisd/isis_te.c \
	isisd/isis_tlvs.c \
	isisd/isis_tx_queue.c \
	isisd/isis_zebra.c \
	isisd/isisd.c \
	isisd/iso_checksum.c \
	isisd/fabricd.c \
	# end

ISIS_SOURCES = \
	isisd/isis_bpf.c \
	isisd/isis_dlpi.c \
	isisd/isis_main.c \
	isisd/isis_pfpacket.c \
	# end

ISIS_LDADD_COMMON = lib/libfrr.la $(LIBCAP)

# Building isisd

isisd_libisis_a_SOURCES = \
	$(LIBISIS_SOURCES) \
	isisd/isis_nb.c \
	isisd/isis_nb_config.c \
	isisd/isis_nb_notifications.c \
	isisd/isis_nb_state.c \
	isisd/isis_cli.c \
	#end

clippy_scan += \
	isisd/isis_cli.c \
	# end

isisd_isisd_LDADD = isisd/libisis.a $(ISIS_LDADD_COMMON)
isisd_isisd_SOURCES = $(ISIS_SOURCES)
nodist_isisd_isisd_SOURCES = \
	yang/frr-isisd.yang.c \
	# end

isisd_isisd_snmp_la_SOURCES = isisd/isis_snmp.c
isisd_isisd_snmp_la_CFLAGS = $(AM_CFLAGS) $(SNMP_CFLAGS) -std=gnu11
isisd_isisd_snmp_la_LDFLAGS = $(MODULE_LDFLAGS)
isisd_isisd_snmp_la_LIBADD = lib/libfrrsnmp.la

# Building fabricd

FABRICD_CPPFLAGS = -DFABRICD=1 $(AM_CPPFLAGS)

isisd_libfabric_a_SOURCES = \
	$(LIBISIS_SOURCES) \
	isisd/isis_vty_fabricd.c \
	#end
isisd_libfabric_a_CPPFLAGS = $(FABRICD_CPPFLAGS)
isisd_fabricd_LDADD = isisd/libfabric.a $(ISIS_LDADD_COMMON)
isisd_fabricd_SOURCES = $(ISIS_SOURCES)
isisd_fabricd_CPPFLAGS = $(FABRICD_CPPFLAGS)