make/rmic/Rmic-java.management.gmk

Print this page
rev 10551 : 8056246: Fix AIX build after the Modular Source Code change 8054834

@@ -59,11 +59,11 @@
     KEEP_GENERATED := true))
 
 ##########################################################################################
 
 $(RMIC_GENSRC_DIR)/_the.classes.removed: $(RMI_IIOP) $(RMI_SRC)
-        $(FIND) $(RMIC_GENSRC_DIR) -name "*.class" $(FIND_DELETE)
+        $(FIND) $(RMIC_GENSRC_DIR) \( -name "*.class" -o -name $(@F) \) $(FIND_DELETE)
         $(TOUCH) $@
 
 all: $(RMIC_GENSRC_DIR)/_the.classes.removed $(RMI_IIOP) $(RMI_SRC)
 
 .PHONY: all