From e6a9f7cfdb5ee6d27c12d35f2ecf8317595317b6 Mon Sep 17 00:00:00 2001 From: Haru Date: Mon, 9 Sep 2013 13:23:29 +0200 Subject: Re-generated libconfig parser and scanner This overrides previous manual edits to the machine-generated files, and is supposed to make it much easier to maintain in future. There should be no functional changes at all, but if there's any issue, please let me know. Signed-off-by: Haru --- 3rdparty/libconfig/extra/gen/Makefile.in | 70 ++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 3rdparty/libconfig/extra/gen/Makefile.in (limited to '3rdparty/libconfig/extra/gen/Makefile.in') diff --git a/3rdparty/libconfig/extra/gen/Makefile.in b/3rdparty/libconfig/extra/gen/Makefile.in new file mode 100644 index 000000000..5850c2392 --- /dev/null +++ b/3rdparty/libconfig/extra/gen/Makefile.in @@ -0,0 +1,70 @@ +# Makefile.in generated by automake 1.11.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +LEXCOMPILE = $(LEX) $(LFLAGS) $(AM_LFLAGS) +YLWRAP = ../aux-build/ylwrap +YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS) +LEX = @LEX@ +LEXLIB = @LEXLIB@ +LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ +SHELL = @SHELL@ +YACC = @YACC@ +YFLAGS = @YFLAGS@ + +PARSER_PREFIX = libconfig_yy +BUILT_SOURCES = scanner.c scanner.h grammar.c grammar.h +AM_YFLAGS = -d -p $(PARSER_PREFIX) +AM_LFLAGS = --nounistd --header-file=scanner.h --prefix=$(PARSER_PREFIX) + +all: $(BUILT_SOURCES) + +.SUFFIXES: .c .l .y + +grammar.h: grammar.c + @if test ! -f $@; then \ + rm -f grammar.c; \ + $(MAKE) grammar.c; \ + else :; fi + + +distclean-compile: + -rm -f *.tab.c + +scanner.h: scanner.c + +.l.c: + $(SHELL) $(YLWRAP) $< $(LEX_OUTPUT_ROOT).c $@ -- $(LEXCOMPILE) + +.y.c: + $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h y.output $*.output -- $(YACCCOMPILE) + +clean: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." + -rm -f grammar.c + -rm -f grammar.h + -rm -f scanner.c + -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) + +distclean: clean distclean-compile + +.MAKE: all + +.PHONY: all clean \ + distclean \ + distclean-compile + -- cgit v1.2.3-70-g09d2