]> git.proxmox.com Git - mirror_frr.git/blob - ripd/subdir.am
Merge pull request #3320 from mjstapp/fix_dp_ecmp
[mirror_frr.git] / ripd / subdir.am
1 #
2 # ripd
3 #
4
5 if RIPD
6 noinst_LIBRARIES += ripd/librip.a
7 sbin_PROGRAMS += ripd/ripd
8 dist_examples_DATA += ripd/ripd.conf.sample
9 vtysh_scan += \
10 $(top_srcdir)/ripd/rip_cli.c \
11 $(top_srcdir)/ripd/rip_debug.c \
12 $(top_srcdir)/ripd/rip_interface.c \
13 $(top_srcdir)/ripd/rip_offset.c \
14 $(top_srcdir)/ripd/rip_zebra.c \
15 $(top_srcdir)/ripd/ripd.c \
16 # end
17
18 if SNMP
19 module_LTLIBRARIES += ripd/ripd_snmp.la
20 endif
21 man8 += $(MANBUILD)/ripd.8
22 endif
23
24 ripd_librip_a_SOURCES = \
25 ripd/rip_cli.c \
26 ripd/rip_debug.c \
27 ripd/rip_errors.c \
28 ripd/rip_interface.c \
29 ripd/rip_memory.c \
30 ripd/rip_offset.c \
31 ripd/rip_northbound.c \
32 ripd/rip_peer.c \
33 ripd/rip_routemap.c \
34 ripd/rip_zebra.c \
35 ripd/ripd.c \
36 # end
37
38 ripd/rip_cli_clippy.c: $(CLIPPY_DEPS)
39 ripd/rip_cli.$(OBJEXT): ripd/rip_cli_clippy.c
40
41 noinst_HEADERS += \
42 ripd/rip_cli.h \
43 ripd/rip_debug.h \
44 ripd/rip_errors.h \
45 ripd/rip_interface.h \
46 ripd/rip_memory.h \
47 ripd/ripd.h \
48 # end
49
50 ripd_ripd_LDADD = ripd/librip.a lib/libfrr.la @LIBCAP@
51 ripd_ripd_SOURCES = \
52 ripd/rip_main.c \
53 # end
54
55 ripd_ripd_snmp_la_SOURCES = ripd/rip_snmp.c
56 ripd_ripd_snmp_la_CFLAGS = $(WERROR) $(SNMP_CFLAGS) -std=gnu99
57 ripd_ripd_snmp_la_LDFLAGS = -avoid-version -module -shared -export-dynamic
58 ripd_ripd_snmp_la_LIBADD = lib/libfrrsnmp.la
59
60 EXTRA_DIST += ripd/RIPv2-MIB.txt