mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-13 04:10:13 +00:00
bc94033dd3
2002-02-27 Hans Breuer <hans@breuer.org> * demos/gtk-demo/makefile.msc.in : new file * gdk-pixbuf/gtk-pixbuf.rc.in : new file to include version resource * gdk-pixbuf/makefile.msc : create and use gdk-pixbuf.res * gdk/win32/gdkkeys-win32.c : handle undefined LANG_URDU, (gdk_keyval_name) : fix endless looping * gtk/gtkfilesel.c : translate_win32_path() static * gtk/queryimmodules : print_escaped(), query_module() static * gtk/makefile.msc.in : added gtkkeyhash, build gtk-win32.res * gtk/stock-icons/makefile.msc : regenerated from directory listing (almost all filenames changed)
81 lines
1.9 KiB
Plaintext
81 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
|
|
|
|
!IFNDEF PERL
|
|
PERL = perl
|
|
!ENDIF
|
|
|
|
################################################################
|
|
|
|
# Possibly override versions from build/win32/module.defs
|
|
GTK_VER = @GTK_MAJOR_VERSION@.@GTK_MINOR_VERSION@
|
|
GDK_PIXBUF_VER = @GDK_PIXBUF_MAJOR@.@GDK_PIXBUF_MINOR@
|
|
|
|
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 = -FImsvc_recommended_pragmas.h -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=\"GtkDemo\" -DGTK_VERSION=\"$(GTK_VER)\" \
|
|
-DDEMOCODEDIR=\".\"
|
|
|
|
TOUCH = copy makefile.msc+nul
|
|
|
|
all : \
|
|
demos.h \
|
|
gtk-demo.exe
|
|
|
|
## These should be in the order you want them to appear in the
|
|
## demo app, which means alphabetized by demo title, not filename
|
|
DEMOS = \
|
|
appwindow.c \
|
|
button_box.c \
|
|
colorsel.c \
|
|
dialog.c \
|
|
drawingarea.c \
|
|
editable_cells.c \
|
|
images.c \
|
|
item_factory.c \
|
|
list_store.c \
|
|
menus.c \
|
|
panes.c \
|
|
pixbufs.c \
|
|
sizegroup.c \
|
|
stock_browser.c \
|
|
textview.c \
|
|
tree_store.c \
|
|
|
|
demos.h: $(DEMOS) geninclude.pl
|
|
$(PERL) geninclude.pl $(DEMOS) > demos.h
|
|
|
|
OBJECTS = \
|
|
appwindow.obj \
|
|
button_box.obj \
|
|
colorsel.obj \
|
|
dialog.obj \
|
|
drawingarea.obj \
|
|
editable_cells.obj \
|
|
images.obj \
|
|
item_factory.obj \
|
|
list_store.obj \
|
|
menus.obj \
|
|
panes.obj \
|
|
pixbufs.obj \
|
|
sizegroup.obj \
|
|
stock_browser.obj \
|
|
textview.obj \
|
|
tree_store.obj \
|
|
main.obj \
|
|
|
|
gtk-demo.exe : demos.h $(OBJECTS)
|
|
$(CC) $(CFLAGS) -Fegtk-demo.exe $(OBJECTS) $(GTK_LIBS) $(GDK_LIBS) $(GDK_PIXBUF_LIBS) $(PANGO_LIBS) $(GLIB_LIBS) $(LDFLAGS)
|
|
|