]>
Commit | Line | Data |
---|---|---|
8b7668ec DL |
1 | # |
2 | # vtysh | |
3 | # | |
718e3744 | 4 | |
8b7668ec DL |
5 | if VTYSH |
6 | bin_PROGRAMS += vtysh/vtysh | |
f4f2f2cc | 7 | man1 += $(MANBUILD)/vtysh.1 |
8b7668ec | 8 | endif |
718e3744 | 9 | |
bec667a6 DL |
10 | clippy_scan += \ |
11 | vtysh/vtysh.c \ | |
12 | # end | |
13 | ||
8b7668ec DL |
14 | vtysh_vtysh_SOURCES = \ |
15 | vtysh/vtysh_main.c \ | |
16 | vtysh/vtysh.c \ | |
17 | vtysh/vtysh_user.c \ | |
18 | vtysh/vtysh_config.c \ | |
19 | # end | |
20 | nodist_vtysh_vtysh_SOURCES = \ | |
21 | vtysh/vtysh_cmd.c \ | |
22 | # end | |
718e3744 | 23 | |
8b7668ec DL |
24 | noinst_HEADERS += \ |
25 | vtysh/vtysh.h \ | |
26 | vtysh/vtysh_user.h \ | |
27 | # end | |
718e3744 | 28 | |
fdbd8086 | 29 | vtysh_vtysh_LDADD = lib/libfrr.la $(LIBCAP) $(LIBREADLINE) $(LIBS) $(LIBPAM) |
718e3744 | 30 | |
d7b86ae4 IR |
31 | EXTRA_DIST += vtysh/daemons.pl |
32 | ||
33 | BUILT_SOURCES += vtysh/vtysh_daemons.h | |
34 | ||
35 | # force vtysh_daemons.h | |
36 | $(vtysh_vtysh_OBJECTS): vtysh/vtysh_daemons.h | |
37 | ||
dfca5be5 | 38 | CLEANFILES += vtysh/vtysh_daemons.h |
d7b86ae4 | 39 | vtysh/vtysh_daemons.h: |
d173381e | 40 | @$(MKDIR_P) vtysh |
dfca5be5 | 41 | $(PERL) $(top_srcdir)/vtysh/daemons.pl $(vtysh_daemons) > vtysh/vtysh_daemons.h |