1 # |
1 # |
2 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. |
2 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 # |
4 # |
5 # This code is free software; you can redistribute it and/or modify it |
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 |
6 # under the terms of the GNU General Public License version 2 only, as |
7 # published by the Free Software Foundation. Oracle designates this |
7 # published by the Free Software Foundation. Oracle designates this |
58 $1_TIE_FILES := $$(addprefix $$($1_STUB_CLASSES_DIR)/org/omg/stub/,$$(addsuffix _Tie.class,$$($1_TIE_BASE_FILES))) |
58 $1_TIE_FILES := $$(addprefix $$($1_STUB_CLASSES_DIR)/org/omg/stub/,$$(addsuffix _Tie.class,$$($1_TIE_BASE_FILES))) |
59 $1_TIE_STDPKG_FILES := $$(addprefix $$($1_STUB_CLASSES_DIR)/,$$(addsuffix _Tie.class,$$($1_TIE_BASE_FILES))) |
59 $1_TIE_STDPKG_FILES := $$(addprefix $$($1_STUB_CLASSES_DIR)/,$$(addsuffix _Tie.class,$$($1_TIE_BASE_FILES))) |
60 |
60 |
61 ifneq (,$$($1_RUN_IIOP)) |
61 ifneq (,$$($1_RUN_IIOP)) |
62 $1_TARGETS += $$($1_TIE_FILES) |
62 $1_TARGETS += $$($1_TIE_FILES) |
63 $1_ARGS += -iiop |
63 $1_ARGS += -iiop -emitPermissionCheck |
64 endif |
64 endif |
65 ifneq (,$$($1_RUN_IIOP_STDPKG)) |
65 ifneq (,$$($1_RUN_IIOP_STDPKG)) |
66 $1_TARGETS += $$($1_TIE_STDPKG_FILES) |
66 $1_TARGETS += $$($1_TIE_STDPKG_FILES) |
67 $1_ARGS2 := -iiop -standardPackage |
67 $1_ARGS2 := -iiop -emitPermissionCheck -standardPackage |
68 endif |
68 endif |
69 |
69 |
70 ifneq (,$$($1_KEEP_GENERATED)) |
70 ifneq (,$$($1_KEEP_GENERATED)) |
71 $1_ARGS += -keepgenerated |
71 $1_ARGS += -keepgenerated |
72 $1_TARGETS += $$(subst .class,.java,$$($1_TARGETS)) |
72 $1_TARGETS += $$(subst .class,.java,$$($1_TARGETS)) |