Kaydet (Commit) 05293cb0 authored tarafından Andras Timar's avatar Andras Timar

remove checks for unused BUILD_SPECIAL environment variable

üst d455410a
......@@ -7,8 +7,6 @@ TARGET=gcc3_specific
# ------------------------------------------------------------------
.IF "$(BUILD_SPECIAL)"==""
.IF "$(GUI)" == "WNT"
.IF "$(COM)" == "GCC"
......@@ -84,8 +82,6 @@ $(LB)$/libgcc_s.so.$(SHORTSTDC3) :
.ENDIF
.ENDIF
.ENDIF # "$(BUILD_SPECIAL)"==""
.INCLUDE: target.mk
......@@ -183,13 +183,6 @@ MSIHELPPACKTEMPLATESOURCE=$(PRJ)$/inc_ooohelppack$/windows$/msi_templates
MSIURETEMPLATESOURCE=$(PRJ)$/inc_ure$/windows$/msi_templates
MSISDKOOTEMPLATESOURCE=$(PRJ)$/inc_sdkoo$/windows$/msi_templates
.IF "$(BUILD_SPECIAL)"!=""
MSIOFFICETEMPLATEDIR=$(MSIOFFICETEMPLATESOURCE)
MSILANGPACKTEMPLATEDIR=$(MSILANGPACKTEMPLATESOURCE)
MSIHELPPACKTEMPLATEDIR=$(MSIHELPPACKTEMPLATESOURCE)
MSIURETEMPLATEDIR=$(MSIURETEMPLATESOURCE)
MSISDKOOTEMPLATEDIR=$(MSISDKOOTEMPLATESOURCE)
.ELSE # "$(BUILD_SPECIAL)"!=""
NOLOGOSPLASH:=$(BIN)$/intro.zip
DEVNOLOGOSPLASH:=$(BIN)$/dev$/intro.zip
MSIOFFICETEMPLATEDIR=$(MISC)$/openoffice$/msi_templates
......@@ -236,8 +229,6 @@ $(foreach,i,$(allhelplangiso) oxygenofficehelppack_$i) : $(ADDDEPS)
$(MAKETARGETS) : $(ADDDEPS)
.ENDIF # "$(MAKETARGETS)"!=""
.ENDIF # "$(BUILD_SPECIAL)"!=""
$(foreach,i,$(alllangiso) openoffice_$i) : $$@{$(PKGFORMAT:^".")}
.IF "$(MAKETARGETS)"!=""
.IF "$(MAKETARGETS:e)"=="" && "$(MAKETARGETS:s/_//)"!="$(MAKETARGETS)"
......
......@@ -201,10 +201,6 @@ my_components += pythonloader
my_components += component/desktop/unx/splash/splash
.ENDIF
.IF "$(BUILD_SPECIAL)" != ""
my_components += oooimprovement
.END
.IF "$(DISABLE_ATL)" == ""
my_components += emboleobj
.END
......
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
*
************************************************************************/
#include "macros.inc"
#if defined(BUILD_SPECIAL)
File gid_File_Share_Registry_Oooimprovement_Xcd
TXT_FILE_BODY;
Styles = (PACKED);
Dir = gid_Dir_Share_Registry;
Name = "oooimprovement.xcd";
End
#endif
#if defined(BUILD_SPECIAL)
STD_LIB_FILE( gid_File_Lib_Oooimprovement , oooimprovement)
#endif
......@@ -2156,13 +2156,3 @@ File gid_File_Extension_Dictionary_Zu
UnixRights = 444;
End
#endif
// #ifdef BUILD_SPECIAL
// File gid_File_Extension_Oxt_Oooimprovement
// Name = "OOoImprovement.oxt";
// Dir = gid_Brand_Dir_Share_Extensions_Oooimprovement;
// Styles = (PACKED, ARCHIVE);
// UnixRights = 444;
// End
// #endif
......@@ -41,10 +41,6 @@ TARGETTYPE=CUI
SCPDEFS+=-D_MSC
.ENDIF
.IF "$(BUILD_SPECIAL)"!=""
SCPDEFS+=-DBUILD_SPECIAL
.ENDIF
.IF "$(ENABLE_ONLINE_UPDATE)"!=""
SCPDEFS+=-DENABLE_ONLINE_UPDATE
.ENDIF
......@@ -308,7 +304,6 @@ PARFILES= \
file_font_ooo.par \
file_library_ooo.par \
file_resource_ooo.par \
file_improvement.par \
shortcut_ooo.par \
module_ooo.par \
module_hidden_ooo.par \
......@@ -318,7 +313,6 @@ PARFILES= \
module_help_template.par \
module_java.par \
module_systemint.par \
module_improvement.par \
profile_ooo.par \
profileitem_ooo.par \
ure.par \
......
......@@ -868,15 +868,3 @@ Module gid_Module_Root_Userland
PackageName = "${USERLANDPACKAGENAME}";
End
#endif
// #ifdef BUILD_SPECIAL
// Module gid_Module_Root_Extension_Oooimprovement
// Name = "gid_Module_Root_Extension_Oooimprovement";
// Description = "gid_Module_Root_Extension_Oooimprovement";
// Files = (gid_File_Extension_Oxt_Oooimprovement);
// InstallOrder = "1990";
// PackageInfo = "packinfo_office.txt";
// ParentID = gid_Module_Root;
// Styles = (HIDDEN_ROOT);
// End
// #endif
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
*
************************************************************************/
#include "macros.inc"
// OOo improvement module
#if defined(BUILD_SPECIAL)
Module gid_Module_Oooimprovement
PackageInfo = "packinfo_office.txt";
Name = "gid_Module_Oooimprovement";
Description = "gid_Module_Oooimprovement";
ParentID = gid_Module_Root;
Default = YES;
Styles = (HIDDEN_ROOT);
Files = (gid_File_Share_Registry_Oooimprovement_Xcd, gid_File_Lib_Oooimprovement);
End
#endif
......@@ -52,10 +52,6 @@ ProfileItem gid_Brand_Profileitem_Bootstrap_Errorreport_Server
Section = "ErrorReport";
Order = 8;
Key = "ErrorReportServer";
#if defined(BUILD_SPECIAL)
Value = "report.libreoffice.org";
#else
Value = "";
#endif
End
......@@ -282,11 +282,7 @@ End
#ifdef MACOSX
ScpAction scp_Copy_Dmg_Background_Image
#if defined(BUILD_SPECIAL)
Copy = "osxdndinstall.png";
#else
Copy = "osxdndinstall_nologo.png";
#endif
Name = "background.png";
UnixRights = 444;
Styles = ();
......
......@@ -30,21 +30,13 @@
#if defined(WITH_VC_REDIST)
ScpAction scp_Copy_vcredist_x86
#if defined(BUILD_SPECIAL)
Copy = "vcredist_x86_9.0.30729.4148.exe";
#else
Copy = "vcredist_x86.exe";
#endif
Name = "vcredist_x86.exe";
Subdir = "redist";
End
ScpAction scp_Copy_vcredist_x64
#if defined(BUILD_SPECIAL)
Copy = "vcredist_x64_9.0.30729.4148.exe";
#else
Copy = "vcredist_x64.exe";
#endif
Name = "vcredist_x64.exe";
Subdir = "redist";
End
......
......@@ -111,8 +111,6 @@ SCP1FILES += \
SCP1FILES += \
ure_into_ooo.par \
ure.par \
module_improvement.par \
file_improvement.par \
common_brand.par \
common_brand_readme.par \
ooo_brand.par
......@@ -305,8 +303,6 @@ SCP2FILES += \
SCP2FILES += \
ure_into_ooo.par \
ure.par \
module_improvement.par \
file_improvement.par \
common_brand.par \
common_brand_readme.par \
ooo_brand.par
......
......@@ -30,7 +30,6 @@ mkdir: %_DEST%\bin\osolsmf
..\source\mac\*.icns %_DEST%\bin\*.icns
..\source\mac\Info.plist.langpack %_DEST%\bin\Info.plist.langpack
..\source\mac\ooo\osxdndinstall.png %_DEST%\bin\osl\osxdndinstall.png
..\source\mac\ooo\osxdndinstall_nologo.png %_DEST%\bin\osl\osxdndinstall_nologo.png
..\source\mac\ooo\DS_Store %_DEST%\bin\osl\DS_Store
..\source\mac\ooo\DS_Store_Langpack %_DEST%\bin\osl\DS_Store_Langpack
..\source\java\javaversion.dat %_DEST%\bin\javaversion.dat
......
......@@ -668,13 +668,6 @@ sub set_default_productversion_if_required
{
$allvariables->{'PRODUCTVERSION'} = 1; # FAKE
}
# Creating differentiators for BUILD_SPECIAL in layering
if ( ! $ENV{'BUILD_SPECIAL'} )
{
if ( $allvariables->{'REGISTRYLAYERNAME'} ) { $allvariables->{'REGISTRYLAYERNAME'} = $allvariables->{'REGISTRYLAYERNAME'} . "_"; }
if (( $installer::globals::iswindowsbuild ) && ( $allvariables->{'BASISROOTNAME'} )) { $allvariables->{'BASISROOTNAME'} = $allvariables->{'BASISROOTNAME'} . "_"; }
}
}
####################################################
......
......@@ -92,31 +92,13 @@ $(OBJ)/%.obj : %.cc
.ENDIF
.IF "$(ENABLE_PCH)"!=""
# workaround for file locking problems on network volumes
.IF "$(NETWORK_BUILD)"==""
PCHOUTDIR=$(SLO)/pch
PCHEXOUTDIR=$(SLO)/pch_ex
.ELSE # "$(NETWORK_BUILD)"==""
PCHOUTDIR=$(TMP)/$(BUILD)$(PRJNAME)$(PROEXT)
PCHEXOUTDIR=$(TMP)/$(BUILD)$(PRJNAME)_ex$(PROEXT)
.ENDIF # "$(NETWORK_BUILD)"==""
$(SLO)/precompiled.% .PHONY:
-$(MKDIRHIER) $(SLO)/pch
.IF "$(COM)"=="MSC"
.IF "$(NETWORK_BUILD)"!=""
-$(MKDIRHIER) $(PCHOUTDIR)
.IF "$(HAVE_BIG_TMP)"==""
$(COMMAND_ECHO)-$(COPY) $(SLO)/pch/precompiled_$(PRJNAME).hxx$(PCHPOST) $(PCHOUTDIR)/precompiled_$(PRJNAME).hxx$(PCHPOST)
.ENDIF # "$(HAVE_BIG_TMP)"==""
.ENDIF # "$(NETWORK_BUILD)"!=""
$(COMMAND_ECHO)$(CXX) @$(mktmp -Fp$(PCHOUTDIR)/precompiled_$(PRJNAME).hxx$(PCHPOST) $(CFLAGS_CREATE_PCH) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(CFLAGS_NO_EXCEPTIONS) -DEXCEPTIONS_OFF $(CFLAGSAPPEND) $(INCPCH)/precompiled_$(PRJNAME).cxx)
.IF "$(NETWORK_BUILD)"!=""
$(COMMAND_ECHO)$(COPY) $(PCHOUTDIR)/precompiled_$(PRJNAME).hxx$(PCHPOST) $(SLO)/pch/precompiled_$(PRJNAME).hxx$(PCHPOST)
.IF "$(HAVE_BIG_TMP)"==""
$(COMMAND_ECHO)$(RM) $(PCHOUTDIR)/precompiled_$(PRJNAME).hxx$(PCHPOST)
$(COMMAND_ECHO)$(RMDIR) $(PCHOUTDIR)
.ENDIF # "$(HAVE_BIG_TMP)"==""
.ENDIF # "$(NETWORK_BUILD)"!=""
.ELIF "$(COM)"=="GCC" && "$(CCNUMVER)">="000300040000"
$(COMMAND_ECHO)$(CXX) -o$(SLO)/pch/precompiled_$(PRJNAME).hxx$(PCHPOST) $(CFLAGS_CREATE_PCH) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(CFLAGS_NO_EXCEPTIONS) -DEXCEPTIONS_OFF $(CFLAGSAPPEND) $(INCPCH)/precompiled_$(PRJNAME).hxx
@echo "#error Tried to use wrong precompiled header" > $(SLO)/pch/precompiled_$(PRJNAME).hxx
......@@ -128,20 +110,7 @@ $(SLO)/precompiled.% .PHONY:
$(SLO)/precompiled_ex.% .PHONY:
-$(MKDIRHIER) $(SLO)/pch_ex
.IF "$(COM)"=="MSC"
.IF "$(NETWORK_BUILD)"!=""
-$(MKDIRHIER) $(PCHEXOUTDIR)
.IF "$(HAVE_BIG_TMP)"==""
$(COMMAND_ECHO)-$(COPY) $(SLO)/pch_ex/precompiled_$(PRJNAME).hxx$(PCHPOST) $(PCHEXOUTDIR)/precompiled_$(PRJNAME).hxx$(PCHPOST)
.ENDIF # "$(HAVE_BIG_TMP)"==""
.ENDIF # "$(NETWORK_BUILD)"!=""
$(COMMAND_ECHO)$(CXX) @$(mktmp -Fp$(PCHEXOUTDIR)/precompiled_$(PRJNAME).hxx$(PCHPOST) $(CFLAGS_CREATE_PCH:s/pchname/pchname_ex/) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(CFLAGSEXCEPTIONS) -DEXCEPTIONS_ON $(CFLAGSAPPEND) $(INCPCH)/precompiled_$(PRJNAME).cxx)
.IF "$(NETWORK_BUILD)"!=""
$(COMMAND_ECHO)$(COPY) $(PCHEXOUTDIR)/precompiled_$(PRJNAME).hxx$(PCHPOST) $(SLO)/pch_ex/precompiled_$(PRJNAME).hxx$(PCHPOST)
.IF "$(HAVE_BIG_TMP)"==""
$(COMMAND_ECHO)$(RM) $(PCHEXOUTDIR)/precompiled_$(PRJNAME).hxx$(PCHPOST)
$(COMMAND_ECHO)$(RMDIR) $(PCHEXOUTDIR)
.ENDIF # "$(HAVE_BIG_TMP)"==""
.ENDIF # "$(NETWORK_BUILD)"!=""
.ELIF "$(COM)"=="GCC" && "$(CCNUMVER)">="000300040000"
$(COMMAND_ECHO)$(CXX) -o$(SLO)/pch_ex/precompiled_$(PRJNAME).hxx$(PCHPOST) $(CFLAGS_CREATE_PCH) $(CFLAGS) $(INCLUDE) $(CFLAGSCXX) $(CFLAGSCXXSLO) $(CFLAGSSLO) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $(CFLAGSEXCEPTIONS) -DEXCEPTIONS_ON $(CFLAGSAPPEND) $(INCPCH)/precompiled_$(PRJNAME).hxx
@echo "#error Tried to use wrong precompiled header" > $(SLO)/pch_ex/precompiled_$(PRJNAME).hxx
......
......@@ -42,12 +42,6 @@ force_dmake_to_error
ENABLE_PCH=TRUE
.ENDIF # "$(USE_PCH)"!=""
.IF "$(ENABLE_PCH)"!="" && "$(BUILD_SPECIAL)"!=""
.IF "$(SOLARSRC)"=="$(SRC_ROOT)"
NETWORK_BUILD:=TRUE
.ENDIF # "$(SOLARSRC)"=="$(SRC_ROOT)"
.ENDIF # "$(ENABLE_PCH)"!="" && "$(BUILD_SPECIAL)"!=""
.INCLUDE : unitools.mk
.INCLUDE : minor.mk
......@@ -973,10 +967,6 @@ RSCUPDVERDEF=-DUPDVER="$(RSCUPDVER)"
RSCFLAGS=-s
RSCDEFS=-D$(GUI) -D$(GVER) -D$(COM) $(JAVADEF)
.IF "$(BUILD_SPECIAL)"!=""
RSCDEFS+=-DBUILD_SPECIAL=$(BUILD_SPECIAL)
.ENDIF
RSCDEFIMG*=default_images
RSCEXTINC=.
......
......@@ -798,7 +798,7 @@ sub mMakeGeneralOptionsAPI
gAutoUpdate = FALSE
endcatch
'///+ OOo Improvement - only if BUILD_SPECIAL is set we have this file created.
'///+ OOo Improvement - currently not used in LibreOffice
sTempPath = gOfficeBasisPath & "share/registry/oooimprovement.xcd"
sTempPath = ConvertPath( sTempPath )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment