mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-19 01:40:10 +00:00
ec81d4a8af
2002-01-04 Hans Breuer <hans@breuer.org> * gdk/gdkdraw.c gdk/gdkpixbuf-drawable.c : need to cast image->mem away from void* to avoid 'error C2036: 'void *' : unknown size'. Doing pointer arithmetics on void pointers is a GCCism afaik. * gdk/gdkpixbuf-render.c : #include "gdkinternals.h" for _gdk_draw_pixbuf () * gdk/makefile.msc gdk/win32/makefile.msc gdk/gtk/makefile.msc.in : use -FI msvc_recommended_pragmas.h * gdk/win32/gdkdrawable-win32.c : use _gkd_win32_copy_to_image and take care of image->visual possibly NULL. * gdk/win32/gdkimage-win32.c : implement _gdk_image_new_for_depth(), _gdk_win32_copy_to_image() and _gdk_windowing_bits_for_depth(). Again take care of image->visual possibly NULL. * gdk/win32/gdkprivate-win32.h : declare _gdk_win32_copy_to_image() * gdk/win32/gdkevents-win32.c : use gdk_drawable_get_colormap instead of private field access * gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new) : adapt colormap setting to the gdk-X behaviour
72 lines
1.6 KiB
Plaintext
72 lines
1.6 KiB
Plaintext
## Makefile for building the GDK DLL with Microsoft C
|
|
## Use: nmake -f makefile.msc
|
|
|
|
# Location of the Wintab toolkit. Downloadable from http://www.pointing.com.
|
|
WTKIT = ..\..\..\wtkit126
|
|
|
|
################################################################
|
|
|
|
# Nothing much configurable below
|
|
|
|
TOP = ../../..
|
|
!INCLUDE $(TOP)/glib/build/win32/make.msc
|
|
|
|
GTK_VER=1.3
|
|
|
|
CFLAGS = -FImsvc_recommended_pragmas.h \
|
|
-I. -I.. -I..\.. $(GLIB_CFLAGS) $(PANGO_CFLAGS) \
|
|
-I$(WTKIT)\include -I$(GLIB) \
|
|
$(G_DEBUGGING) -DHAVE_CONFIG_H -DINSIDE_GDK_WIN32 -DGDK_VERSION=\"$(GTK_VER)\"
|
|
|
|
all: \
|
|
..\..\config.h \
|
|
..\gdkconfig.h \
|
|
gdk-win32.lib \
|
|
gdk.res
|
|
|
|
gdk_win32_OBJECTS = \
|
|
gdkcolor-win32.obj \
|
|
gdkcursor-win32.obj \
|
|
gdkdnd-win32.obj \
|
|
gdkdrawable-win32.obj \
|
|
gdkevents-win32.obj \
|
|
gdkfont-win32.obj \
|
|
gdkgc-win32.obj \
|
|
gdkgeometry-win32.obj \
|
|
gdkglobals-win32.obj \
|
|
gdkim-win32.obj \
|
|
gdkimage-win32.obj \
|
|
gdkinput.obj \
|
|
gdkinput-win32.obj \
|
|
gdkkeys-win32.obj \
|
|
gdkmain-win32.obj \
|
|
gdkpango-win32.obj \
|
|
gdkpixmap-win32.obj \
|
|
gdkproperty-win32.obj \
|
|
# gdkregion-win32.obj \
|
|
gdkselection-win32.obj \
|
|
gdkvisual-win32.obj \
|
|
gdkwin32id.obj \
|
|
gdkwindow-win32.obj
|
|
|
|
..\..\config.h : ..\..\config.h.win32
|
|
copy ..\..\config.h.win32 ..\..\config.h
|
|
|
|
..\gdkconfig.h : ..\gdkconfig.h.win32
|
|
copy ..\gdkconfig.h.win32 ..\gdkconfig.h
|
|
|
|
gdk.res : rc\gdk.rc
|
|
rc -DBUILDNUMBER=0 -r -fo gdk.res rc\gdk.rc
|
|
|
|
gdk-win32.lib : $(gdk_win32_OBJECTS)
|
|
lib -out:gdk-win32.lib $(gdk_win32_OBJECTS)
|
|
|
|
.c.obj :
|
|
$(CC) $(CFLAGS) -GD -c -DGDK_COMPILATION -DG_LOG_DOMAIN=\"Gdk\" $<
|
|
|
|
clean::
|
|
del *.obj
|
|
del *.lib
|
|
del *.err
|
|
del *.res
|