xref: /aoo42x/main/scp2/source/sdkoo/sdkoo.scp (revision cdf0e10c)
1*cdf0e10cSrcweir/*************************************************************************
2*cdf0e10cSrcweir*
3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir *
5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir *
7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir *
9*cdf0e10cSrcweir * This file is part of OpenOffice.org.
10*cdf0e10cSrcweir *
11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir * only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir *
15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir *
21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir * version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir * for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir *
26*cdf0e10cSrcweir************************************************************************/
27*cdf0e10cSrcweir
28*cdf0e10cSrcweir#include "macros.inc"
29*cdf0e10cSrcweir
30*cdf0e10cSrcweirInstallation gid_Installation_Sdk
31*cdf0e10cSrcweir    ProductName = "${PRODUCTNAME}";
32*cdf0e10cSrcweir    ProductVersion = "${PRODUCTVERSION}";
33*cdf0e10cSrcweir    ProductExtension = "${PRODUCTEXTENSION}";
34*cdf0e10cSrcweir    OOoBaseVersion = "${OOOBASEVERSION}";
35*cdf0e10cSrcweir#if defined WNT
36*cdf0e10cSrcweir    DefaultDestPath = "<winprogpath>\%PRODUCTNAME";
37*cdf0e10cSrcweir#else
38*cdf0e10cSrcweir    DefaultDestPath = "/opt/%PRODUCTNAME";
39*cdf0e10cSrcweir#endif
40*cdf0e10cSrcweirEnd
41*cdf0e10cSrcweir
42*cdf0e10cSrcweirDataCarrier gid_Datacarrier
43*cdf0e10cSrcweir    Name = "%PRODUCTNAME %PRODUCTVERSION";
44*cdf0e10cSrcweir    DiskNo = 1;
45*cdf0e10cSrcweirEnd
46*cdf0e10cSrcweir
47*cdf0e10cSrcweir#ifndef MACOSX
48*cdf0e10cSrcweir
49*cdf0e10cSrcweir#ifdef WNT
50*cdf0e10cSrcweirDirectory gid_Dir_Sdkoo_Root
51*cdf0e10cSrcweir    ParentID = PREDEFINED_PROGDIR;
52*cdf0e10cSrcweir    HostName = "${PRODUCTNAME}_${PRODUCTVERSION}_${POSTVERSIONEXTENSION}";
53*cdf0e10cSrcweir    Styles = (OFFICEDIRECTORY, ISINSTALLLOCATION);
54*cdf0e10cSrcweirEnd
55*cdf0e10cSrcweir#endif
56*cdf0e10cSrcweir
57*cdf0e10cSrcweir#ifndef WNT
58*cdf0e10cSrcweirDirectory gid_Dir_Ooo_Openofficeorg_Sdk
59*cdf0e10cSrcweir    ParentID = PREDEFINED_PROGDIR;
60*cdf0e10cSrcweir  #ifdef WNT
61*cdf0e10cSrcweir    HostName = "${BASISROOTNAME}";
62*cdf0e10cSrcweir  #else
63*cdf0e10cSrcweir    HostName = "${UNIXBASISROOTNAME}";
64*cdf0e10cSrcweir  #endif
65*cdf0e10cSrcweirEnd
66*cdf0e10cSrcweir#endif
67*cdf0e10cSrcweir
68*cdf0e10cSrcweir#ifndef WNT
69*cdf0e10cSrcweirDirectory gid_Dir_Ooo_Basis_Sdk
70*cdf0e10cSrcweir    ParentID = gid_Dir_Ooo_Openofficeorg_Sdk;
71*cdf0e10cSrcweir  #ifdef WNT
72*cdf0e10cSrcweir    HostName = "Basis ${OOOBASEVERSION}";
73*cdf0e10cSrcweir  #else
74*cdf0e10cSrcweir    HostName = "basis${OOOBASEVERSION}";
75*cdf0e10cSrcweir  #endif
76*cdf0e10cSrcweir    Styles = (BASISDIRECTORY);
77*cdf0e10cSrcweirEnd
78*cdf0e10cSrcweir#endif
79*cdf0e10cSrcweir
80*cdf0e10cSrcweir#endif
81*cdf0e10cSrcweir
82*cdf0e10cSrcweirDirectory gid_Dir_Basis_Sdk
83*cdf0e10cSrcweir#if defined MACOSX
84*cdf0e10cSrcweir    ParentID = PREDEFINED_PROGDIR;
85*cdf0e10cSrcweir    // DosName = "OpenOffice.org${OOOBASEVERSION}_SDK";
86*cdf0e10cSrcweir    DosName = "OpenOffice.org_SDK";
87*cdf0e10cSrcweir#else
88*cdf0e10cSrcweir  #if defined WNT
89*cdf0e10cSrcweir    ParentID = gid_Dir_Sdkoo_Root;
90*cdf0e10cSrcweir  #else
91*cdf0e10cSrcweir    ParentID = gid_Dir_Ooo_Basis_Sdk;
92*cdf0e10cSrcweir  #endif
93*cdf0e10cSrcweir    DosName = "sdk";
94*cdf0e10cSrcweir#endif
95*cdf0e10cSrcweirEnd
96*cdf0e10cSrcweir
97*cdf0e10cSrcweir
98*cdf0e10cSrcweir#if defined MACOSX
99*cdf0e10cSrcweirScpAction scp_Copy_License_Html_Sdk
100*cdf0e10cSrcweir    README_TXT_ALL_LANG(Copy, LICENSE, html);
101*cdf0e10cSrcweir    README_TXT_ALL_LANG(Name, LICENSE, html);
102*cdf0e10cSrcweir    Styles = (SCPZIP_REPLACE);
103*cdf0e10cSrcweir    Subdir = "LICENSEs";
104*cdf0e10cSrcweirEnd
105*cdf0e10cSrcweir
106*cdf0e10cSrcweirScpAction scp_Copy_License_Txt_Sdk
107*cdf0e10cSrcweir    README_ALL_LANG(Copy, LICENSE);
108*cdf0e10cSrcweir    README_ALL_LANG(Name, LICENSE);
109*cdf0e10cSrcweir    Styles = (SCPZIP_REPLACE);
110*cdf0e10cSrcweir    Subdir = "LICENSEs";
111*cdf0e10cSrcweirEnd
112*cdf0e10cSrcweir#endif
113*cdf0e10cSrcweir
114*cdf0e10cSrcweir
115*cdf0e10cSrcweirDirectory gid_Dir_Share_Sdk
116*cdf0e10cSrcweir    ParentID = gid_Dir_Basis_Sdk;
117*cdf0e10cSrcweir    DosName = "share";
118*cdf0e10cSrcweirEnd
119*cdf0e10cSrcweir
120*cdf0e10cSrcweirDirectory gid_Dir_Share_Readme_Sdk
121*cdf0e10cSrcweir    ParentID = gid_Dir_Share_Sdk;
122*cdf0e10cSrcweir    DosName = "readme";
123*cdf0e10cSrcweirEnd
124*cdf0e10cSrcweir
125*cdf0e10cSrcweir
126*cdf0e10cSrcweirModule gid_Module_Root
127*cdf0e10cSrcweir    Name = "sdkoo";
128*cdf0e10cSrcweir    Description = "sdkoo";
129*cdf0e10cSrcweir    PackageInfo = "packinfo_sdkoo.txt";
130*cdf0e10cSrcweirEnd
131*cdf0e10cSrcweir
132*cdf0e10cSrcweir
133*cdf0e10cSrcweirFile gid_File_Txt_License
134*cdf0e10cSrcweir    TXT_FILE_BODY;
135*cdf0e10cSrcweir    Dir = gid_Dir_Share_Readme_Sdk;
136*cdf0e10cSrcweir  #ifdef UNX
137*cdf0e10cSrcweir    Name = "LICENSE_en-US";
138*cdf0e10cSrcweir  #endif
139*cdf0e10cSrcweir  #ifdef WNT
140*cdf0e10cSrcweir    Name = "license_en-US.txt";
141*cdf0e10cSrcweir  #endif
142*cdf0e10cSrcweir    Styles = (PACKED, SCPZIP_REPLACE);
143*cdf0e10cSrcweirEnd
144*cdf0e10cSrcweir
145*cdf0e10cSrcweirFile gid_File_Txt_License_Html
146*cdf0e10cSrcweir    TXT_FILE_BODY;
147*cdf0e10cSrcweir    Dir = gid_Dir_Share_Readme_Sdk;
148*cdf0e10cSrcweir  #ifdef UNX
149*cdf0e10cSrcweir    Name = "LICENSE_en-US.html";
150*cdf0e10cSrcweir  #endif
151*cdf0e10cSrcweir  #ifdef WNT
152*cdf0e10cSrcweir    Name = "license_en-US.html";
153*cdf0e10cSrcweir  #endif
154*cdf0e10cSrcweir    Styles = (PACKED, SCPZIP_REPLACE);
155*cdf0e10cSrcweirEnd
156*cdf0e10cSrcweir
157*cdf0e10cSrcweirFile gid_File_Txt_Readme
158*cdf0e10cSrcweir    TXT_FILE_BODY;
159*cdf0e10cSrcweir    Dir = gid_Dir_Share_Readme_Sdk;
160*cdf0e10cSrcweir  #ifdef UNX
161*cdf0e10cSrcweir    Name = "README_en-US";
162*cdf0e10cSrcweir  #endif
163*cdf0e10cSrcweir  #ifdef WNT
164*cdf0e10cSrcweir    Name = "readme_en-US.txt";
165*cdf0e10cSrcweir  #endif
166*cdf0e10cSrcweir    Styles = (PACKED, SCPZIP_REPLACE);
167*cdf0e10cSrcweirEnd
168*cdf0e10cSrcweir
169*cdf0e10cSrcweirFile gid_File_Txt_Readme_Html
170*cdf0e10cSrcweir    TXT_FILE_BODY;
171*cdf0e10cSrcweir    Dir = gid_Dir_Share_Readme_Sdk;
172*cdf0e10cSrcweir  #ifdef UNX
173*cdf0e10cSrcweir    Name = "README_en-US.html";
174*cdf0e10cSrcweir  #endif
175*cdf0e10cSrcweir  #ifdef WNT
176*cdf0e10cSrcweir    Name = "readme_en-US.html";
177*cdf0e10cSrcweir  #endif
178*cdf0e10cSrcweir    Styles = (PACKED, SCPZIP_REPLACE);
179*cdf0e10cSrcweirEnd
180*cdf0e10cSrcweir
181*cdf0e10cSrcweir
182*cdf0e10cSrcweirFile gid_File_Zip_Odkexamples
183*cdf0e10cSrcweir    TXT_FILE_BODY;
184*cdf0e10cSrcweir    Dir = gid_Dir_Basis_Sdk;
185*cdf0e10cSrcweir    Name = "odkexamples.zip";
186*cdf0e10cSrcweir    Styles = (ARCHIVE,USE_INTERNAL_RIGHTS);
187*cdf0e10cSrcweirEnd
188*cdf0e10cSrcweir
189*cdf0e10cSrcweir
190*cdf0e10cSrcweirFile gid_File_Zip_Odkcommon
191*cdf0e10cSrcweir    TXT_FILE_BODY;
192*cdf0e10cSrcweir    Dir = gid_Dir_Basis_Sdk;
193*cdf0e10cSrcweir    Name = "odkcommon.zip";
194*cdf0e10cSrcweir    Styles = (ARCHIVE,USE_INTERNAL_RIGHTS);
195*cdf0e10cSrcweirEnd
196*cdf0e10cSrcweir
197*cdf0e10cSrcweir#if (!defined(WNT) && !defined( MACOSX) )
198*cdf0e10cSrcweirDirectory gid_Dir_Lib_Sdk
199*cdf0e10cSrcweir    Styles = (CREATE);
200*cdf0e10cSrcweir    ParentID = gid_Dir_Basis_Sdk;
201*cdf0e10cSrcweir    DosName = "lib";
202*cdf0e10cSrcweirEnd
203*cdf0e10cSrcweir#endif
204*cdf0e10cSrcweir
205*cdf0e10cSrcweir#if (!defined(WNT) && !defined( MACOSX) )
206*cdf0e10cSrcweirUnixlink gid_Unixlink_Sal_Link_Sdk
207*cdf0e10cSrcweir    BIN_FILE_BODY;
208*cdf0e10cSrcweir    Styles = ();
209*cdf0e10cSrcweir    Name = SCP2_URE_DL_UNO_NORMAL("sal");
210*cdf0e10cSrcweir    Dir = gid_Dir_Lib_Sdk;
211*cdf0e10cSrcweir    Target = "../../ure-link/lib/" SCP2_URE_DL_UNO_VER("sal", "3");
212*cdf0e10cSrcweirEnd
213*cdf0e10cSrcweir#endif
214*cdf0e10cSrcweir
215*cdf0e10cSrcweir#if (!defined(WNT) && !defined( MACOSX) )
216*cdf0e10cSrcweirUnixlink gid_Unixlink_Salhelper_Link_Sdk
217*cdf0e10cSrcweir    BIN_FILE_BODY;
218*cdf0e10cSrcweir    Styles = ();
219*cdf0e10cSrcweir    Name = SCP2_URE_DL_UNO_COMID_NORMAL("salhelper");
220*cdf0e10cSrcweir    Dir = gid_Dir_Lib_Sdk;
221*cdf0e10cSrcweir    Target = "../../ure-link/lib/" SCP2_URE_DL_UNO_COMID_VER("salhelper", "3");
222*cdf0e10cSrcweirEnd
223*cdf0e10cSrcweir#endif
224*cdf0e10cSrcweir
225*cdf0e10cSrcweir#if (!defined(WNT) && !defined( MACOSX) )
226*cdf0e10cSrcweirUnixlink gid_Unixlink_Cppu_Link_Sdk
227*cdf0e10cSrcweir    BIN_FILE_BODY;
228*cdf0e10cSrcweir    Styles = ();
229*cdf0e10cSrcweir    Name = SCP2_URE_DL_UNO_NORMAL("cppu");
230*cdf0e10cSrcweir    Dir = gid_Dir_Lib_Sdk;
231*cdf0e10cSrcweir    Target = "../../ure-link/lib/" SCP2_URE_DL_UNO_VER("cppu", "3");
232*cdf0e10cSrcweirEnd
233*cdf0e10cSrcweir#endif
234*cdf0e10cSrcweir
235*cdf0e10cSrcweir#if (!defined(WNT) && !defined( MACOSX) )
236*cdf0e10cSrcweirUnixlink gid_Unixlink_Cppuhelper_Link_Sdk
237*cdf0e10cSrcweir    BIN_FILE_BODY;
238*cdf0e10cSrcweir    Styles = ();
239*cdf0e10cSrcweir    // Styles = (LAYERLINK);
240*cdf0e10cSrcweir    Name = SCP2_URE_DL_UNO_COMID_NORMAL("cppuhelper");
241*cdf0e10cSrcweir    Dir = gid_Dir_Lib_Sdk;
242*cdf0e10cSrcweir    Target = "../../ure-link/lib/" SCP2_URE_DL_UNO_COMID_VER("cppuhelper", "3");
243*cdf0e10cSrcweirEnd
244*cdf0e10cSrcweir#endif
245*cdf0e10cSrcweir
246*cdf0e10cSrcweir#if (!defined(WNT) && !defined( MACOSX) )
247*cdf0e10cSrcweirUnixlink gid_Unixlink_Purpenvhelper_Link_Sdk
248*cdf0e10cSrcweir    BIN_FILE_BODY;
249*cdf0e10cSrcweir    Styles = ();
250*cdf0e10cSrcweir    Name = SCP2_URE_DL_UNO_COMID_NORMAL("purpenvhelper");
251*cdf0e10cSrcweir    Dir = gid_Dir_Lib_Sdk;
252*cdf0e10cSrcweir    Target = "../../ure-link/lib/" SCP2_URE_DL_UNO_COMID_VER("purpenvhelper", "3");
253*cdf0e10cSrcweirEnd
254*cdf0e10cSrcweir#endif
255