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