Add new function utohexstr.
[oota-llvm.git] / Makefile.rules
index a294df77ce645e9faa54291e1369323de4de72ac..a376a113cabe18a74d64a95364a3ccafcf040088 100644 (file)
@@ -39,7 +39,7 @@ BURG = /home/vadve/vadve/Research/DynOpt/Burg/burg
 BURG_OPTS = -I
 
 
-PURIFY = /usr/dcs/applications/purify/bin/purify -cache-dir="/home/vadve/lattner/purifycache" -chain-length="10" -messages=all
+PURIFY = /usr/dcs/applications/purify/bin/purify -cache-dir="$(HOME)/purifycache" -chain-length="30" -messages=all 
 
 #---------------------------------------------------------
 # Compilation options...
@@ -63,8 +63,11 @@ CompileO = $(Compile) -O3 -DNDEBUG -finline-functions -felide-constructors -fnon
 # Link final executable
 
 # To enable purify, do it here:
-###Link     = $(PURIFY) $(CXX) $(Prof) -static
-Link     = $(CXX) $(Prof) 
+ifdef ENABLE_PURIFY
+Link     = $(PURIFY) $(CXX) $(Prof) -static
+else
+Link     = LD_RUN_PATH=/usr/dcs/software/evaluation/encap/gcc-3.0.4/lib $(CXX) $(Prof) 
+endif
 LinkG    = $(Link) -g  -L $(LEVEL)/lib/Debug
 LinkO    = $(Link) -O3 -L $(LEVEL)/lib/Release