diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-07-23 03:12:47 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-07-23 03:12:47 +0200 |
commit | 88efc04329da4914900ccbbe27050070eea14d08 (patch) | |
tree | 560591752e7b084fa23cb72ab6a2ed5bb7602789 /writerfilter/Library_rtftok.mk | |
parent | e0b4860fb10ecda319f2770de65c64b4284ec36b (diff) |
revert to old writerfilter gbuilization
* gnumake4's writerfilter gbuildization got pushed in a seperate branch
* it might or might not be merged to master later
Diffstat (limited to 'writerfilter/Library_rtftok.mk')
-rw-r--r-- | writerfilter/Library_rtftok.mk | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/writerfilter/Library_rtftok.mk b/writerfilter/Library_rtftok.mk new file mode 100644 index 000000000000..4c3ecd13ebab --- /dev/null +++ b/writerfilter/Library_rtftok.mk @@ -0,0 +1,71 @@ +# Version: MPL 1.1 / GPLv3+ / LGPLv3+ +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License or as specified alternatively below. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Initial Developer of the Original Code is +# David Tardon, Red Hat Inc. <dtardon@redhat.com> +# Portions created by the Initial Developer are Copyright (C) 2010 the +# Initial Developer. All Rights Reserved. +# +# Major Contributor(s): +# +# For minor contributions see the git repository. +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 3 or later (the "GPLv3+"), or +# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), +# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable +# instead of those above. + +# Not built +$(eval $(call gb_Library_Library,rtftok)) + +$(eval $(call gb_Library_set_include,rtftok,\ + $$(INCLUDE) \ + -I$(realpath $(SRCDIR)/writerfilter/inc) \ + -I$(WORKDIR)/writerfilter/inc \ + -I$(OUTDIR)/inc \ + -I$(OUTDIR)/inc/offapi \ + -I$(OUTDIR)/inc/offuh \ + -I$(OUTDIR)/inc/udkapi \ +)) + +include $(realpath $(SRCDIR)/writerfilter/debug_setup.mk) + +$(eval $(call gb_Library_add_defs,rtftok,\ + -DWRITERFILTER_RTFTOK_DLLIMPLEMENTATION \ + $(writerfilter_debug_flags) \ +)) + +$(eval $(call gb_Library_add_linked_libs,rtftok,\ + cppu \ + cppuhelper \ + oox \ + sal \ + ucbhelper \ + utl \ + tl \ + resourcemodel \ + $(gb_STDLIBS) \ +)) + +$(eval $(call gb_Library_add_exception_objects,rtftok,\ + writerfilter/source/rtftok/rtfdocumentfactory \ + writerfilter/source/rtftok/rtfdocumentimpl \ + writerfilter/source/rtftok/rtfcontrolwords \ + writerfilter/source/rtftok/rtfcharsets \ + writerfilter/source/rtftok/rtfreferenceproperties \ + writerfilter/source/rtftok/rtfreferencetable \ + writerfilter/source/rtftok/rtfvalue \ + writerfilter/source/rtftok/rtfsprm \ +)) + +# vim: set noet ts=4 sw=4: |