forked from AuroraMiddleware/gtk
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
66 lines
1.1 KiB
Plaintext
66 lines
1.1 KiB
Plaintext
TOP = ../../..
|
|
PACKAGE = pixops
|
|
PRJ_TOP = ..\..
|
|
|
|
!INCLUDE $(TOP)/glib/build/win32/make.msc
|
|
|
|
PKG_CFLAGS = -I.. $(GLIB_CFLAGS)
|
|
|
|
OBJECTS = \
|
|
pixops.obj \
|
|
|
|
#? timescale.obj
|
|
|
|
## common stuff
|
|
## compiler and linker switches
|
|
!IFNDEF DEBUG
|
|
# Full optimization:
|
|
OPTIMIZE = -Ox -MD
|
|
LINKDEBUG =
|
|
!ELSE
|
|
# Debugging:
|
|
OPTIMIZE = -Zi -MDd
|
|
LINKDEBUG = /debug
|
|
!ENDIF
|
|
|
|
# cl -? describes the options
|
|
CC = cl -G5 -GF $(OPTIMIZE) -W3 -nologo
|
|
|
|
# No general LDFLAGS needed
|
|
LDFLAGS = /link $(LINKDEBUG)
|
|
INSTALL = copy
|
|
|
|
CFLAGS = -I. -I$(PRJ_TOP) -DHAVE_CONFIG_H
|
|
|
|
## targets
|
|
all : \
|
|
$(PRJ_TOP)\config.h \
|
|
$(PACKAGE).lib
|
|
|
|
$(PACKAGE).lib : $(OBJECTS)
|
|
lib /out:$(PACKAGE).lib $(OBJECTS)
|
|
|
|
$(PACKAGE).dll : $(OBJECTS) $(PACKAGE).def
|
|
$(CC) $(CFLAGS) -LD -Fe$(PACKAGE).dll $(OBJECTS) $(PKG_LINK) user32.lib advapi32.lib wsock32.lib $(LDFLAGS) /def:$(PACKAGE).def
|
|
|
|
$(PRJ_TOP)\config.h: $(PRJ_TOP)\config.h.win32
|
|
copy $(PRJ_TOP)\config.h.win32 $(PRJ_TOP)\config.h
|
|
|
|
.c.obj :
|
|
$(CC) $(CFLAGS) -GD -c $(PKG_CFLAGS) $<
|
|
|
|
clean::
|
|
del config.h
|
|
del *.exe
|
|
del *.obj
|
|
del *.dll
|
|
del *.lib
|
|
del *.err
|
|
del *.map
|
|
del *.sym
|
|
del *.exp
|
|
del *.lk1
|
|
del *.mk1
|
|
del *.pdb
|
|
del *.ilk
|