Run valgrind on idlc by default.
authorScott Wood <scott@thor.buserror.net>
Mon, 7 Apr 2008 04:13:11 +0000 (23:13 -0500)
committerScott Wood <scott@thor.buserror.net>
Mon, 7 Apr 2008 04:13:11 +0000 (23:13 -0500)
Makefile.target
idl/Makefile

index d407129cf7e4fdbe72dd9785bcac6a5dc2746aef..19c773cd5bf7c9cbae04efb7d8c5bd0f7356b293 100644 (file)
@@ -90,7 +90,8 @@ RANLIB := $(CROSS)ranlib
 RM := rm -f
 RMDIR := rm -rf
 LN := ln -s
-IDLC := $(BASEBUILDDIR)/build/idlcomp/idlc
+IDLC_target := $(BASEBUILDDIR)/build/idlcomp/idlc
+IDLC := valgrind -q $(BASEBUILDDIR)/build/idlcomp/idlc
 TOUCH := touch
 BISON := bison
 FLEX := flex
index 86aae6dcd4e685f072d82ba851c7e7bd89e3f050..5529e4f45e634f4b601e9dc8f35bd298b6c13c55 100644 (file)
@@ -9,7 +9,7 @@ IDL := $(shell find . -name '*.idl')
 
 TARGETS := $(BUILDDIR)/ifaces
 
-$(BUILDDIR)/ifaces: $(IDL) $(IDLC)
+$(BUILDDIR)/ifaces: $(IDL) $(IDLC_target)
        @echo $(COMP): System IDL files
        @$(RMDIR) $(BUILDDIR)/ifaces
        @if ! $(IDLC) -o $(BUILDDIR)/ifaces -s System $(IDL); then \