summaryrefslogtreecommitdiff
path: root/onlineupdate
diff options
context:
space:
mode:
authorNathan Yee <ny.nathan.yee@gmail.com>2015-06-18 15:01:10 -0700
committerJan Holesovsky <kendy@collabora.com>2015-06-29 17:43:30 +0200
commit2c505eca0c88e1e02028460c3534cb991befe792 (patch)
tree32bc9cb24ce3296b488d396b38a4f738f1fd0072 /onlineupdate
parentdba90c047e4d4b743175d1b6d7355b49aa60c474 (diff)
online update: Add preliminary support for creating MAR libraries
Change-Id: I04040d67b82afc0f00558d493ee046c97001cd5d
Diffstat (limited to 'onlineupdate')
-rw-r--r--onlineupdate/Library_mar.mk23
-rw-r--r--onlineupdate/Makefile14
-rw-r--r--onlineupdate/Module_onlineupdate.mk17
3 files changed, 54 insertions, 0 deletions
diff --git a/onlineupdate/Library_mar.mk b/onlineupdate/Library_mar.mk
new file mode 100644
index 000000000000..e0d8e45af4d2
--- /dev/null
+++ b/onlineupdate/Library_mar.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_Library_Library,mar))
+
+$(eval $(call gb_Library_use_externals,mar,\
+ nss3 \
+))
+
+$(eval $(call gb_Library_cobjects,mar,\
+ 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: */
diff --git a/onlineupdate/Makefile b/onlineupdate/Makefile
new file mode 100644
index 000000000000..0997e628485b
--- /dev/null
+++ b/onlineupdate/Makefile
@@ -0,0 +1,14 @@
+# -*- 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/.
+#
+
+module_directory:=$(dir $(realpath $(firstword $(MAKEFILE_LIST))))
+
+include $(module_directory)/../solenv/gbuild/partial_build.mk
+
+# vim: set noet sw=4 ts=4:
diff --git a/onlineupdate/Module_onlineupdate.mk b/onlineupdate/Module_onlineupdate.mk
new file mode 100644
index 000000000000..9c98c9172e2b
--- /dev/null
+++ b/onlineupdate/Module_onlineupdate.mk
@@ -0,0 +1,17 @@
+# -*- 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_Module_Module,onlineupdate))
+
+$(eval $(call gb_Module_add_targets,onlineupdate,\
+ Library_mar \
+))
+
+# vim: set noet sw=4 ts=4: