summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2011-04-27 00:46:52 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2011-04-27 00:48:05 +0800
commit527a299fdd610720a84546863218938d518807e6 (patch)
treec386e8f2e5da73d616f41365db79a65afb9d560e /gdk
parent343d24c3486a9d04731dcf0538595353f404ded4 (diff)
downloadgtk+-527a299fdd610720a84546863218938d518807e6.tar.gz
Bug 643270: VS2010 Project Files (autotools)
-Update to distribute the VS2010 files. -Added rules in Makefile.am's of GDK and GTK to fill in the project/filter files templates with up-to-date source file listings to simplify maintenace. Any comments on the usage of the VS2010 files are welcome!
Diffstat (limited to 'gdk')
-rw-r--r--gdk/Makefile.am22
1 files changed, 21 insertions, 1 deletions
diff --git a/gdk/Makefile.am b/gdk/Makefile.am
index cb1fd545aa..9f4a570b0d 100644
--- a/gdk/Makefile.am
+++ b/gdk/Makefile.am
@@ -349,7 +349,7 @@ stamp-gc-h: $(top_builddir)/config.status
$(AM_V_at) cd $(top_builddir) && $(SHELL) ./config.status gdk/gdkconfig.h
echo timestamp > stamp-gc-h
-dist-hook: ../build/win32/vs9/gdk.vcproj
+dist-hook: ../build/win32/vs9/gdk.vcproj ../build/win32/vs10/gdk.vcxproj ../build/win32/vs10/gdk.vcxproj.filters
../build/win32/vs9/gdk.vcproj: ../build/win32/vs9/gdk.vcprojin
for F in $(libgdk_3_la_SOURCES); do \
@@ -360,6 +360,26 @@ dist-hook: ../build/win32/vs9/gdk.vcproj
done >libgdk.sourcefiles
$(CPP) -P - <$(top_srcdir)/build/win32/vs9/gdk.vcprojin >$@
rm libgdk.sourcefiles
+
+../build/win32/vs10/gdk.vcxproj: ../build/win32/vs10/gdk.vcxprojin
+ for F in $(libgdk_3_la_SOURCES); do \
+ case $$F in \
+ *.c) echo ' <ClCompile Include="..\..\..\gdk\'$$F'" />' \
+ ;; \
+ esac; \
+ done >libgdk.vs10.sourcefiles
+ $(CPP) -P - <$(top_srcdir)/build/win32/vs10/gdk.vcxprojin >$@
+ rm libgdk.vs10.sourcefiles
+
+../build/win32/vs10/gdk.vcxproj.filters: ../build/win32/vs10/gdk.vcxproj.filtersin
+ for F in $(libgdk_3_la_SOURCES); do \
+ case $$F in \
+ *.c) echo ' <ClCompile Include="..\..\..\gdk\'$$F'"><Filter>Source Files</Filter></ClCompile>' \
+ ;; \
+ esac; \
+ done >libgdk.vs10.sourcefiles.filters
+ $(CPP) -P - <$(top_srcdir)/build/win32/vs10/gdk.vcxproj.filtersin >$@
+ rm libgdk.vs10.sourcefiles.filters
DISTCLEANFILES = gdkconfig.h stamp-gc-h