merged tag ooo/OOO330_m14
[LibreOffice.git] / offapi / util / makefile.mk
blob016180d7765cc61e76255675a9d7dfab5ad7691d
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
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 #*************************************************************************
28 PRJ=..
29 PRJPCH=
31 PRJNAME=offapi
32 TARGET=offapi_db
35 # --- Settings -----------------------------------------------------
37 .INCLUDE : makefile.pmk
39 # ------------------------------------------------------------------
40 UNOIDLDBFILES= \
41 $(UCR)$/cssauth.db \
42 $(UCR)$/cssawt.db \
43 $(UCR)$/cssawttree.db \
44 $(UCR)$/cssawtgrid.db \
45 $(UCR)$/csschart.db \
46 $(UCR)$/csschart2.db \
47 $(UCR)$/csschart2data.db \
48 $(UCR)$/cssconfiguration.db \
49 $(UCR)$/csscbootstrap.db\
50 $(UCR)$/csscbackend.db\
51 $(UCR)$/csscbxml.db\
52 $(UCR)$/cssdatatransfer.db \
53 $(UCR)$/cssdeployment.db \
54 $(UCR)$/cssdeploymenttest.db \
55 $(UCR)$/cssdeploymentui.db \
56 $(UCR)$/cssdclipboard.db \
57 $(UCR)$/cssddnd.db \
58 $(UCR)$/cssdocument.db \
59 $(UCR)$/cssdrawing.db \
60 $(UCR)$/cssdframework.db \
61 $(UCR)$/cssgeometry.db \
62 $(UCR)$/cssrendering.db \
63 $(UCR)$/cssembed.db \
64 $(UCR)$/cssfcontrol.db \
65 $(UCR)$/cssfinsp.db \
66 $(UCR)$/cssfrunt.db \
67 $(UCR)$/cssform.db \
68 $(UCR)$/cssxforms.db \
69 $(UCR)$/cssfcomp.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 \
76 $(UCR)$/cssi18n.db \
77 $(UCR)$/cssldap.db \
78 $(UCR)$/csslinguistic2.db \
79 $(UCR)$/csslogging.db \
80 $(UCR)$/cssmail.db \
81 $(UCR)$/cssmedia.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 \
91 $(UCR)$/csssax.db \
92 $(UCR)$/cssdom.db \
93 $(UCR)$/cssxpath.db \
94 $(UCR)$/cssdomviews.db \
95 $(UCR)$/cssdomevents.db \
96 $(UCR)$/cssscanner.db \
97 $(UCR)$/cssscript.db \
98 $(UCR)$/cssscriptvba.db \
99 $(UCR)$/csssdb.db \
100 $(UCR)$/csssdbc.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 \
109 $(UCR)$/csstask.db \
110 $(UCR)$/csstext.db \
111 $(UCR)$/csstextfield.db \
112 $(UCR)$/csstextfielddocinfo.db \
113 $(UCR)$/cssfieldmaster.db \
114 $(UCR)$/cssucb.db \
115 $(UCR)$/cssutil.db \
116 $(UCR)$/cssview.db \
117 $(UCR)$/csssvg.db \
118 $(UCR)$/csssync.db \
119 $(UCR)$/csssync2.db \
120 $(UCR)$/cssxml.db \
121 $(UCR)$/cssxmlinput.db \
122 $(UCR)$/csssetup.db \
123 $(UCR)$/cssimage.db\
124 $(UCR)$/cssuidialogs.db \
125 $(UCR)$/cssui.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 \
133 $(UCR)$/cssxsd.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 \
145 $(UCR)$/cssrdf.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)" > $@
188 .INCLUDE : target.mk