diff -r 918745561887 -r fd36993f7bf5 doc/building.html --- a/doc/building.html Tue Sep 12 19:03:59 2017 +0200 +++ b/doc/building.html Fri Sep 15 09:18:00 2017 -0700 @@ -885,7 +885,7 @@
While technically using make
, the make source files of the OpenJDK does not resemble most other Makefiles. Instead of listing specific targets and actions (perhaps using patterns), the basic modus operandi is to call a high-level function (or properly, macro) from the API in make/common
. For instance, to compile all classes in the jdk.internal.foo
package in the jdk.foo
module, a call like this would be made:
$(eval $(call SetupJavaCompilation, BUILD_FOO_CLASSES, \
SETUP := GENERATE_OLDBYTECODE, \
- SRC := $(JDK_TOPDIR)/src/jkd.foo/share/classes, \
+ SRC := $(TOPDIR)/src/jkd.foo/share/classes, \
INCLUDES := jdk/internal/foo, \
BIN := $(SUPPORT_OUTPUTDIR)/foo_classes, \
))