diff options
author | Ras-al-Ghul <dipankar1995@gmail.com> | 2016-03-12 23:30:22 +0530 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2016-03-14 09:15:09 +0000 |
commit | e60506acc53098b4b479d565048c316562657cec (patch) | |
tree | 9c7b457f4e875e24471990490173934c2452642e /onlineupdate/StaticLibrary_libmar.mk | |
parent | 60286229fa54b71c67a5d25a7cce59e54b6b8680 (diff) |
tdf#98602 Duplicate code in onlineupdate/
Converted libmar into static library and removed duplicated code
Change-Id: I6a6c8ce24103a400e1835ccf7e6421024f5cec4b
Reviewed-on: https://gerrit.libreoffice.org/23179
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'onlineupdate/StaticLibrary_libmar.mk')
-rw-r--r-- | onlineupdate/StaticLibrary_libmar.mk | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/onlineupdate/StaticLibrary_libmar.mk b/onlineupdate/StaticLibrary_libmar.mk new file mode 100644 index 000000000000..3c85b739bc3c --- /dev/null +++ b/onlineupdate/StaticLibrary_libmar.mk @@ -0,0 +1,23 @@ +# -*- 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/. +# + +$(eval $(call gb_StaticLibrary_StaticLibrary,libmar)) + +$(eval $(call gb_StaticLibrary_set_include,libmar,\ + -I$(SRCDIR)/onlineupdate/source/libmar/src/ \ + $$(INCLUDE) \ +)) + +$(eval $(call gb_StaticLibrary_add_cobjects,libmar,\ + onlineupdate/source/libmar/src/mar_create \ + onlineupdate/source/libmar/src/mar_extract \ + onlineupdate/source/libmar/src/mar_read \ +)) + +# vim:set shiftwidth=4 tabstop=4 noexpandtab: */ |