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