about summary refs log tree commit diff homepage
path: root/tools
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-04-05 04:02:31 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-04-05 04:02:31 +0000
commita008fb78987a4675d12f5934f3d51bbd84c3f653 (patch)
treeb58b455f4de7c3b8093c9bad090fcdbdc3ee3fc7 /tools
parent268b8ff282c2c17535432a1b341a0b9f52c8ae69 (diff)
downloadklee-a008fb78987a4675d12f5934f3d51bbd84c3f653.tar.gz
STP: Switch build to using LLVM style Makefiles.
git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@100395 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/kleaver/Makefile7
-rw-r--r--tools/klee/Makefile12
2 files changed, 8 insertions, 11 deletions
diff --git a/tools/kleaver/Makefile b/tools/kleaver/Makefile
index 0bb184bb..d9c417c1 100644
--- a/tools/kleaver/Makefile
+++ b/tools/kleaver/Makefile
@@ -9,11 +9,12 @@
 
 LEVEL=../..
 TOOLNAME = kleaver
+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
+USEDLIBS = kleaverSolver.a kleaverExpr.a kleeSupport.a kleeBasic.a \
+	$(STP_LIBS)
 LINK_COMPONENTS = support
 
 include $(LEVEL)/Makefile.common
-
-LIBS += -lstp
diff --git a/tools/klee/Makefile b/tools/klee/Makefile
index fbdcfd85..72188b79 100644
--- a/tools/klee/Makefile
+++ b/tools/klee/Makefile
@@ -9,14 +9,10 @@
 
 LEVEL=../..
 TOOLNAME = klee
-USEDLIBS = kleeCore.a kleeModule.a 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 = kleeCore.a kleeModule.a kleaverSolver.a kleaverExpr.a kleeSupport.a kleeBasic.a \
+	$(STP_LIBS)
 LINK_COMPONENTS = jit bitreader bitwriter ipo linker engine
 
 include $(LEVEL)/Makefile.common
-
-ifeq ($(ENABLE_STPLOG), 1)
-	LIBS += -lstplog
-endif
-
-LIBS += -lstp 
-#-ltcmalloc