merge the formfield patch from ooo-build
[ooovba.git] / postprocess / signing / makefile.mk
blob503b46d572ef2dfe4e16d9d963809dfbee7a609a
1 #***********************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.3 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
32 PRJ=..
35 PRJNAME=postprocess
36 TARGET=signing
38 .INCLUDE : settings.mk
40 # PFXFILE has to be set elsewhere
41 # PFXPASSWORD has to be set elsewhere
43 EXCLUDELIST=no_signing.txt
44 LOGFILE=$(MISC)$/signing_log.txt
45 IMAGENAMES=$(SOLARBINDIR)$/*.dll $(SOLARBINDIR)$/so$/*.dll $(SOLARBINDIR)$/*.exe $(SOLARBINDIR)$/so$/*.exe
46 TIMESTAMPURL*="http://timestamp.verisign.com/scripts/timstamp.dll"
48 signing.done :
49 .IF "$(VISTA_SIGNING)"!=""
50 .IF "$(COM)"=="MSC"
51 .IF "$(product)"=="full"
52 $(PERL) signing.pl -e $(EXCLUDELIST) -f $(PFXFILE) -p $(PFXPASSWORD) -t $(TIMESTAMPURL) $(IMAGENAMES) && $(TOUCH) $(MISC)$/signing.done
53 .ELSE # "$(product)"=="full"
54 @echo Doing nothing on non product builds ...
55 .ENDIF # "$(product)"=="full"
56 .ELSE # "$(GUI)"=="MSC"
57 @echo Nothing to do, signing is Windows \(MSC\) only.
58 .ENDIF # "$(GUI)"=="MSC"
59 .ELSE # "$(VISTA_SIGNING)"!=""
60 @echo Doing nothing. To switch on signing set VISTA_SIGNING=TRUE ...
61 .ENDIF # "$(VISTA_SIGNING)"!=""
63 .INCLUDE : target.mk