Move the rules to preprocess OpenJ9 source files to Main-post.gmk so module-deps.gmk can depend those actions. This also ensures that module dependencies are updated in incremental builds as appropriate.
Remove an unnecessary include of JPP.gmk in OpenJ9.gmk.
Move definition of J9JCL_SOURCES_DONEFILE to Main-post.gmk, which is now the only place it's used.
Move the rules to preprocess OpenJ9 source files to
Main-post.gmk
somodule-deps.gmk
can depend those actions. This also ensures that module dependencies are updated in incremental builds as appropriate.Remove an unnecessary include of
JPP.gmk
inOpenJ9.gmk
.Move definition of
J9JCL_SOURCES_DONEFILE
toMain-post.gmk
, which is now the only place it's used.This is a back-port of https://github.com/ibmruntimes/openj9-openjdk-jdk/pull/797.