forked from AuroraMiddleware/gtk
a53f14a6e3
2001-10-29 Tor Lillqvist <tml@iki.fi> * gdk/win32/libwntab32x.la: New file, hand-written wrapper for the Wintab library. * gdk/win32/gdkwin32.h * gdk/win32/gdkprivate-win32.h: Reorganise to match corresponding X11 headers better, and to enable gdkwin32.h to be installed and included from applications, but not the *-win32.h headers. * gdk/win32/*.c: Corresponding small changes, simplifications of #includes. * gdk/win32/gdkregion-win32.c: Remove. * gdk/win32/gdkevents-win32.c (print_event): Add GDK_SETTING. * gdk/win32/gdkfont-win32.c * gdk/win32/gdkgeometry-win32.c: Remove unused variables. * gdk/win32/gdkproperty-win32.c (gdk_atom_intern): Don't insert GDK_NONE values into hash table. Changes for autoconfiscated build on Win32, and addition of Win32 backend to the related files: * gdk/win32/Makefile.am: Actually enable building the win32 objects here, not just list all files in EXTRA_DIST. Link in the compiled resource file from rc/gdk-win32res.lo. If HAVE_WINTAB, copy the Wintab library into the .libs directory. * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Don't assume the name of the GDK DLL when fetching the icon. Use the HMODULE saved in gdk_dll_hinstance by DllMain. * gdk/win32/rc/Makefile.am: Build gdk-win32res.lo using the build/win32/lt-compile-resource script. * gdk/win32/rc/gdk.rc.in * gtk/gtk-win32.rc.in: Use the DLL name that libtool would use.
71 lines
1.5 KiB
Plaintext
71 lines
1.5 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)/build/win32/make.msc
|
|
|
|
GTK_VER=1.3
|
|
|
|
CFLAGS = -I. -I.. -I..\.. $(GLIB_CFLAGS) $(PANGO_CFLAGS) \
|
|
-I$(WTKIT)\include -I$(GLIB) \
|
|
$(G_DEBUGGING) -DHAVE_CONFIG_H -DINSIDE_GDK_WIN32
|
|
|
|
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
|