summaryrefslogtreecommitdiff
path: root/writerperfect/Library_wpftwriter.mk
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2012-04-19 14:33:09 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2012-04-19 14:38:00 +0200
commit9284c50f975ce91fcb50e3849bbe38af50dbcb6c (patch)
tree511f012db23292e7952cfa3a494d6a6771239656 /writerperfect/Library_wpftwriter.mk
parentb98c960e9707d8222dd7c8fad22e84bbfb725822 (diff)
Diminish the number of writerperfect libraries
Instead of a pleiade of libraries, one for graphic filters (wpftdraw) and one for text document filters (wpftwriter) to diminish duplicate static linking.
Diffstat (limited to 'writerperfect/Library_wpftwriter.mk')
-rw-r--r--writerperfect/Library_wpftwriter.mk73
1 files changed, 73 insertions, 0 deletions
diff --git a/writerperfect/Library_wpftwriter.mk b/writerperfect/Library_wpftwriter.mk
new file mode 100644
index 000000000000..611003524dd5
--- /dev/null
+++ b/writerperfect/Library_wpftwriter.mk
@@ -0,0 +1,73 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#*************************************************************************
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+#
+# Copyright 2000, 2011 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.
+#
+#*************************************************************************
+
+$(eval $(call gb_Library_Library,wpftwriter))
+
+$(eval $(call gb_Library_set_componentfile,wpftwriter,writerperfect/util/wpftwriter))
+
+$(eval $(call gb_Library_set_include,wpftwriter,\
+ $$(INCLUDE) \
+ -I$(SRCDIR)/writerperfect/source \
+))
+
+$(eval $(call gb_Library_use_api,wpftwriter,\
+ offapi \
+ udkapi \
+))
+
+$(eval $(call gb_Library_use_libraries,wpftwriter,\
+ cppu \
+ cppuhelper \
+ vcl \
+ sal \
+ sfx \
+ sot \
+ tl \
+ ucbhelper \
+ utl \
+ xo \
+ $(gb_STDLIBS) \
+))
+
+$(eval $(call gb_Library_use_static_libraries,wpftwriter,\
+ writerperfect \
+))
+
+$(eval $(call gb_Library_use_externals,wpftwriter,\
+ wpd \
+ wpg \
+ wps \
+))
+
+$(eval $(call gb_Library_add_exception_objects,wpftwriter,\
+ writerperfect/source/writer/MSWorksImportFilter \
+ writerperfect/source/writer/WordPerfectImportFilter \
+ writerperfect/source/writer/wpftwriter_genericfilter \
+))
+
+# vim: set noet sw=4 ts=4: