about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorCristian Cadar <cristic@cs.stanford.edu>2010-04-29 12:27:44 +0000
committerCristian Cadar <cristic@cs.stanford.edu>2010-04-29 12:27:44 +0000
commitd62aeb9a334cb83b49e016aac1f7e37bc35f5a5d (patch)
treef37cd724c00e9cdd59d15b0cfa3c98b9a33ba314
parent711ba457e2d14bc069a10829843d256d8d5263ee (diff)
downloadklee-d62aeb9a334cb83b49e016aac1f7e37bc35f5a5d.tar.gz
Fixed compilation of unit tests.
git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@102611 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--unittests/Expr/Makefile6
-rw-r--r--unittests/Solver/Makefile6
2 files changed, 8 insertions, 4 deletions
diff --git a/unittests/Expr/Makefile b/unittests/Expr/Makefile
index 14945b1a..5ea581b4 100644
--- a/unittests/Expr/Makefile
+++ b/unittests/Expr/Makefile
@@ -2,10 +2,12 @@
 
 LEVEL := ../..
 TESTNAME := Expr
-USEDLIBS := kleaverExpr.a kleeBasic.a
+STP_LIBS := stp_c_interface.a stp_AST.a stp_bitvec.a \
+            stp_constantbv.a stp_sat.a stp_simplifier.a
+USEDLIBS := kleaverExpr.a kleeBasic.a $(STP_LIBS)
 LINK_COMPONENTS := support
 
 include $(LEVEL)/Makefile.config
 include $(LLVM_SRC_ROOT)/unittests/Makefile.unittest
 
-LIBS += -lstp 
+
diff --git a/unittests/Solver/Makefile b/unittests/Solver/Makefile
index 583025fb..44c965ba 100644
--- a/unittests/Solver/Makefile
+++ b/unittests/Solver/Makefile
@@ -2,10 +2,12 @@
 
 LEVEL := ../..
 TESTNAME := Solver
-USEDLIBS := kleaverSolver.a kleaverExpr.a kleeSupport.a kleeBasic.a
+STP_LIBS := stp_c_interface.a stp_AST.a stp_bitvec.a \
+            stp_constantbv.a stp_sat.a stp_simplifier.a
+USEDLIBS := kleaverSolver.a kleaverExpr.a kleeSupport.a kleeBasic.a $(STP_LIBS)
 LINK_COMPONENTS := support
 
 include $(LEVEL)/Makefile.config
 include $(LLVM_SRC_ROOT)/unittests/Makefile.unittest
 
-LIBS += -lstp 
+#LIBS += -lstp