#************************************************************************* # # $RCSfile: makefile.mk,v $ # # $Revision: 1.75 $ # # last change: $Author: hr $ $Date: 2004-04-13 11:59:55 $ # # The Contents of this file are made available subject to the terms of # either of the following licenses # # - GNU Lesser General Public License Version 2.1 # - Sun Industry Standards Source License Version 1.1 # # Sun Microsystems Inc., October, 2000 # # GNU Lesser General Public License Version 2.1 # ============================================= # Copyright 2000 by Sun Microsystems, Inc. # 901 San Antonio Road, Palo Alto, CA 94303, USA # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License version 2.1, as published by the Free Software Foundation. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, # MA 02111-1307 USA # # # Sun Industry Standards Source License Version 1.1 # ================================================= # The contents of this file are subject to the Sun Industry Standards # Source License Version 1.1 (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.openoffice.org/license.html. # # Software provided under this License is provided on an "AS IS" basis, # WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, # WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, # MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. # See the License for the specific provisions governing your rights and # obligations concerning the Software. # # The Initial Developer of the Original Code is: Sun Microsystems, Inc. # # Copyright: 2000 by Sun Microsystems, Inc. # # All Rights Reserved. # # Contributor(s): _______________________________________ # # # #************************************************************************* PRJ=.. PRJPCH= PRJNAME=offapi TARGET=offapi_db # --- Settings ----------------------------------------------------- .INCLUDE : makefile.pmk # ------------------------------------------------------------------ #regcheck .PHONY: # $(COMSPEC) /c checkrdb.btm o:\comptest\swt614.rdb $(PRJ)$/$(OUTPATH)$/bin$/$(PRJNAME).rdb # ------------------------------------------------------------------ #UNOIDLDBREGS= \ # $(SOLARBINDIR)$/udkapi.rdb UNOIDLDBFILES= \ $(UCR)$/cssauth.db \ $(UCR)$/cssawt.db \ $(UCR)$/csschart.db \ $(UCR)$/csschart2.db \ $(UCR)$/cssconfiguration.db \ $(UCR)$/csscbootstrap.db\ $(UCR)$/csscbackend.db\ $(UCR)$/csscbxml.db\ $(UCR)$/cssdatatransfer.db \ $(UCR)$/cssdeployment.db \ $(UCR)$/cssdclipboard.db \ $(UCR)$/cssddnd.db \ $(UCR)$/cssdocument.db \ $(UCR)$/cssdrawing.db \ $(UCR)$/cssembed.db \ $(UCR)$/cssfcontrol.db \ $(UCR)$/cssform.db \ $(UCR)$/cssfcomp.db \ $(UCR)$/cssfbinding.db \ $(UCR)$/cssfvalidation.db \ $(UCR)$/cssformula.db \ $(UCR)$/cssinstallation.db \ $(UCR)$/cssi18n.db \ $(UCR)$/cssldap.db \ $(UCR)$/csslinguistic2.db \ $(UCR)$/cssmozilla.db \ $(UCR)$/csspackages.db \ $(UCR)$/cssmanifest.db \ $(UCR)$/csszippackage.db \ $(UCR)$/cssplugin.db \ $(UCR)$/csspresentation.db \ $(UCR)$/cssresource.db \ $(UCR)$/csssax.db \ $(UCR)$/cssdom.db \ $(UCR)$/cssxpath.db \ $(UCR)$/cssdomviews.db \ $(UCR)$/cssdomevents.db \ $(UCR)$/cssscanner.db \ $(UCR)$/csssdb.db \ $(UCR)$/csssdbc.db \ $(UCR)$/csssdbcx.db \ $(UCR)$/csssheet.db \ $(UCR)$/cssstyle.db \ $(UCR)$/csssystem.db\ $(UCR)$/csstable.db \ $(UCR)$/csstask.db \ $(UCR)$/csstext.db \ $(UCR)$/csstextfield.db \ $(UCR)$/csstextfielddocinfo.db \ $(UCR)$/cssfieldmaster.db \ $(UCR)$/cssucb.db \ $(UCR)$/cssutil.db \ $(UCR)$/cssview.db \ $(UCR)$/csssvg.db \ $(UCR)$/csssync.db \ $(UCR)$/csssync2.db \ $(UCR)$/cssxml.db \ $(UCR)$/cssxmlinput.db \ $(UCR)$/csssetup.db \ $(UCR)$/cssimage.db\ $(UCR)$/cssuidialogs.db \ $(UCR)$/cssui.db \ $(UCR)$/cssframe.db \ $(UCR)$/cssaccessibility.db\ $(UCR)$/dcsssprovider.db \ $(UCR)$/dcsssbrowse.db \ $(UCR)$/dcssframe.db \ $(UCR)$/dcssform.db \ $(UCR)$/dcssui.db \ $(UCR)$/dcssfstatus.db \ $(UCR)$/dcssgeometry.db \ $(UCR)$/dcssrendering.db \ $(UCR)$/dcssdrawing.db REFERENCE_RDB=$(PRJ)$/type_reference$/OO_11$/types.rdb REFERENCE_DOC_RDB=$(PRJ)$/type_reference$/OO_11$/types_doc.rdb REGISTRYCHECKFLAG=$(MISC)$/registrycheck.flag # --- Targets ------------------------------------------------------ ALLTAR : $(UCR)$/types.db \ $(OUT)$/ucrdoc$/types_doc.db \ $(REGISTRYCHECKFLAG) $(UCR)$/types.db : $(UCR)$/offapi.db $(SOLARBINDIR)$/udkapi.rdb +-$(RM) $(REGISTRYCHECKFLAG) +$(GNUCOPY) -f $(UCR)$/offapi.db $@ +$(REGMERGE) $@ / $(SOLARBINDIR)$/udkapi.rdb $(OUT)$/ucrdoc$/types_doc.db : $(OUT)$/ucrdoc$/offapi_doc.db $(SOLARBINDIR)$/udkapi_doc.rdb +-$(RM) $(REGISTRYCHECKFLAG) +$(GNUCOPY) -f $(OUT)$/ucrdoc$/offapi_doc.db $@ +$(REGMERGE) $@ / $(SOLARBINDIR)$/udkapi_doc.rdb #JSC: The type library has changed, all temporary not checked types are removed # and will be check from now on. # ATTENTION: no special handling for types is allowed. $(REGISTRYCHECKFLAG) : $(UCR)$/types.db $(OUT)$/ucrdoc$/types_doc.db +$(REGCOMPARE) -f -t -r1 $(REFERENCE_RDB) -r2 $(UCR)$/types.db +$(REGCOMPARE) -f -t -r1 $(REFERENCE_DOC_RDB) -r2 $(OUT)$/ucrdoc$/types_doc.db \ && echo > $(REGISTRYCHECKFLAG) .INCLUDE : target.mk