1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2000, 2010 Oracle and/or its affiliates.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # This file is part of OpenOffice.org.
11 # OpenOffice.org is free software: you can redistribute it and/or modify
12 # it under the terms of the GNU Lesser General Public License version 3
13 # only, as published by the Free Software Foundation.
15 # OpenOffice.org is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 # GNU Lesser General Public License version 3 for more details
19 # (a copy is included in the LICENSE file that accompanied this code).
21 # You should have received a copy of the GNU Lesser General Public License
22 # version 3 along with OpenOffice.org. If not, see
23 # <http://www.openoffice.org/license.html>
24 # for a copy of the LGPLv3 License.
26 #*************************************************************************
35 # --- Settings -----------------------------------------------------
37 .INCLUDE
: makefile.pmk
39 # ------------------------------------------------------------------
43 $(UCR
)$/cssawttree.db \
44 $(UCR
)$/cssawtgrid.db \
46 $(UCR
)$/csschart2.db \
47 $(UCR
)$/csschart2data.db \
48 $(UCR
)$/cssconfiguration.db \
49 $(UCR
)$/csscbootstrap.db\
50 $(UCR
)$/csscbackend.db\
52 $(UCR
)$/cssdatatransfer.db \
53 $(UCR
)$/cssdeployment.db \
54 $(UCR
)$/cssdeploymenttest.db \
55 $(UCR
)$/cssdeploymentui.db \
56 $(UCR
)$/cssdclipboard.db \
58 $(UCR
)$/cssdocument.db \
59 $(UCR
)$/cssdrawing.db \
60 $(UCR
)$/cssdframework.db \
61 $(UCR
)$/cssgeometry.db \
62 $(UCR
)$/cssrendering.db \
64 $(UCR
)$/cssfcontrol.db \
68 $(UCR
)$/cssxforms.db \
70 $(UCR
)$/cssfbinding.db \
71 $(UCR
)$/cssfvalidation.db \
72 $(UCR
)$/cssfsubmission.db \
73 $(UCR
)$/cssformula.db \
74 $(UCR
)$/cssgraphic.db \
75 $(UCR
)$/cssinstallation.db \
78 $(UCR
)$/csslinguistic2.db \
79 $(UCR
)$/csslogging.db \
82 $(UCR
)$/cssmozilla.db \
83 $(UCR
)$/cssoooimprovement.db \
84 $(UCR
)$/csspackages.db \
85 $(UCR
)$/cssmanifest.db \
86 $(UCR
)$/csszippackage.db \
87 $(UCR
)$/cssplugin.db \
88 $(UCR
)$/csspresentation.db \
89 $(UCR
)$/cssanimations.db \
90 $(UCR
)$/cssresource.db \
94 $(UCR
)$/cssdomviews.db \
95 $(UCR
)$/cssdomevents.db \
96 $(UCR
)$/cssscanner.db \
97 $(UCR
)$/cssscript.db \
98 $(UCR
)$/cssscriptvba.db \
101 $(UCR
)$/csssdbcx.db \
102 $(UCR
)$/csssdbtools.db \
103 $(UCR
)$/csssdbapp.db \
104 $(UCR
)$/csssheet.db \
105 $(UCR
)$/csssmarttags.db \
106 $(UCR
)$/cssstyle.db \
107 $(UCR
)$/csssystem.db\
108 $(UCR
)$/csstable.db \
111 $(UCR
)$/csstextfield.db \
112 $(UCR
)$/csstextfielddocinfo.db \
113 $(UCR
)$/cssfieldmaster.db \
119 $(UCR
)$/csssync2.db \
121 $(UCR
)$/cssxmlinput.db \
122 $(UCR
)$/csssetup.db \
124 $(UCR
)$/cssuidialogs.db \
126 $(UCR
)$/cssframe.db \
127 $(UCR
)$/cssfstatus.db \
128 $(UCR
)$/cssgraphic.db \
129 $(UCR
)$/cssaccessibility.db\
130 $(UCR
)$/csssprovider.db \
131 $(UCR
)$/csssbrowse.db \
132 $(UCR
)$/cssgallery.db \
134 $(UCR
)$/cssinspection.db \
135 $(UCR
)$/dcssform.db \
136 $(UCR
)$/xsec-security.db \
137 $(UCR
)$/xsec-crypto.db \
138 $(UCR
)$/xsec-csax.db \
139 $(UCR
)$/xsec-sax.db \
140 $(UCR
)$/xsec-wrapper.db \
141 $(UCR
)$/cssreport.db \
142 $(UCR
)$/cssrptins.db \
143 $(UCR
)$/cssrptmeta.db \
144 $(UCR
)$/cssoffice.db \
148 REFERENCE_RDB
=$(PRJ
)$/type_reference
$/types.rdb
150 REGISTRYCHECKFLAG
=$(MISC
)$/registrycheck.flag
152 UNOTYPE_STATISTICS
=$(MISC
)$/unotype_statistics.txt
154 REGVIEWTOOL
=$(SOLARBINDIR
)$/regview
$(EXECPOST
)
156 # --- Targets ------------------------------------------------------
158 ALLTAR
: $(UCR
)$/types.db \
159 $(OUT
)$/ucrdoc
$/types_doc.db \
160 $(REGISTRYCHECKFLAG
) \
161 $(UNOTYPE_STATISTICS
)
163 $(UCR
)$/types.db
: $(UCR
)$/offapi.db
$(SOLARBINDIR
)$/udkapi.rdb
164 @
-$(RM
) $(REGISTRYCHECKFLAG
)
165 @
$(GNUCOPY
) -f
$(UCR
)$/offapi.db
$@
166 $(COMMAND_ECHO
)$(REGMERGE
) $@
/ $(SOLARBINDIR
)$/udkapi.rdb
168 $(OUT
)$/ucrdoc
$/types_doc.db
: $(OUT
)$/ucrdoc
$/offapi_doc.db
$(SOLARBINDIR
)$/udkapi_doc.rdb
169 @
-$(RM
) $(REGISTRYCHECKFLAG
)
170 @
$(GNUCOPY
) -f
$(OUT
)$/ucrdoc
$/offapi_doc.db
$@
171 $(COMMAND_ECHO
)$(REGMERGE
) $@
/ $(SOLARBINDIR
)$/udkapi_doc.rdb
173 #JSC: The type library has changed, all temporary not checked types are removed
174 # and will be check from now on.
175 # ATTENTION: no special handling for types is allowed.
177 #JSC: i have removed the doc rdb because all type information is already in the
178 # types.rdb, even the service and singleton type info. IDL docu isn't checked.
179 $(REGISTRYCHECKFLAG
) : $(UCR
)$/types.db
$(OUT
)$/ucrdoc
$/types_doc.db
180 $(COMMAND_ECHO
)$(REGCOMPARE
) -f
-t
-r1
$(REFERENCE_RDB
) -r2
$(UCR
)$/types.db \
181 && echo
> $(REGISTRYCHECKFLAG
)
183 #JSC: new target to prepare some UNO type statistics, the ouput will be later used
184 # for versioning of UNO cli type libraries
185 $(UNOTYPE_STATISTICS
) : $(REGISTRYCHECKFLAG
)
186 $(COMMAND_ECHO
)$(AUGMENT_LIBRARY_PATH
) $(PERL
) checknewapi.pl
$(UCR
)$/types.db
$(REFERENCE_RDB
) "$(RSCREVISION)" "$(REGVIEWTOOL)" > $@