VS 2010 Project Files: autotools files updates
authorChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 23 Feb 2011 07:01:36 +0000 (15:01 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 23 Feb 2011 07:01:36 +0000 (15:01 +0800)
The autotools files are updated to ensure the distribution and the creation
of the main ATK project files (*.vcxproj/*.vcxproj.filters) during
"make dist".

The actual project files will follow shortly

atk/Makefile.am
build/win32/Makefile.am
build/win32/vs10/Makefile.am [new file with mode: 0644]
configure.ac

index 5e0339b..e33cc89 100644 (file)
@@ -216,7 +216,7 @@ atk-$(ATK_API_VERSION).lib: libatk-$(ATK_API_VERSION).la atk.def
 
 EXTRA_DIST = atk.symbols atk.rc.in atkmarshal.list atkintl.h atk.rc
 
-dist-hook: ../build/win32/vs9/atk.vcproj
+dist-hook: ../build/win32/vs9/atk.vcproj ../build/win32/vs10/atk.vcxproj ../build/win32/vs10/atk.vcxproj.filters
 
 ../build/win32/vs9/atk.vcproj: ../build/win32/vs9/atk.vcprojin
        for F in $(libatk_1_0_la_SOURCES); do \
@@ -227,6 +227,26 @@ dist-hook: ../build/win32/vs9/atk.vcproj
        done >libatk.sourcefiles
        $(CPP) -P - <$(top_srcdir)/build/win32/vs9/atk.vcprojin >$@
        rm libatk.sourcefiles
+       
+../build/win32/vs10/atk.vcxproj: ../build/win32/vs10/atk.vcxprojin
+       for F in $(libatk_1_0_la_SOURCES); do \
+               case $$F in \
+               *.c) echo '    <ClCompile Include="..\..\..\atk\'$$F'" />' \
+                    ;; \
+               esac; \
+       done >libatk.vs10.sourcefiles
+       $(CPP) -P - <$(top_srcdir)/build/win32/vs10/atk.vcxprojin >$@
+       rm libatk.vs10.sourcefiles
+       
+../build/win32/vs10/atk.vcxproj.filters: ../build/win32/vs10/atk.vcxproj.filtersin
+       for F in $(libatk_1_0_la_SOURCES); do \
+               case $$F in \
+               *.c) echo '    <ClCompile Include="..\..\..\atk\'$$F'"><Filter>Source Files</Filter></ClCompile>' \
+                    ;; \
+               esac; \
+       done >libatk.vs10.sourcefiles.filters
+       $(CPP) -P - <$(top_srcdir)/build/win32/vs10/atk.vcxproj.filtersin >$@
+       rm libatk.vs10.sourcefiles.filters
 
 DISTCLEANFILES = \
   stamp-atkmarshal.h stamp-atkmarshal.c \
index a925ca1..e013d16 100644 (file)
@@ -1,2 +1,3 @@
 SUBDIRS =      \
-       vs9
+       vs9  \
+       vs10
diff --git a/build/win32/vs10/Makefile.am b/build/win32/vs10/Makefile.am
new file mode 100644 (file)
index 0000000..217d7d2
--- /dev/null
@@ -0,0 +1,9 @@
+EXTRA_DIST = \
+       README.txt \
+       atk.sln \
+       atk.props \
+       atk.vcxproj \
+       atk.vcxprojin \
+       atk.vcxproj.filters \
+       atk.vcxproj.filtersin \
+       install.vcxproj
index 20b9908..d245068 100644 (file)
@@ -225,6 +225,7 @@ tests/Makefile
 build/Makefile
 build/win32/Makefile
 build/win32/vs9/Makefile
+build/win32/vs10/Makefile
 docs/Makefile
 docs/version.xml
 atk.spec