xref: /aoo4110/main/scp2/source/ooo/module_java.scp (revision b1cdbd2c)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#include "macros.inc"
25
26// Java modules
27
28Module gid_Module_Optional_Java
29    ParentID = gid_Module_Optional;
30    Sortkey = "100";
31    MOD_NAME_DESC ( MODULE_OPTIONAL_JAVA );
32  #ifdef WNT
33    Styles = (JAVAMODULE);
34  #elif defined (SOLARIS)
35    Styles = (JAVAMODULE,DONTUNINSTALL,NOTRELOCATABLE);
36  #else
37    Styles = (JAVAMODULE,DONTUNINSTALL,NOTRELOCATABLE,DONTSHOWINUSERINSTALL);
38  #endif
39  #ifdef LINUX
40    #ifdef X86_64
41    PackageName = "${LINUXX64JAVAFILENAME}";
42    #else
43    PackageName = "${LINUXJAVAFILENAME}";
44    #endif
45  #else
46    PackageName = "";
47  #endif
48End
49
50#ifdef SOLARIS
51Module gid_Module_Optional_Java_Runtime
52    ParentID = gid_Module_Optional_Java;
53	Name = "gid_Module_Optional_Java_Runtime";
54	Description = "gid_Module_Optional_Java_Runtime";
55    Styles = (HIDDEN_ROOT,JAVAMODULE,DONTUNINSTALL,NOTRELOCATABLE);
56  #if defined (SOLARIS) && defined (SPARC)
57    PackageName = "${SOLSJAVARTPACKED}";
58  #elif defined (SOLARIS) && defined (INTEL)
59    PackageName = "${SOLIJAVARTPACKED}";
60  #else
61    PackageName = "";
62  #endif
63End
64#endif
65
66#ifdef SOLARIS
67Module gid_Module_Optional_Java_Config
68    ParentID = gid_Module_Optional_Java;
69	Name = "gid_Module_Optional_Java_Config";
70	Description = "gid_Module_Optional_Java_Config";
71    Styles = (HIDDEN_ROOT,JAVAMODULE,DONTUNINSTALL,NOTRELOCATABLE);
72  #if defined (SOLARIS) && defined (SPARC)
73    PackageName = "${SOLSJAVACFGPACKED}";
74  #elif defined (SOLARIS) && defined (INTEL)
75    PackageName = "${SOLIJAVACFGPACKED}";
76  #else
77    PackageName = "";
78  #endif
79End
80#endif
81
82#ifdef SOLARIS
83Module gid_Module_Optional_Java_Manual
84    ParentID = gid_Module_Optional_Java;
85	Name = "gid_Module_Optional_Java_Manual";
86	Description = "gid_Module_Optional_Java_Manual";
87    Styles = (HIDDEN_ROOT,JAVAMODULE,DONTUNINSTALL,NOTRELOCATABLE);
88  #if defined (SOLARIS) && defined (SPARC)
89    PackageName = "${SOLSJAVAMANPACKED}";
90  #elif defined (SOLARIS) && defined (INTEL)
91    PackageName = "${SOLIJAVAMANPACKED}";
92  #else
93    PackageName = "";
94  #endif
95End
96#endif
97