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