]>
Commit | Line | Data |
---|---|---|
7f269117 DL |
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 | |
74dc19a2 | 9 | vtysh_scan += \ |
707656ec | 10 | $(top_srcdir)/ripd/rip_cli.c \ |
74dc19a2 | 11 | $(top_srcdir)/ripd/rip_debug.c \ |
74dc19a2 DL |
12 | $(top_srcdir)/ripd/ripd.c \ |
13 | # end | |
14 | ||
7f269117 DL |
15 | if SNMP |
16 | module_LTLIBRARIES += ripd/ripd_snmp.la | |
17 | endif | |
f4f2f2cc | 18 | man8 += $(MANBUILD)/ripd.8 |
7f269117 DL |
19 | endif |
20 | ||
21 | ripd_librip_a_SOURCES = \ | |
707656ec | 22 | ripd/rip_cli.c \ |
7f269117 | 23 | ripd/rip_debug.c \ |
518e377f | 24 | ripd/rip_errors.c \ |
7f269117 | 25 | ripd/rip_interface.c \ |
7f269117 | 26 | ripd/rip_offset.c \ |
707656ec | 27 | ripd/rip_northbound.c \ |
7f269117 DL |
28 | ripd/rip_peer.c \ |
29 | ripd/rip_routemap.c \ | |
30 | ripd/rip_zebra.c \ | |
31 | ripd/ripd.c \ | |
32 | # end | |
33 | ||
707656ec RW |
34 | ripd/rip_cli_clippy.c: $(CLIPPY_DEPS) |
35 | ripd/rip_cli.$(OBJEXT): ripd/rip_cli_clippy.c | |
36 | ||
7f269117 | 37 | noinst_HEADERS += \ |
707656ec | 38 | ripd/rip_cli.h \ |
7f269117 | 39 | ripd/rip_debug.h \ |
518e377f | 40 | ripd/rip_errors.h \ |
7f269117 | 41 | ripd/rip_interface.h \ |
7f269117 DL |
42 | ripd/ripd.h \ |
43 | # end | |
44 | ||
fdbd8086 | 45 | ripd_ripd_LDADD = ripd/librip.a lib/libfrr.la $(LIBCAP) |
7f269117 DL |
46 | ripd_ripd_SOURCES = \ |
47 | ripd/rip_main.c \ | |
48 | # end | |
3a11599c DL |
49 | nodist_ripd_ripd_SOURCES = \ |
50 | yang/frr-ripd.yang.c \ | |
51 | # end | |
7f269117 DL |
52 | |
53 | ripd_ripd_snmp_la_SOURCES = ripd/rip_snmp.c | |
7aad1594 | 54 | ripd_ripd_snmp_la_CFLAGS = $(WERROR) $(SNMP_CFLAGS) -std=gnu99 |
7f269117 DL |
55 | ripd_ripd_snmp_la_LDFLAGS = -avoid-version -module -shared -export-dynamic |
56 | ripd_ripd_snmp_la_LIBADD = lib/libfrrsnmp.la |