summaryrefslogtreecommitdiff
path: root/gdk-pixbuf
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2015-06-09 13:21:47 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2015-09-17 09:24:06 +0800
commit03cdbb9499beb9a0d4f8f0f36bf743dc88edafe2 (patch)
treee6747dd28a8d9d99b3bd07e6d63cb80d7cb1130d /gdk-pixbuf
parent2f5b3a4a42cdcf86291300be81ae3765bb08c4d0 (diff)
downloadgdk-pixbuf-03cdbb9499beb9a0d4f8f0f36bf743dc88edafe2.tar.gz
Clean Up Visual Studio Project Generation
This makes use of the common autotools modules that was just added so that there would need to be less items in gdk-pixbuf's main Makefile.am, so that we can generate the complete Visual Studio 2008/2010 project files (which will then be used to obtain the Visual Studio 2012 and 2013 projects). The other added benefit to this is that the property sheets used to install headers will also make use of this mechanism so that the listing of public headers can be kept up-to-date whenever the list of headers et updated.
Diffstat (limited to 'gdk-pixbuf')
-rw-r--r--gdk-pixbuf/Makefile.am61
1 files changed, 29 insertions, 32 deletions
diff --git a/gdk-pixbuf/Makefile.am b/gdk-pixbuf/Makefile.am
index 39a94b709..602117436 100644
--- a/gdk-pixbuf/Makefile.am
+++ b/gdk-pixbuf/Makefile.am
@@ -685,38 +685,35 @@ EXTRA_DIST = \
gdk-pixbuf-enum-types.h.template \
gen-color-table.pl \
gdiplus.def
-
-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 \
- case $$F in \
- *.c) echo ' <File RelativePath="..\..\..\gdk-pixbuf\'$$F'" />' \
- ;; \
- esac; \
- 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
+
+# ---------- MSVC Items ------------------
+
+MSVCPROJS = gdk-pixbuf
+
+gdk_pixbuf_FILES = \
+ $(libgdk_pixbuf_2_0_la_SOURCES) \
+ $(libstatic_pixbufloader_ani_la_SOURCES) \
+ $(libstatic_pixbufloader_icns_la_SOURCES) \
+ $(libstatic_pixbufloader_pcx_la_SOURCES) \
+ $(libstatic_pixbufloader_pixdata_la_SOURCES) \
+ $(libstatic_pixbufloader_pnm_la_SOURCES) \
+ $(libstatic_pixbufloader_png_la_SOURCES) \
+ $(libstatic_pixbufloader_qtif_la_SOURCES) \
+ $(libstatic_pixbufloader_ras_la_SOURCES) \
+ $(libstatic_pixbufloader_tga_la_SOURCES) \
+ $(libstatic_pixbufloader_xpm_la_SOURCES) \
+ $(libstatic_pixbufloader_xbm_la_SOURCES) \
+ $(libstatic_pixbufloader_wbmp_la_SOURCES)
+
+gdk_pixbuf_EXCLUDES = gdkpdummy
+
+gdk_pixbuf_HEADERS_DIR = $(libgdk_pixbufincludedir)
+gdk_pixbuf_HEADERS_INST = $(libgdk_pixbufinclude_HEADERS)
+gdk_pixbuf_HEADERS_EXCLUDES = gdkpdummy
+
+include $(top_srcdir)/build/Makefile.msvcproj
+
+dist-hook: $(top_builddir)/build/win32/vs9/gdk-pixbuf.vcproj $(top_builddir)/build/win32/vs9/gdk-pixbuf.headers
if HAVE_INTROSPECTION