]> git.proxmox.com Git - mirror_frr.git/blame - vtysh/Makefile.am
eigrpd: Start conversion to use route install failure callback
[mirror_frr.git] / vtysh / Makefile.am
CommitLineData
718e3744 1## Process this file with Automake to create Makefile.in
2
65efcfce
LB
3
4if ENABLE_BGP_VNC
5BGP_VNC_RFP_SRCDIR = @top_srcdir@/@LIBRFP@
6BGP_VNC_RFP_INCDIR = -I$(BGP_VNC_RFP_SRCDIR)
7BGP_VNC_RFP_SRC = $(BGP_VNC_RFP_SRCDIR)/*.c
8BGP_VNC_RFAPI_SRCDIR = @top_srcdir@/bgpd/rfapi
9BGP_VNC_RFAPI_INCDIR = -I$(BGP_VNC_RFAPI_SRCDIR) -I$(top_srcdir)/bgpd
10BGP_VNC_RFAPI_SRC = $(BGP_VNC_RFAPI_SRCDIR)/*.c
11else
12BGP_VNC_RFP_INCDIR =
13BGP_VNC_RFP_SRCDIR =
14BGP_VNC_RFP_SRC =
15BGP_VNC_RFAPI_INCDIR =
16BGP_VNC_RFAPI_SRCDIR =
17BGP_VNC_RFAPI_SRC =
18endif
19AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_builddir)/lib \
20 $(BGP_VNC_RFAPI_INCDIR) $(BGP_VNC_RFP_INCDIR)
718e3744 21DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\"
22
23LIBS = @LIBS@ @CURSES@ @LIBPAM@
24
95bb8305 25AM_CFLAGS = $(WERROR)
46bc0e43 26
718e3744 27bin_PROGRAMS = vtysh
28
1ac09d3e 29vtysh_SOURCES = vtysh_main.c vtysh.c vtysh_user.c vtysh_config.c
30nodist_vtysh_SOURCES = vtysh_cmd.c
fc9d0745 31CLEANFILES = vtysh_cmd.c
718e3744 32noinst_HEADERS = vtysh.h vtysh_user.h
55c72803 33vtysh_LDADD = ../lib/libfrr.la @LIBCAP@ @LIBREADLINE@
718e3744 34
d6b72f7a 35examplesdir = $(exampledir)
36dist_examples_DATA = vtysh.conf.sample
718e3744 37
d6b72f7a 38EXTRA_DIST = extract.pl
718e3744 39
9994130f
DS
40vtysh_scan =
41
42if PIMD
43vtysh_scan += $(top_srcdir)/pimd/pim_cmd.c
44endif
45
46if BGPD
be0f8431
DS
47vtysh_scan += $(top_srcdir)/bgpd/bgp_bfd.c
48vtysh_scan += $(top_srcdir)/bgpd/bgp_debug.c
49vtysh_scan += $(top_srcdir)/bgpd/bgp_dump.c
be0f8431
DS
50vtysh_scan += $(top_srcdir)/bgpd/bgp_evpn_vty.c
51vtysh_scan += $(top_srcdir)/bgpd/bgp_filter.c
52vtysh_scan += $(top_srcdir)/bgpd/bgp_mplsvpn.c
1ac33779 53vtysh_scan += $(top_srcdir)/bgpd/bgp_nexthop.c
be0f8431
DS
54vtysh_scan += $(top_srcdir)/bgpd/bgp_route.c
55vtysh_scan += $(top_srcdir)/bgpd/bgp_routemap.c
56vtysh_scan += $(top_srcdir)/bgpd/bgp_vty.c
9994130f
DS
57endif
58
dabecd7c
MR
59if RPKI
60vtysh_scan += $(top_srcdir)/bgpd/bgp_rpki.c
61endif
62
9994130f 63if ISISD
be0f8431
DS
64vtysh_scan += $(top_srcdir)/isisd/isis_redist.c
65vtysh_scan += $(top_srcdir)/isisd/isis_spf.c
66vtysh_scan += $(top_srcdir)/isisd/isis_te.c
67vtysh_scan += $(top_srcdir)/isisd/isis_vty.c
68vtysh_scan += $(top_srcdir)/isisd/isisd.c
9994130f
DS
69endif
70
71if OSPFD
be0f8431
DS
72vtysh_scan += $(top_srcdir)/ospfd/ospf_bfd.c
73vtysh_scan += $(top_srcdir)/ospfd/ospf_dump.c
74vtysh_scan += $(top_srcdir)/ospfd/ospf_opaque.c
75vtysh_scan += $(top_srcdir)/ospfd/ospf_ri.c
76vtysh_scan += $(top_srcdir)/ospfd/ospf_routemap.c
77vtysh_scan += $(top_srcdir)/ospfd/ospf_te.c
78vtysh_scan += $(top_srcdir)/ospfd/ospf_vty.c
9994130f
DS
79endif
80
81if OSPF6D
be0f8431 82vtysh_scan += $(top_srcdir)/ospf6d/ospf6_abr.c
7c680483 83vtysh_scan += $(top_srcdir)/ospf6d/ospf6_asbr.c
be0f8431
DS
84vtysh_scan += $(top_srcdir)/ospf6d/ospf6_area.c
85vtysh_scan += $(top_srcdir)/ospf6d/ospf6_bfd.c
86vtysh_scan += $(top_srcdir)/ospf6d/ospf6_flood.c
87vtysh_scan += $(top_srcdir)/ospf6d/ospf6_interface.c
88vtysh_scan += $(top_srcdir)/ospf6d/ospf6_intra.c
89vtysh_scan += $(top_srcdir)/ospf6d/ospf6_lsa.c
90vtysh_scan += $(top_srcdir)/ospf6d/ospf6_message.c
91vtysh_scan += $(top_srcdir)/ospf6d/ospf6_neighbor.c
92vtysh_scan += $(top_srcdir)/ospf6d/ospf6_route.c
93vtysh_scan += $(top_srcdir)/ospf6d/ospf6_spf.c
94vtysh_scan += $(top_srcdir)/ospf6d/ospf6_top.c
95vtysh_scan += $(top_srcdir)/ospf6d/ospf6_zebra.c
96vtysh_scan += $(top_srcdir)/ospf6d/ospf6d.c
9994130f
DS
97endif
98
99if RIPD
be0f8431
DS
100vtysh_scan += $(top_srcdir)/ripd/rip_debug.c
101vtysh_scan += $(top_srcdir)/ripd/rip_interface.c
102vtysh_scan += $(top_srcdir)/ripd/rip_offset.c
103vtysh_scan += $(top_srcdir)/ripd/rip_zebra.c
104vtysh_scan += $(top_srcdir)/ripd/ripd.c
9994130f
DS
105endif
106
107if RIPNGD
be0f8431
DS
108vtysh_scan += $(top_srcdir)/ripngd/ripng_debug.c
109vtysh_scan += $(top_srcdir)/ripngd/ripng_interface.c
110vtysh_scan += $(top_srcdir)/ripngd/ripng_offset.c
111vtysh_scan += $(top_srcdir)/ripngd/ripng_zebra.c
112vtysh_scan += $(top_srcdir)/ripngd/ripngd.c
9994130f
DS
113endif
114
c740f7d3
RW
115if LDPD
116vtysh_scan += $(top_srcdir)/ldpd/ldp_vty_cmds.c
117endif
118
2fb975da
TT
119if NHRPD
120vtysh_scan += $(top_srcdir)/nhrpd/nhrp_vty.c
121endif
122
7f57883e
DS
123if EIGRPD
124vtysh_scan += $(top_srcdir)/eigrpd/eigrp_dump.c
2a23cf95 125#vtysh_scan += $(top_srcdir)/eigrpd/eigrp_routemap.c
7f57883e
DS
126vtysh_scan += $(top_srcdir)/eigrpd/eigrp_vty.c
127endif
128
ca10883e
DS
129if BABELD
130vtysh_scan += $(top_srcdir)/babeld/babel_interface.c
131vtysh_scan += $(top_srcdir)/babeld/babel_zebra.c
132vtysh_scan += $(top_srcdir)/babeld/babeld.c
133endif
134
62ff928b
DS
135if SNMP
136vtysh_scan += $(top_srcdir)/lib/agentx.c
137endif
138
9994130f 139vtysh_cmd_FILES = $(vtysh_scan) \
b5d518fb 140 $(top_srcdir)/lib/keychain.c $(top_srcdir)/lib/routemap.c \
141 $(top_srcdir)/lib/filter.c $(top_srcdir)/lib/plist.c \
142 $(top_srcdir)/lib/distribute.c $(top_srcdir)/lib/if_rmap.c \
19dc275e 143 $(top_srcdir)/lib/vrf.c \
13460c44
FL
144 $(top_srcdir)/lib/vty.c $(top_srcdir)/zebra/debug.c \
145 $(top_srcdir)/lib/ns.c \
b5d518fb 146 $(top_srcdir)/zebra/interface.c \
147 $(top_srcdir)/zebra/irdp_interface.c \
148 $(top_srcdir)/zebra/rtadv.c $(top_srcdir)/zebra/zebra_vty.c \
41dc3488 149 $(top_srcdir)/zebra/zserv.c $(top_srcdir)/zebra/router-id.c \
5adc2528 150 $(top_srcdir)/zebra/zebra_routemap.c \
244c1cdc 151 $(top_srcdir)/zebra/zebra_fpm.c \
41675b4c 152 $(top_srcdir)/zebra/zebra_ptm.c \
65efcfce 153 $(top_srcdir)/zebra/zebra_mpls_vty.c \
2dd0d726 154 $(top_srcdir)/zebra/zebra_pw.c \
9473e340 155 $(top_srcdir)/watchfrr/watchfrr_vty.c \
65efcfce 156 $(BGP_VNC_RFAPI_SRC) $(BGP_VNC_RFP_SRC)
b5d518fb 157
c740f7d3
RW
158vtysh_cmd.c: $(vtysh_cmd_FILES) extract.pl
159 ./extract.pl $(vtysh_cmd_FILES) > vtysh_cmd.c