diff options
author | Michael Stahl <mst@openoffice.org> | 2011-09-15 14:01:27 +0200 |
---|---|---|
committer | Michael Stahl <mst@openoffice.org> | 2011-09-15 14:07:27 +0200 |
commit | 2ee5f24cc6a75646691a4e7e45d28744c47ebce3 (patch) | |
tree | 2f7a13076c54cbf860a82ededcba778920715340 /filter | |
parent | adapt Configuration_filter.mk to ause130 changes (diff) | |
download | core-2ee5f24cc6a75646691a4e7e45d28744c47ebce3.tar.gz core-2ee5f24cc6a75646691a4e7e45d28744c47ebce3.zip |
filter: convert some libraries and jars to gbuild
Diffstat (limited to 'filter')
35 files changed, 841 insertions, 1312 deletions
diff --git a/filter/Jar_XSLTFilter.mk b/filter/Jar_XSLTFilter.mk new file mode 100644 index 000000000000..4bd5d2a4e715 --- /dev/null +++ b/filter/Jar_XSLTFilter.mk @@ -0,0 +1,45 @@ +#*************************************************************** +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +#*************************************************************** + +$(eval $(call gb_Jar_Jar,XSLTFilter,SRCDIR)) + +$(eval $(call gb_Jar_add_jars,XSLTFilter,\ + $(OUTDIR)/bin/ridl.jar \ + $(OUTDIR)/bin/unoil.jar \ + $(OUTDIR)/bin/jurt.jar \ + $(OUTDIR)/bin/juh.jar \ +)) + +$(call gb_Jar_use_externals,XSLTFilter,saxon) + +$(eval $(call gb_Jar_set_componentfile,XSLTFilter,filter/source/xsltfilter/XSLTFilter.jar,OOO)) + +$(eval $(call gb_Jar_set_manifest,XSLTFilter,$(SRCDIR)/filter/source/xsltfilter/Manifest)) + +$(eval $(call gb_Jar_set_jarclasspath,XSLTFilter,saxon9.jar)) + +$(eval $(call gb_Jar_set_packageroot,XSLTFilter,com)) + +$(eval $(call gb_Jar_add_sourcefiles,XSLTFilter,\ + filter/source/xsltfilter/com/sun/star/comp/xsltfilter/Base64 \ + filter/source/xsltfilter/com/sun/star/comp/xsltfilter/XSLTFilterOLEExtracter \ + filter/source/xsltfilter/com/sun/star/comp/xsltfilter/XSLTransformer \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/filter/Jar_XSLTValidate.mk b/filter/Jar_XSLTValidate.mk new file mode 100644 index 000000000000..6f1ab4cedf46 --- /dev/null +++ b/filter/Jar_XSLTValidate.mk @@ -0,0 +1,44 @@ +#*************************************************************** +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +#*************************************************************** + +$(eval $(call gb_Jar_Jar,XSLTValidate,SRCDIR)) + +$(eval $(call gb_Jar_add_jars,XSLTValidate,\ + $(OUTDIR)/bin/ridl.jar \ + $(OUTDIR)/bin/unoil.jar \ + $(OUTDIR)/bin/jurt.jar \ + $(OUTDIR)/bin/juh.jar \ +)) + +#$(eval $(call gb_Jar_use_externals,XSLTValidate,\ + xml-apis \ + xalan \ +)) + +$(eval $(call gb_Jar_set_componentfile,XSLTValidate,filter/source/xsltvalidate/XSLTValidate,OOO)) + +$(eval $(call gb_Jar_set_manifest,XSLTValidate,$(SRCDIR)/filter/source/xsltvalidate/Manifest)) + +$(eval $(call gb_Jar_set_packageroot,XSLTValidate,XSLTValidate.class)) + +$(eval $(call gb_Jar_add_sourcefiles,XSLTValidate,\ + filter/source/xsltvalidate/XSLTValidate \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/filter/JunitTest_filter_complex.mk b/filter/JunitTest_filter_complex.mk new file mode 100644 index 000000000000..8e891d0e833f --- /dev/null +++ b/filter/JunitTest_filter_complex.mk @@ -0,0 +1,40 @@ +#*************************************************************** +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +#*************************************************************** + +$(eval $(call gb_JunitTest_JunitTest,filter_complex,SRCDIR)) + +$(eval $(call gb_JunitTest_add_jars,filter_complex,\ + $(OUTDIR)/bin/OOoRunner.jar \ + $(OUTDIR)/bin/ridl.jar \ + $(OUTDIR)/bin/test.jar \ + $(OUTDIR)/bin/unoil.jar \ + $(OUTDIR)/bin/jurt.jar \ +)) + +$(eval $(call gb_JunitTest_add_sourcefiles,filter_complex,\ + filter/qa/complex/filter/misc/FinalizedMandatoryTest \ + filter/qa/complex/filter/misc/TypeDetection6FileFormat \ +)) + +$(eval $(call gb_JunitTest_add_classes,filter_complex,\ + complex.filter.misc.FinalizedMandatoryTest \ + complex.filter.misc.TypeDetection6FileFormat \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/filter/Library_PptImporter.mk b/filter/Library_PptImporter.mk new file mode 100644 index 000000000000..12900cb7d7a8 --- /dev/null +++ b/filter/Library_PptImporter.mk @@ -0,0 +1,47 @@ +#*************************************************************** +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +#*************************************************************** + +$(eval $(call gb_Library_Library,PptImporter)) + +$(eval $(call gb_Library_add_api,PptImporter,\ + udkapi \ + offapi \ +)) + +$(eval $(call gb_Library_set_include,PptImporter,\ + -I$(SRCDIR)/filter/inc/pch \ + $$(INCLUDE) \ +)) + +$(eval $(call gb_Library_add_linked_libs,PptImporter,\ + sot \ + tl \ + cppuhelper \ + cppu \ + sal \ + $(gb_STDLIBS) \ +)) + +$(eval $(call gb_Library_add_exception_objects,PptImporter,\ + filter/source/msfilter/powerpoint/pptimporter \ + filter/source/msfilter/powerpoint/pptimporteruno \ + filter/source/msfilter/powerpoint/ppttoxml \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/filter/Library_filtertracer.mk b/filter/Library_filtertracer.mk new file mode 100644 index 000000000000..4c07ee01d65f --- /dev/null +++ b/filter/Library_filtertracer.mk @@ -0,0 +1,46 @@ +#*************************************************************** +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +#*************************************************************** + +$(eval $(call gb_Library_Library,filtertracer)) + +$(eval $(call gb_Library_add_api,filtertracer,\ + udkapi \ + offapi \ +)) + +$(eval $(call gb_Library_set_include,filtertracer,\ + -I$(SRCDIR)/filter/inc/pch \ + $$(INCLUDE) \ +)) + +$(eval $(call gb_Library_add_linked_libs,filtertracer,\ + utl \ + tl \ + cppuhelper \ + cppu \ + sal \ + $(gb_STDLIBS) \ +)) + +$(eval $(call gb_Library_add_exception_objects,filtertracer,\ + filter/source/filtertracer/filtertracer \ + filter/source/filtertracer/filtertraceruno \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/filter/Library_flash.mk b/filter/Library_flash.mk new file mode 100644 index 000000000000..60fc4d068563 --- /dev/null +++ b/filter/Library_flash.mk @@ -0,0 +1,60 @@ +#*************************************************************** +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +#*************************************************************** + +$(eval $(call gb_Library_Library,flash)) + +$(eval $(call gb_Library_set_componentfile,flash,filter/source/flash/flash)) + +$(eval $(call gb_Library_add_api,flash,\ + udkapi \ + offapi \ +)) + +$(eval $(call gb_Library_set_include,flash,\ + -I$(SRCDIR)/filter/inc/pch \ + $$(INCLUDE) \ +)) + +$(eval $(call gb_Library_add_linked_libs,flash,\ + svt \ + vcl \ + utl \ + tl \ + comphelper \ + basegfx \ + cppuhelper \ + cppu \ + sal \ + $(gb_STDLIBS) \ +)) + +$(call gb_Library_use_externals,flash,zlib) + +$(eval $(call gb_Library_add_exception_objects,flash,\ + filter/source/flash/impswfdialog \ + filter/source/flash/swfdialog \ + filter/source/flash/swfexporter \ + filter/source/flash/swffilter \ + filter/source/flash/swfuno \ + filter/source/flash/swfwriter \ + filter/source/flash/swfwriter1 \ + filter/source/flash/swfwriter2 \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/filter/Library_msfilter.mk b/filter/Library_msfilter.mk new file mode 100644 index 000000000000..3f11459562e1 --- /dev/null +++ b/filter/Library_msfilter.mk @@ -0,0 +1,79 @@ +#*************************************************************** +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +#*************************************************************** + +$(eval $(call gb_Library_Library,msfilter)) + +$(eval $(call gb_Library_add_package_headers,msfilter,filter_inc)) + +$(eval $(call gb_Library_set_componentfile,msfilter,filter/source/msfilter/msfilter)) + +$(eval $(call gb_Library_add_api,msfilter,\ + udkapi \ + offapi \ +)) + +$(eval $(call gb_Library_set_include,msfilter,\ + -I$(SRCDIR)/filter/inc/pch \ + $$(INCLUDE) \ +)) + +$(eval $(call gb_Library_add_defs,msfilter,\ + -DMSFILTER_DLLIMPLEMENTATION \ +)) + +$(eval $(call gb_Library_add_linked_libs,msfilter,\ + svxcore \ + editeng \ + sfx \ + xo \ + sb \ + svt \ + tk \ + vcl \ + svl \ + sot \ + xcr \ + utl \ + tl \ + comphelper \ + basegfx \ + cppuhelper \ + cppu \ + sal \ + $(gb_STDLIBS) \ +)) + +$(eval $(call gb_Library_add_exception_objects,msfilter,\ + filter/source/msfilter/countryid \ + filter/source/msfilter/escherex \ + filter/source/msfilter/eschesdo \ + filter/source/msfilter/mscodec \ + filter/source/msfilter/msdffimp \ + filter/source/msfilter/msfiltertracer \ + filter/source/msfilter/msocximex \ + filter/source/msfilter/msoleexp \ + filter/source/msfilter/msvbahelper \ + filter/source/msfilter/msvbasic \ + filter/source/msfilter/services \ + filter/source/msfilter/svdfppt \ + filter/source/msfilter/svxmsbas \ + filter/source/msfilter/svxmsbas2 \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/filter/Library_pdffilter.mk b/filter/Library_pdffilter.mk new file mode 100644 index 000000000000..d429af091ec5 --- /dev/null +++ b/filter/Library_pdffilter.mk @@ -0,0 +1,60 @@ +#*************************************************************** +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +#*************************************************************** + +$(eval $(call gb_Library_Library,pdffilter)) + +$(eval $(call gb_Library_set_componentfile,pdffilter,filter/source/pdf/pdffilter)) + +$(eval $(call gb_Library_add_api,pdffilter,\ + udkapi \ + offapi \ +)) + +$(eval $(call gb_Library_set_include,pdffilter,\ + -I$(SRCDIR)/filter/inc/pch \ + -I$(SRCDIR)/filter/inc \ + $$(INCLUDE) \ +)) + +$(eval $(call gb_Library_add_linked_libs,pdffilter,\ + svt \ + sfx \ + tk \ + vcl \ + utl \ + tl \ + svl \ + comphelper \ + basegfx \ + cppuhelper \ + cppu \ + sal \ + $(gb_STDLIBS) \ +)) + +$(eval $(call gb_Library_add_exception_objects,pdffilter,\ + filter/source/pdf/impdialog \ + filter/source/pdf/pdfdialog \ + filter/source/pdf/pdfexport \ + filter/source/pdf/pdffilter \ + filter/source/pdf/pdfinteract \ + filter/source/pdf/pdfuno \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/filter/Library_placeware.mk b/filter/Library_placeware.mk new file mode 100644 index 000000000000..4e2134bc9e29 --- /dev/null +++ b/filter/Library_placeware.mk @@ -0,0 +1,50 @@ +#*************************************************************** +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +#*************************************************************** + +$(eval $(call gb_Library_Library,placeware)) + +$(eval $(call gb_Library_set_componentfile,placeware,filter/source/placeware/placeware)) + +$(eval $(call gb_Library_add_api,placeware,\ + udkapi \ + offapi \ +)) + +$(eval $(call gb_Library_set_include,placeware,\ + -I$(SRCDIR)/filter/inc/pch \ + $$(INCLUDE) \ +)) + +$(eval $(call gb_Library_add_linked_libs,placeware,\ + cppuhelper \ + cppu \ + sal \ + $(gb_STDLIBS) \ +)) + +$(eval $(call gb_Library_add_exception_objects,placeware,\ + filter/source/placeware/Base64Codec \ + filter/source/placeware/exporter \ + filter/source/placeware/filter \ + filter/source/placeware/tempfile \ + filter/source/placeware/uno \ + filter/source/placeware/zip \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/filter/Library_svgfilter.mk b/filter/Library_svgfilter.mk new file mode 100644 index 000000000000..425067d0e142 --- /dev/null +++ b/filter/Library_svgfilter.mk @@ -0,0 +1,72 @@ +#*************************************************************** +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +#*************************************************************** + +$(eval $(call gb_Library_Library,svgfilter)) + +$(eval $(call gb_Library_set_componentfile,svgfilter,filter/source/svg/svgfilter)) + +$(eval $(call gb_Library_add_api,svgfilter,\ + udkapi \ + offapi \ +)) + +$(eval $(call gb_Library_set_include,svgfilter,\ + -I$(SRCDIR)/filter/inc/pch \ + $$(INCLUDE) \ +)) + +$(eval $(call gb_Library_add_linked_libs,svgfilter,\ + svxcore \ + editeng \ + xo \ + svt \ + vcl \ + utl \ + tl \ + comphelper \ + basegfx \ + cppuhelper \ + cppu \ + sal \ + $(gb_STDLIBS) \ +)) + +ifneq ($(SOLAR_JAVA),) +$(eval $(call gb_Library_add_linked_libs,svgfilter,\ + jvmaccess \ +)) +endif + +$(eval $(call gb_Library_add_exception_objects,svgfilter,\ + filter/source/svg/impsvgdialog \ + filter/source/svg/svgdialog \ + filter/source/svg/svgexport \ + filter/source/svg/svgfilter \ + filter/source/svg/svgfontexport \ + filter/source/svg/svguno \ + filter/source/svg/svgwriter \ +)) + +ifneq ($(SOLAR_JAVA),) +$(eval $(call gb_Library_add_exception_objects,svgfilter,\ + filter/source/svg/svgimport \ +)) +endif + +# vim: set noet sw=4 ts=4: diff --git a/filter/Library_t602filter.mk b/filter/Library_t602filter.mk new file mode 100644 index 000000000000..d10ea6c79f08 --- /dev/null +++ b/filter/Library_t602filter.mk @@ -0,0 +1,48 @@ +#*************************************************************** +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +#*************************************************************** + +$(eval $(call gb_Library_Library,t602filter)) + +$(eval $(call gb_Library_set_componentfile,t602filter,filter/source/t602/t602filter)) + +$(eval $(call gb_Library_add_api,t602filter,\ + udkapi \ + offapi \ +)) + +$(eval $(call gb_Library_set_include,t602filter,\ + -I$(SRCDIR)/filter/inc/pch \ + $$(INCLUDE) \ +)) + +$(eval $(call gb_Library_add_linked_libs,t602filter,\ + xo \ + tl \ + cppuhelper \ + cppu \ + sal \ + $(gb_STDLIBS) \ +)) + +$(eval $(call gb_Library_add_exception_objects,t602filter,\ + filter/source/t602/filterenv \ + filter/source/t602/t602filter \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/filter/Library_xmlfa.mk b/filter/Library_xmlfa.mk new file mode 100644 index 000000000000..a7554f2c4811 --- /dev/null +++ b/filter/Library_xmlfa.mk @@ -0,0 +1,49 @@ +#*************************************************************** +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +#*************************************************************** + +$(eval $(call gb_Library_Library,xmlfa)) + +$(eval $(call gb_Library_set_componentfile,xmlfa,filter/source/xmlfilteradaptor/xmlfa)) + +$(eval $(call gb_Library_add_api,xmlfa,\ + udkapi \ + offapi \ +)) + +$(eval $(call gb_Library_set_include,xmlfa,\ + -I$(SRCDIR)/filter/inc/pch \ + $$(INCLUDE) \ +)) + +$(eval $(call gb_Library_add_linked_libs,xmlfa,\ + tl \ + comphelper \ + cppuhelper \ + cppu \ + sal \ + $(gb_STDLIBS) \ +)) + +$(eval $(call gb_Library_add_exception_objects,xmlfa,\ + filter/source/xmlfilteradaptor/XmlFilterAdaptor \ + filter/source/xmlfilteradaptor/genericfilter \ + filter/source/xmlfilteradaptor/streamwrap \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/filter/Library_xmlfd.mk b/filter/Library_xmlfd.mk new file mode 100644 index 000000000000..97afb54ed4fa --- /dev/null +++ b/filter/Library_xmlfd.mk @@ -0,0 +1,47 @@ +#*************************************************************** +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +#*************************************************************** + +$(eval $(call gb_Library_Library,xmlfd)) + +$(eval $(call gb_Library_set_componentfile,xmlfd,filter/source/xmlfilterdetect/xmlfd)) + +$(eval $(call gb_Library_add_api,xmlfd,\ + udkapi \ + offapi \ +)) + +$(eval $(call gb_Library_set_include,xmlfd,\ + -I$(SRCDIR)/filter/inc/pch \ + $$(INCLUDE) \ +)) + +$(eval $(call gb_Library_add_linked_libs,xmlfd,\ + ucbhelper \ + cppuhelper \ + cppu \ + sal \ + $(gb_STDLIBS) \ +)) + +$(eval $(call gb_Library_add_exception_objects,xmlfd,\ + filter/source/xmlfilterdetect/fdcomp \ + filter/source/xmlfilterdetect/filterdetect \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/filter/Module_filter.mk b/filter/Module_filter.mk index a44675473561..7d0f7235ee09 100644 --- a/filter/Module_filter.mk +++ b/filter/Module_filter.mk @@ -21,6 +21,26 @@ $(eval $(call gb_Module_Module,filter)) $(eval $(call gb_Module_add_targets,filter,\ Configuration_filter \ + Jar_XSLTFilter \ + Jar_XSLTValidate \ + Library_PptImporter \ + Library_filtertracer \ + Library_flash \ + Library_msfilter \ + Library_pdffilter \ + Library_placeware \ + Library_svgfilter \ + Library_t602filter \ + Library_xmlfa \ + Library_xmlfd \ + Package_inc \ + Package_docbook \ + Package_xslt \ +)) + +# TODO +#$(eval $(call gb_Module_add_subsequentcheck_targets,filter,\ + JunitTest_filter_complex \ )) # vim: set noet sw=4 ts=4: diff --git a/filter/Package_docbook.mk b/filter/Package_docbook.mk new file mode 100644 index 000000000000..e95b952ba5ea --- /dev/null +++ b/filter/Package_docbook.mk @@ -0,0 +1,26 @@ +#*************************************************************** +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +#*************************************************************** + +$(eval $(call gb_Package_Package,filter_docbook,$(SRCDIR)/filter/source/docbook)) + +$(eval $(call gb_Package_add_file,filter_docbook,bin/DocBookTemplate.stw,DocBookTemplate.stw)) +$(eval $(call gb_Package_add_file,filter_docbook,bin/docbooktosoffheadings.xsl,docbooktosoffheadings.xsl)) +$(eval $(call gb_Package_add_file,filter_docbook,bin/sofftodocbookheadings.xsl,sofftodocbookheadings.xsl)) + +# vim: set noet sw=4 ts=4: diff --git a/filter/Package_inc.mk b/filter/Package_inc.mk new file mode 100644 index 000000000000..14f197290abb --- /dev/null +++ b/filter/Package_inc.mk @@ -0,0 +1,34 @@ +#*************************************************************** +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +#*************************************************************** + +$(eval $(call gb_Package_Package,filter_inc,$(SRCDIR)/filter/inc)) + +$(eval $(call gb_Package_add_file,filter_inc,inc/filter/msfilter/msfilterdllapi.h,filter/msfilter/msfilterdllapi.h)) +$(eval $(call gb_Package_add_file,filter_inc,inc/filter/msfilter/countryid.hxx,filter/msfilter/countryid.hxx)) +$(eval $(call gb_Package_add_file,filter_inc,inc/filter/msfilter/escherex.hxx,filter/msfilter/escherex.hxx)) +$(eval $(call gb_Package_add_file,filter_inc,inc/filter/msfilter/mscodec.hxx,filter/msfilter/mscodec.hxx)) +$(eval $(call gb_Package_add_file,filter_inc,inc/filter/msfilter/msdffimp.hxx,filter/msfilter/msdffimp.hxx)) +$(eval $(call gb_Package_add_file,filter_inc,inc/filter/msfilter/msfiltertracer.hxx,filter/msfilter/msfiltertracer.hxx)) +$(eval $(call gb_Package_add_file,filter_inc,inc/filter/msfilter/msocximex.hxx,filter/msfilter/msocximex.hxx)) +$(eval $(call gb_Package_add_file,filter_inc,inc/filter/msfilter/msoleexp.hxx,filter/msfilter/msoleexp.hxx)) +$(eval $(call gb_Package_add_file,filter_inc,inc/filter/msfilter/msvbahelper.hxx,filter/msfilter/msvbahelper.hxx)) +$(eval $(call gb_Package_add_file,filter_inc,inc/filter/msfilter/svdfppt.hxx,filter/msfilter/svdfppt.hxx)) +$(eval $(call gb_Package_add_file,filter_inc,inc/filter/msfilter/svxmsbas.hxx,filter/msfilter/svxmsbas.hxx)) + +# vim: set noet sw=4 ts=4: diff --git a/filter/Package_xslt.mk b/filter/Package_xslt.mk new file mode 100644 index 000000000000..c006e67d8e03 --- /dev/null +++ b/filter/Package_xslt.mk @@ -0,0 +1,74 @@ +#*************************************************************** +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +#*************************************************************** + +$(eval $(call gb_Package_Package,filter_xslt,$(SRCDIR)/filter/source/xslt)) + +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/common/copy.xsl,common/copy.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/common/math.xsl,common/math.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/common/measure_conversion.xsl,common/measure_conversion.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/export/common/ooo2ms_docpr.xsl,export/common/ooo2ms_docpr.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/export/spreadsheetml/formular.xsl,export/spreadsheetml/formular.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/export/spreadsheetml/ooo2spreadsheetml.xsl,export/spreadsheetml/ooo2spreadsheetml.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/export/spreadsheetml/style_mapping.xsl,export/spreadsheetml/style_mapping.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/export/spreadsheetml/styles.xsl,export/spreadsheetml/styles.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/export/spreadsheetml/table.xsl,export/spreadsheetml/table.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/export/uof/odf2uof_presentation.xsl,export/uof/odf2uof_presentation.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/export/uof/odf2uof_spreadsheet.xsl,export/uof/odf2uof_spreadsheet.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/export/uof/odf2uof_text.xsl,export/uof/odf2uof_text.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/export/wordml/ooo2wordml.xsl,export/wordml/ooo2wordml.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/export/wordml/ooo2wordml_border.xsl,export/wordml/ooo2wordml_border.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/export/wordml/ooo2wordml_custom_draw.xsl,export/wordml/ooo2wordml_custom_draw.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/export/wordml/ooo2wordml_draw.xsl,export/wordml/ooo2wordml_draw.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/export/wordml/ooo2wordml_field.xsl,export/wordml/ooo2wordml_field.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/export/wordml/ooo2wordml_list.xsl,export/wordml/ooo2wordml_list.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/export/wordml/ooo2wordml_page.xsl,export/wordml/ooo2wordml_page.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/export/wordml/ooo2wordml_path.xsl,export/wordml/ooo2wordml_path.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/export/wordml/ooo2wordml_settings.xsl,export/wordml/ooo2wordml_settings.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/export/wordml/ooo2wordml_table.xsl,export/wordml/ooo2wordml_table.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/export/wordml/ooo2wordml_text.xsl,export/wordml/ooo2wordml_text.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/import/common/ms2ooo_docpr.xsl,import/common/ms2ooo_docpr.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl,import/spreadsheetml/spreadsheetml2ooo.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/import/uof/uof2odf_presentation.xsl,import/uof/uof2odf_presentation.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/import/uof/uof2odf_spreadsheet.xsl,import/uof/uof2odf_spreadsheet.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/import/uof/uof2odf_text.xsl,import/uof/uof2odf_text.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/import/wordml/wordml2ooo.xsl,import/wordml/wordml2ooo.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/import/wordml/wordml2ooo_custom_draw.xsl,import/wordml/wordml2ooo_custom_draw.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/import/wordml/wordml2ooo_draw.xsl,import/wordml/wordml2ooo_draw.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/import/wordml/wordml2ooo_field.xsl,import/wordml/wordml2ooo_field.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/import/wordml/wordml2ooo_list.xsl,import/wordml/wordml2ooo_list.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/import/wordml/wordml2ooo_page.xsl,import/wordml/wordml2ooo_page.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/import/wordml/wordml2ooo_path.xsl,import/wordml/wordml2ooo_path.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/import/wordml/wordml2ooo_props.xsl,import/wordml/wordml2ooo_props.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/import/wordml/wordml2ooo_settings.xsl,import/wordml/wordml2ooo_settings.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/import/wordml/wordml2ooo_table.xsl,import/wordml/wordml2ooo_table.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/import/wordml/wordml2ooo_text.xsl,import/wordml/wordml2ooo_text.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/export/common/body.xsl,odf2xhtml/export/common/body.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/export/common/styles/style_collector.xsl,odf2xhtml/export/common/styles/style_collector.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/export/common/styles/style_mapping_css.xsl,odf2xhtml/export/common/styles/style_mapping_css.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/export/common/table/table.xsl,odf2xhtml/export/common/table/table.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/export/common/table/table_cells.xsl,odf2xhtml/export/common/table/table_cells.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/export/common/table/table_columns.xsl,odf2xhtml/export/common/table/table_columns.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/export/common/table/table_rows.xsl,odf2xhtml/export/common/table/table_rows.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/export/common/table_of_content.xsl,odf2xhtml/export/common/table_of_content.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/export/xhtml/body.xsl,odf2xhtml/export/xhtml/body.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/export/xhtml/header.xsl,odf2xhtml/export/xhtml/header.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/export/xhtml/opendoc2xhtml.xsl,odf2xhtml/export/xhtml/opendoc2xhtml.xsl)) +$(eval $(call gb_Package_add_file,filter_xslt,bin/xslt/export/xhtml/table.xsl,odf2xhtml/export/xhtml/table.xsl)) + +# vim: set noet sw=4 ts=4: diff --git a/filter/prj/build.lst b/filter/prj/build.lst index afe1d3e3c4fd..cd074b93bc60 100644 --- a/filter/prj/build.lst +++ b/filter/prj/build.lst @@ -3,21 +3,8 @@ fl filter\prj nmake - all fl_prj NULL fl filter usr1 - all fl_mkout NULL fl filter\prj get - all fl_prj NULL fl filter\inc nmake - all fl_inc NULL -fl filter\source\xmlfilteradaptor nmake - all fl_xmlfilteradaptor fl_inc NULL -fl filter\source\xmlfilterdetect nmake - all fl_xmlfilterdetect fl_inc NULL -fl filter\source\msfilter nmake - all fl_msfilter fl_inc NULL -fl filter\source\msfilter\powerpoint nmake - all fl_powerpoint fl_inc NULL -fl filter\source\pdf nmake - all fl_pdf fl_svg fl_inc NULL -fl filter\source\svg nmake - all fl_svg fl_inc NULL -fl filter\source\placeware nmake - all fl_placeware fl_inc NULL -fl filter\source\flash nmake - all fl_flash fl_pdf fl_inc NULL -fl filter\source\filtertracer nmake - all fl_filtertracer fl_inc NULL fl filter\source\odfflatxml nmake - all fl_odfflatxml fl_inc NULL -fl filter\source\xsltfilter nmake - all fl_xsltfilter fl_inc NULL -fl filter\source\xsltvalidate nmake - all fl_xsltvalidate fl_xsltfilter fl_inc NULL fl filter\source\xsltdialog nmake - all fl_xsltdialog fl_flash fl_inc NULL -fl filter\source\docbook nmake - all fl_docbook fl_inc NULL -fl filter\source\t602 nmake - all fl_t602 fl_inc NULL fl filter\source\graphicfilter\eos2met nmake - all g_vfeom fl_inc NULL fl filter\source\graphicfilter\ios2met nmake - all g_vfiom fl_inc NULL fl filter\source\graphicfilter\epict nmake - all g_vfept fl_inc NULL @@ -41,6 +28,3 @@ fl filter\source\graphicfilter\ipsd nmake - all g_ipsd fl_inc NULL fl filter\source\graphicfilter\ieps nmake - all g_ieps fl_inc NULL fl filter\source\graphicfilter\icgm nmake - all g_icgm fl_inc NULL fl filter\source\config\cache nmake - all fl_config fl_inc NULL - -# took very long -# fl filter\qa\complex\filter\misc nmake - all fl_qa_complex NULL diff --git a/filter/qa/complex/filter/misc/makefile.mk b/filter/qa/complex/filter/misc/makefile.mk deleted file mode 100755 index 5ac072a2e071..000000000000 --- a/filter/qa/complex/filter/misc/makefile.mk +++ /dev/null @@ -1,59 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org 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 version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -.IF "$(OOO_SUBSEQUENT_TESTS)" == "" -nothing .PHONY: -.ELSE - -PRJ = ../../../.. -PRJNAME = filter -TARGET = qa_complex_filter_misc - -.IF "$(OOO_JUNIT_JAR)" != "" -PACKAGE = complex/filter/misc -JAVATESTFILES = \ - TypeDetection6FileFormat.java \ - FinalizedMandatoryTest.java - -JAVAFILES = $(JAVATESTFILES) - -JARFILES = OOoRunner.jar ridl.jar test.jar unoil.jar jurt.jar -EXTRAJARFILES = $(OOO_JUNIT_JAR) -.END - -# Sample how to debug -# JAVAIFLAGS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=9003,suspend=y - -.INCLUDE: settings.mk -.INCLUDE: target.mk -.INCLUDE: installationtest.mk - -ALLTAR : javatest - -.END - - diff --git a/filter/source/docbook/makefile.mk b/filter/source/docbook/makefile.mk deleted file mode 100644 index b3b43d5cbd02..000000000000 --- a/filter/source/docbook/makefile.mk +++ /dev/null @@ -1,51 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org 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 version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -PRJ=..$/.. -PRJNAME=filter -TARGET=fl_javafilter_binaries - -.INCLUDE: settings.mk - -all: \ - $(BIN)$/docbooktosoffheadings.xsl \ - $(BIN)$/sofftodocbookheadings.xsl \ - $(BIN)$/DocBookTemplate.stw - - - -$(OUT)$/bin$/docbooktosoffheadings.xsl: docbooktosoffheadings.xsl - $(COPY) docbooktosoffheadings.xsl $(OUT)$/bin$/docbooktosoffheadings.xsl - -$(OUT)$/bin$/sofftodocbookheadings.xsl: sofftodocbookheadings.xsl - $(COPY) sofftodocbookheadings.xsl $(OUT)$/bin$/sofftodocbookheadings.xsl - -$(OUT)$/bin$/DocBookTemplate.stw: DocBookTemplate.stw - $(COPY) DocBookTemplate.stw $(OUT)$/bin$/DocBookTemplate.stw - -.INCLUDE: target.mk - diff --git a/filter/source/filtertracer/makefile.mk b/filter/source/filtertracer/makefile.mk deleted file mode 100644 index 4a4c143c4a4a..000000000000 --- a/filter/source/filtertracer/makefile.mk +++ /dev/null @@ -1,63 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org 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 version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -PRJ=..$/.. -PRJNAME=filter -TARGET=filtertracer - -ENABLE_EXCEPTIONS=TRUE -USE_DEFFILE=TRUE - -# --- Settings ---------------------------------- - -.INCLUDE : settings.mk - -# --- Files ------------------------------------- - -SLOFILES= $(SLO)$/filtertracer.obj \ - $(SLO)$/filtertraceruno.obj - -# --- Library ----------------------------------- - -SHL1TARGET=$(TARGET)$(DLLPOSTFIX) -SHL1STDLIBS=$(CPPULIB) \ - $(CPPUHELPERLIB) \ - $(SALLIB) \ - $(TOOLSLIB) \ - $(UNOTOOLSLIB) - -SHL1DEPN= -SHL1IMPLIB= i$(SHL1TARGET) -SHL1LIBS= $(SLB)$/$(TARGET).lib -SHL1DEF= $(MISC)$/$(SHL1TARGET).def - -DEF1NAME=$(SHL1TARGET) -DEF1EXPORTFILE=exports.dxp - -# --- Targets ---------------------------------- - -.INCLUDE : target.mk diff --git a/filter/source/flash/makefile.mk b/filter/source/flash/makefile.mk deleted file mode 100644 index 69da217234d8..000000000000 --- a/filter/source/flash/makefile.mk +++ /dev/null @@ -1,106 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org 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 version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -PRJ=..$/.. -PRJNAME=filter -TARGET=flash - -ENABLE_EXCEPTIONS=TRUE -VISIBILITY_HIDDEN=TRUE - -# --- Settings ---------------------------------- - -.INCLUDE : settings.mk - -.IF "$(SYSTEM_ZLIB)" == "YES" -CFLAGS+=-DSYSTEM_ZLIB -.ENDIF - -SRS1NAME=$(TARGET) -SRC1FILES = impswfdialog.src - -SLOFILES= $(SLO)$/swffilter.obj \ - $(SLO)$/swfwriter.obj \ - $(SLO)$/swfwriter1.obj \ - $(SLO)$/swfwriter2.obj \ - $(SLO)$/swfuno.obj \ - $(SLO)$/swfexporter.obj \ - $(SLO)$/swfdialog.obj \ - $(SLO)$/impswfdialog.obj - -# --- Library ----------------------------------- - -RESLIB1NAME=$(TARGET) -RESLIB1SRSFILES= $(SRS)$/$(TARGET).srs - -SHL1TARGET=$(TARGET)$(DLLPOSTFIX) - -# static libraries must come at the end for MACOSX -.IF "$(OS)" != "MACOSX" -SHL1STDLIBS+=\ - $(ZLIB3RDLIB) -.ENDIF - - -# dynamic libraries -SHL1STDLIBS+=\ - $(SVTOOLLIB) \ - $(BASEGFXLIB) \ - $(VCLLIB) \ - $(UNOTOOLSLIB) \ - $(TOOLSLIB) \ - $(COMPHELPERLIB) \ - $(CPPUHELPERLIB) \ - $(CPPULIB) \ - $(SALLIB) - -# static libraries must come at the end for MACOSX -.IF "$(OS)" == "MACOSX" -SHL1STDLIBS+=\ - $(ZLIB3RDLIB) -.ENDIF - -SHL1DEPN= -SHL1IMPLIB= i$(SHL1TARGET) -SHL1VERSIONMAP=$(SOLARENV)/src/component.map -SHL1LIBS= $(SLB)$/$(TARGET).lib -SHL1DEF= $(MISC)$/$(SHL1TARGET).def - -DEF1NAME=$(SHL1TARGET) - -# --- Targets ---------------------------------- - -.INCLUDE : target.mk - - -ALLTAR : $(MISC)/flash.component - -$(MISC)/flash.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ - flash.component - $(XSLTPROC) --nonet --stringparam uri \ - '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ - $(SOLARENV)/bin/createcomponent.xslt flash.component diff --git a/filter/source/msfilter/makefile.mk b/filter/source/msfilter/makefile.mk deleted file mode 100644 index 971787bdeb3a..000000000000 --- a/filter/source/msfilter/makefile.mk +++ /dev/null @@ -1,99 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org 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 version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -PRJ=..$/.. - -PRJNAME=filter -TARGET=msfilter - -ENABLE_EXCEPTIONS=TRUE -LIBTARGET=NO - -# --- Settings ----------------------------------------------------- - -.INCLUDE : settings.mk -.INCLUDE : makefile.pmk - -# --- Files -------------------------------------------------------- - -SLOFILES= \ - $(SLO)$/countryid.obj \ - $(SLO)$/escherex.obj \ - $(SLO)$/eschesdo.obj \ - $(SLO)$/mscodec.obj \ - $(SLO)$/msdffimp.obj \ - $(SLO)$/msfiltertracer.obj \ - $(SLO)$/msocximex.obj \ - $(SLO)$/msoleexp.obj \ - $(SLO)$/msvbahelper.obj \ - $(SLO)$/services.obj \ - $(SLO)$/svdfppt.obj \ - $(SLO)$/svxmsbas2.obj \ - $(SLO)$/mstoolbar.obj - - -SHL1TARGET= msfilter$(DLLPOSTFIX) -.IF "$(COM)" == "MSC" -SHL1IMPLIB= i$(TARGET) -.ELSE -SHL1IMPLIB= msfilter$(DLLPOSTFIX) -.ENDIF -SHL1OBJS= $(SLOFILES) -SHL1USE_EXPORTS=name -SHL1STDLIBS= \ - $(EDITENGLIB) \ - $(SVXCORELIB) \ - $(SVTOOLLIB) \ - $(SFX2LIB) \ - $(XMLOFFLIB) \ - $(BASEGFXLIB) \ - $(BASICLIB) \ - $(SVTOOLLIB) \ - $(TKLIB) \ - $(VCLLIB) \ - $(SVLLIB) \ - $(SOTLIB) \ - $(UNOTOOLSLIB) \ - $(TOOLSLIB) \ - $(XMLSCRIPTLIB) \ - $(COMPHELPERLIB) \ - $(CPPUHELPERLIB) \ - $(CPPULIB) \ - $(SALLIB) - -SHL1DEF= $(MISC)$/$(SHL1TARGET).def -DEF1NAME= $(SHL1TARGET) - -.INCLUDE : target.mk - -ALLTAR : $(MISC)/msfilter.component - -$(MISC)/msfilter.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ - msfilter.component - $(XSLTPROC) --nonet --stringparam uri \ - '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ - $(SOLARENV)/bin/createcomponent.xslt msfilter.component diff --git a/filter/source/msfilter/makefile.pmk b/filter/source/msfilter/makefile.pmk deleted file mode 100644 index 1b3ae0c70ae0..000000000000 --- a/filter/source/msfilter/makefile.pmk +++ /dev/null @@ -1,30 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org 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 version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -# Reduction of exported symbols: -CDEFS += -DMSFILTER_DLLIMPLEMENTATION -VISIBILITY_HIDDEN=TRUE diff --git a/filter/source/msfilter/powerpoint/makefile.mk b/filter/source/msfilter/powerpoint/makefile.mk deleted file mode 100644 index 0ad3d4202f1f..000000000000 --- a/filter/source/msfilter/powerpoint/makefile.mk +++ /dev/null @@ -1,65 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org 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 version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -PRJ=..$/..$/.. -PRJNAME=filter -TARGET=PptImporter - -ENABLE_EXCEPTIONS=TRUE - -# --- Settings ---------------------------------- - -.INCLUDE : settings.mk - -# --- Files ------------------------------------- - -SLOFILES= $(SLO)$/pptimporter.obj \ - $(SLO)$/pptimporteruno.obj \ - $(SLO)$/ppttoxml.obj - -# --- Library ----------------------------------- - -SHL1TARGET=$(TARGET)$(DLLPOSTFIX) -SHL1STDLIBS=\ - $(SOTLIB) \ - $(TOOLSLIB) \ - $(CPPUHELPERLIB) \ - $(CPPULIB) \ - $(SALLIB) - -SHL1DEPN= -SHL1IMPLIB= i$(SHL1TARGET) -SHL1LIBS= $(SLB)$/$(TARGET).lib -SHL1VERSIONMAP=$(SOLARENV)/src/component.map -SHL1DEF= $(MISC)$/$(SHL1TARGET).def - -DEF1NAME=$(SHL1TARGET) - -# --- Targets ---------------------------------- - -.INCLUDE : target.mk - diff --git a/filter/source/pdf/makefile.mk b/filter/source/pdf/makefile.mk deleted file mode 100644 index 65028c7d5d8d..000000000000 --- a/filter/source/pdf/makefile.mk +++ /dev/null @@ -1,92 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org 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 version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -PRJ=..$/.. -PRJNAME=filter -TARGET=pdffilter -GEN_HID=TRUE - -ENABLE_EXCEPTIONS=TRUE -VISIBILITY_HIDDEN=TRUE - -# --- Settings ---------------------------------- - -.INCLUDE : settings.mk - -# --- Files ------------------------------------- - -SRS1NAME=$(TARGET) -SRC1FILES = impdialog.src \ - pdf.src - -SLOFILES= $(SLO)$/pdfuno.obj \ - $(SLO)$/pdfdialog.obj \ - $(SLO)$/impdialog.obj \ - $(SLO)$/pdffilter.obj \ - $(SLO)$/pdfinteract.obj \ - $(SLO)$/pdfexport.obj - -# --- Library ----------------------------------- - -RESLIB1NAME=$(TARGET) -RESLIB1SRSFILES= $(SRS)$/$(TARGET).srs - -SHL1TARGET=$(TARGET)$(DLLPOSTFIX) - -SHL1STDLIBS=\ - $(SVTOOLLIB) \ - $(TKLIB) \ - $(VCLLIB) \ - $(SVLLIB) \ - $(BASEGFXLIB) \ - $(SFX2LIB) \ - $(UNOTOOLSLIB) \ - $(TOOLSLIB) \ - $(COMPHELPERLIB) \ - $(CPPUHELPERLIB) \ - $(CPPULIB) \ - $(SALLIB) - -SHL1DEPN= -SHL1IMPLIB= i$(SHL1TARGET) -SHL1LIBS= $(SLB)$/$(TARGET).lib -SHL1DEF= $(MISC)$/$(SHL1TARGET).def -SHL1VERSIONMAP=$(SOLARENV)/src/component.map - -DEF1NAME=$(SHL1TARGET) - -# --- Targets ---------------------------------- - -.INCLUDE : target.mk - -ALLTAR : $(MISC)/pdffilter.component - -$(MISC)/pdffilter.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ - pdffilter.component - $(XSLTPROC) --nonet --stringparam uri \ - '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ - $(SOLARENV)/bin/createcomponent.xslt pdffilter.component diff --git a/filter/source/placeware/makefile.mk b/filter/source/placeware/makefile.mk deleted file mode 100644 index e3bd32a9197f..000000000000 --- a/filter/source/placeware/makefile.mk +++ /dev/null @@ -1,75 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org 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 version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -PRJ=..$/.. -PRJNAME=filter -TARGET=placeware -USE_DEFFILE= TRUE -ENABLE_EXCEPTIONS=TRUE -COMP1TYPELIST=$(TARGET) - -# --- Settings ---------------------------------- - -.INCLUDE : settings.mk - -# --- Files ------------------------------------- - -SLOFILES= $(SLO)$/zip.obj \ - $(SLO)$/filter.obj \ - $(SLO)$/uno.obj \ - $(SLO)$/exporter.obj \ - $(SLO)$/Base64Codec.obj \ - $(SLO)$/tempfile.obj - -# --- Library ----------------------------------- - -SHL1TARGET=$(TARGET)$(DLLPOSTFIX) - -SHL1STDLIBS= \ - $(CPPULIB) \ - $(CPPUHELPERLIB) \ - $(SALLIB) -SHL1VERSIONMAP=$(SOLARENV)/src/component.map - -SHL1DEPN= -SHL1IMPLIB= i$(TARGET) -SHL1LIBS= $(SLB)$/$(TARGET).lib -SHL1DEF= $(MISC)$/$(SHL1TARGET).def - -DEF1NAME= $(SHL1TARGET) - -# --- Targets ---------------------------------- - -.INCLUDE : target.mk - -ALLTAR : $(MISC)/placeware.component - -$(MISC)/placeware.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ - placeware.component - $(XSLTPROC) --nonet --stringparam uri \ - '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ - $(SOLARENV)/bin/createcomponent.xslt placeware.component diff --git a/filter/source/svg/makefile.mk b/filter/source/svg/makefile.mk deleted file mode 100644 index 0c8a89cb5680..000000000000 --- a/filter/source/svg/makefile.mk +++ /dev/null @@ -1,132 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2008 by Sun Microsystems, Inc. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# $RCSfile: makefile.mk,v $ -# -# $Revision: 1.10.110.6 $ -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org 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 version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -PRJ=..$/.. - -PRJNAME=filter -TARGET=svgfilter -ENABLE_EXCEPTIONS=TRUE -VISIBILITY_HIDDEN=TRUE - -# --- Settings ---------------------------------- - -.INCLUDE : settings.mk -.INCLUDE : libs.mk - -# --- Types ------------------------------------- - -SLOFILES= \ - $(SLO)$/b2dellipse.obj \ - $(SLO)$/parserfragments.obj \ - $(SLO)$/svgdialog.obj \ - $(SLO)$/impsvgdialog.obj \ - $(SLO)$/svgexport.obj \ - $(SLO)$/svgfilter.obj \ - $(SLO)$/svgfontexport.obj \ - $(SLO)$/svgimport.obj \ - $(SLO)$/svgreader.obj \ - $(SLO)$/svgwriter.obj \ - $(SLO)$/tokenmap.obj \ - $(SLO)$/units.obj - -.IF "$(COMID)"=="gcc3" -.IF "$(CCNUMVER)">="000400000000" || "$(SYSTEM_BOOST)"=="YES" -CFLAGS+=-DUSE_MODERN_SPIRIT -.ENDIF -.ENDIF -.IF "$(SYSTEM_BOOST)"=="NO" -CFLAGS+=-DUSE_MODERN_SPIRIT -.ENDIF - -# --- Library ----------------------------------- - -SHL1TARGET=$(TARGET)$(DLLPOSTFIX) - -SHL1STDLIBS=\ - $(SVXCORELIB) \ - $(BASEGFXLIB) \ - $(XMLOFFLIB) \ - $(SVTOOLLIB) \ - $(EDITENGLIB) \ - $(VCLLIB) \ - $(UNOTOOLSLIB) \ - $(TOOLSLIB) \ - $(COMPHELPERLIB) \ - $(SVTOOLLIB) \ - $(CPPUHELPERLIB) \ - $(CPPULIB) \ - $(SALLIB) \ - $(LIBXML) \ - $(SVLLIB) - -SHL1DEPN= -SHL1IMPLIB= i$(SHL1TARGET) -SHL1LIBS= $(SLB)$/$(TARGET).lib -SHL1VERSIONMAP=exports.map -SHL1DEF= $(MISC)$/$(SHL1TARGET).def - -DEF1NAME=$(SHL1TARGET) - -.IF "$(OS_FOR_BUILD)"=="WNT" && "$(SYSTEM_PYTHON)"!="YES" -PYTHONCMD=$(AUGMENT_LIBRARY_PATH) $(WRAPCMD) $(SOLARBINDIR)/python -PYTHONPATH:=$(SOLARLIBDIR);$(SOLARLIBDIR)$/python;$(SOLARLIBDIR)$/python$/lib-dynload -.EXPORT: PYTHONPATH -.ELSE # "$(SYSTEM_PYTHON)"!="YES" -PYTHONCMD=$(WRAPCMD) $(PYTHON) -.ENDIF # "$(SYSTEM_PYTHON)"!="YES" - -# --- Targets ---------------------------------- - -.INCLUDE : target.mk - -# Generate gperf files - from oox/source/token -$(INCCOM)$/tokens.hxx $(MISC)$/tokens.gperf : tokens.txt gentoken.pl - $(PERL) gentoken.pl tokens.txt $(INCCOM)$/tokens.hxx $(MISC)$/tokens.gperf - -$(INCCOM)$/tokens.cxx : $(MISC)$/tokens.gperf makefile.mk - $(GPERF) --compare-strncmp -C -m 20 $(MISC)$/tokens.gperf | $(SED) -e "s/(char\*)0/(char\*)0, 0/g" >$(INCCOM)$/tokens.cxx - -ALLTAR : $(MISC)/svgfilter.component - -$(INCCOM)$/svgscript.hxx : presentation_engine.js js2hxx.py - $(PYTHONCMD) js2hxx.py presentation_engine.js $@ -$(SLO)$/svgexport.obj : svgexport.cxx $(INCCOM)$/svgscript.hxx - -$(MISC)/svgfilter.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ - svgfilter.component - $(XSLTPROC) --nonet --stringparam uri \ - '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ - $(SOLARENV)/bin/createcomponent.xslt svgfilter.component -$(SLO)$/tokenmap.obj : $(INCCOM)$/tokens.cxx $(INCCOM)$/tokens.hxx - -$(SLO)$/parserfragments.obj : $(INCCOM)$/tokens.cxx $(INCCOM)$/tokens.hxx - -$(SLO)$/svgreader.obj : $(INCCOM)$/tokens.cxx $(INCCOM)$/tokens.hxx diff --git a/filter/source/svg/test/makefile.mk b/filter/source/svg/test/makefile.mk deleted file mode 100644 index 669d5496b084..000000000000 --- a/filter/source/svg/test/makefile.mk +++ /dev/null @@ -1,115 +0,0 @@ -#************************************************************************* -# -# OpenOffice.org - a multi-platform office productivity suite -# -# Author: -# Fridrich Strba <fridrich.strba@bluewin.ch> -# Thorsten Behrens <tbehrens@novell.com> -# -# Copyright (C) 2008, Novell Inc. -# Parts copyright 2005 by Sun Microsystems, Inc. -# -# The Contents of this file are made available subject to -# the terms of GNU Lesser General Public License Version 3. -# -#************************************************************************* - -PRJ=..$/..$/.. -PRJNAME=filter -TARGET=tests -TARGETTYPE=CUI -ENABLE_EXCEPTIONS=TRUE - -# --- Settings ----------------------------------------------------- - -.INCLUDE: settings.mk - -# --- unit tests --------------------------------------------------- - -SHL1OBJS= \ - $(SLO)$/parsertest.obj - -SHL1TARGET= tests -SHL1LIBS= $(SLB)$/svgfilter.lib -SHL1STDLIBS= \ - $(BASEGFXLIB) \ - $(SVXLIB) \ - $(SVTOOLLIB) \ - $(XMLOFFLIB) \ - $(BASEGFXLIB) \ - $(VCLLIB) \ - $(UNOTOOLSLIB) \ - $(TOOLSLIB) \ - $(COMPHELPERLIB) \ - $(SVTOOLLIB) \ - $(CPPUHELPERLIB) \ - $(CPPULIB) \ - $(SALLIB) \ - $(LIBXML) \ - $(CPPUNITLIB) - -# --- svg2xml binary ------------------------------------------------------ - -TARGET2=svg2odf - -APP1TARGET=$(TARGET2) -APP1LIBSALCPPRT= -APP1OBJS= \ - $(SLO)$/odfserializer.obj \ - $(SLO)$/svg2odf.obj - -APP1LIBS=\ - $(SLB)$/svgfilter.lib - -APP1STDLIBS=\ - $(BASEGFXLIB) \ - $(SVXLIB) \ - $(XMLOFFLIB) \ - $(BASEGFXLIB) \ - $(VCLLIB) \ - $(UNOTOOLSLIB) \ - $(TOOLSLIB) \ - $(COMPHELPERLIB) \ - $(CPPUHELPERLIB) \ - $(CPPULIB) \ - $(SALLIB) \ - $(LIBXML) - -# --- Targets ------------------------------------------------------ - -.INCLUDE : target.mk -.INCLUDE : _cppunit.mk - -# --- Special ------------------------------------------------------ - -TESTFILES=\ - anarchist.svg \ - anarchist2.svg \ - Nested.svg - -$(MISC)$/%_svgi_unittest_succeeded : $(BIN)$/svg2odf - rm -f $(MISC)$/$(@:s/_succeeded/.xml/:f) - $(BIN)$/svg2odf $(@:s/_svgi_unittest_succeeded/.svg/:f) $(MISC)$/$(@:s/_succeeded/.xml/:f) $(BIN)$/svgi_unittest_test.ini - $(TOUCH) $@ - -.IF "$(GUI)" == "WNT" -SAXPARSERLIB=$(SOLARBINDIR)$/sax.uno$(DLLPOST) -UNOXMLLIB=$(SOLARBINDIR)$/$(DLLPRE)unoxml$(OFFICEUPD)$(DLLPOSTFIX)$(DLLPOST) -.ELSE -SAXPARSERLIB=$(SOLARLIBDIR)$/sax.uno$(DLLPOST) -UNOXMLLIB=$(SOLARLIBDIR)$/$(DLLPRE)unoxml$(OFFICEUPD)$(DLLPOSTFIX)$(DLLPOST) -.ENDIF - -$(BIN)$/unittestservices.rdb : makefile.mk $(SAXPARSERLIB) $(UNOXMLLIB) - rm -f $@ - $(REGCOMP) -register -r $@ -c $(SAXPARSERLIB) - $(REGCOMP) -register -r $@ -c $(UNOXMLLIB) - -$(BIN)$/svgi_unittest_test.ini : makefile.mk - rm -f $@ - @echo UNO_SERVICES=$(BIN)$/unittestservices.rdb > $@ - @echo UNO_TYPES=$(UNOUCRRDB:s/\/\\/) >> $@ - -ALLTAR : $(BIN)$/svgi_unittest_test.ini \ - $(BIN)$/unittestservices.rdb \ - $(foreach,i,$(TESTFILES:s/.svg/_svgi_unittest_succeeded/:f) $(MISC)$/$i) diff --git a/filter/source/t602/makefile.mk b/filter/source/t602/makefile.mk deleted file mode 100644 index fce84f916f81..000000000000 --- a/filter/source/t602/makefile.mk +++ /dev/null @@ -1,69 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org 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 version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************* -PRJ = ..$/.. -PRJNAME = filter -TARGET =t602filter -ENABLE_EXCEPTIONS=TRUE -LIBTARGET=NO - -# --- Settings ----------------------------------------------------- -.INCLUDE: settings.mk - -SRS1NAME = $(TARGET) -SRC1FILES = $(SRS1NAME).src - -RESLIB1NAME=$(SRS1NAME) -RESLIB1SRSFILES= $(SRS)$/$(RESLIB1NAME).srs - -SLOFILES=$(SLO)$/t602filter.obj \ - $(SLO)$/filterenv.obj - -LIBNAME=$(TARGET) -SHL1TARGETDEPN=makefile.mk -SHL1OBJS=$(SLOFILES) -SHL1TARGET=$(LIBNAME)$(DLLPOSTFIX) -SHL1IMPLIB=i$(LIBNAME) -SHL1VERSIONMAP=$(SOLARENV)/src/component.map -DEF1NAME=$(SHL1TARGET) - -SHL1STDLIBS= \ - $(XMLOFFLIB) \ - $(CPPULIB) \ - $(CPPUHELPERLIB) \ - $(SALLIB) \ - $(TOOLSLIB) - -# --- Targets ------------------------------------------------------ -.INCLUDE : target.mk - -ALLTAR : $(MISC)/t602filter.component - -$(MISC)/t602filter.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ - t602filter.component - $(XSLTPROC) --nonet --stringparam uri \ - '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ - $(SOLARENV)/bin/createcomponent.xslt t602filter.component diff --git a/filter/source/xmlfilteradaptor/makefile.mk b/filter/source/xmlfilteradaptor/makefile.mk deleted file mode 100644 index 0e3732c20885..000000000000 --- a/filter/source/xmlfilteradaptor/makefile.mk +++ /dev/null @@ -1,70 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org 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 version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************* -PRJ=..$/.. - -PRJNAME= filter -TARGET= fl_xmlfilteradaptor - -ENABLE_EXCEPTIONS= TRUE - -# --- Settings ----------------------------------------------------- - -.INCLUDE : settings.mk - -# --- defines ------------------------------------------------------ - -CDEFS+=-DCOMPMOD_NAMESPACE=framework - -# --- Targets ------------------------------------------------------ - -SHL1TARGET= xmlfa$(DLLPOSTFIX) -SHL1IMPLIB= i$(SHL1TARGET) - -SHL1VERSIONMAP= $(SOLARENV)/src/component.map -SHL1DEF= $(MISC)$/$(SHL1TARGET).def -DEF1NAME= $(SHL1TARGET) - -SHL1OBJS= $(SLO)$/genericfilter.obj \ - $(SLO)$/XmlFilterAdaptor.obj \ - $(SLO)$/streamwrap.obj - -SHL1STDLIBS= $(COMPHELPERLIB) \ - $(CPPUHELPERLIB) \ - $(CPPULIB) \ - $(TOOLSLIB) \ - $(SALLIB) - -.INCLUDE : target.mk - - -ALLTAR : $(MISC)/xmlfa.component - -$(MISC)/xmlfa.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ - xmlfa.component - $(XSLTPROC) --nonet --stringparam uri \ - '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ - $(SOLARENV)/bin/createcomponent.xslt xmlfa.component diff --git a/filter/source/xmlfilterdetect/makefile.mk b/filter/source/xmlfilterdetect/makefile.mk deleted file mode 100644 index 582b73950ef9..000000000000 --- a/filter/source/xmlfilterdetect/makefile.mk +++ /dev/null @@ -1,68 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org 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 version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************* -PRJ=..$/.. - -PRJNAME= filter -TARGET= fl_xmlfilterdetect - -NO_BSYMBOLIC= TRUE -ENABLE_EXCEPTIONS= TRUE - -# --- Settings ----------------------------------------------------- - -.INCLUDE : settings.mk - -# --- defines ------------------------------------------------------ - -CDEFS+=-DCOMPMOD_NAMESPACE=framework - -# --- Targets ------------------------------------------------------ - -SHL1TARGET= xmlfd$(DLLPOSTFIX) -SHL1IMPLIB= i$(SHL1TARGET) - -SHL1VERSIONMAP= $(SOLARENV)/src/component.map -SHL1DEF= $(MISC)$/$(SHL1TARGET).def -DEF1NAME= $(SHL1TARGET) - -SHL1OBJS= $(SLO)$/fdcomp.obj \ - $(SLO)$/filterdetect.obj - -SHL1STDLIBS= $(UCBHELPERLIB) \ - $(CPPUHELPERLIB) \ - $(CPPULIB) \ - $(SALLIB) - -.INCLUDE : target.mk - -ALLTAR : $(MISC)/xmlfd.component - -$(MISC)/xmlfd.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ - xmlfd.component - $(XSLTPROC) --nonet --stringparam uri \ - '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ - $(SOLARENV)/bin/createcomponent.xslt xmlfd.component diff --git a/filter/source/xsltfilter/Manifest b/filter/source/xsltfilter/Manifest index e20aea34d7bc..1bd3102908fb 100644 --- a/filter/source/xsltfilter/Manifest +++ b/filter/source/xsltfilter/Manifest @@ -1,3 +1,2 @@ RegistrationClassName: com.sun.star.comp.xsltfilter.XSLTransformer -Class-Path: saxon9.jar UNO-Type-Path: diff --git a/filter/source/xsltfilter/makefile.mk b/filter/source/xsltfilter/makefile.mk deleted file mode 100644 index 567b37f1bb65..000000000000 --- a/filter/source/xsltfilter/makefile.mk +++ /dev/null @@ -1,118 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org 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 version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************* -PRJ = ..$/.. -PRJNAME = filter -PACKAGE = com/sun/star/comp/xsltfilter -TARGET =XSLTFilter -ENABLE_EXCEPTIONS=TRUE -LIBTARGET=NO - -# --- Settings ----------------------------------------------------- -CLASSDIR!:=$(CLASSDIR)$/$(TARGET) - -.INCLUDE: settings.mk - -.IF "$(SYSTEM_LIBXSLT)" == "YES" -CFLAGS+= $(LIBXSLT_CFLAGS) -.ELSE -LIBXSLTINCDIR=external$/libxslt -CFLAGS+= -I$(SOLARINCDIR)$/$(LIBXSLTINCDIR) -.ENDIF - -.IF "$(SYSTEM_LIBXML)" == "YES" -CFLAGS+= $(LIBXML_CFLAGS) -.ENDIF - -SLOFILES=$(SLO)$/XSLTFilter.obj $(SLO)$/LibXSLTTransformer.obj $(SLO)/OleHandler.obj -LIBNAME=xsltfilter -SHL1TARGETDEPN=makefile.mk -SHL1OBJS=$(SLOFILES) -SHL1TARGET=$(LIBNAME)$(DLLPOSTFIX) -SHL1IMPLIB=i$(LIBNAME) -SHL1VERSIONMAP=$(SOLARENV)/src/component.map -SHL1DEF=$(MISC)$/$(SHL1TARGET).def -DEF1NAME=$(SHL1TARGET) - -SHL1STDLIBS= \ - $(TOOLSLIB) \ - $(CPPUHELPERLIB) \ - $(UCBHELPERLIB) \ - $(COMPHELPERLIB) \ - $(CPPULIB) \ - $(XMLOFFLIB) \ - $(SALLIB) \ - $(LIBXML2LIB) \ - $(XSLTLIB) \ - $(PACKAGE2LIB) - -.IF "$(SOLAR_JAVA)"!="" - -JARFILES = ridl.jar unoil.jar jurt.jar juh.jar - -JAVAFILES = $(subst,$(CLASSDIR)$/, $(subst,.class,.java $(JAVACLASSFILES))) -CUSTOMMANIFESTFILE = Manifest - -JARCOMPRESS = TRUE -JARCLASSDIRS = com/sun/star/comp/xsltfilter -JARTARGET = $(TARGET).jar - -.IF "$(SYSTEM_SAXON)" == "YES" -XCLASSPATH:=$(XCLASSPATH)$(PATH_SEPERATOR)$(SAXON_JAR) -.ELSE -JARFILES += saxon9.jar -.ENDIF - -# --- Files -------------------------------------------------------- -JAVACLASSFILES= \ - $(CLASSDIR)/com/sun/star/comp/xsltfilter/XSLTransformer.class \ - $(CLASSDIR)/com/sun/star/comp/xsltfilter/XSLTFilterOLEExtracter.class \ - $(CLASSDIR)/com/sun/star/comp/xsltfilter/Base64.class \ - -.ENDIF - -# --- Targets ------------------------------------------------------ -.INCLUDE : target.mk -.IF "$(SOLAR_JAVA)"!="" -$(JAVACLASSFILES) : $(CLASSDIR) - -$(CLASSDIR) : - $(MKDIR) $(CLASSDIR) -.ENDIF - -ALLTAR : $(MISC)/XSLTFilter.jar.component $(MISC)/xsltfilter.component - -$(MISC)/XSLTFilter.jar.component .ERRREMOVE : \ - $(SOLARENV)/bin/createcomponent.xslt XSLTFilter.jar.component - $(XSLTPROC) --nonet --stringparam uri \ - '$(COMPONENTPREFIX_BASIS_JAVA)$(JARTARGET)' -o $@ \ - $(SOLARENV)/bin/createcomponent.xslt XSLTFilter.jar.component - -$(MISC)/xsltfilter.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ - xsltfilter.component - $(XSLTPROC) --nonet --stringparam uri \ - '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ - $(SOLARENV)/bin/createcomponent.xslt xsltfilter.component diff --git a/filter/source/xsltvalidate/makefile.mk b/filter/source/xsltvalidate/makefile.mk deleted file mode 100644 index 503e24c8d99b..000000000000 --- a/filter/source/xsltvalidate/makefile.mk +++ /dev/null @@ -1,83 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org 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 version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -PRJ = ..$/.. -PRJNAME = filter -TARGET =XSLTValidate - -# --- Settings ----------------------------------------------------- - -.IF "$(XML_CLASSPATH)" != "" -XCLASSPATH+=":$(XML_CLASSPATH)" -.ENDIF -.INCLUDE: settings.mk -CLASSDIR!:=$(CLASSDIR)$/$(TARGET) -JARFILES = ridl.jar unoil.jar jurt.jar juh.jar crimson.jar - -.IF "$(SYSTEM_XALAN)" == "YES" -EXTRAJARFILES += $(XALAN_JAR) -.ELSE -JARFILES += xalan.jar -.ENDIF - -.IF "$(SYSTEM_XML_APIS)" == "YES" -EXTRAJARFILES += $(XML_APIS_JAR) -.ELSE -JARFILES += xml-apis.jar -.ENDIF - -JAVAFILES = $(subst,$(CLASSDIR)$/, $(subst,.class,.java $(JAVACLASSFILES))) -CUSTOMMANIFESTFILE = Manifest -JARCOMPRESS = TRUE -JARCLASSDIRS = XSLTValidate*.class -JARTARGET = $(TARGET).jar - - -# --- Files -------------------------------------------------------- - -JAVACLASSFILES=$(CLASSDIR)$/XSLTValidate.class - -# --- Targets ------------------------------------------------------ - -.IF "$(SOLAR_JAVA)"!="" -.INCLUDE : target.mk -$(JAVACLASSFILES) : $(CLASSDIR) -.IF "$(JARMANIFEST)"!="" -$(JARMANIFEST) : $(CLASSDIR) -.ENDIF # "$(JARMANIFEST)"!="" -.ENDIF - -$(CLASSDIR) : - $(MKDIR) $(CLASSDIR) - -ALLTAR : $(MISC)/XSLTValidate.component - -$(MISC)/XSLTValidate.component .ERRREMOVE : \ - $(SOLARENV)/bin/createcomponent.xslt XSLTValidate.component - $(XSLTPROC) --nonet --stringparam uri \ - '$(COMPONENTPREFIX_BASIS_JAVA)$(JARTARGET)' -o $@ \ - $(SOLARENV)/bin/createcomponent.xslt XSLTValidate.component |