diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2016-12-07 17:34:38 +0100 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2016-12-08 12:23:17 +0100 |
commit | 0276dd5d4bc6a9fdf27ae67558be6d921042405e (patch) | |
tree | e03b5fcb55c34fc4055fac589f64c63e53387f4f /lib/Makefile.am | |
parent | Merge branch 'vtysh-grammar' (diff) | |
download | frr-0276dd5d4bc6a9fdf27ae67558be6d921042405e.tar.xz frr-0276dd5d4bc6a9fdf27ae67558be6d921042405e.zip |
build: fix command_lex.h deps & gitignore
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to '')
-rw-r--r-- | lib/Makefile.am | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am index cf6c6cd1a..ffbbacc87 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -6,6 +6,11 @@ AM_CFLAGS = $(WERROR) DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" AM_YFLAGS = -d +command_lex.h: command_lex.c + @if test ! -f $@; then rm -f command_lex.c; else :; fi + @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) command_lex.c; else :; fi +command_parse.lo: command_lex.h + lib_LTLIBRARIES = libzebra.la libzebra_la_LDFLAGS = -version-info 0:0:0 @@ -25,7 +30,7 @@ libzebra_la_SOURCES = \ strlcpy.c \ strlcat.c -BUILT_SOURCES = route_types.h gitversion.h command_parse.h +BUILT_SOURCES = route_types.h gitversion.h command_parse.h command_lex.h libzebra_la_LIBADD = @LIBCAP@ @@ -49,6 +54,7 @@ noinst_HEADERS = \ EXTRA_DIST = \ queue.h \ + command_lex.h \ route_types.pl route_types.txt \ gitversion.pl |