noinst_LTLIBRARIES = libparsercvc.la
ANTLR_TOKEN_STUFF = \
- generated/Cvc.tokens
+ @builddir@/Cvc.tokens
ANTLR_LEXER_STUFF = \
- generated/CvcLexer.h \
- generated/CvcLexer.c \
+ @builddir@/CvcLexer.h \
+ @builddir@/CvcLexer.c \
$(ANTLR_TOKEN_STUFF)
ANTLR_PARSER_STUFF = \
- generated/CvcParser.h \
- generated/CvcParser.c
+ @builddir@/CvcParser.h \
+ @builddir@/CvcParser.c
ANTLR_STUFF = \
$(ANTLR_LEXER_STUFF) \
$(ANTLR_PARSER_STUFF)
$(ANTLR_STUFF)
BUILT_SOURCES = \
- generated/Cvc.tokens \
- generated/CvcLexer.h \
- generated/CvcLexer.c \
- generated/CvcParser.h \
- generated/CvcParser.c \
+ @builddir@/Cvc.tokens \
+ @builddir@/CvcLexer.h \
+ @builddir@/CvcLexer.c \
+ @builddir@/CvcParser.h \
+ @builddir@/CvcParser.c \
stamp-generated
EXTRA_DIST = \
$(AM_V_at)touch stamp-generated
# antlr doesn't overwrite output files, it just leaves them. So we have to delete them first.
-generated/CvcLexer.h: Cvc.g stamp-generated
+@builddir@/CvcLexer.h: Cvc.g stamp-generated
-$(AM_V_at)rm -f $(ANTLR_STUFF)
@if test -z "$(ANTLR)"; then echo "ERROR: antlr parser generator cannot be found, cannot generate the parser" >&2; exit 1; fi
- $(AM_V_GEN)$(ANTLR) $(ANTLR_OPTS) -fo "generated" "@srcdir@/Cvc.g"
+ $(AM_V_GEN)$(ANTLR) $(ANTLR_OPTS) -fo "@builddir@" "@srcdir@/Cvc.g"
# These don't actually depend on CvcLexer.h, but if we're doing parallel
# make and the lexer needs to be rebuilt, we have to keep the rules
# from running in parallel (since the token files will be deleted &
# recreated)
-generated/CvcLexer.c generated/CvcParser.h generated/CvcParser.c $(ANTLR_TOKEN_STUFF): generated/CvcLexer.h
+@builddir@/CvcLexer.c @builddir@/CvcParser.h @builddir@/CvcParser.c $(ANTLR_TOKEN_STUFF): @builddir@/CvcLexer.h
#include "parser/antlr_input.h"
#include "parser/parser_exception.h"
#include "parser/cvc/cvc_input.h"
-#include "parser/cvc/generated/CvcLexer.h"
-#include "parser/cvc/generated/CvcParser.h"
+#include "parser/cvc/CvcLexer.h"
+#include "parser/cvc/CvcParser.h"
namespace CVC4 {
namespace parser {
#define __CVC4__PARSER__CVC_INPUT_H
#include "parser/antlr_input.h"
-#include "parser/cvc/generated/CvcLexer.h"
-#include "parser/cvc/generated/CvcParser.h"
+#include "parser/cvc/CvcLexer.h"
+#include "parser/cvc/CvcParser.h"
// extern void CvcParserSetAntlrParser(CVC4::parser::AntlrParser* newAntlrParser);
noinst_LTLIBRARIES = libparsersmt1.la
ANTLR_TOKEN_STUFF = \
- generated/Smt1.tokens
+ @builddir@/Smt1.tokens
ANTLR_LEXER_STUFF = \
- generated/Smt1Lexer.h \
- generated/Smt1Lexer.c \
+ @builddir@/Smt1Lexer.h \
+ @builddir@/Smt1Lexer.c \
$(ANTLR_TOKEN_STUFF)
ANTLR_PARSER_STUFF = \
- generated/Smt1Parser.h \
- generated/Smt1Parser.c
+ @builddir@/Smt1Parser.h \
+ @builddir@/Smt1Parser.c
ANTLR_STUFF = \
$(ANTLR_LEXER_STUFF) \
$(ANTLR_PARSER_STUFF)
$(ANTLR_STUFF)
BUILT_SOURCES = \
- generated/Smt1.tokens \
- generated/Smt1Lexer.h \
- generated/Smt1Lexer.c \
- generated/Smt1Parser.h \
- generated/Smt1Parser.c \
+ @builddir@/Smt1.tokens \
+ @builddir@/Smt1Lexer.h \
+ @builddir@/Smt1Lexer.c \
+ @builddir@/Smt1Parser.h \
+ @builddir@/Smt1Parser.c \
stamp-generated
EXTRA_DIST = \
$(AM_V_at)touch stamp-generated
# antlr doesn't overwrite output files, it just leaves them. So we have to delete them first.
-generated/Smt1Lexer.h: Smt1.g stamp-generated
+@builddir@/Smt1Lexer.h: Smt1.g stamp-generated
-$(AM_V_at)rm -f $(ANTLR_STUFF)
@if test -z "$(ANTLR)"; then echo "ERROR: antlr parser generator cannot be found, cannot generate the parser" >&2; exit 1; fi
- $(AM_V_GEN)$(ANTLR) $(ANTLR_OPTS) -fo "generated" "@srcdir@/Smt1.g"
+ $(AM_V_GEN)$(ANTLR) $(ANTLR_OPTS) -fo "@builddir@" "@srcdir@/Smt1.g"
# These don't actually depend on Smt1Lexer.h, but if we're doing parallel
# make and the lexer needs to be rebuilt, we have to keep the rules
# from running in parallel (since the token files will be deleted &
# recreated)
-generated/Smt1Lexer.c generated/Smt1Parser.h generated/Smt1Parser.c $(ANTLR_TOKEN_STUFF): generated/Smt1Lexer.h
+@builddir@/Smt1Lexer.c @builddir@/Smt1Parser.h @builddir@/Smt1Parser.c $(ANTLR_TOKEN_STUFF): @builddir@/Smt1Lexer.h
#include "parser/input.h"
#include "parser/parser.h"
#include "parser/parser_exception.h"
-#include "parser/smt1/generated/Smt1Lexer.h"
-#include "parser/smt1/generated/Smt1Parser.h"
+#include "parser/smt1/Smt1Lexer.h"
+#include "parser/smt1/Smt1Parser.h"
namespace CVC4 {
namespace parser {
#define __CVC4__PARSER__SMT1_INPUT_H
#include "parser/antlr_input.h"
-#include "parser/smt1/generated/Smt1Lexer.h"
-#include "parser/smt1/generated/Smt1Parser.h"
+#include "parser/smt1/Smt1Lexer.h"
+#include "parser/smt1/Smt1Parser.h"
// extern void Smt1ParserSetAntlrParser(CVC4::parser::AntlrParser* newAntlrParser);
noinst_LTLIBRARIES = libparsersmt2.la
ANTLR_TOKEN_STUFF = \
- generated/Smt2.tokens
+ @builddir@/Smt2.tokens
ANTLR_LEXER_STUFF = \
- generated/Smt2Lexer.h \
- generated/Smt2Lexer.c \
+ @builddir@/Smt2Lexer.h \
+ @builddir@/Smt2Lexer.c \
$(ANTLR_TOKEN_STUFF)
ANTLR_PARSER_STUFF = \
- generated/Smt2Parser.h \
- generated/Smt2Parser.c
+ @builddir@/Smt2Parser.h \
+ @builddir@/Smt2Parser.c
ANTLR_STUFF = \
$(ANTLR_LEXER_STUFF) \
$(ANTLR_PARSER_STUFF)
$(ANTLR_STUFF)
BUILT_SOURCES = \
- generated/Smt2.tokens \
- generated/Smt2Lexer.h \
- generated/Smt2Lexer.c \
- generated/Smt2Parser.h \
- generated/Smt2Parser.c \
+ @builddir@/Smt2.tokens \
+ @builddir@/Smt2Lexer.h \
+ @builddir@/Smt2Lexer.c \
+ @builddir@/Smt2Parser.h \
+ @builddir@/Smt2Parser.c \
stamp-generated
EXTRA_DIST = \
$(AM_V_at)touch stamp-generated
# antlr doesn't overwrite output files, it just leaves them. So we have to delete them first.
-generated/Smt2Lexer.h: Smt2.g stamp-generated
+@builddir@/Smt2Lexer.h: Smt2.g stamp-generated
-$(AM_V_at)rm -f $(ANTLR_STUFF)
@if test -z "$(ANTLR)"; then echo "ERROR: antlr parser generator cannot be found, cannot generate the parser" >&2; exit 1; fi
- $(AM_V_GEN)$(ANTLR) $(ANTLR_OPTS) -fo "generated" "@srcdir@/Smt2.g"
+ $(AM_V_GEN)$(ANTLR) $(ANTLR_OPTS) -fo "@builddir@" "@srcdir@/Smt2.g"
# These don't actually depend on SmtLexer.h, but if we're doing parallel
# make and the lexer needs to be rebuilt, we have to keep the rules
# from running in parallel (since the token files will be deleted &
# recreated)
-generated/Smt2Lexer.c generated/Smt2Parser.h generated/Smt2Parser.c $(ANTLR_TOKEN_STUFF): generated/Smt2Lexer.h
+@builddir@/Smt2Lexer.c @builddir@/Smt2Parser.h @builddir@/Smt2Parser.c $(ANTLR_TOKEN_STUFF): @builddir@/Smt2Lexer.h
#include "parser/parser.h"
#include "parser/parser_exception.h"
#include "parser/smt2/smt2.h"
-#include "parser/smt2/generated/Smt2Lexer.h"
-#include "parser/smt2/generated/Smt2Parser.h"
+#include "parser/smt2/Smt2Lexer.h"
+#include "parser/smt2/Smt2Parser.h"
namespace CVC4 {
namespace parser {
#define __CVC4__PARSER__SMT2_INPUT_H
#include "parser/antlr_input.h"
-#include "parser/smt2/generated/Smt2Lexer.h"
-#include "parser/smt2/generated/Smt2Parser.h"
+#include "parser/smt2/Smt2Lexer.h"
+#include "parser/smt2/Smt2Parser.h"
// extern void Smt2ParserSetAntlrParser(CVC4::parser::AntlrParser* newAntlrParser);
#include "parser/parser.h"
#include "parser/parser_exception.h"
#include "parser/smt2/sygus_input.h"
-#include "parser/smt2/generated/Smt2Lexer.h"
-#include "parser/smt2/generated/Smt2Parser.h"
+#include "parser/smt2/Smt2Lexer.h"
+#include "parser/smt2/Smt2Parser.h"
namespace CVC4 {
namespace parser {
#define __CVC4__PARSER__SYGUS_INPUT_H
#include "parser/antlr_input.h"
-#include "parser/smt2/generated/Smt2Lexer.h"
-#include "parser/smt2/generated/Smt2Parser.h"
+#include "parser/smt2/Smt2Lexer.h"
+#include "parser/smt2/Smt2Parser.h"
// extern void Smt2ParserSetAntlrParser(CVC4::parser::AntlrParser* newAntlrParser);
noinst_LTLIBRARIES = libparsertptp.la
ANTLR_TOKEN_STUFF = \
- generated/Tptp.tokens
+ @builddir@/Tptp.tokens
ANTLR_LEXER_STUFF = \
- generated/TptpLexer.h \
- generated/TptpLexer.c \
+ @builddir@/TptpLexer.h \
+ @builddir@/TptpLexer.c \
$(ANTLR_TOKEN_STUFF)
ANTLR_PARSER_STUFF = \
- generated/TptpParser.h \
- generated/TptpParser.c
+ @builddir@/TptpParser.h \
+ @builddir@/TptpParser.c
ANTLR_STUFF = \
$(ANTLR_LEXER_STUFF) \
$(ANTLR_PARSER_STUFF)
$(ANTLR_STUFF)
BUILT_SOURCES = \
- generated/Tptp.tokens \
- generated/TptpLexer.h \
- generated/TptpLexer.c \
- generated/TptpParser.h \
- generated/TptpParser.c \
+ @builddir@/Tptp.tokens \
+ @builddir@/TptpLexer.h \
+ @builddir@/TptpLexer.c \
+ @builddir@/TptpParser.h \
+ @builddir@/TptpParser.c \
stamp-generated
EXTRA_DIST = \
$(AM_V_at)touch stamp-generated
# antlr doesn't overwrite output files, it just leaves them. So we have to delete them first.
-generated/TptpLexer.h: Tptp.g stamp-generated
+@builddir@/TptpLexer.h: Tptp.g stamp-generated
-$(AM_V_at)rm -f $(ANTLR_STUFF)
@if test -z "$(ANTLR)"; then echo "ERROR: antlr parser generator cannot be found, cannot generate the parser" >&2; exit 1; fi
- $(AM_V_GEN)$(ANTLR) $(ANTLR_OPTS) -fo "generated" "@srcdir@/Tptp.g"
+ $(AM_V_GEN)$(ANTLR) $(ANTLR_OPTS) -fo "@builddir@" "@srcdir@/Tptp.g"
# These don't actually depend on TptpLexer.h, but if we're doing parallel
# make and the lexer needs to be rebuilt, we have to keep the rules
# from running in parallel (since the token files will be deleted &
# recreated)
-generated/TptpLexer.c generated/TptpParser.h generated/TptpParser.c $(ANTLR_TOKEN_STUFF): generated/TptpLexer.h
+@builddir@/TptpLexer.c @builddir@/TptpParser.h @builddir@/TptpParser.c $(ANTLR_TOKEN_STUFF): @builddir@/TptpLexer.h
#include "parser/parser.h"
#include "parser/parser_exception.h"
#include "parser/tptp/tptp.h"
-#include "parser/tptp/generated/TptpLexer.h"
-#include "parser/tptp/generated/TptpParser.h"
+#include "parser/tptp/TptpLexer.h"
+#include "parser/tptp/TptpParser.h"
namespace CVC4 {
namespace parser {
#define __CVC4__PARSER__TPTP_INPUT_H
#include "parser/antlr_input.h"
-#include "parser/tptp/generated/TptpLexer.h"
-#include "parser/tptp/generated/TptpParser.h"
+#include "parser/tptp/TptpLexer.h"
+#include "parser/tptp/TptpParser.h"
// extern void TptpParserSetAntlrParser(CVC4::parser::AntlrParser* newAntlrParser);