diff --git a/config/makefiles/xpidl/Makefile.in b/config/makefiles/xpidl/Makefile.in index d2ecda139ceb..d506a60ef725 100644 --- a/config/makefiles/xpidl/Makefile.in +++ b/config/makefiles/xpidl/Makefile.in @@ -57,6 +57,8 @@ xpidl_modules := @xpidl_modules@ linked_xpt_files := $(addprefix $(idl_xpt_dir)/,$(addsuffix .xpt,$(xpidl_modules))) depends_files := $(foreach root,$(xpidl_modules),$(idl_deps_dir)/$(root).pp) +GARBAGE += $(linked_xpt_files) $(depends_files) + xpidl:: $(linked_xpt_files) $(linked_xpt_files): $(process_py) $(call mkdir_deps,$(idl_deps_dir) $(dist_include_dir) $(idl_xpt_dir)) diff --git a/xpcom/xpidl/Makefile.in b/xpcom/xpidl/Makefile.in index d8440352b92e..621a43aceebc 100644 --- a/xpcom/xpidl/Makefile.in +++ b/xpcom/xpidl/Makefile.in @@ -6,3 +6,6 @@ export:: $(call SUBMAKE,xpidl-parser,$(DEPTH)/xpcom/idl-parser) $(call py_action,process_install_manifest,$(DIST)/idl $(DEPTH)/_build_manifests/install/dist_idl) $(call SUBMAKE,xpidl,$(DEPTH)/config/makefiles/xpidl) + +clean clobber realclean clobber_all distclean:: + $(call SUBMAKE,$@,$(DEPTH)/config/makefiles/xpidl)