[gdk-pixbuf] VS 2010 support: autotools files updates
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdk-pixbuf] VS 2010 support: autotools files updates
- Date: Wed, 23 Feb 2011 05:27:13 +0000 (UTC)
commit 05ee943906349d2e938495d2401d231e42da7099
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Wed Feb 23 13:39:02 2011 +0800
VS 2010 support: autotools files updates
The autotools files are updated for the generation of the main gdk-pixbuf
VS 2010 project (*.vcxproj/*.vcxproj.filters) during "make dist" and to
ensure the VS2010 project files will be included in the tarball for
distribution.
The actual VS2010 Project Files will follow shortly.
build/win32/Makefile.am | 3 ++-
build/win32/vs10/Makefile.am | 16 ++++++++++++++++
configure.ac | 1 +
gdk-pixbuf/Makefile.am | 22 +++++++++++++++++++++-
4 files changed, 40 insertions(+), 2 deletions(-)
---
diff --git a/build/win32/Makefile.am b/build/win32/Makefile.am
index 14e08c0..3cacc4f 100644
--- a/build/win32/Makefile.am
+++ b/build/win32/Makefile.am
@@ -1,4 +1,5 @@
include $(top_srcdir)/Makefile.decl
SUBDIRS = \
- vs9
+ vs9 \
+ vs10
diff --git a/build/win32/vs10/Makefile.am b/build/win32/vs10/Makefile.am
new file mode 100644
index 0000000..703668f
--- /dev/null
+++ b/build/win32/vs10/Makefile.am
@@ -0,0 +1,16 @@
+include $(top_srcdir)/Makefile.decl
+
+EXTRA_DIST += \
+ README.txt \
+ gdk-pixbuf.sln \
+ gdk-pixbuf.props \
+ gdk-pixbuf.vcxproj \
+ gdk-pixbuf.vcxprojin \
+ gdk-pixbuf.vcxproj.filters \
+ gdk-pixbuf.vcxproj.filtersin \
+ gdk-pixbuf-csource.vcxproj \
+ gdk-pixbuf-csource.vcxproj.filters \
+ gdk-pixbuf-query-loaders.vcxproj \
+ gdk-pixbuf-query-loaders.vcxproj.filters \
+ install.vcxproj \
+ install.vcxproj.filters
diff --git a/configure.ac b/configure.ac
index 100bb20..e326a83 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1033,6 +1033,7 @@ gdk-pixbuf/pixops/Makefile
build/Makefile
build/win32/Makefile
build/win32/vs9/Makefile
+build/win32/vs10/Makefile
docs/Makefile
docs/reference/Makefile
docs/reference/gdk-pixbuf/Makefile
diff --git a/gdk-pixbuf/Makefile.am b/gdk-pixbuf/Makefile.am
index c9e8f33..e06835c 100644
--- a/gdk-pixbuf/Makefile.am
+++ b/gdk-pixbuf/Makefile.am
@@ -674,7 +674,7 @@ EXTRA_DIST += \
gen-color-table.pl \
gdiplus.def
-dist-hook: ../build/win32/vs9/gdk-pixbuf.vcproj
+dist-hook: ../build/win32/vs9/gdk-pixbuf.vcproj ../build/win32/vs10/gdk-pixbuf.vcxproj ../build/win32/vs10/gdk-pixbuf.vcxproj.filters
../build/win32/vs9/gdk-pixbuf.vcproj: ../build/win32/vs9/gdk-pixbuf.vcprojin
for F in $(libgdk_pixbuf_2_0_la_SOURCES); do \
@@ -685,6 +685,26 @@ dist-hook: ../build/win32/vs9/gdk-pixbuf.vcproj
done >libgdkpixbuf.sourcefiles
$(CPP) -P - <$(top_srcdir)/build/win32/vs9/gdk-pixbuf.vcprojin >$@
rm libgdkpixbuf.sourcefiles
+
+../build/win32/vs10/gdk-pixbuf.vcxproj: ../build/win32/vs10/gdk-pixbuf.vcxprojin
+ for F in $(libgdk_pixbuf_2_0_la_SOURCES); do \
+ case $$F in \
+ *.c) echo ' <ClCompile Include="..\..\..\gdk-pixbuf\'$$F'" />' \
+ ;; \
+ esac; \
+ done >libgdkpixbuf.vs10.sourcefiles
+ $(CPP) -P - <$(top_srcdir)/build/win32/vs10/gdk-pixbuf.vcxprojin >$@
+ rm libgdkpixbuf.vs10.sourcefiles
+
+../build/win32/vs10/gdk-pixbuf.vcxproj.filters: ../build/win32/vs10/gdk-pixbuf.vcxproj.filtersin
+ for F in $(libgdk_pixbuf_2_0_la_SOURCES); do \
+ case $$F in \
+ *.c) echo ' <ClCompile Include="..\..\..\gdk-pixbuf\'$$F'"><Filter>Source Files</Filter></ClCompile>' \
+ ;; \
+ esac; \
+ done >libgdkpixbuf.vs10.sourcefiles.filters
+ $(CPP) -P - <$(top_srcdir)/build/win32/vs10/gdk-pixbuf.vcxproj.filtersin >$@
+ rm libgdkpixbuf.vs10.sourcefiles.filters
if HAVE_INTROSPECTION
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]