Filter out gatomic-gcc.c from the VS project sources
authorTor Lillqvist <tml@iki.fi>
Mon, 22 Mar 2010 13:53:47 +0000 (15:53 +0200)
committerTor Lillqvist <tml@iki.fi>
Mon, 22 Mar 2010 13:55:11 +0000 (15:55 +0200)
Instead, explicitly include gatomic.c.

build/win32/vs9/glib.vcprojin
glib/Makefile.am

index 560ca63..fc7e88e 100644 (file)
                        UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
                        >
 #include "libglib.sourcefiles"
+                       <File RelativePath="..\..\..\glib\gatomic.c" />
                        <File RelativePath="..\..\..\glib\giowin32.c" />
                        <File RelativePath="..\..\..\glib\gspawn-win32.c" />
                        <File RelativePath="..\..\..\glib\gwin32.c" />
index 9428f62..8882ae2 100644 (file)
@@ -393,8 +393,10 @@ dist-hook: $(BUILT_EXTRA_DIST) ../build/win32/vs9/glib.vcproj
 ../build/win32/vs9/glib.vcproj: $(top_srcdir)/build/win32/vs9/glib.vcprojin
        for F in $(libglib_2_0_la_SOURCES); do \
                case $$F in \
-               *.c) echo '   <File RelativePath="..\..\..\glib\'$$F'" />' \
-                    ;; \
+               *-gcc.c) \
+                       ;; \
+               *.c)    echo '   <File RelativePath="..\..\..\glib\'$$F'" />' \
+                       ;; \
                esac; \
        done >libglib.sourcefiles
        $(CPP) -P - <$(top_srcdir)/build/win32/vs9/glib.vcprojin >$@