[glib] GLib MSVC Support updates (autotools)



commit 5b5299e1c49570caa85704f5225fde498015aee3
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Thu May 5 12:35:45 2011 +0800

    GLib MSVC Support updates (autotools)
    
    Filter out *-unix.c from the source file list, as it is obviously not
    usable (nor used) under VS 2008/2010

 glib/Makefile.am |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/glib/Makefile.am b/glib/Makefile.am
index 7869d4f..af8609f 100644
--- a/glib/Makefile.am
+++ b/glib/Makefile.am
@@ -441,7 +441,7 @@ dist-hook: $(BUILT_EXTRA_DIST) ../build/win32/vs9/glib.vcproj ../build/win32/vs1
 ../build/win32/vs9/glib.vcproj: $(top_srcdir)/build/win32/vs9/glib.vcprojin
 	for F in $(libglib_2_0_la_SOURCES); do \
 		case $$F in \
-		*-gcc.c) \
+		*-gcc.c|*-unix.c) \
 			;; \
 		*.c)	echo '   <File RelativePath="..\..\..\glib\'$$F'" />' \
 			;; \
@@ -453,7 +453,7 @@ dist-hook: $(BUILT_EXTRA_DIST) ../build/win32/vs9/glib.vcproj ../build/win32/vs1
 ../build/win32/vs10/glib.vcxproj: $(top_srcdir)/build/win32/vs10/glib.vcxprojin
 	for F in $(libglib_2_0_la_SOURCES); do \
 		case $$F in \
-		*-gcc.c) \
+		*-gcc.c|*-unix.c) \
 			;; \
 		*.c) echo '    <ClCompile Include="..\..\..\glib\'$$F'" />' \
 		     ;; \
@@ -465,7 +465,7 @@ dist-hook: $(BUILT_EXTRA_DIST) ../build/win32/vs9/glib.vcproj ../build/win32/vs1
 ../build/win32/vs10/glib.vcxproj.filters: $(top_srcdir)/build/win32/vs10/glib.vcxproj.filtersin
 	for F in $(libglib_2_0_la_SOURCES); do \
 		case $$F in \
-		*-gcc.c) \
+		*-gcc.c|*-unix.c) \
 			;; \
 		*.c) echo '    <ClCompile Include="..\..\..\glib\'$$F'"><Filter>Source Files</Filter></ClCompile>' \
 		     ;; \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]