From 2966f498c6c5d7c9ebc7c61d0f2a96c4ca95979b Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Wed, 23 Feb 2011 15:01:36 +0800 Subject: [PATCH] VS 2010 Project Files: autotools files updates 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 | 22 +++++++++++++++++++++- build/win32/Makefile.am | 3 ++- build/win32/vs10/Makefile.am | 9 +++++++++ configure.ac | 1 + 4 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 build/win32/vs10/Makefile.am diff --git a/atk/Makefile.am b/atk/Makefile.am index 5e0339b..e33cc89 100644 --- a/atk/Makefile.am +++ b/atk/Makefile.am @@ -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 ' ' \ + ;; \ + 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 ' Source Files' \ + ;; \ + 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 \ diff --git a/build/win32/Makefile.am b/build/win32/Makefile.am index a925ca1..e013d16 100644 --- a/build/win32/Makefile.am +++ b/build/win32/Makefile.am @@ -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 index 0000000..217d7d2 --- /dev/null +++ b/build/win32/vs10/Makefile.am @@ -0,0 +1,9 @@ +EXTRA_DIST = \ + README.txt \ + atk.sln \ + atk.props \ + atk.vcxproj \ + atk.vcxprojin \ + atk.vcxproj.filters \ + atk.vcxproj.filtersin \ + install.vcxproj diff --git a/configure.ac b/configure.ac index 20b9908..d245068 100644 --- a/configure.ac +++ b/configure.ac @@ -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 -- 2.7.4