summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2012-06-14 09:49:36 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2012-06-14 10:13:18 +0200
commitc65225a71bacc45d0cb54cac1edb9b22588d7468 (patch)
tree89410b73497aa3c81fa21a21b4509362639cb6e6 /writerfilter
parent4f5c523b97542bdbfe69fb7695bcb9699c66f89f (diff)
writerfilter: remove unused / unneeded .mk files
Change-Id: Ic64e3e527ced7fcf81f90075bae7d8a646789d4e
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/Library_writerfilter.mk18
-rw-r--r--writerfilter/debug_setup.mk17
-rw-r--r--writerfilter/source/generated.mk55
3 files changed, 15 insertions, 75 deletions
diff --git a/writerfilter/Library_writerfilter.mk b/writerfilter/Library_writerfilter.mk
index 09d858710ea4..2efffc394090 100644
--- a/writerfilter/Library_writerfilter.mk
+++ b/writerfilter/Library_writerfilter.mk
@@ -25,8 +25,6 @@
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
-include $(SRCDIR)/writerfilter/debug_setup.mk
-
$(eval $(call gb_Library_Library,writerfilter))
$(eval $(call gb_Library_use_custom_headers,writerfilter,\
@@ -52,7 +50,21 @@ $(eval $(call gb_Library_add_defs,writerfilter,\
-DWRITERFILTER_RESOURCEMODEL_DLLIMPLEMENTATION \
-DWRITERFILTER_RTFTOK_DLLIMPLEMENTATION \
-DWRITERFILTER_WRITERFILTER_DLLIMPLEMENTATION \
- $(writerfilter_debug_flags) \
+ $(if $(filter-out 0 1,$(gb_DEBUGLEVEL)), \
+ -DDEBUG_DOMAINMAPPER \
+ -DDEBUG_ELEMENT \
+ -DDEBUG_RESOLVE \
+ -DDEBUG_CONTEXT_STACK \
+ -DDEBUG_ATTRIBUTES \
+ -DDEBUG_PROPERTIES \
+ -DDEBUG_CONTEXT_HANDLER \
+ -DDEBUG_IMPORT \
+ -DDEBUG_LOGGING \
+ -DDEBUG_DMAPPER_PROPERTY_MAP \
+ -DDEBUG_DMAPPER_TABLE_HANDLER \
+ -DDEBUG_TABLE \
+ -DDEBUG_DMAPPER_SETTINGS_TABLE \
+ ) \
))
$(eval $(call gb_Library_use_libraries,writerfilter,\
diff --git a/writerfilter/debug_setup.mk b/writerfilter/debug_setup.mk
deleted file mode 100644
index 95681da270ae..000000000000
--- a/writerfilter/debug_setup.mk
+++ /dev/null
@@ -1,17 +0,0 @@
-define writerfilter_debug_flags
-$(if $(filter-out 0 1,$(strip $(gb_DEBUGLEVEL))),\
- -DDEBUG_DOMAINMAPPER \
- -DDEBUG_ELEMENT \
- -DDEBUG_RESOLVE \
- -DDEBUG_CONTEXT_STACK \
- -DDEBUG_ATTRIBUTES \
- -DDEBUG_PROPERTIES \
- -DDEBUG_CONTEXT_HANDLER \
- -DDEBUG_IMPORT \
- -DDEBUG_LOGGING \
- -DDEBUG_DMAPPER_PROPERTY_MAP \
- -DDEBUG_DMAPPER_TABLE_HANDLER \
- -DDEBUG_TABLE \
- -DDEBUG_DMAPPER_SETTINGS_TABLE \
-)
-endef
diff --git a/writerfilter/source/generated.mk b/writerfilter/source/generated.mk
deleted file mode 100644
index 39895d59f5b6..000000000000
--- a/writerfilter/source/generated.mk
+++ /dev/null
@@ -1,55 +0,0 @@
-#*************************************************************************
-#
-# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-#
-# Copyright 2009 by Sun Microsystems, Inc.
-#
-# 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.
-#
-#*************************************************************************
-
-# this namespace list is needed both in the library and the custom makefile
-WRITERFILTER_OOXMLNAMESPACES= \
- wml \
- dml-stylesheet \
- dml-styleDefaults \
- dml-shape3DLighting \
- dml-shape3DScene \
- dml-shape3DStyles \
- dml-shape3DCamera \
- dml-baseStylesheet \
- dml-textCharacter \
- dml-shapeEffects \
- dml-shapeLineProperties \
- dml-shapeProperties \
- dml-baseTypes \
- dml-documentProperties \
- dml-graphicalObject \
- dml-shapeGeometry \
- dml-wordprocessingDrawing \
- sml-customXmlMappings \
- shared-math \
- shared-relationshipReference \
- dml-chartDrawing \
- vml-main \
- vml-officeDrawing \
- vml-wordprocessingDrawing \
-
-