diff -r 71c04702a3d5 -r 72e3ae9a25eb make/CompileDemos.gmk --- a/make/CompileDemos.gmk Tue Sep 12 19:03:39 2017 +0200 +++ b/make/CompileDemos.gmk Tue Sep 12 19:03:56 2017 +0200 @@ -38,8 +38,8 @@ include ZipArchive.gmk # Prepare the find cache. -$(eval $(call FillCacheFind, $(wildcard $(JDK_TOPDIR)/src/demo \ - $(JDK_TOPDIR)/src/*/demo))) +$(eval $(call FillCacheFind, $(wildcard $(TOPDIR)/src/demo \ + $(TOPDIR)/src/*/demo))) # Append demo goals to this variable. TARGETS = @@ -48,15 +48,15 @@ # Now every other demo has its own quirks where to put the # READMEs and other files. -DEMO_SHARE_SRC := $(JDK_TOPDIR)/src/demo/share -GLOBAL_VERSION_INFO_RESOURCE := $(JDK_TOPDIR)/src/java.base/windows/native/common/version.rc +DEMO_SHARE_SRC := $(TOPDIR)/src/demo/share +GLOBAL_VERSION_INFO_RESOURCE := $(TOPDIR)/src/java.base/windows/native/common/version.rc DEMO_MANIFEST := $(SUPPORT_OUTPUTDIR)/demos/java-main-manifest.mf # This rule will be depended on due to the MANIFEST line in SetupBuildDemo # and SetupBuildJvmtiDemo. $(eval $(call SetupTextFileProcessing, BUILD_JAVA_MANIFEST, \ - SOURCE_FILES := $(JDK_TOPDIR)/make/data/mainmanifest/manifest.mf, \ + SOURCE_FILES := $(TOPDIR)/make/data/mainmanifest/manifest.mf, \ OUTPUT_FILE := $(DEMO_MANIFEST), \ REPLACEMENTS := \ @@VERSION_SPECIFICATION@@ => $(VERSION_SPECIFICATION) ; \ @@ -303,7 +303,7 @@ ################################################################################ # Hook to include the corresponding custom file, if present. -$(eval $(call IncludeCustomExtension, jdk, CompileDemos.gmk)) +$(eval $(call IncludeCustomExtension, , CompileDemos.gmk)) all: $(TARGETS) images: $(IMAGES_TARGETS)