]> xenbits.xensource.com Git - xenclient/toolstack.git/commitdiff
[Makefile.rules] Added an optional variable to contain extra make-clean deps.
authorJean-Sebastien Legare <jean-sebastien.legare@citrix.com>
Thu, 11 Jun 2009 02:38:09 +0000 (19:38 -0700)
committerPrashanth Mundkur <prashanth.mundkur@citrix.com>
Tue, 23 Jun 2009 16:36:00 +0000 (09:36 -0700)
Makefile.rules

index bfe383f4405a07f913e44f3a765cee49e068e18f..de840672da8c9b054110982884e8edf4bb8f1023 100644 (file)
@@ -42,7 +42,7 @@ ALL_OCAML_OBJ_SOURCES=$(addsuffix .ml, $(ALL_OCAML_OBJS))
 .ocamldep.make: $(ALL_OCAML_OBJ_SOURCES) Makefile $(TOPLEVEL)/Makefile.rules
        $(call quiet-command, $(OCAMLDEP) $(ALL_OCAML_OBJ_SOURCES) *.mli $o,MLDEP,)
 
-clean:
+clean: $(CLEAN_HOOKS)
        $(Q)rm -f *.o *.so *.a *.cmo *.cmi *.cma *.cmx *.cmxa *.annot $(LIBS) $(PROGRAMS) $(GENERATED_FILES) .ocamldep.make
 
 quiet-command = $(if $(V),$1,@printf " %-8s %s\n" "$2" "$3" && $1)