xref: /aoo41x/main/scp2/source/ooo/shortcut_ooo.scp (revision fdf35928)
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    Dir = gid_Dir_Program;
62    Name = STRING(CONCAT2(libgraphite,UNXSUFFIX));
63    Styles = (NETWORK,RELATIVE);
64End
65
66Shortcut gid_Shortcut_Lib_Graphite_1
67    FileID = gid_File_Lib_Graphite;
68    Dir = gid_Dir_Program;
69    Name = STRING(CONCAT4(libgraphite,UNXSUFFIX,.,3));
70    Styles = (NETWORK,RELATIVE);
71End
72
73Shortcut gid_Shortcut_Lib_Graphite_2
74    FileID = gid_File_Lib_Graphite;
75    Dir = gid_Dir_Program;
76    Name = STRING(CONCAT4(libgraphite,UNXSUFFIX,.,3.0));
77    Styles = (NETWORK,RELATIVE);
78End
79
80#endif
81
82#ifdef MACOSX
83
84Shortcut gid_Shortcut_Lib_Hsqldb_2
85    FileID = gid_File_Lib_Hsqldb_2;
86    Dir = SCP2_OOO_BIN_DIR;
87    Name = "libhsqldb.jnilib";
88    Styles = (NETWORK, RELATIVE);
89End
90
91#endif
92
93#ifdef UNX
94
95// Create links to the fully quantified libraries apr, apr-util, and serf.
96// The major version number is handled in a non-standard way (part of the name).
97// Therefore the hard-coded .0 suffix.
98
99#ifdef APR_MAJOR
100Shortcut gid_Shortcut_Lib_Apr
101    FileID = gid_File_Lib_Apr;
102    Dir = SCP2_OOO_BIN_DIR;
103    #ifdef MACOSX
104        Name = STRING(CONCAT2(libapr-1.0,UNXSUFFIX));
105    #else
106        Name = STRING(CONCAT3(libapr-1,UNXSUFFIX,.0));
107    #endif
108    Styles = (NETWORK,RELATIVE,FORCE_INTO_UPDATE_PACKAGE);
109End
110#endif
111
112#ifdef APR_UTIL_MAJOR
113Shortcut gid_Shortcut_Lib_AprUtil
114    FileID = gid_File_Lib_AprUtil;
115    Dir = SCP2_OOO_BIN_DIR;
116    #ifdef MACOSX
117        Name = STRING(CONCAT2(libaprutil-1.0,UNXSUFFIX));
118    #else
119        Name = STRING(CONCAT3(libaprutil-1,UNXSUFFIX,.0));
120    #endif
121    Styles = (NETWORK,RELATIVE,FORCE_INTO_UPDATE_PACKAGE);
122End
123#endif
124
125#ifdef SERF_MAJOR
126Shortcut gid_Shortcut_Lib_Serf
127    FileID = gid_File_Lib_Serf;
128    Dir = SCP2_OOO_BIN_DIR;
129    #ifdef MACOSX
130        Name = STRING(CONCAT2(libserf-1.0,UNXSUFFIX));
131    #else
132        Name = STRING(CONCAT3(libserf-1,UNXSUFFIX,.0));
133    #endif
134    Styles = (NETWORK,RELATIVE,FORCE_INTO_UPDATE_PACKAGE);
135End
136#endif
137
138#endif
139
140//i44154 -end-
141