1#************************************************************************* 2# 3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4# 5# Copyright 2000, 2010 Oracle and/or its affiliates. 6# 7# OpenOffice.org - a multi-platform office productivity suite 8# 9# This file is part of OpenOffice.org. 10# 11# OpenOffice.org is free software: you can redistribute it and/or modify 12# it under the terms of the GNU Lesser General Public License version 3 13# only, as published by the Free Software Foundation. 14# 15# OpenOffice.org is distributed in the hope that it will be useful, 16# but WITHOUT ANY WARRANTY; without even the implied warranty of 17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18# GNU Lesser General Public License version 3 for more details 19# (a copy is included in the LICENSE file that accompanied this code). 20# 21# You should have received a copy of the GNU Lesser General Public License 22# version 3 along with OpenOffice.org. If not, see 23# <http://www.openoffice.org/license.html> 24# for a copy of the LGPLv3 License. 25# 26#************************************************************************* 27 28PRJ=.. 29PRJPCH= 30 31PRJNAME=offapi 32TARGET=offapi_db 33 34 35# --- Settings ----------------------------------------------------- 36 37.INCLUDE : makefile.pmk 38 39# ------------------------------------------------------------------ 40UNOIDLDBFILES= \ 41 $(UCR)$/cssauth.db \ 42 $(UCR)$/cssawt.db \ 43 $(UCR)$/cssawttree.db \ 44 $(UCR)$/cssawtgrid.db \ 45 $(UCR)$/cssawttab.db \ 46 $(UCR)$/csschart.db \ 47 $(UCR)$/csschart2.db \ 48 $(UCR)$/csschart2data.db \ 49 $(UCR)$/cssconfiguration.db \ 50 $(UCR)$/csscbootstrap.db\ 51 $(UCR)$/csscbackend.db\ 52 $(UCR)$/csscbxml.db\ 53 $(UCR)$/cssdatatransfer.db \ 54 $(UCR)$/cssdeployment.db \ 55 $(UCR)$/cssdeploymenttest.db \ 56 $(UCR)$/cssdeploymentui.db \ 57 $(UCR)$/cssdclipboard.db \ 58 $(UCR)$/cssddnd.db \ 59 $(UCR)$/cssdocument.db \ 60 $(UCR)$/cssdrawing.db \ 61 $(UCR)$/cssdframework.db \ 62 $(UCR)$/cssgeometry.db \ 63 $(UCR)$/cssrendering.db \ 64 $(UCR)$/cssembed.db \ 65 $(UCR)$/cssfcontrol.db \ 66 $(UCR)$/cssfinsp.db \ 67 $(UCR)$/cssfrunt.db \ 68 $(UCR)$/cssform.db \ 69 $(UCR)$/cssxforms.db \ 70 $(UCR)$/cssfcomp.db \ 71 $(UCR)$/cssfbinding.db \ 72 $(UCR)$/cssfvalidation.db \ 73 $(UCR)$/cssfsubmission.db \ 74 $(UCR)$/cssformula.db \ 75 $(UCR)$/cssgraphic.db \ 76 $(UCR)$/cssinstallation.db \ 77 $(UCR)$/cssi18n.db \ 78 $(UCR)$/cssldap.db \ 79 $(UCR)$/csslinguistic2.db \ 80 $(UCR)$/csslogging.db \ 81 $(UCR)$/cssmail.db \ 82 $(UCR)$/cssmedia.db \ 83 $(UCR)$/cssmozilla.db \ 84 $(UCR)$/cssoooimprovement.db \ 85 $(UCR)$/csspackages.db \ 86 $(UCR)$/cssmanifest.db \ 87 $(UCR)$/csszippackage.db \ 88 $(UCR)$/cssplugin.db \ 89 $(UCR)$/csspresentation.db \ 90 $(UCR)$/cssanimations.db \ 91 $(UCR)$/cssresource.db \ 92 $(UCR)$/csssax.db \ 93 $(UCR)$/cssdom.db \ 94 $(UCR)$/cssxpath.db \ 95 $(UCR)$/cssdomviews.db \ 96 $(UCR)$/cssdomevents.db \ 97 $(UCR)$/cssscanner.db \ 98 $(UCR)$/cssscript.db \ 99 $(UCR)$/cssscriptvba.db \ 100 $(UCR)$/csssdb.db \ 101 $(UCR)$/csssdbc.db \ 102 $(UCR)$/csssdbcx.db \ 103 $(UCR)$/csssdbtools.db \ 104 $(UCR)$/csssdbapp.db \ 105 $(UCR)$/csssheet.db \ 106 $(UCR)$/csssmarttags.db \ 107 $(UCR)$/cssstyle.db \ 108 $(UCR)$/csssystem.db\ 109 $(UCR)$/csstable.db \ 110 $(UCR)$/csstask.db \ 111 $(UCR)$/csstext.db \ 112 $(UCR)$/csstextfield.db \ 113 $(UCR)$/csstextfielddocinfo.db \ 114 $(UCR)$/cssfieldmaster.db \ 115 $(UCR)$/cssucb.db \ 116 $(UCR)$/cssutil.db \ 117 $(UCR)$/cssview.db \ 118 $(UCR)$/csssvg.db \ 119 $(UCR)$/csssync.db \ 120 $(UCR)$/csssync2.db \ 121 $(UCR)$/cssxml.db \ 122 $(UCR)$/cssxmlinput.db \ 123 $(UCR)$/csssetup.db \ 124 $(UCR)$/cssimage.db\ 125 $(UCR)$/cssuidialogs.db \ 126 $(UCR)$/cssui.db \ 127 $(UCR)$/cssframe.db \ 128 $(UCR)$/cssfstatus.db \ 129 $(UCR)$/cssgraphic.db \ 130 $(UCR)$/cssaccessibility.db\ 131 $(UCR)$/csssprovider.db \ 132 $(UCR)$/csssbrowse.db \ 133 $(UCR)$/cssgallery.db \ 134 $(UCR)$/cssxsd.db \ 135 $(UCR)$/cssinspection.db \ 136 $(UCR)$/xsec-security.db \ 137 $(UCR)$/xsec-crypto.db \ 138 $(UCR)$/xsec-csax.db \ 139 $(UCR)$/xsec-sax.db \ 140 $(UCR)$/xsec-wrapper.db \ 141 $(UCR)$/cssreport.db \ 142 $(UCR)$/cssrptins.db \ 143 $(UCR)$/cssrptmeta.db \ 144 $(UCR)$/cssoffice.db \ 145 $(UCR)$/cssrdf.db 146 147 148REFERENCE_RDB=$(PRJ)$/type_reference$/types.rdb 149 150REGISTRYCHECKFLAG=$(MISC)$/registrycheck.flag 151 152UNOTYPE_STATISTICS=$(MISC)$/unotype_statistics.txt 153 154REGVIEWTOOL=$(SOLARBINDIR)$/regview$(EXECPOST) 155 156# --- Targets ------------------------------------------------------ 157 158ALLTAR : $(UCR)$/types.db \ 159 $(OUT)$/ucrdoc$/types_doc.db \ 160 $(REGISTRYCHECKFLAG) \ 161 $(UNOTYPE_STATISTICS) 162 163$(UCR)$/types.db : $(UCR)$/offapi.db $(SOLARBINDIR)$/udkapi.rdb 164 @-$(RM) $(REGISTRYCHECKFLAG) 165 @$(GNUCOPY) -f $(UCR)$/offapi.db $@ 166 $(COMMAND_ECHO)$(REGMERGE) $@ / $(SOLARBINDIR)$/udkapi.rdb 167 168$(OUT)$/ucrdoc$/types_doc.db : $(OUT)$/ucrdoc$/offapi_doc.db $(SOLARBINDIR)$/udkapi_doc.rdb 169 @-$(RM) $(REGISTRYCHECKFLAG) 170 @$(GNUCOPY) -f $(OUT)$/ucrdoc$/offapi_doc.db $@ 171 $(COMMAND_ECHO)$(REGMERGE) $@ / $(SOLARBINDIR)$/udkapi_doc.rdb 172 173#JSC: The type library has changed, all temporary not checked types are removed 174# and will be check from now on. 175# ATTENTION: no special handling for types is allowed. 176# 177#JSC: i have removed the doc rdb because all type information is already in the 178# types.rdb, even the service and singleton type info. IDL docu isn't checked. 179$(REGISTRYCHECKFLAG) : $(UCR)$/types.db $(OUT)$/ucrdoc$/types_doc.db 180 $(COMMAND_ECHO)$(REGCOMPARE) -f -t -r1 $(REFERENCE_RDB) -r2 $(UCR)$/types.db \ 181 && echo > $(REGISTRYCHECKFLAG) 182 183#JSC: new target to prepare some UNO type statistics, the ouput will be later used 184# for versioning of UNO cli type libraries 185$(UNOTYPE_STATISTICS) : $(REGISTRYCHECKFLAG) 186 $(COMMAND_ECHO)$(AUGMENT_LIBRARY_PATH) $(PERL) checknewapi.pl $(UCR)$/types.db $(REFERENCE_RDB) "$(RSCREVISION)" "$(REGVIEWTOOL)" > $@ 187 188.INCLUDE : target.mk 189