about summary refs log tree commit diff homepage
path: root/Makefile.common
diff options
context:
space:
mode:
authorHristina Palikareva <h.palikareva@imperial.ac.uk>2013-10-04 18:32:55 +0100
committerHristina Palikareva <h.palikareva@imperial.ac.uk>2013-10-11 20:02:33 +0100
commit64868646eed7384c38db41aff5002215b92c1601 (patch)
tree974ee540ed95b23c3a561c17ab710aadeece72f7 /Makefile.common
parentbd233936e40f019e0ab066440dc13398ae6754f6 (diff)
downloadklee-64868646eed7384c38db41aff5002215b92c1601.tar.gz
MetaSMT builder, solver and command-line options.
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile.common b/Makefile.common
index 682cca65..3f60bbec 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -36,3 +36,13 @@ CXX.Flags += -DKLEE_DIR=\"$(PROJ_OBJ_ROOT)\" -DKLEE_LIB_DIR=\"$(PROJ_libdir)\"
 
 # For STP.
 CXX.Flags += -DEXT_HASH_MAP
+
+# For metaSMT
+ifeq ($(ENABLE_METASMT),1)
+  include $(METASMT_ROOT)/share/metaSMT/metaSMT.makefile
+  LD.Flags += -L$(METASMT_ROOT)/lib
+  CXX.Flags += -DBOOST_HAS_GCC_TR1 -D __STDC_LIMIT_MACROS -D __STDC_FORMAT_MACROS
+  CXX.Flags := $(filter-out -fno-exceptions,$(CXX.Flags))
+  CXX.Flags += $(metaSMT_INCLUDES)
+endif
+