backing out due to tree rules: bug 394339 - fix breakage in windows multiprocess builds
authorause@sun.com
Wed, 27 Feb 2008 00:53:16 -0800
changeset 12347 01d25fd6b38a18388695025843b04b285bb34dc5
parent 12346 a5344466248d2aff11dcc7f6a2b5856f4ec5d824
child 12348 73a1496e760bb28f63d8626a53a02c57436a2288
push idunknown
push userunknown
push dateunknown
bugs394339
milestone1.9b4pre
backing out due to tree rules: bug 394339 - fix breakage in windows multiprocess builds
accessible/public/ia2/Makefile.in
--- a/accessible/public/ia2/Makefile.in
+++ b/accessible/public/ia2/Makefile.in
@@ -106,30 +106,17 @@ include $(topsrcdir)/config/rules.mk
 OS_LIBS = \
   kernel32.lib \
   rpcns4.lib \
   rpcrt4.lib \
   ole32.lib \
   oleaut32.lib \
   $(NULL)
 
-# generate list of to-be-generated files that are missing
-# but ignore special file dlldata.c
-missing:=$(strip $(foreach onefile,$(strip $(subst dlldata.c,,$(MIDL_GENERATED_FILES))),$(if $(wildcard $(onefile)),,$(onefile))))
-
-missing_base:=$(sort $(basename $(subst _p.c,,$(subst _i.c,,$(missing)))))
-
-$(MIDL_GENERATED_FILES) : midl_done
-
-ifneq ("$(missing)","")
-midl_done : FORCE
-endif
-
-midl_done : $(addprefix $(IA2DIR)/,$(MIDL_INTERFACES) $(MIDL_ENUMS))
-	for idl in $(sort $(subst FORCE,,$?) $(addsuffix .idl,$(addprefix $(IA2DIR)/,$(missing_base)))); do \
+$(MIDL_GENERATED_FILES): $(addprefix $(IA2DIR)/,$(MIDL_INTERFACES) $(MIDL_ENUMS))
+	for idl in $^; do \
 	  $(MIDL) $(MIDL_FLAGS) -app_config -I $(IA2DIR) -Oicf $$idl; \
 	done
-	touch $@
 
 # This marshall dll is also registered in the installer
 register::
 	regsvr32 -s $(DIST)/bin/$(SHARED_LIBRARY)