3 # This makefile is the _source_ directory's makefile, and is static,
4 # not generated. Makefile.am is the automake makefile for the build
5 # top-level (its corresponding Makefile.in is here, too, but the
6 # corresponding Makefile is under builds/$arch/$buildid.
12 @if
test -d
$(builddir
); then \
13 echo cd
$(builddir
); \
16 $(MAKE
) $@ || exit
1; \
19 echo
'Run configure first, or type "make" in a configured build directory.'; \
23 distclean maintainerclean
:
24 @if
test -d
$(builddir
); then \
25 echo cd
$(builddir
); \
28 $(MAKE
) $@ || exit
1; \
30 test -z
"$(builddir)" ||
rm -fr
"$(builddir)"
33 # synonyms for "check"
42 (cd examples
&& $(MAKE
) $(AM_MAKEFLAGS
))
44 YEAR
:= $(shell date
+%Y
)
45 submission submission-main
:
46 @if
[ -n
"`ls src/parser/*/generated 2>/dev/null`" ]; then \
48 echo
'ERROR: Please make maintainer-clean first.' >&2; \
53 .
/configure competition
--disable-shared
--enable-static-binary
--with-cln
--without-cudd
57 $(MAKE
) -C
test/regress
/regress1
check
59 mkdir
-p cvc4-smtcomp-
$(YEAR
)
60 cp
-p builds
/bin
/cvc4 cvc4-smtcomp-
$(YEAR
)/cvc4
61 cp contrib
/run-script-smtcomp2012 cvc4-smtcomp-
$(YEAR
)/run
62 chmod
755 cvc4-smtcomp-
$(YEAR
)/run
63 tar cf cvc4-smtcomp-
$(YEAR
).
tar cvc4-smtcomp-
$(YEAR
)
64 submission-application
:
65 # application track is a separate build because it has different preprocessor #defines
66 @if
[ -n
"`ls src/parser/*/generated 2>/dev/null`" ]; then \
68 echo
'ERROR: Please make maintainer-clean first.' >&2; \
73 .
/configure competition
--disable-shared
--enable-static-binary
--with-cln
--without-cudd CXXFLAGS
=-DCVC4_SMTCOMP_APPLICATION_TRACK CFLAGS
=-DCVC4_SMTCOMP_APPLICATION_TRACK
77 $(MAKE
) -C
test/regress
/regress1
check
78 # package the application track tarball
79 mkdir
-p cvc4-application-smtcomp-
$(YEAR
)
80 cp
-p builds
/bin
/cvc4 cvc4-application-smtcomp-
$(YEAR
)/cvc4
82 echo
'exec ./cvc4 -L smt2 --no-checking --no-interactive --incremental' ) > cvc4-application-smtcomp-
$(YEAR
)/run
83 chmod
755 cvc4-application-smtcomp-
$(YEAR
)/run
84 tar cf cvc4-application-smtcomp-
$(YEAR
).
tar cvc4-application-smtcomp-
$(YEAR
)
86 # parallel track can't be built with -cln, so it's a separate build
87 @if
[ -n
"`ls src/parser/*/generated 2>/dev/null`" ]; then \
89 echo
'ERROR: Please make maintainer-clean first.' >&2; \
94 .
/configure competition
--disable-shared
--enable-static-binary
--with-gmp
--without-cudd
--with-portfolio
96 strip builds
/bin
/pcvc4
97 # some test cases fail (and are known to fail)
98 -$(MAKE
) check BINARY
=pcvc4
99 $(MAKE
) -C
test/regress
/regress1
check BINARY
=pcvc4
100 # package the parallel track tarball
101 mkdir
-p cvc4-parallel-smtcomp-
$(YEAR
)
102 cp
-p builds
/bin
/pcvc4 cvc4-parallel-smtcomp-
$(YEAR
)/pcvc4
103 ( echo
'#!/bin/sh'; \
104 echo
'exec ./pcvc4 --threads 2 -L smt2 --no-checking --no-interactive' ) > cvc4-parallel-smtcomp-
$(YEAR
)/run
105 chmod
755 cvc4-parallel-smtcomp-
$(YEAR
)/run
106 tar cf cvc4-parallel-smtcomp-
$(YEAR
).
tar cvc4-parallel-smtcomp-
$(YEAR
)