office-gobmx/offapi/util/makefile.mk

195 lines
6.2 KiB
Makefile
Raw Normal View History

2000-11-06 02:31:23 -06:00
#*************************************************************************
#
# $RCSfile: makefile.mk,v $
#
# $Revision: 1.77 $
2000-11-06 02:31:23 -06:00
#
# last change: $Author: kz $ $Date: 2004-06-11 09:37:31 $
2000-11-06 02:31:23 -06:00
#
# 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
2000-11-13 11:09:07 -06:00
TARGET=offapi_db
2000-11-06 02:31:23 -06:00
# --- Settings -----------------------------------------------------
.INCLUDE : makefile.pmk
# ------------------------------------------------------------------
2001-10-25 07:32:45 -05:00
#regcheck .PHONY:
# $(COMSPEC) /c checkrdb.btm o:\comptest\swt614.rdb $(PRJ)$/$(OUTPATH)$/bin$/$(PRJNAME).rdb
# ------------------------------------------------------------------
#UNOIDLDBREGS= \
# $(SOLARBINDIR)$/udkapi.rdb
2000-11-06 02:31:23 -06:00
UNOIDLDBFILES= \
$(UCR)$/cssauth.db \
2000-11-06 02:31:23 -06:00
$(UCR)$/cssawt.db \
$(UCR)$/csschart.db \
$(UCR)$/csschart2.db \
2000-11-06 02:31:23 -06:00
$(UCR)$/cssconfiguration.db \
$(UCR)$/csscbootstrap.db\
$(UCR)$/csscbackend.db\
$(UCR)$/csscbxml.db\
2000-11-06 02:31:23 -06:00
$(UCR)$/cssdatatransfer.db \
$(UCR)$/cssdeployment.db \
2000-11-06 02:31:23 -06:00
$(UCR)$/cssdclipboard.db \
2001-01-26 04:51:35 -06:00
$(UCR)$/cssddnd.db \
2000-11-06 02:31:23 -06:00
$(UCR)$/cssdocument.db \
$(UCR)$/cssdrawing.db \
$(UCR)$/cssembed.db \
2001-05-14 03:19:20 -05:00
$(UCR)$/cssfcontrol.db \
2000-11-06 02:31:23 -06:00
$(UCR)$/cssform.db \
$(UCR)$/cssfcomp.db \
$(UCR)$/cssfbinding.db \
$(UCR)$/cssfvalidation.db \
2000-11-06 02:31:23 -06:00
$(UCR)$/cssformula.db \
$(UCR)$/cssgraphic.db \
2000-11-06 02:31:23 -06:00
$(UCR)$/cssinstallation.db \
$(UCR)$/cssi18n.db \
$(UCR)$/cssldap.db \
2000-11-06 02:31:23 -06:00
$(UCR)$/csslinguistic2.db \
$(UCR)$/cssmozilla.db \
$(UCR)$/csspackages.db \
2001-04-19 08:03:19 -05:00
$(UCR)$/cssmanifest.db \
$(UCR)$/csszippackage.db \
2000-11-06 02:31:23 -06:00
$(UCR)$/cssplugin.db \
$(UCR)$/csspresentation.db \
$(UCR)$/cssresource.db \
$(UCR)$/csssax.db \
$(UCR)$/cssdom.db \
$(UCR)$/cssxpath.db \
$(UCR)$/cssdomviews.db \
$(UCR)$/cssdomevents.db \
2000-11-06 02:31:23 -06:00
$(UCR)$/cssscanner.db \
$(UCR)$/csssdb.db \
$(UCR)$/csssdbc.db \
$(UCR)$/csssdbcx.db \
$(UCR)$/csssheet.db \
$(UCR)$/cssstyle.db \
2001-04-27 03:36:07 -05:00
$(UCR)$/csssystem.db\
2000-11-06 02:31:23 -06:00
$(UCR)$/csstable.db \
$(UCR)$/csstask.db \
$(UCR)$/csstext.db \
2000-11-16 03:56:35 -06:00
$(UCR)$/csstextfield.db \
$(UCR)$/csstextfielddocinfo.db \
2000-11-16 03:56:35 -06:00
$(UCR)$/cssfieldmaster.db \
2000-11-06 02:31:23 -06:00
$(UCR)$/cssucb.db \
$(UCR)$/cssutil.db \
$(UCR)$/cssview.db \
$(UCR)$/csssvg.db \
$(UCR)$/csssync.db \
2001-07-13 07:30:17 -05:00
$(UCR)$/csssync2.db \
2000-11-06 02:31:23 -06:00
$(UCR)$/cssxml.db \
$(UCR)$/cssxmlinput.db \
2000-11-06 02:31:23 -06:00
$(UCR)$/csssetup.db \
2001-07-03 02:59:52 -05:00
$(UCR)$/cssimage.db\
2001-10-25 07:32:45 -05:00
$(UCR)$/cssuidialogs.db \
$(UCR)$/cssui.db \
$(UCR)$/cssframe.db \
$(UCR)$/cssgraphic.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
2000-11-06 02:31:23 -06:00
# --- 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 $@
2002-09-19 05:27:04 -05:00
+$(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.
#
#SB: Once the reference rdbs are new-style registries with explicit published
# types, the "-u" should be removed again from the calls to regcompare:
$(REGISTRYCHECKFLAG) : $(UCR)$/types.db $(OUT)$/ucrdoc$/types_doc.db
+$(REGCOMPARE) -f -t -u -r1 $(REFERENCE_RDB) -r2 $(UCR)$/types.db
+$(REGCOMPARE) -f -t -u -r1 $(REFERENCE_DOC_RDB) -r2 $(OUT)$/ucrdoc$/types_doc.db \
&& echo > $(REGISTRYCHECKFLAG)
2000-11-06 02:31:23 -06:00
.INCLUDE : target.mk