mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-06-07 13:20:06 +02:00
Fix list of sources in the gio Visual Studio project
List the additional sources needed in gio/Makefile.am, not in gio.vcprojin. Fix broken usage of sort. Filter out Unix-only source files.
This commit is contained in:
parent
0f795345d6
commit
4487b326d7
@ -160,15 +160,6 @@
|
|||||||
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
|
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
|
||||||
>
|
>
|
||||||
#include "libgio.sourcefiles"
|
#include "libgio.sourcefiles"
|
||||||
<File RelativePath="..\..\..\gio\gwin32appinfo.c" />
|
|
||||||
<File RelativePath="..\..\..\gio\win32\gwin32directorymonitor.c" />
|
|
||||||
<File RelativePath="..\..\..\gio\gwin32mount.c" />
|
|
||||||
<File RelativePath="..\..\..\gio\gwin32resolver.c" />
|
|
||||||
<File RelativePath="..\..\..\gio\gwin32volumemonitor.c" />
|
|
||||||
<File RelativePath="..\..\..\gio\win32\gwinhttpfile.c" />
|
|
||||||
<File RelativePath="..\..\..\gio\win32\gwinhttpfileinputstream.c" />
|
|
||||||
<File RelativePath="..\..\..\gio\win32\gwinhttpfileoutputstream.c" />
|
|
||||||
<File RelativePath="..\..\..\gio\win32\gwinhttpvfs.c" />
|
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter
|
<Filter
|
||||||
Name="Header Files"
|
Name="Header Files"
|
||||||
|
@ -207,6 +207,14 @@ win32_sources = \
|
|||||||
gwin32outputstream.h \
|
gwin32outputstream.h \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
|
win32_more_sources_for_vcproj = \
|
||||||
|
gwin32appinfo.c \
|
||||||
|
win32/gwin32directorymonitor.c \
|
||||||
|
win32/gwinhttpfile.c \
|
||||||
|
win32/gwinhttpfileinputstream.c \
|
||||||
|
win32/gwinhttpfileoutputstream.c \
|
||||||
|
win32/gwinhttpvfs.c
|
||||||
|
|
||||||
giowin32includedir=$(includedir)/gio-win32-2.0/gio
|
giowin32includedir=$(includedir)/gio-win32-2.0/gio
|
||||||
giowin32include_HEADERS = \
|
giowin32include_HEADERS = \
|
||||||
gwin32inputstream.h \
|
gwin32inputstream.h \
|
||||||
@ -530,13 +538,15 @@ dist-hook: $(BUILT_EXTRA_DIST) ../build/win32/vs9/gio.vcproj
|
|||||||
cp $$d/$$f $(distdir) || exit 1; done
|
cp $$d/$$f $(distdir) || exit 1; done
|
||||||
|
|
||||||
../build/win32/vs9/gio.vcproj: $(top_srcdir)/build/win32/vs9/gio.vcprojin
|
../build/win32/vs9/gio.vcproj: $(top_srcdir)/build/win32/vs9/gio.vcprojin
|
||||||
for F in `echo $(libgio_2_0_la_SOURCES) $(win32_sources) | tr '/' '\\' | sort -u`; do \
|
for F in `echo $(libgio_2_0_la_SOURCES) $(win32_sources) $(win32_more_sources_for_vcproj) | tr '/' '\\'`; do \
|
||||||
case $$F in \
|
case $$F in \
|
||||||
|
gunix*.c|gdesktopappinfo.c) ;; \
|
||||||
*.c) echo ' <File RelativePath="..\..\..\gio\'$$F'" />' \
|
*.c) echo ' <File RelativePath="..\..\..\gio\'$$F'" />' \
|
||||||
;; \
|
;; \
|
||||||
esac; \
|
esac; \
|
||||||
done >libgio.sourcefiles
|
done | sort -u >libgio.sourcefiles
|
||||||
$(CPP) -P - <$(top_srcdir)/build/win32/vs9/gio.vcprojin >$@
|
$(CPP) -P - <$(top_srcdir)/build/win32/vs9/gio.vcprojin >$@
|
||||||
|
rm libgio.sourcefiles
|
||||||
|
|
||||||
if HAVE_GLIB_RUNTIME_LIBDIR
|
if HAVE_GLIB_RUNTIME_LIBDIR
|
||||||
install-data-hook:
|
install-data-hook:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user