15 # accompanied this code).
16 #
17 # You should have received a copy of the GNU General Public License version
18 # 2 along with this work; if not, write to the Free Software Foundation,
19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 #
21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 # or visit www.oracle.com if you need additional information or have any
23 # questions.
24 #
25
26 # Cache all finds needed for this file. Only used on windows.
27 $(eval $(call FillCacheFind, $(JDK_TOPDIR)/make/tools \
28 $(JDK_TOPDIR)/makefiles/sun))
29
30 TOOLS_SRC := $(JDK_TOPDIR)/make/tools/src \
31 $(JDK_TOPDIR)/makefiles/sun/awt/ \
32 $(JDK_TOPDIR)/makefiles/sun/osxapp \
33 $(JDK_TOPDIR)/make/tools/swing-beans
34
35 ifneq ($(OPENJDK_TARGET_OS), windows)
36 TOOLS_SRC += $(JDK_TOPDIR)/src/solaris/classes/sun/awt/X11/generator
37 endif
38
39 # The exception handling of swing beaninfo which have the own tool directory
40 ifeq (, $(BUILD_TOOLS))
41 $(eval $(call SetupJavaCompilation,BUILD_TOOLS, \
42 SETUP := GENERATE_OLDBYTECODE, \
43 SRC := $(TOOLS_SRC), \
44 BIN := $(JDK_OUTPUTDIR)/btclasses))
45 endif
46
47 $(JDK_OUTPUTDIR)/btclasses/build/tools/generatenimbus/resources/%.template: \
48 $(JDK_TOPDIR)/src/share/classes/javax/swing/plaf/nimbus/%.template
49 $(call install-file)
50
51 BUILD_TOOLS += $(foreach i, $(wildcard $(JDK_TOPDIR)/src/share/classes/javax/swing/plaf/nimbus/*.template), $(JDK_OUTPUTDIR)/btclasses/build/tools/generatenimbus/resources/$(notdir $i))
52
53 # Resources used by CheckDeps tool
54 $(JDK_OUTPUTDIR)/btclasses/build/tools/deps/%: \
55 $(JDK_TOPDIR)/make/tools/src/build/tools/deps/%
|
15 # accompanied this code).
16 #
17 # You should have received a copy of the GNU General Public License version
18 # 2 along with this work; if not, write to the Free Software Foundation,
19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 #
21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 # or visit www.oracle.com if you need additional information or have any
23 # questions.
24 #
25
26 # Cache all finds needed for this file. Only used on windows.
27 $(eval $(call FillCacheFind, $(JDK_TOPDIR)/make/tools \
28 $(JDK_TOPDIR)/makefiles/sun))
29
30 TOOLS_SRC := $(JDK_TOPDIR)/make/tools/src \
31 $(JDK_TOPDIR)/makefiles/sun/awt/ \
32 $(JDK_TOPDIR)/makefiles/sun/osxapp \
33 $(JDK_TOPDIR)/make/tools/swing-beans
34
35 ifeq ($(findstring $(OPENJDK_TARGET_OS),windows macosx),)
36 TOOLS_SRC += $(JDK_TOPDIR)/src/solaris/classes/sun/awt/X11/generator
37 endif
38
39 # The exception handling of swing beaninfo which have the own tool directory
40 ifeq (, $(BUILD_TOOLS))
41 $(eval $(call SetupJavaCompilation,BUILD_TOOLS, \
42 SETUP := GENERATE_OLDBYTECODE, \
43 SRC := $(TOOLS_SRC), \
44 BIN := $(JDK_OUTPUTDIR)/btclasses))
45 endif
46
47 $(JDK_OUTPUTDIR)/btclasses/build/tools/generatenimbus/resources/%.template: \
48 $(JDK_TOPDIR)/src/share/classes/javax/swing/plaf/nimbus/%.template
49 $(call install-file)
50
51 BUILD_TOOLS += $(foreach i, $(wildcard $(JDK_TOPDIR)/src/share/classes/javax/swing/plaf/nimbus/*.template), $(JDK_OUTPUTDIR)/btclasses/build/tools/generatenimbus/resources/$(notdir $i))
52
53 # Resources used by CheckDeps tool
54 $(JDK_OUTPUTDIR)/btclasses/build/tools/deps/%: \
55 $(JDK_TOPDIR)/make/tools/src/build/tools/deps/%
|