ohair | 92de566 | 2012-04-10 08:22:03 -0700 | [diff] [blame] | 1 | # |
leonidr | 1286346 | 2013-03-27 16:37:00 +0400 | [diff] [blame] | 2 | # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. |
ohair | 92de566 | 2012-04-10 08:22:03 -0700 | [diff] [blame] | 3 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
| 4 | # |
| 5 | # This code is free software; you can redistribute it and/or modify it |
| 6 | # under the terms of the GNU General Public License version 2 only, as |
| 7 | # published by the Free Software Foundation. Oracle designates this |
| 8 | # particular file as subject to the "Classpath" exception as provided |
| 9 | # by Oracle in the LICENSE file that accompanied this code. |
| 10 | # |
| 11 | # This code is distributed in the hope that it will be useful, but WITHOUT |
| 12 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| 13 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
| 14 | # version 2 for more details (a copy is included in the LICENSE file that |
| 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 | default: all |
| 27 | |
| 28 | include $(SPEC) |
| 29 | include MakeBase.gmk |
| 30 | include JavaCompilation.gmk |
| 31 | include NativeCompilation.gmk |
| 32 | |
| 33 | # Setup the java compilers for the JDK build. |
| 34 | include Setup.gmk |
| 35 | # We need the tools. |
| 36 | include Tools.gmk |
| 37 | |
| 38 | # Now include all the rules that generate Java sources. |
| 39 | # The Java sources are written into the gensrc_.... directories. |
| 40 | |
ihse | 49e80f5 | 2013-10-15 13:06:45 +0200 | [diff] [blame] | 41 | include gensrc/GensrcProperties.gmk |
ohair | 92de566 | 2012-04-10 08:22:03 -0700 | [diff] [blame] | 42 | GENSRC += $(GENSRC_PROPERTIES) |
| 43 | |
ihse | 49e80f5 | 2013-10-15 13:06:45 +0200 | [diff] [blame] | 44 | include gensrc/GensrcLocaleDataMetaInfo.gmk |
ohair | 92de566 | 2012-04-10 08:22:03 -0700 | [diff] [blame] | 45 | GENSRC += $(GENSRC_LOCALEDATAMETAINFO) |
| 46 | |
ihse | 49e80f5 | 2013-10-15 13:06:45 +0200 | [diff] [blame] | 47 | include gensrc/GensrcCharacterData.gmk |
ohair | 92de566 | 2012-04-10 08:22:03 -0700 | [diff] [blame] | 48 | GENSRC += $(GENSRC_CHARACTERDATA) |
| 49 | |
ihse | 49e80f5 | 2013-10-15 13:06:45 +0200 | [diff] [blame] | 50 | include gensrc/GensrcJDWP.gmk |
ohair | 92de566 | 2012-04-10 08:22:03 -0700 | [diff] [blame] | 51 | GENSRC += $(GENSRC_JDWP) |
| 52 | |
ihse | 49e80f5 | 2013-10-15 13:06:45 +0200 | [diff] [blame] | 53 | include gensrc/GensrcMisc.gmk |
ohair | 92de566 | 2012-04-10 08:22:03 -0700 | [diff] [blame] | 54 | GENSRC += $(GENSRC_MISC) |
| 55 | |
ihse | 49e80f5 | 2013-10-15 13:06:45 +0200 | [diff] [blame] | 56 | include gensrc/GensrcCharsetMapping.gmk |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 57 | GENSRC += $(GENSRC_CHARSETMAPPING) |
| 58 | |
ihse | 49e80f5 | 2013-10-15 13:06:45 +0200 | [diff] [blame] | 59 | include gensrc/GensrcCharsetCoder.gmk |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 60 | GENSRC += $(GENSRC_CHARSETCODER) |
| 61 | |
ihse | 49e80f5 | 2013-10-15 13:06:45 +0200 | [diff] [blame] | 62 | include gensrc/GensrcBuffer.gmk |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 63 | GENSRC += $(GENSRC_BUFFER) |
| 64 | |
ihse | 49e80f5 | 2013-10-15 13:06:45 +0200 | [diff] [blame] | 65 | include gensrc/GensrcExceptions.gmk |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 66 | GENSRC += $(GENSRC_EXCEPTIONS) |
| 67 | |
ihse | a29e622 | 2013-10-10 15:06:21 +0200 | [diff] [blame] | 68 | ifneq ($(OPENJDK_TARGET_OS), windows) |
dholmes | 42641c1 | 2013-10-24 20:47:41 -0400 | [diff] [blame] | 69 | include gensrc/GensrcIcons.gmk |
| 70 | GENSRC += $(GENSRC_AWT_ICONS) |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame] | 71 | |
dholmes | 42641c1 | 2013-10-24 20:47:41 -0400 | [diff] [blame] | 72 | ifeq ($(OPENJDK_TARGET_OS), macosx) |
| 73 | GENSRC += $(GENSRC_OSX_ICONS) |
| 74 | endif |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 75 | |
dholmes | 42641c1 | 2013-10-24 20:47:41 -0400 | [diff] [blame] | 76 | ifneq ($(OPENJDK_TARGET_OS), macosx) |
| 77 | include gensrc/GensrcX11Wrappers.gmk |
| 78 | GENSRC += $(GENSRC_X11WRAPPERS) |
| 79 | endif |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 80 | endif |
| 81 | |
ihse | 49e80f5 | 2013-10-15 13:06:45 +0200 | [diff] [blame] | 82 | include gensrc/GensrcCLDR.gmk |
naoto | c378ffc | 2012-08-21 11:00:30 -0700 | [diff] [blame] | 83 | GENSRC += $(GENSRC_CLDR) |
| 84 | |
ihse | 49e80f5 | 2013-10-15 13:06:45 +0200 | [diff] [blame] | 85 | include gensrc/GensrcSwing.gmk |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame] | 86 | GENSRC += $(GENSRC_SWING_BEANINFO) $(GENSRC_SWING_NIMBUS) |
erikj | e78df74 | 2012-06-07 20:40:50 -0700 | [diff] [blame] | 87 | |
ihse | a29e622 | 2013-10-10 15:06:21 +0200 | [diff] [blame] | 88 | $(GENSRC): $(BUILD_TOOLS) |
ohair | 92de566 | 2012-04-10 08:22:03 -0700 | [diff] [blame] | 89 | |
ohair | b71409c | 2012-10-26 14:23:29 -0700 | [diff] [blame] | 90 | all: $(GENSRC) |
| 91 | |
ohair | 92de566 | 2012-04-10 08:22:03 -0700 | [diff] [blame] | 92 | |
| 93 | .PHONY: all |