summaryrefslogtreecommitdiffstats
path: root/onlineupdate/Executable_update_service.mk
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-12-27 02:45:55 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-05-19 03:43:26 +0200
commit7eca4fa00fc383a40b9957ff3c4b038ac02c2eef (patch)
treed96d62304f2a6e87336e85551ceeb2b73f80f809 /onlineupdate/Executable_update_service.mk
parentextract the common updater code to an own static library (diff)
downloadcore-7eca4fa00fc383a40b9957ff3c4b038ac02c2eef.tar.gz
core-7eca4fa00fc383a40b9957ff3c4b038ac02c2eef.zip
get the update service working
Change-Id: I25921090083f20c4bb416f9cfdd5ec6400a27a21
Diffstat (limited to 'onlineupdate/Executable_update_service.mk')
-rw-r--r--onlineupdate/Executable_update_service.mk28
1 files changed, 28 insertions, 0 deletions
diff --git a/onlineupdate/Executable_update_service.mk b/onlineupdate/Executable_update_service.mk
index f32133dd05a9..741ee4ee6e4d 100644
--- a/onlineupdate/Executable_update_service.mk
+++ b/onlineupdate/Executable_update_service.mk
@@ -9,16 +9,44 @@
$(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/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 \
+ winhelper \
+))
+
$(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_defs,update_service,\
+ -DUNICODE \
+))
+
+$(eval $(call gb_Executable_add_ldflags,update_service,\
+ /ENTRY:wmainCRTStartup \
))
$(eval $(call gb_Executable_add_cxxobjects,update_service,\