#
#===------------------------------------------------------------------------===#
-LEVEL = ..
-DIRS =
+LEVEL = ..
+DIRS =
#
# Make Dejagnu the default for testing
$(RUNTEST) $(RUNTESTFLAGS) )
else
check-local:: site.exp
- @echo "*** dejagnu not found. Make sure runtest is in your PATH, then reconfigure llvm."
+ @echo "*** dejagnu not found. Make sure 'runtest' is in your PATH, then reconfigure LLVM."
endif
ifdef TESTONE
clean::
$(RM) -rf `find $(LLVM_OBJ_ROOT)/test -name Output -type d -print`
+# dsymutil is used on the Darwin to manipulate DWARF debugging information.
+ifeq ($(OS),Darwin)
+DSYMUTIL=dsymutil
+else
+DSYMUTIL=true
+endif
+
FORCE:
site.exp: FORCE
@echo 'set shlibext "$(SHLIBEXT)"' >> site.tmp
@echo 'set ocamlc "$(OCAMLC) -cc $(CXX) -I $(LibDir)/ocaml"' >> site.tmp
@echo 'set valgrind "$(VALGRIND)"' >> site.tmp
+ @echo 'set grep "$(GREP)"' >>site.tmp
+ @echo 'set gas "$(GAS)"' >>site.tmp
+ @echo 'set llvmdsymutil "$(DSYMUTIL)"' >>site.tmp
@echo '## All variables above are generated by configure. Do Not Edit ## ' >>site.tmp
@test ! -f site.exp || \
sed '1,/^## All variables above are.*##/ d' site.exp >> site.tmp