1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
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 #*************************************************************************
39 # --- Settings -----------------------------------------------------
41 .INCLUDE
: makefile.pmk
43 # ------------------------------------------------------------------
47 $(UCR
)$/cssawttree.db \
49 $(UCR
)$/csschart2.db \
50 $(UCR
)$/csschart2data.db \
51 $(UCR
)$/cssconfiguration.db \
52 $(UCR
)$/csscbootstrap.db\
53 $(UCR
)$/csscbackend.db\
55 $(UCR
)$/cssdatatransfer.db \
56 $(UCR
)$/cssdeployment.db \
57 $(UCR
)$/cssdeploymenttest.db \
58 $(UCR
)$/cssdeploymentui.db \
59 $(UCR
)$/cssdclipboard.db \
61 $(UCR
)$/cssdocument.db \
62 $(UCR
)$/cssdrawing.db \
63 $(UCR
)$/cssdframework.db \
64 $(UCR
)$/cssgeometry.db \
65 $(UCR
)$/cssrendering.db \
67 $(UCR
)$/cssfcontrol.db \
71 $(UCR
)$/cssxforms.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 \
81 $(UCR
)$/csslinguistic2.db \
82 $(UCR
)$/csslogging.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 \
97 $(UCR
)$/cssdomviews.db \
98 $(UCR
)$/cssdomevents.db \
99 $(UCR
)$/cssscanner.db \
100 $(UCR
)$/cssscript.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 \
113 $(UCR
)$/csstextfield.db \
114 $(UCR
)$/csstextfielddocinfo.db \
115 $(UCR
)$/cssfieldmaster.db \
121 $(UCR
)$/csssync2.db \
123 $(UCR
)$/cssxmlinput.db \
124 $(UCR
)$/csssetup.db \
126 $(UCR
)$/cssuidialogs.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 \
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 \
149 REFERENCE_RDB
=$(PRJ
)$/type_reference
$/types.rdb
151 REGISTRYCHECKFLAG
=$(MISC
)$/registrycheck.flag
153 UNOTYPE_STATISTICS
=$(MISC
)$/unotype_statistics.txt
156 # --- Targets ------------------------------------------------------
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.
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)" > $@