diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2010-07-14 18:54:38 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2010-07-14 18:54:38 +0000 |
commit | ca22c4dee94552f65e6044341b0365a21d794d65 (patch) | |
tree | d952573658c01dd894005d52afce598197e946a7 /tools/kleaver | |
parent | 59c0dedbc949433afeac482e8243119240076026 (diff) | |
download | klee-ca22c4dee94552f65e6044341b0365a21d794d65.tar.gz |
Add option to use an external version of STP
This patch adds a new configure option, --with-stp, which configures KLEE to use an external version of STP instead of the version in the source tree. It includes documentation referring users to the STP download location. git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@108347 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/kleaver')
-rw-r--r-- | tools/kleaver/Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/tools/kleaver/Makefile b/tools/kleaver/Makefile index d9c417c1..21d84cbe 100644 --- a/tools/kleaver/Makefile +++ b/tools/kleaver/Makefile @@ -9,12 +9,21 @@ LEVEL=../.. TOOLNAME = kleaver + +include $(LEVEL)/Makefile.config + STP_LIBS := stp_c_interface.a stp_AST.a stp_bitvec.a stp_constantbv.a stp_sat.a \ stp_simplifier.a # FIXME: Ideally we wouldn't have any LLVM dependencies here, which # means kicking out klee's Support. -USEDLIBS = kleaverSolver.a kleaverExpr.a kleeSupport.a kleeBasic.a \ - $(STP_LIBS) +USEDLIBS = kleaverSolver.a kleaverExpr.a kleeSupport.a kleeBasic.a +ifeq ($(ENABLE_EXT_STP),0) + USEDLIBS += $(STP_LIBS) +endif LINK_COMPONENTS = support include $(LEVEL)/Makefile.common + +ifeq ($(ENABLE_EXT_STP),1) + LIBS += -lstp +endif |