Kaydet (Commit) e37eb634 authored tarafından Matúš Kukan's avatar Matúš Kukan Kaydeden (comit) Fridrich Strba

postprocess: convert to gbuild

Change-Id: I6c81fa0f1b8d7273541d5d9883b5fc96a5091bbd
Reviewed-on: https://gerrit.libreoffice.org/1080Reviewed-by: 's avatarFridrich Strba <fridrich@documentfoundation.org>
Tested-by: 's avatarFridrich Strba <fridrich@documentfoundation.org>
üst cc036a9b
......@@ -140,6 +140,7 @@ $(eval $(call gb_Module_add_moduledirs,ooo,\
packimages \
padmin \
$(call gb_Helper_optional,POSTGRESQL,postgresql) \
postprocess \
psprint_config \
$(call gb_Helper_optional,PYTHON,python3) \
$(call gb_Helper_optional,PYUNO,pyuno) \
......
......@@ -54,12 +54,10 @@ $(eval $(call gb_Module_add_targets,avmedia,\
endif
endif
ifeq ($(OS),WNT)
ifneq ($(ENABLE_DIRECTX),)
$(eval $(call gb_Module_add_targets,avmedia,\
Library_avmediawin \
))
endif
endif
# vim: set noet sw=4 ts=4:
......@@ -43,16 +43,12 @@ $(eval $(call gb_Module_add_targets,canvas,\
))
endif
ifeq ($(strip $(OS)),WNT)
ifneq ($(strip $(ENABLE_DIRECTX)),)
ifneq ($(ENABLE_DIRECTX),)
$(eval $(call gb_Module_add_targets,canvas,\
Library_directx9canvas \
Library_gdipluscanvas \
StaticLibrary_directxcanvas \
))
endif
endif
# vim: set noet sw=4 ts=4:
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_CustomTarget_CustomTarget,postprocess/config))
$(eval $(call gb_CustomTarget_register_targets,postprocess/config,\
uiconfig.zip \
))
.PHONY: $(call gb_CustomTarget_get_workdir,postprocess/config)/uiconfig.zip
$(call gb_CustomTarget_get_workdir,postprocess/config)/uiconfig.zip : $(SRCDIR)/postprocess/packconfig/packconfig.pl
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),PRL,2)
$(PERL) $< -i $(OUTDIR)/xml/uiconfig -o $(dir $@)
# vim: set noet sw=4 ts=4:
This diff is collapsed.
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_CustomTarget_CustomTarget,postprocess/signing))
$(eval $(call gb_CustomTarget_register_targets,postprocess/signing,\
signing.done \
))
# PFXFILE and PFXPASSWORD should be set in environment
TIMESTAMPURL ?= "http://timestamp.verisign.com/scripts/timstamp.dll"
$(call gb_CustomTarget_get_workdir,postprocess/signing)/signing.done: \
$(SRCDIR)/postprocess/signing/signing.pl \
$(SRCDIR)/postprocess/signing/no_signing.txt \
$(call gb_CustomTarget_get_workdir,postprocess/signing)/signing.done:
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),PRL,2)
ifeq ($(COM),MSC)
ifeq ($(PRODUCT),full)
$(PERL) $< -e $(SRCDIR)/postprocess/signing/no_signing.txt
-l $(subst .done,_log.txt,$@) \
-f $(PFXFILE) \
-p $(PFXPASSWORD) \
-t $(TIMESTAMPURL) \
$(OUTDIR)/bin/*.dll $(OUTDIR)/bin/so/*.dll \
$(OUTDIR)/bin/*.exe $(OUTDIR)/bin/so/*.exe \
&& touch $@
else
@echo "Doing nothing on non product builds ..."
endif
else
@echo "Nothing to do, signing is Windows (MSC) only."
endif
# vim: set noet sw=4 ts=4:
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
module_directory:=$(dir $(realpath $(firstword $(MAKEFILE_LIST))))
include $(module_directory)/../solenv/gbuild/partial_build.mk
# vim: set noet sw=4 ts=4:
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_Module_Module,postprocess))
# Do not add to tail_build!
# At least CustomTarget_config and CustomTarget_signing would miss dependencies.
# UGLY: postprocess_XCDS variable from CustomTarget_registry
# is reused in Package_registry!
$(eval $(call gb_Module_add_targets,postprocess,\
CustomTarget_config \
CustomTarget_registry \
Package_config \
Package_registry \
Rdb_services \
))
ifeq ($(WINDOWS_BUILD_SIGNING),TRUE)
$(eval $(call gb_Module_add_targets,postprocess,\
CustomTarget_signing \
))
endif
# vim: set noet sw=4 ts=4:
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_Package_Package,postprocess_config,$(call gb_CustomTarget_get_workdir,postprocess/config)))
$(eval $(call gb_Package_add_file,postprocess_config,bin/uiconfig.zip,uiconfig.zip))
$(eval $(call gb_Package_add_files,postprocess_config,bin,\
$(foreach lang,$(gb_UITarget_LANGS),uiconfig_$(lang).zip) \
))
# vim: set noet sw=4 ts=4:
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_Package_Package,postprocess_registry,$(call gb_CustomTarget_get_workdir,postprocess/registry)))
$(eval $(call gb_Package_add_files,postprocess_registry,xml,\
$(postprocess_XCDS) \
$(foreach lang,$(gb_Configuration_LANGS), \
Langpack-$(lang).xcd \
fcfg_langpack_$(lang).xcd \
registry_$(lang).xcd \
) \
))
# vim: set noet sw=4 ts=4:
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_Rdb_Rdb,services))
$(eval $(call gb_Rdb_add_components,services,\
animations/source/animcore/animcore \
avmedia/util/avmedia \
chart2/source/controller/chartcontroller \
chart2/source/chartcore \
canvas/source/factory/canvasfactory \
canvas/source/simplecanvas/simplecanvas \
canvas/source/vcl/vclcanvas \
comphelper/util/comphelp \
configmgr/source/configmgr \
cppcanvas/source/uno/mtfrenderer \
cui/util/cui \
drawinglayer/drawinglayer \
dtrans/util/mcnttype \
embeddedobj/util/embobj \
eventattacher/source/evtatt \
fileaccess/source/fileacc \
filter/source/config/cache/filterconfig1 \
filter/source/flash/flash \
filter/source/msfilter/msfilter \
filter/source/odfflatxml/odfflatxml \
filter/source/pdf/pdffilter \
filter/source/placeware/placeware \
filter/source/svg/svgfilter \
filter/source/t602/t602filter \
filter/source/textfilterdetect/textfd \
filter/source/xmlfilteradaptor/xmlfa \
filter/source/xmlfilterdetect/xmlfd \
filter/source/xsltdialog/xsltdlg \
filter/source/xsltfilter/xsltfilter \
formula/util/for \
fpicker/source/generic/fpicker \
fpicker/source/office/fps_office \
framework/util/fwk \
framework/util/fwl \
framework/util/fwm \
hwpfilter/source/hwp \
i18npool/source/search/i18nsearch \
i18npool/util/i18npool \
lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphen \
lingucomponent/source/languageguessing/guesslang \
lingucomponent/source/spellcheck/spell/spell \
lingucomponent/source/thesaurus/libnth/lnth \
linguistic/source/lng \
lotuswordpro/util/lwpfilter \
oox/util/oox \
package/source/xstor/xstor \
package/util/package2 \
sax/source/expatwrap/expwrap \
sax/source/fastparser/fastsax \
sc/util/sc \
sc/util/scd \
sc/util/scfilt \
scaddins/source/analysis/analysis \
scaddins/source/datefunc/date \
scaddins/source/pricing/pricing \
sd/util/sd \
sd/util/sdd \
sd/util/sdfilt \
sdext/source/presenter/presenter \
sfx2/util/sfx \
slideshow/util/slideshow \
sot/util/sot \
starmath/util/sm \
starmath/util/smd \
svl/source/fsstor/fsstorage \
svl/source/passwordcontainer/passwordcontainer \
svl/util/svl \
svtools/source/hatchwindow/hatchwindowfactory \
svtools/util/svt \
svgio/svgio \
svx/util/svx \
svx/util/svxcore \
svx/util/textconversiondlgs \
sw/util/msword \
sw/util/sw \
sw/util/swd \
toolkit/util/tk \
ucb/source/sorter/srtrs1 \
ucb/source/core/ucb1 \
ucb/source/cacher/cached1 \
ucb/source/ucp/cmis/ucpcmis1 \
ucb/source/ucp/expand/ucpexpand1 \
ucb/source/ucp/ext/ucpext \
ucb/source/ucp/file/ucpfile1 \
ucb/source/ucp/ftp/ucpftp1 \
ucb/source/ucp/hierarchy/ucphier1 \
ucb/source/ucp/package/ucppkg1 \
ucb/source/ucp/tdoc/ucptdoc1 \
UnoControls/util/ctl \
unotools/util/utl \
unoxml/source/rdf/unordf \
unoxml/source/service/unoxml \
uui/util/uui \
xmloff/source/transform/xof \
xmloff/util/xo \
xmlscript/util/xmlscript \
xmlsecurity/util/xmlsecurity \
xmlsecurity/util/xsec_fw \
$(if $(filter-out IOS,$(OS)), \
sccomp/source/solver/solver \
writerfilter/util/writerfilter \
writerperfect/util/wpftwriter \
writerperfect/util/wpftdraw \
) \
$(if $(filter MACOSX,$(OS)), \
$(if $(filter-out X86_64,$(CPUNAME)), \
avmedia/source/quicktime/avmediaQuickTime \
) \
connectivity/source/drivers/macab/macab1 \
lingucomponent/source/spellcheck/macosxspell/MacOSXSpell \
fpicker/source/aqua/fps_aqua \
shell/source/backends/macbe/macbe1 \
vcl/vcl.macosx \
) \
$(if $(filter WNT,$(OS)), \
connectivity/source/drivers/ado/ado \
dtrans/source/generic/dtrans \
dtrans/util/dnd \
dtrans/util/ftransl \
dtrans/util/sysdtrans \
fpicker/source/win32/fps \
shell/source/backends/wininetbe/wininetbe1 \
shell/source/win32/simplemail/smplmail \
shell/source/win32/syssh \
vcl/vcl.windows \
$(if $(SOLAR_JAVA), \
accessibility/bridge/org/openoffice/accessibility/java_uno_accessbridge \
) \
) \
$(if $(filter headless,$(GUIBASE)), \
vcl/vcl.headless \
) \
$(if $(DISABLE_ATL),, \
embeddedobj/source/msole/emboleobj$(if $(filter WNT,$(OS)),.windows) \
$(if $(filter WNT,$(OS)), \
embedserv/util/emser \
extensions/source/ole/oleautobridge \
) \
) \
$(if $(DISABLE_NEON),, \
ucb/source/ucp/webdav-neon/ucpdav1 \
) \
$(if $(DISABLE_PYTHON),, \
pyuno/source/loader/pythonloader \
) \
$(if $(DISABLE_SCRIPTING),, \
basctl/util/basctl \
basic/util/sb \
sc/util/vbaobj \
scripting/source/basprov/basprov \
scripting/source/dlgprov/dlgprov \
scripting/source/protocolhandler/protocolhandler \
scripting/source/pyprov/mailmerge \
wizards/com/sun/star/wizards/fax/fax \
wizards/com/sun/star/wizards/letter/letter \
scripting/source/stringresource/stringresource \
scripting/source/vbaevents/vbaevents \
scripting/util/scriptframe \
sw/util/vbaswobj \
vbahelper/util/msforms \
) \
$(if $(ENABLE_CAIRO_CANVAS), \
canvas/source/cairo/cairocanvas \
) \
$(if $(ENABLE_DIRECTX), \
avmedia/source/win/avmediawin \
canvas/source/directx/directx9canvas \
canvas/source/directx/gdipluscanvas \
) \
$(if $(ENABLE_EVOAB2), \
connectivity/source/drivers/evoab2/evoab \
) \
$(if $(ENABLE_GCONF), \
shell/source/backends/gconfbe/gconfbe1 \
) \
$(if $(ENABLE_GIO), \
shell/source/sessioninstall/losessioninstall \
ucb/source/ucp/gio/ucpgio \
) \
$(if $(ENABLE_GNOMEVFS), \
ucb/source/ucp/gvfs/ucpgvfs \
) \
$(if $(ENABLE_GSTREAMER), \
avmedia/source/gstreamer/avmediagstreamer \
) \
$(if $(ENABLE_GSTREAMER_0_10), \
avmedia/source/gstreamer/avmediagstreamer_0_10 \
) \
$(if $(ENABLE_KAB), \
connectivity/source/drivers/kab/kab1 \
) \
$(if $(ENABLE_KDE), \
shell/source/backends/kdebe/kdebe1 \
) \
$(if $(ENABLE_KDE4), \
shell/source/backends/kde4be/kde4be1 \
) \
$(if $(ENABLE_ONLINE_UPDATE), \
extensions/source/update/check/updchk.uno \
extensions/source/update/ui/updchk \
) \
$(if $(ENABLE_OPENGL), \
slideshow/source/engine/OGLTrans/ogltrans \
) \
$(if $(ENABLE_TDE), \
shell/source/backends/kdebe/tdebe1 \
) \
$(if $(ENABLE_TDEAB), \
connectivity/source/drivers/kab/tdeab1 \
) \
$(if $(SOLAR_JAVA), \
xmerge/source/bridge/XMergeBridge \
scripting/java/ScriptFramework \
scripting/java/ScriptProviderForJava \
wizards/com/sun/star/wizards/agenda/agenda \
wizards/com/sun/star/wizards/form/form \
connectivity/source/drivers/hsqldb/hsqldb \
connectivity/source/drivers/jdbc/jdbc \
wizards/com/sun/star/wizards/query/query \
wizards/com/sun/star/wizards/report/report \
wizards/com/sun/star/wizards/table/table \
wizards/com/sun/star/wizards/web/web \
) \
))
ifeq (DBCONNECTIVITY,$(filter DBCONNECTIVITY,$(BUILD_TYPE)))
$(eval $(call gb_Rdb_add_components,services,\
connectivity/source/drivers/calc/calc \
dbaccess/source/ext/macromigration/dbmm \
dbaccess/source/filter/xml/dbaxml \
dbaccess/util/dba \
dbaccess/util/dbu \
dbaccess/util/sdbt \
forms/util/frm \
reportdesign/util/rpt \
reportdesign/util/rptui \
reportdesign/util/rptxml \
connectivity/source/drivers/dbase/dbase \
connectivity/source/cpool/dbpool2 \
connectivity/source/dbtools/dbtools \
connectivity/source/drivers/flat/flat \
connectivity/source/drivers/mysql/mysql \
connectivity/source/manager/sdbc2 \
shell/source/backends/localebe/localebe1 \
$(if $(filter-out ANDROID IOS,$(OS)),\
connectivity/source/drivers/odbc/odbc \
) \
))
endif # DBCONNECTIVITY
ifeq (DESKTOP,$(filter DESKTOP,$(BUILD_TYPE)))
$(eval $(call gb_Rdb_add_components,services,\
desktop/source/deployment/deployment \
desktop/source/deployment/gui/deploymentgui \
desktop/source/migration/services/migrationoo2 \
desktop/source/migration/services/migrationoo3 \
desktop/source/offacc/offacc \
desktop/source/splash/spl \
extensions/source/abpilot/abp \
extensions/source/bibliography/bib \
extensions/source/config/ldap/ldapbe2 \
extensions/source/dbpilots/dbp \
extensions/source/logging/log \
extensions/source/propctrlr/pcr \
extensions/source/resource/res \
extensions/source/scanner/scn \
extensions/source/update/feed/updatefeed \
xmlhelp/source/treeview/tvhlp1 \
xmlhelp/util/ucpchelp1 \
xmlsecurity/util/xsec_xmlsec$(if $(filter WNT,$(OS)),.windows) \
$(if $(filter-out WNT,$(OS)),\
shell/source/cmdmail/cmdmail \
shell/source/unix/exec/syssh \
) \
$(if $(filter-out MACOSX WNT,$(OS)), \
desktop/unx/splash/splash \
$(if $(filter-out headless,$(GUIBASE)), \
shell/source/backends/desktopbe/desktopbe1 \
vcl/vcl.unx \
) \
) \
))
ifeq ($(OS),WNT)
ifeq ($(WITH_MOZAB4WIN),YES)
$(eval $(call gb_Rdb_add_components,services,\
connectivity/source/drivers/mozab/mozab \
))
else
$(eval $(call gb_Rdb_add_components,services,\
connectivity/source/drivers/mozab/bootstrap/mozbootstrap \
))
endif
else
$(eval $(call gb_Rdb_add_components,services,\
connectivity/source/drivers/mork/mork \
connectivity/source/drivers/mozab/bootstrap/mozbootstrap \
))
endif # WNT
endif # DESKTOP
ifeq ($(ENABLE_NPAPI_FROM_BROWSER),YES)
$(eval $(call gb_Rdb_add_components,services,\
extensions/source/plugin/pl \
))
endif
ifeq ($(ENABLE_PDFIMPORT),TRUE)
$(eval $(call gb_Rdb_add_components,services,\
sdext/source/pdfimport/pdfimport \
))
endif
# vim: set noet sw=4 ts=4:
:
eval 'exec perl -wS $0 ${1+"$@"}'
if 0;
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# This file incorporates work covered by the following license notice:
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed
# with this work for additional information regarding copyright
# ownership. The ASF licenses this file to you under the Apache
# License, Version 2.0 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
#
#
# check_xml.pl - check ui,xml,xcs,xcu files size, NULL character
#
my
$is_debug=0;
my $err = 0;
my $path = $ENV{'SOLARVERSION'} . '/' . $ENV{'INPATH'} . '/xml' . "$ENV{'UPDMINOREXT'}/";
my $pck_path = $ENV{'SOLARVERSION'} . '/' . $ENV{'INPATH'} . '/pck' . "$ENV{'UPDMINOREXT'}/";
my $unzipexe="unzip";
#Path of the directory from which the recursion starts (must have ending '/').
print "Checking:$path\n";
# Initiate the recursion
&RecurseDirs($path);
$err += &check_registry_zips($pck_path);
if ($err > 0)
{
print "Error: $err damaged files encountered\n";
exit(1); # stop dmake
} else
{
print "ok.\n";
}
exit;
#### SUBROUTINES SECTION ####
# Function that recurses through the directory tree calling FileFunction on all files
sub RecurseDirs {
my ($path) = @_;
my $file; #Variable for a file
opendir (DIRECTORY, $path) or
die "Can't read $path\n";
my @all_files = grep (!/^\.\.?$/, readdir (DIRECTORY)); #Read all the files except for '.' and '..'
closedir (DIRECTORY);
foreach $file (@all_files) {
if (-d "$path$file/") {
&RecurseDirs("$path$file/");
} else {
&check($path, $file);
}
}
}
############################################################################
sub check #04.02.2005 13:40
############################################################################
{
my $path = shift;
my $file = shift;
print "$path$file\n" if ((-e "$path$file") && $is_debug);
return if ( $file !~ /.+\.(ui|xcu|xml|xcs)/ ); #check ui, xml and xcu files only
if ( -z "$path$file" ) {
print "Error: $path$file 0 Bytes!\n";
$err++;
} else
{
open( FH, "<$path$file" );
while ( $line = <FH> ) {
#print $line;
if ( $line =~ /\000+/ ) {
print "Error: NULL characters detected in $path$file\n";
$err++;
}
}
close(FH);
}
}
############################################################################
sub check_registry_zips #20.04.2005 18:47
############################################################################
{
my $path = shift;
my $error = 0;
my $commandargs;
opendir (DIRECTORY, $path) or
die "Can't read $path\n";
my @all_files = grep (!/^\.\.?$/, readdir (DIRECTORY)); #Read all the files except for '.' and '..'
closedir (DIRECTORY);
foreach $file (@all_files) {
if ( $file =~ /registry_.+\.zip$/ ) {
$commandargs="$path$file";
# Cygwin's perl needs escaped \ in system() and open( COMMAND ... )
if ( "$^O" eq "cygwin" ) { $commandargs =~ s/\\/\\\\/g; }
print "file=$commandargs\n" if ($is_debug);
open(UNZIP,"$unzipexe -l $commandargs |");
my $ferror = 0;
while ( $line = <UNZIP> ) {
#print $line;
my @param = split(" ",$line);
if ( $param[0] =~ /\d+/ ) {
if ( $param[0] == 0 && $param[3] =~ /.+\.xcu$/)
{
$error++; $ferror=1;
}
}
}
if ( $ferror ) {
print "Error: $commandargs contains files with 0 byte size\n";
}
close(UNZIP);
}
}
($error);
} ##check_registry_zips
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# This file incorporates work covered by the following license notice:
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed
# with this work for additional information regarding copyright
# ownership. The ASF licenses this file to you under the Apache
# License, Version 2.0 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
PRJ=..
PRJNAME=postprocess
TARGET=checkxml
.INCLUDE : settings.mk
.INCLUDE : target.mk
ALLTAR : $(MISC)$/checkxml.done
$(MISC)$/checkxml.done .PHONY:
$(PERL) checkxml.pl
This diff is collapsed.
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# This file incorporates work covered by the following license notice:
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed
# with this work for additional information regarding copyright
# ownership. The ASF licenses this file to you under the Apache
# License, Version 2.0 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
PRJ=..
PRJNAME=postprocess
TARGET=uiconfig
.INCLUDE : settings.mk
.INCLUDE : target.mk
ALLTAR : $(BIN)$/uiconfig.zip
$(BIN)$/uiconfig.zip .PHONY:
$(PERL) packconfig.pl -i $(SOLARXMLDIR)$/uiconfig -o $(BIN)$/
This diff is collapsed.
po postprocess :: CRASHREP:crashrep HELP:helpcontent2 ODK:odk MYSQLC:mysqlc DESKTOP:setup_native STLPORT:stlport sysui tail_build NULL
po postprocess usr1 - all po_mkout NULL
po postprocess\checkxml nmake - all po_checkxml NULL
po postprocess\packconfig nmake - all po_packconfig po_checkxml NULL
po postprocess\packregistry nmake - all po_packregistry NULL
po postprocess\packcomponents nmake - all po_packcomponents NULL
po postprocess\signing nmake - w,sign po_signing NULL
po postprocess\prj nmake - all po_prj NULL
mkdir: %_DEST%\xml\ooo
..\%__SRC%\bin\uiconfig*.zip %_DEST%\bin\
..\%__SRC%\misc\*.xcd %_DEST%\xml\
..\%__SRC%\misc\lang\*.xcd %_DEST%\xml\
..\%__SRC%\misc\scriptproviderforbeanshell.rdb %_DEST%\xml\scriptproviderforbeanshell.rdb
..\%__SRC%\misc\scriptproviderforjavascript.rdb %_DEST%\xml\scriptproviderforjavascript.rdb
..\%__SRC%\misc\services.rdb %_DEST%\xml\services.rdb
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# This file incorporates work covered by the following license notice:
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed
# with this work for additional information regarding copyright
# ownership. The ASF licenses this file to you under the Apache
# License, Version 2.0 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
PRJ=..
PRJNAME=postprocess
TARGET=signing
.INCLUDE : settings.mk
# PFXFILE has to be set elsewhere
# PFXPASSWORD has to be set elsewhere
EXCLUDELIST=no_signing.txt
LOGFILE=$(MISC)$/signing_log.txt
IMAGENAMES=$(SOLARBINDIR)$/*.dll $(SOLARBINDIR)$/so$/*.dll $(SOLARBINDIR)$/*.exe $(SOLARBINDIR)$/so$/*.exe
TIMESTAMPURL*="http://timestamp.verisign.com/scripts/timstamp.dll"
signing.done :
.IF "$(WINDOWS_BUILD_SIGNING)"=="TRUE"
.IF "$(COM)"=="MSC"
.IF "$(product)"=="full"
$(PERL) signing.pl -e $(EXCLUDELIST) -l $(LOGFILE) -f $(PFXFILE) -p $(PFXPASSWORD) -t $(TIMESTAMPURL) $(IMAGENAMES) && $(TOUCH) $(MISC)$/signing.done
.ELSE # "$(product)"=="full"
@echo Doing nothing on non product builds ...
.ENDIF # "$(product)"=="full"
.ELSE # "$(GUI)"=="MSC"
@echo Nothing to do, signing is Windows \(MSC\) only.
.ENDIF # "$(GUI)"=="MSC"
.ELSE # "$(WINDOWS_BUILD_SIGNING)"=="TRUE"
@echo Doing nothing. Windows build signing is disabled ...
.ENDIF # "$(WINDOWS_BUILD_SIGNING)"=="TRUE"
.INCLUDE : target.mk
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