GenerateSources.gmk 2.6 KB
Newer Older
1
#
2
# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.  Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#

default: all

include $(SPEC)
include MakeBase.gmk
include JavaCompilation.gmk
include NativeCompilation.gmk

# Setup the java compilers for the JDK build.
include Setup.gmk
# We need the tools.
include Tools.gmk

# Now include all the rules that generate Java sources.
# The Java sources are written into the gensrc_.... directories.

41
include gensrc/GensrcProperties.gmk
42 43
GENSRC += $(GENSRC_PROPERTIES)

44
include gensrc/GensrcLocaleDataMetaInfo.gmk
45 46
GENSRC += $(GENSRC_LOCALEDATAMETAINFO)

47
include gensrc/GensrcCharacterData.gmk
48 49
GENSRC += $(GENSRC_CHARACTERDATA)

50
include gensrc/GensrcJDWP.gmk
51 52
GENSRC += $(GENSRC_JDWP)

53
include gensrc/GensrcMisc.gmk
54 55
GENSRC += $(GENSRC_MISC)

56
include gensrc/GensrcCharsetMapping.gmk
57 58
GENSRC += $(GENSRC_CHARSETMAPPING)

59
include gensrc/GensrcCharsetCoder.gmk
60 61
GENSRC += $(GENSRC_CHARSETCODER)

62
include gensrc/GensrcBuffer.gmk
63 64
GENSRC += $(GENSRC_BUFFER)

65
include gensrc/GensrcExceptions.gmk
66 67
GENSRC += $(GENSRC_EXCEPTIONS)

68
ifneq ($(OPENJDK_TARGET_OS), windows)
69
include gensrc/GensrcIcons.gmk
70
GENSRC += $(GENSRC_AWT_ICONS)
O
ohair 已提交
71

72
ifeq ($(OPENJDK_TARGET_OS), macosx)
O
ohair 已提交
73 74
GENSRC += $(GENSRC_OSX_ICONS)
endif
75

76
include gensrc/GensrcX11Wrappers.gmk
77 78 79
GENSRC += $(GENSRC_X11WRAPPERS)
endif

80
include gensrc/GensrcCLDR.gmk
81 82
GENSRC += $(GENSRC_CLDR)

83
include gensrc/GensrcSwing.gmk
O
ohair 已提交
84
GENSRC += $(GENSRC_SWING_BEANINFO) $(GENSRC_SWING_NIMBUS)
85

86
ifeq ($(OPENJDK_TARGET_OS), macosx)
87
  include gensrc/GensrcJObjC.gmk
88
  GENSRC += $(GENSRC_JOBJC)
89 90
endif

91
$(GENSRC): $(BUILD_TOOLS)
92

O
ohair 已提交
93 94
all: $(GENSRC)

95 96

.PHONY: all