equal
deleted
inserted
replaced
26 default: all |
26 default: all |
27 |
27 |
28 include $(SPEC) |
28 include $(SPEC) |
29 include MakeBase.gmk |
29 include MakeBase.gmk |
30 |
30 |
31 SAMPLE_TARGET_DIR = $(JDK_OUTPUTDIR)/sample |
31 SAMPLE_TARGET_DIR := $(JDK_OUTPUTDIR)/sample |
32 SAMPLE_SOURCE_DIR = $(JDK_TOPDIR)/src/share/sample |
32 SAMPLE_SOURCE_DIR := $(JDK_TOPDIR)/src/sample/share |
33 SAMPLE_CLOSED_SOURCE_DIR = $(JDK_TOPDIR)/src/closed/share/sample |
33 SAMPLE_CLOSED_SOURCE_DIR := $(JDK_TOPDIR)/src/closed/sample/share |
34 SAMPLE_SOLARIS_SOURCE_DIR = $(JDK_TOPDIR)/src/solaris/sample |
34 SAMPLE_SOLARIS_SOURCE_DIR := $(JDK_TOPDIR)/src/sample/solaris |
35 |
35 |
36 # Exclude the vm directory |
36 # Exclude the vm directory |
37 SAMPLE_FIND_FILTER = -name vm -prune -o |
37 SAMPLE_FIND_FILTER := -name vm -prune -o |
38 |
38 |
39 SAMPLE_SOURCE := $(shell $(FIND) $(SAMPLE_SOURCE_DIR) $(SAMPLE_FIND_FILTER) -type f -print) |
39 SAMPLE_SOURCE := $(shell $(FIND) $(SAMPLE_SOURCE_DIR) $(SAMPLE_FIND_FILTER) -type f -print) |
40 SAMPLE_TARGET := $(subst $(SAMPLE_SOURCE_DIR),$(SAMPLE_TARGET_DIR),$(SAMPLE_SOURCE)) |
40 SAMPLE_TARGET := $(subst $(SAMPLE_SOURCE_DIR),$(SAMPLE_TARGET_DIR),$(SAMPLE_SOURCE)) |
41 |
41 |
42 ifndef OPENJDK |
42 ifndef OPENJDK |