diff options
author | David Tardon <dtardon@redhat.com> | 2014-04-24 14:02:23 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2014-04-24 16:27:43 +0200 |
commit | b7fa9950a9ef68bf2652b8c93887b6d531866471 (patch) | |
tree | ddcf32f5578ba7630bee02d1652aaf04c57ce1af /writerperfect/Library_writerperfect.mk | |
parent | e6b142a06833404d8b8a5be0501fd4751df60f35 (diff) |
change libwriterperfect to shared library
There are already 3 libs linking with it and there will be another one
in near future. It is time to stop the duplication :-)
Change-Id: Ia7d24882c37a8bf49fa031b73fa1bd5296f78820
Diffstat (limited to 'writerperfect/Library_writerperfect.mk')
-rw-r--r-- | writerperfect/Library_writerperfect.mk | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/writerperfect/Library_writerperfect.mk b/writerperfect/Library_writerperfect.mk new file mode 100644 index 000000000000..072b483954d1 --- /dev/null +++ b/writerperfect/Library_writerperfect.mk @@ -0,0 +1,54 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# This file incorporates work covered by the following license notice: +# +# 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 . +# + +$(eval $(call gb_Library_Library,writerperfect)) + +$(eval $(call gb_Library_add_defs,writerperfect,\ + -DWRITERPERFECT_DLLIMPLEMENTATION \ +)) + +$(eval $(call gb_Library_use_externals,writerperfect,\ + boost_headers \ + etonyek \ + odfgen \ + wpd \ + wpg \ +)) + +$(eval $(call gb_Library_use_sdk_api,writerperfect)) + +$(eval $(call gb_Library_use_libraries,writerperfect,\ + comphelper \ + cppu \ + sal \ + sot \ + tl \ + ucbhelper \ + utl \ + xo \ + $(gb_UWINAPI) \ +)) + +$(eval $(call gb_Library_add_exception_objects,writerperfect,\ + writerperfect/source/common/DirectoryStream \ + writerperfect/source/common/DocumentHandler \ + writerperfect/source/common/WPXSvInputStream \ +)) + +# vim: set noet sw=4 ts=4: |