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