diff options
Diffstat (limited to 'gdk-pixbuf/makefile.msc')
-rw-r--r-- | gdk-pixbuf/makefile.msc | 45 |
1 files changed, 29 insertions, 16 deletions
diff --git a/gdk-pixbuf/makefile.msc b/gdk-pixbuf/makefile.msc index 668b44d88e..1aee962256 100644 --- a/gdk-pixbuf/makefile.msc +++ b/gdk-pixbuf/makefile.msc @@ -11,30 +11,47 @@ PERL = perl GDK_PIXBUF_VER = 2.0 +# -DINCLUDE_gdiplus _replaces_ -DINCLUDE_bmp -DINCLUDE_gif -DINCLUDE_ico -DINCLUDE_jpeg -DINCLUDE_tiff +# but not yet -DINCLUDE_png # to get _working_ include modules we need respective defines ... -BUILT_IN_FORMATS = -DINCLUDE_png -DINCLUDE_bmp -DINCLUDE_gif \ - -DINCLUDE_ico -DINCLUDE_jpeg -DINCLUDE_xpm -DINCLUDE_wbmp \ +BUILT_IN_FORMATS = -DINCLUDE_gdiplus -DINCLUDE_png \ + -DINCLUDE_xpm -DINCLUDE_wbmp \ -DINCLUDE_pnm -DINCLUDE_ras -# -DINCLUDE_tiff - - - PKG_CFLAGS = -FImsvc_recommended_pragmas.h \ +# $(JPEG_CFLAGS) $(TIFF_CFLAGS) \ -I. -I.. $(GLIB_CFLAGS) \ $(BUILT_IN_FORMATS) \ - $(JPEG_CFLAGS) $(PNG_CFLAGS) $(TIFF_CFLAGS) $(INTL_CFLAGS) \ + $(PNG_CFLAGS) $(INTL_CFLAGS) \ $(G_DEBUGGING) \ -DGDK_PIXBUF_ENABLE_BACKEND \ + -DGTK_PREFIX=\"/just/some/non/existing/path/\" \ -UUSE_GMODULE # use built-in # -DUSE_GMODULE -DPIXBUF_LIBDIR=\".\" - PKG_LINK = $(GLIB_LIBS) \ -# $(TIFF_LIBS) \ - $(JPEG_LIBS) $(PNG_LIBS) $(INTL_LIBS) \ +# $(TIFF_LIBS) $(JPEG_LIBS) \ + $(PNG_LIBS) $(INTL_LIBS) \ pixops\pixops.lib \ +OBJECTS_NON_NATIVE = \ + io-bmp.obj \ + io-gif.obj \ + io-ico.obj \ + io-tiff.obj \ + io-jpeg.obj \ + +OBJECTS_NATIVE = \ + io-gdip-animation.obj \ + io-gdip-bmp.obj \ + io-gdip-emf.obj \ + io-gdip-gif.obj \ + io-gdip-ico.obj \ + io-gdip-jpeg.obj \ + io-gdip-tiff.obj \ + io-gdip-utils.obj \ + io-gdip-wmf.obj + OBJECTS = \ gdk-pixbuf-enum-types.obj \ gdk-pixbuf-animation.obj \ @@ -47,17 +64,13 @@ OBJECTS = \ gdk-pixbuf.obj \ gdk-pixbuf-simple-anim.obj \ gdk-pixdata.obj \ - io-bmp.obj \ io-wbmp.obj \ - io-gif.obj \ io-gif-animation.obj \ - io-ico.obj \ io-png.obj \ io-pnm.obj \ io-ras.obj \ -# io-tiff.obj \ io-xpm.obj \ - io-jpeg.obj \ + $(OBJECTS_NATIVE) gdk_pixbuf_headers = \ gdk-pixbuf.h \ @@ -115,7 +128,7 @@ $(PACKAGE)-$(PKG_VER)s.lib : $(OBJECTS) lib /out:$(PACKAGE)-$(PKG_VER)s.lib $(OBJECTS) pixops\pixops.lib lib$(PACKAGE)-$(PKG_VER)-0.dll : $(OBJECTS) $(PACKAGE).def $(PACKAGE).res - $(CC) $(CFLAGS) -LD -Fe$@ $(OBJECTS) $(PKG_LINK) user32.lib advapi32.lib wsock32.lib $(PACKAGE).res \ + $(CC) $(CFLAGS) -LD -Fe$@ $(OBJECTS) $(PKG_LINK) user32.lib advapi32.lib ole32.lib wsock32.lib $(PACKAGE).res \ $(LDFLAGS) /implib:$(PACKAGE)-$(PKG_VER).lib /def:$(PACKAGE).def make-inline-pixbuf.exe : make-inline-pixbuf.c |