summaryrefslogtreecommitdiffstats
path: root/onlineupdate/Executable_update_service.mk
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:06:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:06:44 +0000
commited5640d8b587fbcfed7dd7967f3de04b37a76f26 (patch)
tree7a5f7c6c9d02226d7471cb3cc8fbbf631b415303 /onlineupdate/Executable_update_service.mk
parentInitial commit. (diff)
downloadlibreoffice-upstream.tar.xz
libreoffice-upstream.zip
Adding upstream version 4:7.4.7.upstream/4%7.4.7upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'onlineupdate/Executable_update_service.mk')
-rw-r--r--onlineupdate/Executable_update_service.mk58
1 files changed, 58 insertions, 0 deletions
diff --git a/onlineupdate/Executable_update_service.mk b/onlineupdate/Executable_update_service.mk
new file mode 100644
index 000000000..edd02f6ec
--- /dev/null
+++ b/onlineupdate/Executable_update_service.mk
@@ -0,0 +1,58 @@
+# -*- 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_Executable_Executable,update_service))
+
+$(eval $(call gb_Executable_set_targettype_gui,update_service,YES))
+
+$(eval $(call gb_Executable_set_include,update_service,\
+ -I$(SRCDIR)/onlineupdate/inc \
+ -I$(SRCDIR)/onlineupdate/source/libmar/src/ \
+ -I$(SRCDIR)/onlineupdate/source/libmar/verify/ \
+ -I$(SRCDIR)/onlineupdate/source/libmar/sign/ \
+ -I$(SRCDIR)/onlineupdate/source/update/common/ \
+ $$(INCLUDE) \
+))
+
+$(eval $(call gb_Executable_use_static_libraries,update_service,\
+ updatehelper \
+ windows_process \
+))
+
+$(eval $(call gb_Executable_add_libs,update_service,\
+ ws2_32.lib \
+ Crypt32.lib \
+ shell32.lib \
+ wintrust.lib \
+ version.lib \
+ wtsapi32.lib \
+ userenv.lib \
+ shlwapi.lib \
+ ole32.lib \
+ rpcrt4.lib \
+ comctl32.lib \
+ shlwapi.lib \
+ kernel32.lib \
+ advapi32.lib \
+))
+
+$(eval $(call gb_Executable_add_ldflags,update_service,\
+ /ENTRY:wmainCRTStartup \
+))
+
+$(eval $(call gb_Executable_add_exception_objects,update_service,\
+ onlineupdate/source/service/certificatecheck \
+ onlineupdate/source/service/maintenanceservice \
+ onlineupdate/source/service/registrycertificates \
+ onlineupdate/source/service/servicebase \
+ onlineupdate/source/service/serviceinstall \
+ onlineupdate/source/service/workmonitor \
+))
+
+# vim:set shiftwidth=4 tabstop=4 noexpandtab: */