aboutsummaryrefslogtreecommitdiffstats
path: root/modules/windows-sens/Makefile.am
diff options
context:
space:
mode:
authorFridrich Strba <fridrich.strba@bluewin.ch>2010-03-24 01:54:37 +0800
committerFridrich Štrba <fridrich.strba@bluewin.ch>2010-04-08 05:44:16 +0800
commitd358da9481a125e7eefa80cde88a6bed0c1b7fc3 (patch)
tree845e49c13ded6fcc88dbad9cbd387ff8b4ebd413 /modules/windows-sens/Makefile.am
parentcd7fadfcdbbf983dbee379d55bd8a6e44351e8fa (diff)
downloadgsoc2013-evolution-d358da9481a125e7eefa80cde88a6bed0c1b7fc3.tar.gz
gsoc2013-evolution-d358da9481a125e7eefa80cde88a6bed0c1b7fc3.tar.zst
gsoc2013-evolution-d358da9481a125e7eefa80cde88a6bed0c1b7fc3.zip
[win32] Implement network status detection
The implementation is done using System Event Notification Service by implementing ConnectionMade ConnectionMadeNoQOCInfo and ConnectionLost methods of ISensNetwork interface. Make the subscription to the network status notification receive the event only if the ownerof the subscription is logged on to the same computer as the publisher. This makes this module work on Windows Vista and Windows 7 with normal user account. Don't try to build Windows SENS when not building for Windows. Extract the relevant COM structs and typedefs from mingw-w64 headers to allow to build the module with mingw.org toolchain and fix build breakages with Microsoft compilers.
Diffstat (limited to 'modules/windows-sens/Makefile.am')
-rw-r--r--modules/windows-sens/Makefile.am20
1 files changed, 20 insertions, 0 deletions
diff --git a/modules/windows-sens/Makefile.am b/modules/windows-sens/Makefile.am
new file mode 100644
index 0000000000..5036642d09
--- /dev/null
+++ b/modules/windows-sens/Makefile.am
@@ -0,0 +1,20 @@
+module_LTLIBRARIES = libevolution-module-windows-sens.la
+
+libevolution_module_windows_sens_la_CPPFLAGS = \
+ $(AM_CPPFLAGS) \
+ -I$(top_srcdir) \
+ -DG_LOG_DOMAIN=\"evolution-windows-sens\" \
+ $(GNOME_PLATFORM_CFLAGS)
+
+libevolution_module_windows_sens_la_SOURCES = \
+ evolution-windows-sens.c
+
+libevolution_module_windows_sens_la_LIBADD = \
+ $(top_builddir)/shell/libeshell.la \
+ $(GNOME_PLATFORM_LIBS) \
+ $(SENS_LIBS)
+
+libevolution_module_windows_sens_la_LDFLAGS = \
+ -module -avoid-version $(NO_UNDEFINED)
+
+-include $(top_srcdir)/git.mk