xref: /aoo4110/main/scp2/source/ooo/shortcut_ooo.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#ifdef UNX
27#ifndef SYSTEM_ICU
28
29Shortcut gid_Shortcut_Lib_Icudata
30    FileID = gid_File_Lib_Icudata;
31    Dir = SCP2_OOO_BIN_DIR;
32    Name = STRING(CONCAT5(libicudata,UNXSUFFIX,.,ICU_MAJOR,ICU_MINOR));
33    Styles = (NETWORK,RELATIVE,FORCE_INTO_UPDATE_PACKAGE);
34End
35
36Shortcut gid_Shortcut_Lib_Icui18n
37    FileID = gid_File_Lib_Icui18n;
38    Dir = SCP2_OOO_BIN_DIR;
39    Name = STRING(CONCAT5(libicui18n,UNXSUFFIX,.,ICU_MAJOR,ICU_MINOR));
40    Styles = (NETWORK,RELATIVE,FORCE_INTO_UPDATE_PACKAGE);
41End
42
43Shortcut gid_Shortcut_Lib_Icule
44    FileID = gid_File_Lib_Icule;
45    Dir = SCP2_OOO_BIN_DIR;
46    Name = STRING(CONCAT5(libicule,UNXSUFFIX,.,ICU_MAJOR,ICU_MINOR));
47    Styles = (NETWORK,RELATIVE,FORCE_INTO_UPDATE_PACKAGE);
48End
49
50Shortcut gid_Shortcut_Lib_Icuuc
51    FileID = gid_File_Lib_Icuuc;
52    Dir = SCP2_OOO_BIN_DIR;
53    Name = STRING(CONCAT5(libicuuc,UNXSUFFIX,.,ICU_MAJOR,ICU_MINOR));
54    Styles = (NETWORK,RELATIVE,FORCE_INTO_UPDATE_PACKAGE);
55End
56
57#endif
58
59Shortcut gid_Shortcut_Lib_Graphite_0
60    FileID = gid_File_Lib_Graphite;
61#if defined MACOSX
62    Dir = gid_Brand_Dir_Program;
63#else
64    Dir = gid_Dir_Common_Ure;
65#endif
66//    Dir = gid_Dir_Program;
67    Name = STRING(CONCAT2(libgraphite,UNXSUFFIX));
68    Styles = (NETWORK,RELATIVE);
69End
70
71Shortcut gid_Shortcut_Lib_Graphite_1
72    FileID = gid_File_Lib_Graphite;
73#if defined MACOSX
74    Dir = gid_Brand_Dir_Program;
75#else
76    Dir = gid_Dir_Common_Ure;
77#endif
78//    Dir = gid_Dir_Program;
79    Name = STRING(CONCAT4(libgraphite,UNXSUFFIX,.,3));
80    Styles = (NETWORK,RELATIVE);
81End
82
83Shortcut gid_Shortcut_Lib_Graphite_2
84    FileID = gid_File_Lib_Graphite;
85#if defined MACOSX
86    Dir = gid_Brand_Dir_Program;
87#else
88    Dir = gid_Dir_Common_Ure;
89#endif
90//    Dir = gid_Dir_Program;
91    Name = STRING(CONCAT4(libgraphite,UNXSUFFIX,.,3.0));
92    Styles = (NETWORK,RELATIVE);
93End
94
95#endif
96
97#ifdef MACOSX
98
99Shortcut gid_Shortcut_Lib_Hsqldb_2
100    FileID = gid_File_Lib_Hsqldb_2;
101    Dir = SCP2_OOO_BIN_DIR;
102    Name = "libhsqldb.jnilib";
103    Styles = (NETWORK, RELATIVE);
104End
105
106#endif
107
108#ifdef UNX
109
110// Create links to the fully quantified libraries apr, apr-util, and serf.
111// The major version number is handled in a non-standard way (part of the name).
112// Therefore the hard-coded .0 suffix.
113
114#ifdef APR_MAJOR
115Shortcut gid_Shortcut_Lib_Apr
116    FileID = gid_File_Lib_Apr;
117    Dir = SCP2_OOO_BIN_DIR;
118    #ifdef MACOSX
119        Name = STRING(CONCAT2(libapr-1.0,UNXSUFFIX));
120    #else
121        Name = STRING(CONCAT3(libapr-1,UNXSUFFIX,.0));
122    #endif
123    Styles = (NETWORK,RELATIVE,FORCE_INTO_UPDATE_PACKAGE);
124End
125#endif
126
127#ifdef APR_UTIL_MAJOR
128Shortcut gid_Shortcut_Lib_AprUtil
129    FileID = gid_File_Lib_AprUtil;
130    Dir = SCP2_OOO_BIN_DIR;
131    #ifdef MACOSX
132        Name = STRING(CONCAT2(libaprutil-1.0,UNXSUFFIX));
133    #else
134        Name = STRING(CONCAT3(libaprutil-1,UNXSUFFIX,.0));
135    #endif
136    Styles = (NETWORK,RELATIVE,FORCE_INTO_UPDATE_PACKAGE);
137End
138#endif
139
140#ifdef SERF_MAJOR
141Shortcut gid_Shortcut_Lib_Serf
142    FileID = gid_File_Lib_Serf;
143    Dir = SCP2_OOO_BIN_DIR;
144    #ifdef MACOSX
145        Name = STRING(CONCAT2(libserf-1.0,UNXSUFFIX));
146    #else
147        Name = STRING(CONCAT3(libserf-1,UNXSUFFIX,.0));
148    #endif
149    Styles = (NETWORK,RELATIVE,FORCE_INTO_UPDATE_PACKAGE);
150End
151#endif
152
153#endif
154
155//i44154 -end-
156