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