xref: /aoo41x/main/scp2/source/ooo/module_java.scp (revision cdf0e10c)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27
28#include "macros.inc"
29
30// Java modules
31
32Module gid_Module_Optional_Java
33    ParentID = gid_Module_Optional;
34    Sortkey = "100";
35    MOD_NAME_DESC ( MODULE_OPTIONAL_JAVA );
36  #ifdef WNT
37    Styles = (JAVAMODULE);
38  #elif defined (SOLARIS)
39    Styles = (JAVAMODULE,DONTUNINSTALL,NOTRELOCATABLE);
40  #else
41    Styles = (JAVAMODULE,DONTUNINSTALL,NOTRELOCATABLE,DONTSHOWINUSERINSTALL);
42  #endif
43  #ifdef LINUX
44    #ifdef X86_64
45    PackageName = "${LINUXX64JAVAFILENAME}";
46    #else
47    PackageName = "${LINUXJAVAFILENAME}";
48    #endif
49  #else
50    PackageName = "";
51  #endif
52End
53
54#ifdef SOLARIS
55Module gid_Module_Optional_Java_Runtime
56    ParentID = gid_Module_Optional_Java;
57	Name = "gid_Module_Optional_Java_Runtime";
58	Description = "gid_Module_Optional_Java_Runtime";
59    Styles = (HIDDEN_ROOT,JAVAMODULE,DONTUNINSTALL,NOTRELOCATABLE);
60  #if defined (SOLARIS) && defined (SPARC)
61    PackageName = "${SOLSJAVARTPACKED}";
62  #elif defined (SOLARIS) && defined (INTEL)
63    PackageName = "${SOLIJAVARTPACKED}";
64  #else
65    PackageName = "";
66  #endif
67End
68#endif
69
70#ifdef SOLARIS
71Module gid_Module_Optional_Java_Config
72    ParentID = gid_Module_Optional_Java;
73	Name = "gid_Module_Optional_Java_Config";
74	Description = "gid_Module_Optional_Java_Config";
75    Styles = (HIDDEN_ROOT,JAVAMODULE,DONTUNINSTALL,NOTRELOCATABLE);
76  #if defined (SOLARIS) && defined (SPARC)
77    PackageName = "${SOLSJAVACFGPACKED}";
78  #elif defined (SOLARIS) && defined (INTEL)
79    PackageName = "${SOLIJAVACFGPACKED}";
80  #else
81    PackageName = "";
82  #endif
83End
84#endif
85
86#ifdef SOLARIS
87Module gid_Module_Optional_Java_Manual
88    ParentID = gid_Module_Optional_Java;
89	Name = "gid_Module_Optional_Java_Manual";
90	Description = "gid_Module_Optional_Java_Manual";
91    Styles = (HIDDEN_ROOT,JAVAMODULE,DONTUNINSTALL,NOTRELOCATABLE);
92  #if defined (SOLARIS) && defined (SPARC)
93    PackageName = "${SOLSJAVAMANPACKED}";
94  #elif defined (SOLARIS) && defined (INTEL)
95    PackageName = "${SOLIJAVAMANPACKED}";
96  #else
97    PackageName = "";
98  #endif
99End
100#endif
101