diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2011-08-26 14:04:17 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2011-08-26 14:33:51 +0200 |
commit | d0c301bba0b483c7ffef83fe93fa9658aa10bd44 (patch) | |
tree | 55e102a60c0c724e73e670571c2c98df3ac3c54d /package/Library_xstor.mk | |
parent | 5e4c9fb9bbf12b40afbefb30e8d71d6e046b5bd0 (diff) |
convert package to gbuild
Diffstat (limited to 'package/Library_xstor.mk')
-rw-r--r-- | package/Library_xstor.mk | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/package/Library_xstor.mk b/package/Library_xstor.mk new file mode 100644 index 000000000000..50a28edcb9e7 --- /dev/null +++ b/package/Library_xstor.mk @@ -0,0 +1,67 @@ +# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*- +# 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 +# Matúš Kukan <matus.kukan@gmail.com> +# Portions created by the Initial Developer are Copyright (C) 2011 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. + +$(eval $(call gb_Library_Library,xstor)) + +$(eval $(call gb_Library_add_precompiled_header,xstor,$(SRCDIR)/package/inc/pch/precompiled_package)) + +$(eval $(call gb_Library_set_componentfile,xstor,package/source/xstor/xstor)) + +$(eval $(call gb_Library_set_include,xstor,\ + $$(INCLUDE) \ + -I$(realpath $(SRCDIR)/package/inc) \ + -I$(realpath $(SRCDIR)/package/inc/pch) \ +)) + +$(eval $(call gb_Library_add_api,xstor,\ + udkapi \ + offapi \ +)) + +$(eval $(call gb_Library_add_linked_libs,xstor,\ + comphelper \ + cppu \ + cppuhelper \ + sal \ + $(gb_STDLIBS) \ +)) + +$(eval $(call gb_Library_add_exception_objects,xstor,\ + package/source/xstor/disposelistener \ + package/source/xstor/ocompinstream \ + package/source/xstor/ohierarchyholder \ + package/source/xstor/oseekinstream \ + package/source/xstor/owriteablestream \ + package/source/xstor/register \ + package/source/xstor/selfterminatefilestream \ + package/source/xstor/switchpersistencestream \ + package/source/xstor/xfactory \ + package/source/xstor/xstorage \ +)) + +# vim: set noet sw=4 ts=4: |