author | ptbrunet |
Tue, 16 Sep 2014 14:58:27 -0500 | |
changeset 26748 | fba66a2e8961 |
parent 25862 | a5e25d68f971 |
child 26882 | 91ca50999343 |
permissions | -rw-r--r-- |
14242 | 1 |
# |
22662
ddcb7ce5e63d
8026773: Failing compilation in Corba does not fail the build
erikj
parents:
21859
diff
changeset
|
2 |
# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. |
14242 | 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 |
# This must be the first rule |
|
27 |
default: all |
|
28 |
||
29 |
include $(SPEC) |
|
30 |
include MakeBase.gmk |
|
31 |
include JavaCompilation.gmk |
|
32 |
||
22662
ddcb7ce5e63d
8026773: Failing compilation in Corba does not fail the build
erikj
parents:
21859
diff
changeset
|
33 |
include CommonCorba.gmk |
14242 | 34 |
|
22662
ddcb7ce5e63d
8026773: Failing compilation in Corba does not fail the build
erikj
parents:
21859
diff
changeset
|
35 |
################################################################################ |
14242 | 36 |
|
25862 | 37 |
$(eval $(call SetupJavaCompilation,BUILD_INTERIM_CORBA, \ |
38 |
SETUP := GENERATE_OLDBYTECODE, \ |
|
39 |
SRC := $(CORBA_TOPDIR)/src/java.corba/share/classes \ |
|
40 |
$(CORBA_TOPDIR)/src/jdk.rmic/share/classes \ |
|
41 |
$(CORBA_OUTPUTDIR)/gensrc/java.corba, \ |
|
23067 | 42 |
EXCLUDES := com/sun/corba/se/PortableActivationIDL, \ |
22662
ddcb7ce5e63d
8026773: Failing compilation in Corba does not fail the build
erikj
parents:
21859
diff
changeset
|
43 |
EXCLUDE_FILES := com/sun/corba/se/impl/presentation/rmi/JNDIStateFactoryImpl.java \ |
ddcb7ce5e63d
8026773: Failing compilation in Corba does not fail the build
erikj
parents:
21859
diff
changeset
|
44 |
com/sun/corba/se/spi/presentation/rmi/StubWrapper.java \ |
ddcb7ce5e63d
8026773: Failing compilation in Corba does not fail the build
erikj
parents:
21859
diff
changeset
|
45 |
org/omg/PortableInterceptor/UNKNOWN.java \ |
ddcb7ce5e63d
8026773: Failing compilation in Corba does not fail the build
erikj
parents:
21859
diff
changeset
|
46 |
com/sun/tools/corba/se/idl/ResourceBundleUtil.java \ |
ddcb7ce5e63d
8026773: Failing compilation in Corba does not fail the build
erikj
parents:
21859
diff
changeset
|
47 |
com/sun/corba/se/impl/presentation/rmi/jndi.properties, \ |
23362
da5c80c40887
8036611: Cleanup of handling of properties and other java resources in the build
erikj
parents:
23067
diff
changeset
|
48 |
COPY := .prp, \ |
da5c80c40887
8036611: Cleanup of handling of properties and other java resources in the build
erikj
parents:
23067
diff
changeset
|
49 |
CLEAN := .properties, \ |
22662
ddcb7ce5e63d
8026773: Failing compilation in Corba does not fail the build
erikj
parents:
21859
diff
changeset
|
50 |
BIN := $(CORBA_OUTPUTDIR)/interim_classes, \ |
ddcb7ce5e63d
8026773: Failing compilation in Corba does not fail the build
erikj
parents:
21859
diff
changeset
|
51 |
JAR := $(INTERIM_CORBA_JAR))) |
14242 | 52 |
|
25862 | 53 |
################################################################################ |
54 |
# Copy idl files straight to jdk/lib. Not sure if this is the right way to do |
|
55 |
# it, but we are moving away from the one repo at a time build. Perhaps we should |
|
56 |
# scrap the 'jdk' prefix to bin, lib etc? |
|
57 |
$(JDK_OUTPUTDIR)/lib/%: $(CORBA_TOPDIR)/src/java.corba/share/classes/com/sun/tools/corba/se/idl/% |
|
58 |
$(install-file) |
|
14242 | 59 |
|
25862 | 60 |
IDL_TARGET_FILES := $(JDK_OUTPUTDIR)/lib/orb.idl $(JDK_OUTPUTDIR)/lib/ir.idl |
14242 | 61 |
|
22662
ddcb7ce5e63d
8026773: Failing compilation in Corba does not fail the build
erikj
parents:
21859
diff
changeset
|
62 |
################################################################################ |
ddcb7ce5e63d
8026773: Failing compilation in Corba does not fail the build
erikj
parents:
21859
diff
changeset
|
63 |
|
25862 | 64 |
all: $(BUILD_INTERIM_CORBA) $(IDL_TARGET_FILES) |