1*7871dc3eSAndrew Rist#************************************************************** 2*7871dc3eSAndrew Rist# 3*7871dc3eSAndrew Rist# Licensed to the Apache Software Foundation (ASF) under one 4*7871dc3eSAndrew Rist# or more contributor license agreements. See the NOTICE file 5*7871dc3eSAndrew Rist# distributed with this work for additional information 6*7871dc3eSAndrew Rist# regarding copyright ownership. The ASF licenses this file 7*7871dc3eSAndrew Rist# to you under the Apache License, Version 2.0 (the 8*7871dc3eSAndrew Rist# "License"); you may not use this file except in compliance 9*7871dc3eSAndrew Rist# with the License. You may obtain a copy of the License at 10*7871dc3eSAndrew Rist# 11*7871dc3eSAndrew Rist# http://www.apache.org/licenses/LICENSE-2.0 12*7871dc3eSAndrew Rist# 13*7871dc3eSAndrew Rist# Unless required by applicable law or agreed to in writing, 14*7871dc3eSAndrew Rist# software distributed under the License is distributed on an 15*7871dc3eSAndrew Rist# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*7871dc3eSAndrew Rist# KIND, either express or implied. See the License for the 17*7871dc3eSAndrew Rist# specific language governing permissions and limitations 18*7871dc3eSAndrew Rist# under the License. 19*7871dc3eSAndrew Rist# 20*7871dc3eSAndrew Rist#************************************************************** 21*7871dc3eSAndrew Rist 22*7871dc3eSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweirPRJ=.. 25cdf0e10cSrcweirPRJPCH= 26cdf0e10cSrcweir 27cdf0e10cSrcweirPRJNAME=offapi 28cdf0e10cSrcweirTARGET=offapi_db 29cdf0e10cSrcweir 30cdf0e10cSrcweir 31cdf0e10cSrcweir# --- Settings ----------------------------------------------------- 32cdf0e10cSrcweir 33cdf0e10cSrcweir.INCLUDE : makefile.pmk 34cdf0e10cSrcweir 35cdf0e10cSrcweir# ------------------------------------------------------------------ 36cdf0e10cSrcweirUNOIDLDBFILES= \ 37cdf0e10cSrcweir $(UCR)$/cssauth.db \ 38cdf0e10cSrcweir $(UCR)$/cssawt.db \ 39cdf0e10cSrcweir $(UCR)$/cssawttree.db \ 40cdf0e10cSrcweir $(UCR)$/cssawtgrid.db \ 41cdf0e10cSrcweir $(UCR)$/cssawttab.db \ 42cdf0e10cSrcweir $(UCR)$/csschart.db \ 43cdf0e10cSrcweir $(UCR)$/csschart2.db \ 44cdf0e10cSrcweir $(UCR)$/csschart2data.db \ 45cdf0e10cSrcweir $(UCR)$/cssconfiguration.db \ 46cdf0e10cSrcweir $(UCR)$/csscbootstrap.db\ 47cdf0e10cSrcweir $(UCR)$/csscbackend.db\ 48cdf0e10cSrcweir $(UCR)$/csscbxml.db\ 49cdf0e10cSrcweir $(UCR)$/cssdatatransfer.db \ 50cdf0e10cSrcweir $(UCR)$/cssdeployment.db \ 51cdf0e10cSrcweir $(UCR)$/cssdeploymenttest.db \ 52cdf0e10cSrcweir $(UCR)$/cssdeploymentui.db \ 53cdf0e10cSrcweir $(UCR)$/cssdclipboard.db \ 54cdf0e10cSrcweir $(UCR)$/cssddnd.db \ 55cdf0e10cSrcweir $(UCR)$/cssdocument.db \ 56cdf0e10cSrcweir $(UCR)$/cssdrawing.db \ 57cdf0e10cSrcweir $(UCR)$/cssdframework.db \ 58cdf0e10cSrcweir $(UCR)$/cssgeometry.db \ 59cdf0e10cSrcweir $(UCR)$/cssrendering.db \ 60cdf0e10cSrcweir $(UCR)$/cssembed.db \ 61cdf0e10cSrcweir $(UCR)$/cssfcontrol.db \ 62cdf0e10cSrcweir $(UCR)$/cssfinsp.db \ 63cdf0e10cSrcweir $(UCR)$/cssfrunt.db \ 64cdf0e10cSrcweir $(UCR)$/cssform.db \ 65cdf0e10cSrcweir $(UCR)$/cssxforms.db \ 66cdf0e10cSrcweir $(UCR)$/cssfcomp.db \ 67cdf0e10cSrcweir $(UCR)$/cssfbinding.db \ 68cdf0e10cSrcweir $(UCR)$/cssfvalidation.db \ 69cdf0e10cSrcweir $(UCR)$/cssfsubmission.db \ 70cdf0e10cSrcweir $(UCR)$/cssformula.db \ 71cdf0e10cSrcweir $(UCR)$/cssgraphic.db \ 72cdf0e10cSrcweir $(UCR)$/cssinstallation.db \ 73cdf0e10cSrcweir $(UCR)$/cssi18n.db \ 74cdf0e10cSrcweir $(UCR)$/cssldap.db \ 75cdf0e10cSrcweir $(UCR)$/csslinguistic2.db \ 76cdf0e10cSrcweir $(UCR)$/csslogging.db \ 77cdf0e10cSrcweir $(UCR)$/cssmail.db \ 78cdf0e10cSrcweir $(UCR)$/cssmedia.db \ 79cdf0e10cSrcweir $(UCR)$/cssmozilla.db \ 80cdf0e10cSrcweir $(UCR)$/cssoooimprovement.db \ 81cdf0e10cSrcweir $(UCR)$/csspackages.db \ 82cdf0e10cSrcweir $(UCR)$/cssmanifest.db \ 83cdf0e10cSrcweir $(UCR)$/csszippackage.db \ 84cdf0e10cSrcweir $(UCR)$/cssplugin.db \ 85cdf0e10cSrcweir $(UCR)$/csspresentation.db \ 86cdf0e10cSrcweir $(UCR)$/cssanimations.db \ 87cdf0e10cSrcweir $(UCR)$/cssresource.db \ 88cdf0e10cSrcweir $(UCR)$/csssax.db \ 89cdf0e10cSrcweir $(UCR)$/cssdom.db \ 90cdf0e10cSrcweir $(UCR)$/cssxpath.db \ 91cdf0e10cSrcweir $(UCR)$/cssdomviews.db \ 92cdf0e10cSrcweir $(UCR)$/cssdomevents.db \ 93cdf0e10cSrcweir $(UCR)$/cssscanner.db \ 94cdf0e10cSrcweir $(UCR)$/cssscript.db \ 95cdf0e10cSrcweir $(UCR)$/cssscriptvba.db \ 96cdf0e10cSrcweir $(UCR)$/csssdb.db \ 97cdf0e10cSrcweir $(UCR)$/csssdbc.db \ 98cdf0e10cSrcweir $(UCR)$/csssdbcx.db \ 99cdf0e10cSrcweir $(UCR)$/csssdbtools.db \ 100cdf0e10cSrcweir $(UCR)$/csssdbapp.db \ 101cdf0e10cSrcweir $(UCR)$/csssheet.db \ 102cdf0e10cSrcweir $(UCR)$/csssmarttags.db \ 103cdf0e10cSrcweir $(UCR)$/cssstyle.db \ 104cdf0e10cSrcweir $(UCR)$/csssystem.db\ 105cdf0e10cSrcweir $(UCR)$/csstable.db \ 106cdf0e10cSrcweir $(UCR)$/csstask.db \ 107cdf0e10cSrcweir $(UCR)$/csstext.db \ 108cdf0e10cSrcweir $(UCR)$/csstextfield.db \ 109cdf0e10cSrcweir $(UCR)$/csstextfielddocinfo.db \ 110cdf0e10cSrcweir $(UCR)$/cssfieldmaster.db \ 111cdf0e10cSrcweir $(UCR)$/cssucb.db \ 112cdf0e10cSrcweir $(UCR)$/cssutil.db \ 113cdf0e10cSrcweir $(UCR)$/cssview.db \ 114cdf0e10cSrcweir $(UCR)$/csssvg.db \ 115cdf0e10cSrcweir $(UCR)$/csssync.db \ 116cdf0e10cSrcweir $(UCR)$/csssync2.db \ 117cdf0e10cSrcweir $(UCR)$/cssxml.db \ 118cdf0e10cSrcweir $(UCR)$/cssxmlinput.db \ 119cdf0e10cSrcweir $(UCR)$/csssetup.db \ 120cdf0e10cSrcweir $(UCR)$/cssimage.db\ 121cdf0e10cSrcweir $(UCR)$/cssuidialogs.db \ 122cdf0e10cSrcweir $(UCR)$/cssui.db \ 123cdf0e10cSrcweir $(UCR)$/cssframe.db \ 124cdf0e10cSrcweir $(UCR)$/cssfstatus.db \ 125cdf0e10cSrcweir $(UCR)$/cssgraphic.db \ 126cdf0e10cSrcweir $(UCR)$/cssaccessibility.db\ 127cdf0e10cSrcweir $(UCR)$/csssprovider.db \ 128cdf0e10cSrcweir $(UCR)$/csssbrowse.db \ 129cdf0e10cSrcweir $(UCR)$/cssgallery.db \ 130cdf0e10cSrcweir $(UCR)$/cssxsd.db \ 131cdf0e10cSrcweir $(UCR)$/cssinspection.db \ 132cdf0e10cSrcweir $(UCR)$/xsec-security.db \ 133cdf0e10cSrcweir $(UCR)$/xsec-crypto.db \ 134cdf0e10cSrcweir $(UCR)$/xsec-csax.db \ 135cdf0e10cSrcweir $(UCR)$/xsec-sax.db \ 136cdf0e10cSrcweir $(UCR)$/xsec-wrapper.db \ 137cdf0e10cSrcweir $(UCR)$/cssreport.db \ 138cdf0e10cSrcweir $(UCR)$/cssrptins.db \ 139cdf0e10cSrcweir $(UCR)$/cssrptmeta.db \ 140cdf0e10cSrcweir $(UCR)$/cssoffice.db \ 141cdf0e10cSrcweir $(UCR)$/cssrdf.db 142cdf0e10cSrcweir 143cdf0e10cSrcweir 144cdf0e10cSrcweirREFERENCE_RDB=$(PRJ)$/type_reference$/types.rdb 145cdf0e10cSrcweir 146cdf0e10cSrcweirREGISTRYCHECKFLAG=$(MISC)$/registrycheck.flag 147cdf0e10cSrcweir 148cdf0e10cSrcweirUNOTYPE_STATISTICS=$(MISC)$/unotype_statistics.txt 149cdf0e10cSrcweir 150cdf0e10cSrcweirREGVIEWTOOL=$(SOLARBINDIR)$/regview$(EXECPOST) 151cdf0e10cSrcweir 152cdf0e10cSrcweir# --- Targets ------------------------------------------------------ 153cdf0e10cSrcweir 154cdf0e10cSrcweirALLTAR : $(UCR)$/types.db \ 155cdf0e10cSrcweir $(OUT)$/ucrdoc$/types_doc.db \ 156cdf0e10cSrcweir $(REGISTRYCHECKFLAG) \ 157cdf0e10cSrcweir $(UNOTYPE_STATISTICS) 158cdf0e10cSrcweir 159cdf0e10cSrcweir$(UCR)$/types.db : $(UCR)$/offapi.db $(SOLARBINDIR)$/udkapi.rdb 160cdf0e10cSrcweir @-$(RM) $(REGISTRYCHECKFLAG) 161cdf0e10cSrcweir @$(GNUCOPY) -f $(UCR)$/offapi.db $@ 162cdf0e10cSrcweir $(COMMAND_ECHO)$(REGMERGE) $@ / $(SOLARBINDIR)$/udkapi.rdb 163cdf0e10cSrcweir 164cdf0e10cSrcweir$(OUT)$/ucrdoc$/types_doc.db : $(OUT)$/ucrdoc$/offapi_doc.db $(SOLARBINDIR)$/udkapi_doc.rdb 165cdf0e10cSrcweir @-$(RM) $(REGISTRYCHECKFLAG) 166cdf0e10cSrcweir @$(GNUCOPY) -f $(OUT)$/ucrdoc$/offapi_doc.db $@ 167cdf0e10cSrcweir $(COMMAND_ECHO)$(REGMERGE) $@ / $(SOLARBINDIR)$/udkapi_doc.rdb 168cdf0e10cSrcweir 169cdf0e10cSrcweir#JSC: The type library has changed, all temporary not checked types are removed 170cdf0e10cSrcweir# and will be check from now on. 171cdf0e10cSrcweir# ATTENTION: no special handling for types is allowed. 172cdf0e10cSrcweir# 173cdf0e10cSrcweir#JSC: i have removed the doc rdb because all type information is already in the 174cdf0e10cSrcweir# types.rdb, even the service and singleton type info. IDL docu isn't checked. 175cdf0e10cSrcweir$(REGISTRYCHECKFLAG) : $(UCR)$/types.db $(OUT)$/ucrdoc$/types_doc.db 176cdf0e10cSrcweir $(COMMAND_ECHO)$(REGCOMPARE) -f -t -r1 $(REFERENCE_RDB) -r2 $(UCR)$/types.db \ 177cdf0e10cSrcweir && echo > $(REGISTRYCHECKFLAG) 178cdf0e10cSrcweir 179cdf0e10cSrcweir#JSC: new target to prepare some UNO type statistics, the ouput will be later used 180cdf0e10cSrcweir# for versioning of UNO cli type libraries 181cdf0e10cSrcweir$(UNOTYPE_STATISTICS) : $(REGISTRYCHECKFLAG) 182cdf0e10cSrcweir $(COMMAND_ECHO)$(AUGMENT_LIBRARY_PATH) $(PERL) checknewapi.pl $(UCR)$/types.db $(REFERENCE_RDB) "$(RSCREVISION)" "$(REGVIEWTOOL)" > $@ 183cdf0e10cSrcweir 184cdf0e10cSrcweir.INCLUDE : target.mk 185