[gnio] Only build unix stuff on unix
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnio] Only build unix stuff on unix
- Date: Wed, 29 Apr 2009 07:47:03 -0400 (EDT)
commit 32be8d70051c3885ab00a72767a3ac35c60169a4
Author: Alexander Larsson <alexl redhat com>
Date: Wed Apr 29 13:46:37 2009 +0200
Only build unix stuff on unix
---
gio/Makefile.am | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/gio/Makefile.am b/gio/Makefile.am
index a40dd75..9e271ec 100644
--- a/gio/Makefile.am
+++ b/gio/Makefile.am
@@ -26,19 +26,24 @@ sources = \
gtcpclient.c \
gtcpconnection.c \
gtcplistener.c \
- gthreadedsocketservice.c \
+ gthreadedsocketservice.c
+
+if OS_UNIX
+unix_sources = \
gunixclient.c \
gunixconnection.c \
gunixfdmessage.c \
gunixlistener.c
+else
+unix_sources =
+endif
-libgnio_la_SOURCES = $(sources)
+libgnio_la_SOURCES = $(sources) $(unix_sources)
if HAVE_GNUTLS
libgnio_la_SOURCES += gtls.c
endif
-
gioincludedir = $(includedir)/gnio/gio
headers = \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]