From ce8c429281fd1f7e4ac4d2b7133152c1d370df0c Mon Sep 17 00:00:00 2001 From: Mathias Preiner Date: Fri, 19 Oct 2018 14:45:42 -0700 Subject: Remove autotools build system. (#2639) --- src/parser/smt1/Makefile | 4 --- src/parser/smt1/Makefile.am | 69 --------------------------------------------- 2 files changed, 73 deletions(-) delete mode 100644 src/parser/smt1/Makefile delete mode 100644 src/parser/smt1/Makefile.am (limited to 'src/parser/smt1') diff --git a/src/parser/smt1/Makefile b/src/parser/smt1/Makefile deleted file mode 100644 index 7e97ed357..000000000 --- a/src/parser/smt1/Makefile +++ /dev/null @@ -1,4 +0,0 @@ -topdir = ../../.. -srcdir = src/parser/smt - -include $(topdir)/Makefile.subdir diff --git a/src/parser/smt1/Makefile.am b/src/parser/smt1/Makefile.am deleted file mode 100644 index f5320002d..000000000 --- a/src/parser/smt1/Makefile.am +++ /dev/null @@ -1,69 +0,0 @@ -AM_CPPFLAGS = \ - -D__BUILDING_CVC4PARSERLIB \ - -I@builddir@/../.. -I@srcdir@/../../include -I@srcdir@/../.. $(ANTLR_INCLUDES) -AM_CXXFLAGS = -Wall -Wno-unknown-pragmas $(FLAG_VISIBILITY_HIDDEN) $(WNO_PARENTHESES) $(WNO_TAUTOLOGICAL_COMPARE) -Wno-unused-function -Wno-unused-variable - -# Compile generated C files using C++ compiler -AM_CFLAGS = $(AM_CXXFLAGS) -CFLAGS=$(CXXFLAGS) -CC=$(CXX) - -ANTLR_OPTS = - -# hide this included makefile from automake -@mk_include@ @srcdir@/../Makefile.antlr_tracing - -noinst_LTLIBRARIES = libparsersmt1.la - -ANTLR_TOKEN_STUFF = \ - @builddir@/Smt1.tokens -ANTLR_LEXER_STUFF = \ - @builddir@/Smt1Lexer.h \ - @builddir@/Smt1Lexer.c \ - $(ANTLR_TOKEN_STUFF) -ANTLR_PARSER_STUFF = \ - @builddir@/Smt1Parser.h \ - @builddir@/Smt1Parser.c -ANTLR_STUFF = \ - $(ANTLR_LEXER_STUFF) \ - $(ANTLR_PARSER_STUFF) - -libparsersmt1_la_SOURCES = \ - Smt1.g \ - smt1.h \ - smt1.cpp \ - smt1_input.h \ - smt1_input.cpp \ - $(ANTLR_STUFF) - -BUILT_SOURCES = \ - @builddir@/Smt1.tokens \ - @builddir@/Smt1Lexer.h \ - @builddir@/Smt1Lexer.c \ - @builddir@/Smt1Parser.h \ - @builddir@/Smt1Parser.c \ - stamp-generated - -EXTRA_DIST = \ - stamp-generated - -DISTCLEANFILES = $(ANTLR_STUFF) -distclean-local: - -$(AM_V_at)rmdir generated - -$(AM_V_at)rm -f stamp-generated - -stamp-generated: - $(AM_V_at)mkdir -p generated - $(AM_V_at)touch stamp-generated - -# antlr doesn't overwrite output files, it just leaves them. So we have to delete them first. -@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 "@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) -@builddir@/Smt1Lexer.c @builddir@/Smt1Parser.h @builddir@/Smt1Parser.c $(ANTLR_TOKEN_STUFF): @builddir@/Smt1Lexer.h -- cgit v1.2.3