diff options
Diffstat (limited to 'onlineupdate/Executable_updater.mk')
-rw-r--r-- | onlineupdate/Executable_updater.mk | 41 |
1 files changed, 32 insertions, 9 deletions
diff --git a/onlineupdate/Executable_updater.mk b/onlineupdate/Executable_updater.mk index a4c4f9563108..eb94e8b92610 100644 --- a/onlineupdate/Executable_updater.mk +++ b/onlineupdate/Executable_updater.mk @@ -9,6 +9,15 @@ $(eval $(call gb_Executable_Executable,updater)) +ifeq ($(OS),WNT) +$(eval $(call gb_Executable_set_include,updater,\ + -I$(SRCDIR)/onlineupdate/source/update/src \ + -I$(SRCDIR)/onlineupdate/source/update/inc \ + -I$(SRCDIR)/onlineupdate/source/update/common \ + -I$(SRCDIR)/onlineupdate/source/update/updater/xpcom/glue \ + $$(INCLUDE) \ +)) +else $(eval $(call gb_Executable_set_include,updater,\ -I$(SRCDIR)/onlineupdate/source/update/src \ -I$(SRCDIR)/onlineupdate/source/update/inc \ @@ -17,22 +26,36 @@ $(eval $(call gb_Executable_set_include,updater,\ -lpthread \ $$(INCLUDE) \ )) +endif +ifeq ($(OS),WNT) +$(eval $(call gb_Executable_add_libs,updater,\ + Ws2_32.lib \ + Gdi32.lib \ + Comctl32.lib \ + Shell32.lib \ + Shlwapi.lib \ +)) +else $(eval $(call gb_Executable_add_libs,updater,\ - -lX11 \ - -lXext \ - -lXrender \ - -lSM \ - -lICE \ + -lX11 \ + -lXext \ + -lXrender \ + -lSM \ + -lICE \ + $(GTK3_LIBS) \ )) +endif +ifeq ($(OS),WNT) $(eval $(call gb_Executable_add_cxxflags,updater,\ - $$(GTK3_CFLAGS) \ + /Zc:wchar_t \ )) - -$(eval $(call gb_Executable_add_libs,updater,\ - $(GTK3_LIBS) \ +else +$(eval $(call gb_Executable_add_cxxflags,updater,\ + $$(GTK3_CFLAGS) \ )) +endif $(eval $(call gb_Executable_use_externals,updater,\ gtk \ |