forked from amazingfate/loongoffice
2003/09/04 13:48:06 mav 1.58.16.2: #100000# resolve conflicts 2003/06/23 10:01:17 mav 1.58.16.1: #i15929# #110406# new API for storages and embedding
187 lines
6.7 KiB
Makefile
187 lines
6.7 KiB
Makefile
#*************************************************************************
|
|
#
|
|
# $RCSfile: makefile.mk,v $
|
|
#
|
|
# $Revision: 1.64 $
|
|
#
|
|
# last change: $Author: kz $ $Date: 2003-09-11 10:30:49 $
|
|
#
|
|
# 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)$/cssconfiguration.db \
|
|
$(UCR)$/csscbootstrap.db\
|
|
$(UCR)$/csscbackend.db\
|
|
$(UCR)$/csscbxml.db\
|
|
$(UCR)$/cssdatatransfer.db \
|
|
$(UCR)$/cssdclipboard.db \
|
|
$(UCR)$/cssddnd.db \
|
|
$(UCR)$/cssdocument.db \
|
|
$(UCR)$/cssdrawing.db \
|
|
$(UCR)$/cssembed.db \
|
|
$(UCR)$/cssfcomp.db \
|
|
$(UCR)$/cssfcontrol.db \
|
|
$(UCR)$/cssform.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)$/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)$/cssaccessibility.db\
|
|
$(UCR)$/cssframe.db \
|
|
|
|
|
|
REFERENCE_SO_60_RDB=$(SOLARROOT)$/odk_reference$/SO-6.0$/applicat.rdb
|
|
REFERENCE_SO_60_DOC_RDB=$(SOLARROOT)$/odk_reference$/SO-6.0$/applicat_doc.rdb
|
|
|
|
REGISTRYCHECKFLAG=$(MISC)$/registrycheck.flag
|
|
|
|
# --- Targets ------------------------------------------------------
|
|
|
|
ALLTAR : $(UCR)$/types.db $(OUT)$/ucrdoc$/types_doc.db
|
|
|
|
$(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
|
|
|
|
.INCLUDE : target.mk
|
|
|
|
.IF "$(BUILD_SOSL)"==""
|
|
|
|
ALLTAR: $(REGISTRYCHECKFLAG)
|
|
|
|
# special work necessary for i18n reservedWords
|
|
# ATTENTION: no special handling for other types is allowed.
|
|
# JSC -> temporary special handling for sheet/SheetSortDescriptor and text/BaseIndex
|
|
# only for build reasons, otherwise the build will break, the changes are not really incompatible
|
|
# JB: configuration: services were documented, but not tagged, as optional
|
|
# TBE, JSC: awt: lost changes from first IDL review are currently not checked until reference rdb is updated
|
|
$(REGISTRYCHECKFLAG) : $(UCR)$/types.db $(OUT)$/ucrdoc$/types_doc.db
|
|
+$(REGCOMPARE) -f -t -r1 $(REFERENCE_SO_60_RDB) -r2 $(UCR)$/types.db -x /UCR/com/sun/star/i18n/reservedWords
|
|
+$(REGCOMPARE) -f -t -r1 $(REFERENCE_SO_60_DOC_RDB) -r2 $(OUT)$/ucrdoc$/types_doc.db -x /UCR/com/sun/star/i18n/reservedWords \
|
|
-x /UCR/com/sun/star/sheet/SheetSortDescriptor -x /UCR/com/sun/star/text/BaseIndex \
|
|
-x /UCR/com/sun/star/configuration/ConfigurationAccess -x /UCR/com/sun/star/configuration/ConfigurationUpdateAccess \
|
|
-x /UCR/com/sun/star/awt/UnoControl -x /UCR/com/sun/star/awt/UnoControlCheckBox \
|
|
-x /UCR/com/sun/star/awt/UnoControlCurrencyFieldModel -x /UCR/com/sun/star/awt/UnoControlDialog \
|
|
-x /UCR/com/sun/star/awt/UnoControlDialogModel -x /UCR/com/sun/star/awt/UnoControlEdit \
|
|
-x /UCR/com/sun/star/awt/UnoControlFormattedFieldModel -x /UCR/com/sun/star/awt/UnoControlListBox \
|
|
-x /UCR/com/sun/star/awt/UnoControlNumericFieldModel -x /UCR/com/sun/star/awt/UnoControlPatternFieldModel \
|
|
-x /UCR/com/sun/star/configuration/SimpleSetUpdate \
|
|
&& echo > $(REGISTRYCHECKFLAG)
|
|
|
|
.ENDIF
|