mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-18 17:30:10 +00:00
be3809f0ba
2001-10-28 Hans Breuer <hans@breuer.org> * gtk/gtkfontsel.c : use g_strcasecmp(), some poor platforms don't have strcasecmp() * gtk/gtktextview.c : to fix crashing on e.g. TextView::find need to remove the idle funcs in gtk_text_view_destroy (). To reduce code duplication wrap it in its own function and use it in gtk_text_view_unrealize () and gtk_text_view_destroy_layout () * gdk/win32/gdkdrawable-win32.c : implement the finalize method like the X11 version does, allow to set_colormap NULL * gdk/win32/gdkwindow-win32.c : adapt GdkWindowImplWin32:: set_colormap, also some adaption to X11 version : (gdk_window_hide) call _gdk_window_clear_update_area (gdk_window_reparent) call _gdk_window_init_position * gdk/win32/gdkwindow-win32.c (gdk_window_set_geometry_hints) : call gdk_window_resize() after all hints are set, because the window resizing process (WM_GETMINMAXINFO) takes all of them into account * gdk/win32/gdkfont-win32.c : make gdk_font_equal return a gboolean * gdk/win32/gdkvisual-win32.c : register GdkVisual with sizeof (GdkVisualPrivate) * gdk/gdk.def gtk/gtk.def : upated externals * gdk/makefile.msc gdk/win32/makefile.msc gdk-pixbuf/makefile.msc gdk-pixbuf/pixops/makefile.msc gtk/makefile.msc.in tests/makefile.msc : from now on use make.msc from $(TOP)/glib/build/win32 * gtk/stock-icons/makefile.msc : add stock_missing_image
75 lines
1.9 KiB
Plaintext
75 lines
1.9 KiB
Plaintext
## Makefile for building the gtk test apps with Microsoft C
|
|
## Use: nmake -f makefile.msc
|
|
|
|
## There is no install target, you have to decide where and
|
|
## how to install for yourself.
|
|
|
|
TOP = ..\..
|
|
!INCLUDE $(TOP)/glib/build/win32/make.msc
|
|
|
|
################################################################
|
|
|
|
# Possibly override versions from build/win32/module.defs
|
|
GTK_VER = 1.3
|
|
GDK_PIXBUF_VER = 1.3
|
|
GTK_VER=1.3
|
|
|
|
GDK_LIBS = ../gdk/gdk-win32-$(GTK_VER).lib
|
|
GTK_LIBS = ../gtk/gtk-win32-$(GTK_VER).lib
|
|
GDK_PIXBUF_LIBS = ../gdk-pixbuf/gdk_pixbuf-$(GDK_PIXBUF_VER).lib
|
|
|
|
INCLUDES = -I . -I .. -I ../gdk -I ../gdk-pixbuf -I ../gtk
|
|
DEPCFLAGS = $(PANGO_CFLAGS) $(GLIB_CFLAGS) $(LIBICONV_CFLAGS) $(INTL_CFLAGS) $(ATK_CFLAGS)
|
|
LDFLAGS = /link /machine:ix86 $(LINKDEBUG)
|
|
DEFINES = -DG_LOG_DOMAIN=\"GtkTest\" -DGTK_VERSION=\"$(GTK_VER)\"
|
|
|
|
TOUCH = copy makefile.msc+nul
|
|
|
|
!IFNDEF TESTAPP
|
|
|
|
all : \
|
|
..\config.h \
|
|
prop-editor.obj \
|
|
all-test-apps
|
|
|
|
..\config.h : ..\config.h.win32
|
|
copy ..\config.h.win32 ..\config.h
|
|
|
|
|
|
#
|
|
# Test programs:
|
|
#
|
|
TESTAPPS = testcalendar testdnd testgtk testinput testrgb testselection \
|
|
testtext testtextbuffer testsocket testsocket_child \
|
|
testtreecolumns testtreefocus testtreesort testtreeview treestoretest \
|
|
testthreads simple
|
|
|
|
|
|
all-test-apps:
|
|
for %d in ($(TESTAPPS)) do nmake -nologo -f makefile.msc one-test-app THIS=%d
|
|
|
|
one-test-app:
|
|
@nmake -nologo -f makefile.msc $(THIS).exe TESTAPP=$(THIS) EXTRA_$(THIS)=1
|
|
|
|
!ELSE
|
|
|
|
!IFDEF EXTRA_testgtk
|
|
EXTRA_OBJETCS = prop-editor.obj
|
|
!ENDIF
|
|
|
|
!IFDEF EXTRA_testtreeview
|
|
EXTRA_OBJETCS = prop-editor.obj
|
|
!ENDIF
|
|
|
|
!IFDEF EXTRA_testtext
|
|
EXTRA_OBJETCS = prop-editor.obj
|
|
!ENDIF
|
|
|
|
$(TESTAPP).exe : ../gtk/gtk-win32-$(GTK_VER).dll $(TESTAPP).obj
|
|
$(CC) $(CFLAGS) $(TESTAPP).obj $(EXTRA_OBJETCS) $(GTK_LIBS) $(GDK_LIBS) $(GDK_PIXBUF_LIBS) $(PANGO_LIBS) $(GLIB_LIBS) $(LDFLAGS)
|
|
|
|
$(TESTAPP).obj : $(TESTAPP).c
|
|
$(CC) $(CFLAGS) -c -DG_LOG_DOMAIN=\"$(TESTAPP)\" $(TESTAPP).c
|
|
|
|
!ENDIF
|