summaryrefslogtreecommitdiff
path: root/atk
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2011-01-18 13:06:48 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2011-01-18 13:06:48 +0800
commit35f2fc6061585a695bb16ff3e6f9f4e5a98b7ff5 (patch)
tree845005578f1001c41cab8cfac467d18d36ab12c7 /atk
parent532a4b637e2696ee6fbceb0cb4bd4327fd8566dd (diff)
downloadatk-35f2fc6061585a695bb16ff3e6f9f4e5a98b7ff5.tar.gz
Bug 636190: Visual C++ 2008 Project Files
These are the Visual C++ 2008 Project Files for building ATK, along with a hand-written config.h.win32(.in) that is used for the purpose. This attempts to create the project files in a way that is similar to what is being now done in GLib and GTK+ *The configure.ac and Makefile.am files are updated so that a config.h.win32 can be expanded with the updated version info with each tarball release. *The atk/Makefile.am file is updated to re-enable the distribution of the expanded atk/atk.rc file and also to enable the creation of build/win32/vs9/atk.vcproj from build/win32/vs9/atk.vcprojin with the correct source file entries in the project file with each tarball release. This commit has been confirmed with Li Yuan and Tor Lillqvist (thank you!)
Diffstat (limited to 'atk')
-rw-r--r--atk/Makefile.am14
1 files changed, 13 insertions, 1 deletions
diff --git a/atk/Makefile.am b/atk/Makefile.am
index 1a2ba45..5f0d617 100644
--- a/atk/Makefile.am
+++ b/atk/Makefile.am
@@ -214,7 +214,19 @@ atk-$(ATK_API_VERSION).lib: libatk-$(ATK_API_VERSION).la atk.def
lib -machine:$(LIB_EXE_MACHINE_FLAG) -name:libatk-$(ATK_API_VERSION)-$(LT_CURRENT_MINUS_AGE).dll -def:atk.def -out:$@
-EXTRA_DIST = atk.symbols atk.rc.in atkmarshal.list atkintl.h
+EXTRA_DIST = atk.symbols atk.rc.in atkmarshal.list atkintl.h atk.rc
+
+dist-hook: ../build/win32/vs9/atk.vcproj
+
+../build/win32/vs9/atk.vcproj: ../build/win32/vs9/atk.vcprojin
+ for F in $(libatk_1_0_la_SOURCES); do \
+ case $$F in \
+ *.c) echo ' <File RelativePath="..\..\..\atk\'$$F'" />' \
+ ;; \
+ esac; \
+ done >libatk.sourcefiles
+ $(CPP) -P - <$(top_srcdir)/build/win32/vs9/atk.vcprojin >$@
+ rm libatk.sourcefiles
DISTCLEANFILES = \
stamp-atkmarshal.h stamp-atkmarshal.c \