2000-10-22 16:01:20 +00:00
|
|
|
## Makefile for building the gtk DLL with Microsoft C
|
|
|
|
## Use: nmake -f makefile.msc
|
|
|
|
|
|
|
|
## There is no install target, you have to decide where and
|
|
|
|
## how to install for yourself.
|
|
|
|
|
2001-03-31 19:33:49 +00:00
|
|
|
TOP = ..\..
|
2001-11-09 21:52:52 +00:00
|
|
|
!INCLUDE $(TOP)/glib/build/win32/make.msc
|
2000-10-22 16:01:20 +00:00
|
|
|
|
|
|
|
################################################################
|
|
|
|
|
2005-07-30 18:53:44 +00:00
|
|
|
# Not the real version but the one used in the DLL names
|
2011-01-02 11:00:44 +00:00
|
|
|
GTK_VER = 3.0
|
2000-10-22 16:01:20 +00:00
|
|
|
|
2001-07-20 18:05:33 +00:00
|
|
|
|
2000-10-22 16:01:20 +00:00
|
|
|
GDK_LIBS = ../gdk/gdk-win32-$(GTK_VER).lib
|
|
|
|
GTK_LIBS = gtk-win32-$(GTK_VER).lib
|
2006-04-07 17:18:08 +00:00
|
|
|
GTK_BINARY_VERSION = @GTK_BINARY_VERSION@
|
2000-10-22 16:01:20 +00:00
|
|
|
|
|
|
|
# Perl and awk are needed to generate some source files.
|
|
|
|
# These generated source files are distribuyted with the Win32 GTk+ source
|
|
|
|
# distributions, so don't worry if you don't have perl and awk.
|
|
|
|
PERL = perl
|
|
|
|
AWK = gawk
|
|
|
|
|
2011-01-02 11:00:44 +00:00
|
|
|
INCLUDES = -FImsvc_recommended_pragmas.h -I . -I .. -I ../gdk $(GDK_PIXBUF_CFLAGS)
|
2001-10-26 14:38:12 +00:00
|
|
|
DEPCFLAGS = $(PANGO_CFLAGS) $(GLIB_CFLAGS) $(LIBICONV_CFLAGS) \
|
2005-02-07 20:22:05 +00:00
|
|
|
$(INTL_CFLAGS) $(ATK_CFLAGS) $(CAIRO_CFLAGS)
|
2001-11-18 15:37:13 +00:00
|
|
|
LDFLAGS = $(ATK_LIBS) /link /machine:ix86 $(LINKDEBUG)
|
2000-10-22 16:01:20 +00:00
|
|
|
# Some files use near as an identifier
|
2001-02-25 17:25:09 +00:00
|
|
|
# Don't define GTK_COMPILATION here, because it's for gtk-x.x.dll only
|
2005-09-18 12:27:12 +00:00
|
|
|
DEFINES = \
|
|
|
|
-DHAVE_CONFIG_H \
|
|
|
|
$(G_DEBUGGING) -DGTK_DISABLE_COMPAT_H -DG_LOG_DOMAIN=\"Gtk\" -Dnear=xxnear \
|
2002-02-27 16:37:04 +00:00
|
|
|
-DPANGO_ENABLE_BACKEND \
|
|
|
|
-DGTK_VERSION=\"$(GTK_VER)\" -DGTK_BINARY_VERSION=\"$(GTK_BINARY_VERSION)\" \
|
2003-11-15 20:35:55 +00:00
|
|
|
-DGTK_HOST=\"win32\" \
|
2007-01-13 21:13:28 +00:00
|
|
|
-DGTK_FILE_SYSTEM_ENABLE_UNSUPPORTED \
|
2011-01-02 11:00:44 +00:00
|
|
|
-DGTK_PRINT_BACKENDS=\"file,lpr\" \
|
|
|
|
-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED \
|
2007-06-15 15:25:50 +00:00
|
|
|
-DGTK_PRINT_PREVIEW_COMMAND="\"evince --unlink-tempfile --preview %f\"" \
|
|
|
|
-DGTK_LIBDIR=\"/magic/path/replaced/at/runtime\"
|
2000-10-22 16:01:20 +00:00
|
|
|
|
2011-01-02 11:00:44 +00:00
|
|
|
EXTRALIBS = \
|
|
|
|
$(GDK_LIBS) \
|
|
|
|
$(GDK_PIXBUF_LIBS) \
|
|
|
|
$(PANGO_LIBS) $(INTL_LIBS) \
|
|
|
|
$(GLIB_LIBS) $(GMODULE_LIBS) $(GIO_LIBS) \
|
|
|
|
$(CAIRO_LIBS) $(PANGOCAIRO_LIBS) $(CAIRO_GOBJECT_LIBS) \
|
|
|
|
|
2000-10-22 16:01:20 +00:00
|
|
|
TOUCH = copy makefile.msc+nul
|
|
|
|
|
2006-01-05 23:55:08 +00:00
|
|
|
gtkbuiltincache.h: gtk-update-icon-cache.exe
|
|
|
|
del gtkicontheme.obj
|
|
|
|
gtk-update-icon-cache --force --ignore-theme-index \
|
|
|
|
--source builtin_icons stock-icons > gtkbuiltincache.h
|
2001-08-04 13:19:59 +00:00
|
|
|
|
2007-09-17 19:53:54 +00:00
|
|
|
GENERATED = \
|
|
|
|
gtktypebuiltins.h gtktypebuiltins.c \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtkmarshalers.h gtkmarshalers.c \
|
2011-01-30 21:06:52 +00:00
|
|
|
gtk.def gtktypefuncs.c
|
2007-09-17 19:53:54 +00:00
|
|
|
|
2000-10-22 16:01:20 +00:00
|
|
|
all : \
|
|
|
|
..\config.h \
|
2007-09-17 19:53:54 +00:00
|
|
|
$(GENERATED) \
|
2006-01-05 23:55:08 +00:00
|
|
|
gtk-update-icon-cache.exe \
|
|
|
|
gtkbuiltincache.h \
|
2003-07-20 15:50:14 +00:00
|
|
|
libgtk-win32-$(GTK_VER)-0.dll \
|
2001-11-18 15:37:13 +00:00
|
|
|
gtk-query-immodules-$(GTK_VER).exe \
|
2001-10-26 14:38:12 +00:00
|
|
|
# gtk-win32-$(GTK_VER)s.lib \
|
|
|
|
# gtk-x11-$(GTK_VER).dll
|
2000-10-22 16:01:20 +00:00
|
|
|
|
2008-05-23 20:29:27 +00:00
|
|
|
gtk_OBJECTS_cell = \
|
2011-01-30 21:06:52 +00:00
|
|
|
gtkcellarea.obj \
|
|
|
|
gtkcellareabox.obj \
|
|
|
|
gtkcellareaboxcontext.obj \
|
|
|
|
gtkcellareacontext.obj \
|
2008-05-23 20:29:27 +00:00
|
|
|
gtkcelleditable.obj \
|
|
|
|
gtkcelllayout.obj \
|
|
|
|
gtkcellrenderer.obj \
|
2006-01-05 23:55:08 +00:00
|
|
|
gtkcellrendereraccel.obj \
|
2004-08-06 19:20:42 +00:00
|
|
|
gtkcellrenderercombo.obj \
|
2008-05-23 20:29:27 +00:00
|
|
|
gtkcellrendererpixbuf.obj \
|
|
|
|
gtkcellrendererprogress.obj \
|
2006-04-07 17:18:08 +00:00
|
|
|
gtkcellrendererspin.obj \
|
2009-11-08 17:26:03 +00:00
|
|
|
gtkcellrendererspinner.obj \
|
2011-01-30 21:06:52 +00:00
|
|
|
gtkcellrenderertext.obj \
|
|
|
|
gtkcellrenderertoggle.obj \
|
2008-05-23 20:29:27 +00:00
|
|
|
gtkcellview.obj \
|
|
|
|
gtkliststore.obj \
|
|
|
|
gtktreednd.obj \
|
2011-01-30 21:06:52 +00:00
|
|
|
gtktreemenu.obj \
|
2008-05-23 20:29:27 +00:00
|
|
|
gtktreemodel.obj \
|
|
|
|
gtktreemodelfilter.obj \
|
|
|
|
gtktreemodelsort.obj \
|
|
|
|
gtktreeselection.obj \
|
|
|
|
gtktreesortable.obj \
|
|
|
|
gtktreestore.obj \
|
|
|
|
gtktreeview.obj \
|
|
|
|
gtktreeviewcolumn.obj \
|
|
|
|
|
|
|
|
gtk_OBJECTS_file = \
|
|
|
|
gtkfilechooser.obj \
|
|
|
|
gtkfilechooserbutton.obj \
|
|
|
|
gtkfilechooserdefault.obj \
|
|
|
|
gtkfilechooserdialog.obj \
|
|
|
|
gtkfilechooserembed.obj \
|
|
|
|
gtkfilechooserentry.obj \
|
2011-01-02 11:00:44 +00:00
|
|
|
# gtkfilechoosersettings.obj \
|
2008-05-23 20:29:27 +00:00
|
|
|
gtkfilechooserutils.obj \
|
|
|
|
gtkfilechooserwidget.obj \
|
|
|
|
gtkfilefilter.obj \
|
|
|
|
gtkfilesystem.obj \
|
|
|
|
gtkfilesystemmodel.obj \
|
|
|
|
|
|
|
|
gtk_OBJECTS_print = \
|
|
|
|
gtkprint-win32.obj \
|
|
|
|
gtkprintcontext.obj \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtkprintoperation-win32.obj \
|
2008-05-23 20:29:27 +00:00
|
|
|
gtkprintoperation.obj \
|
|
|
|
gtkprintoperationpreview.obj \
|
|
|
|
gtkprintsettings.obj \
|
|
|
|
gtkprintutils.obj \
|
|
|
|
|
|
|
|
gtk_OBJECTS_text = \
|
2011-01-30 21:06:52 +00:00
|
|
|
gtktextattributes.obj \
|
2008-05-23 20:29:27 +00:00
|
|
|
gtktextbtree.obj \
|
|
|
|
gtktextbuffer.obj \
|
|
|
|
gtktextbufferrichtext.obj \
|
|
|
|
gtktextbufferserialize.obj \
|
|
|
|
gtktextchild.obj \
|
|
|
|
gtktextdisplay.obj \
|
|
|
|
gtktextiter.obj \
|
|
|
|
gtktextlayout.obj \
|
|
|
|
gtktextmark.obj \
|
|
|
|
gtktextsegment.obj \
|
|
|
|
gtktexttag.obj \
|
|
|
|
gtktexttagtable.obj \
|
|
|
|
gtktexttypes.obj \
|
|
|
|
gtktextutil.obj \
|
|
|
|
gtktextview.obj \
|
|
|
|
|
|
|
|
gtk_OBJECTS_recent = \
|
2007-06-15 15:25:50 +00:00
|
|
|
gtkrecentaction.obj \
|
2006-04-07 17:18:08 +00:00
|
|
|
gtkrecentchooserdefault.obj \
|
|
|
|
gtkrecentchooserdialog.obj \
|
2008-05-23 20:29:27 +00:00
|
|
|
gtkrecentchoosermenu.obj \
|
2006-04-07 17:18:08 +00:00
|
|
|
gtkrecentchooserwidget.obj \
|
|
|
|
gtkrecentchooserutils.obj \
|
2008-05-23 20:29:27 +00:00
|
|
|
gtkrecentchooser.obj \
|
|
|
|
gtkrecentfilter.obj \
|
|
|
|
gtkrecentmanager.obj \
|
|
|
|
|
|
|
|
gtk_OBJECTS = \
|
|
|
|
fnmatch.obj \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtk9slice.obj \
|
2008-05-23 20:29:27 +00:00
|
|
|
gtkaboutdialog.obj \
|
|
|
|
gtkaccelgroup.obj \
|
|
|
|
gtkaccellabel.obj \
|
|
|
|
gtkaccelmap.obj \
|
|
|
|
gtkaccessible.obj \
|
|
|
|
gtkaction.obj \
|
|
|
|
gtkactiongroup.obj \
|
2009-07-01 19:32:46 +00:00
|
|
|
gtkactivatable.obj \
|
2008-05-23 20:29:27 +00:00
|
|
|
gtkadjustment.obj \
|
|
|
|
gtkalignment.obj \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtkanimationdescription.obj \
|
|
|
|
gtkappchooser.obj \
|
|
|
|
gtkappchooserbutton.obj \
|
|
|
|
gtkappchooserdialog.obj \
|
|
|
|
gtkappchoosermodule.obj \
|
|
|
|
gtkappchooseronline.obj \
|
|
|
|
gtkappchooseronlinepk.obj \
|
|
|
|
gtkappchooserwidget.obj \
|
|
|
|
gtkapplication.obj \
|
2008-05-23 20:29:27 +00:00
|
|
|
gtkarrow.obj \
|
|
|
|
gtkaspectframe.obj \
|
|
|
|
gtkassistant.obj \
|
|
|
|
gtkbin.obj \
|
|
|
|
gtkbindings.obj \
|
|
|
|
gtkbbox.obj \
|
|
|
|
gtkbox.obj \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtkborder.obj \
|
2008-05-23 20:29:27 +00:00
|
|
|
gtkbuildable.obj \
|
|
|
|
gtkbuilder.obj \
|
|
|
|
gtkbuilderparser.obj \
|
|
|
|
gtkbutton.obj \
|
|
|
|
gtkcalendar.obj \
|
|
|
|
gtkcheckbutton.obj \
|
|
|
|
gtkcheckmenuitem.obj \
|
|
|
|
gtkclipboard.obj \
|
|
|
|
gtkcolorbutton.obj \
|
|
|
|
gtkcolorsel.obj \
|
|
|
|
gtkcolorseldialog.obj \
|
|
|
|
gtkcombobox.obj \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtkcomboboxtext.obj \
|
2008-05-23 20:29:27 +00:00
|
|
|
gtkcontainer.obj \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtkcssprovider.obj \
|
2008-05-23 20:29:27 +00:00
|
|
|
gtkdialog.obj \
|
|
|
|
gtkdnd.obj \
|
|
|
|
gtkdrawingarea.obj \
|
|
|
|
gtkeditable.obj \
|
|
|
|
gtkentry.obj \
|
2009-07-12 15:57:13 +00:00
|
|
|
gtkentrybuffer.obj \
|
2008-05-23 20:29:27 +00:00
|
|
|
gtkentrycompletion.obj \
|
|
|
|
gtkeventbox.obj \
|
|
|
|
gtkexpander.obj \
|
|
|
|
gtkfixed.obj \
|
|
|
|
gtkfontsel.obj \
|
|
|
|
gtkfontbutton.obj \
|
|
|
|
gtkframe.obj \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtkgradient.obj \
|
|
|
|
gtkgrid.obj \
|
2008-05-23 20:29:27 +00:00
|
|
|
gtkhandlebox.obj \
|
|
|
|
gtkhbbox.obj \
|
|
|
|
gtkhbox.obj \
|
|
|
|
gtkhpaned.obj \
|
|
|
|
gtkhscale.obj \
|
|
|
|
gtkhscrollbar.obj \
|
|
|
|
gtkhseparator.obj \
|
|
|
|
gtkhsv.obj \
|
|
|
|
gtkiconcache.obj \
|
|
|
|
gtkiconcachevalidator.obj \
|
|
|
|
gtkiconfactory.obj \
|
|
|
|
gtkicontheme.obj \
|
|
|
|
gtkiconview.obj \
|
|
|
|
gtkimage.obj \
|
|
|
|
gtkimagemenuitem.obj \
|
|
|
|
gtkimcontext.obj \
|
|
|
|
gtkimcontextsimple.obj \
|
|
|
|
gtkimmodule.obj \
|
|
|
|
gtkimmulticontext.obj \
|
2009-07-04 10:15:39 +00:00
|
|
|
gtkinfobar.obj \
|
2008-05-23 20:29:27 +00:00
|
|
|
gtkinvisible.obj \
|
|
|
|
gtkkeyhash.obj \
|
|
|
|
gtklabel.obj \
|
|
|
|
gtklayout.obj \
|
|
|
|
gtklinkbutton.obj \
|
|
|
|
gtkmain.obj \
|
|
|
|
gtkmarshalers.obj \
|
|
|
|
gtkmenu.obj \
|
|
|
|
gtkmenubar.obj \
|
|
|
|
gtkmenuitem.obj \
|
|
|
|
gtkmenushell.obj \
|
|
|
|
gtkmenutoolbutton.obj \
|
|
|
|
gtkmessagedialog.obj \
|
|
|
|
gtkmisc.obj \
|
|
|
|
gtkmnemonichash.obj \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtkmodifierstyle.obj \
|
2008-05-23 20:29:27 +00:00
|
|
|
gtkmodules.obj \
|
|
|
|
gtkmountoperation.obj \
|
2009-07-12 15:57:13 +00:00
|
|
|
gtkmountoperation-stub.obj \
|
2008-05-23 20:29:27 +00:00
|
|
|
gtknotebook.obj \
|
2009-11-08 17:26:03 +00:00
|
|
|
gtkoffscreenwindow.obj \
|
2009-07-01 19:32:46 +00:00
|
|
|
gtkorientable.obj \
|
2008-05-23 20:29:27 +00:00
|
|
|
gtkpagesetup.obj \
|
|
|
|
gtkpaned.obj \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtkpango.obj \
|
2008-05-23 20:29:27 +00:00
|
|
|
gtkpapersize.obj \
|
|
|
|
gtkpathbar.obj \
|
|
|
|
gtkprogressbar.obj \
|
|
|
|
gtkquery.obj \
|
|
|
|
gtkradioaction.obj \
|
|
|
|
gtkradiobutton.obj \
|
|
|
|
gtkradiotoolbutton.obj \
|
|
|
|
gtkradiomenuitem.obj \
|
|
|
|
gtkrange.obj \
|
|
|
|
gtkrbtree.obj \
|
|
|
|
gtkrc.obj \
|
|
|
|
gtkscale.obj \
|
|
|
|
gtkscalebutton.obj \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtkscrollable.obj \
|
2008-05-23 20:29:27 +00:00
|
|
|
gtkscrollbar.obj \
|
|
|
|
gtkscrolledwindow.obj \
|
|
|
|
gtksearchengine.obj \
|
|
|
|
gtksearchenginebeagle.obj \
|
|
|
|
gtksearchenginesimple.obj \
|
|
|
|
gtksearchenginetracker.obj \
|
|
|
|
gtkselection.obj \
|
|
|
|
gtkseparator.obj \
|
2001-02-25 17:25:09 +00:00
|
|
|
gtkseparatormenuitem.obj \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtkseparatortoolitem.obj \
|
2001-03-31 19:33:49 +00:00
|
|
|
gtksettings.obj \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtkshow.obj \
|
2015-02-12 17:09:13 +00:00
|
|
|
gtkstacksidebar.obj \
|
2001-07-20 18:05:33 +00:00
|
|
|
gtksizegroup.obj \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtksizerequest.obj \
|
2008-05-23 20:29:27 +00:00
|
|
|
gtkspinbutton.obj \
|
2009-11-08 17:26:03 +00:00
|
|
|
gtkspinner.obj \
|
2008-05-23 20:29:27 +00:00
|
|
|
gtkstatusicon.obj \
|
|
|
|
gtkstyle.obj \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtkstylecontext.obj \
|
|
|
|
gtkstyleproperties.obj \
|
|
|
|
gtkstyleprovider.obj \
|
2008-05-23 20:29:27 +00:00
|
|
|
gtkstatusbar.obj \
|
|
|
|
gtkstock.obj \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtkswitch.obj \
|
|
|
|
gtksymboliccolor.obj \
|
2008-05-23 20:29:27 +00:00
|
|
|
gtktable.obj \
|
|
|
|
gtktearoffmenuitem.obj \
|
2011-01-30 21:06:52 +00:00
|
|
|
gtktestutils.obj \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtkthemingengine.obj \
|
|
|
|
gtktimeline.obj \
|
2008-05-23 20:29:27 +00:00
|
|
|
gtktoggleaction.obj \
|
|
|
|
gtktogglebutton.obj \
|
|
|
|
gtktoggletoolbutton.obj \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtktoolbar.obj \
|
2008-05-23 20:29:27 +00:00
|
|
|
gtktoolbutton.obj \
|
|
|
|
gtktoolitem.obj \
|
2009-11-08 17:26:03 +00:00
|
|
|
gtktoolitemgroup.obj \
|
|
|
|
gtktoolpalette.obj \
|
2008-05-23 20:29:27 +00:00
|
|
|
gtktoolshell.obj \
|
|
|
|
gtktooltip.obj \
|
|
|
|
gtktreedatalist.obj \
|
2002-03-03 15:04:56 +00:00
|
|
|
gtktypebuiltins.obj \
|
2008-05-23 20:29:27 +00:00
|
|
|
gtkuimanager.obj \
|
|
|
|
gtkvbbox.obj \
|
|
|
|
gtkvbox.obj \
|
|
|
|
gtkviewport.obj \
|
|
|
|
gtkvolumebutton.obj \
|
|
|
|
gtkvpaned.obj \
|
|
|
|
gtkvscale.obj \
|
|
|
|
gtkvscrollbar.obj \
|
|
|
|
gtkvseparator.obj \
|
|
|
|
gtkwidget.obj \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtkwidgetpath.obj \
|
2008-05-23 20:29:27 +00:00
|
|
|
gtkwin32embed.obj \
|
|
|
|
gtkwin32embedwidget.obj \
|
|
|
|
gtkwindow.obj \
|
2011-01-02 11:00:44 +00:00
|
|
|
# gtkwrapbox.obj \
|
2000-10-22 16:01:20 +00:00
|
|
|
|
|
|
|
# Source headers which are non-autogenerated headers
|
2011-01-02 11:00:44 +00:00
|
|
|
gtk_public_h_sources = \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtk.h \
|
2004-08-09 21:32:58 +00:00
|
|
|
gtkaboutdialog.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkaccelgroup.h \
|
|
|
|
gtkaccellabel.h \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtkaccelmap.h \
|
2007-09-17 19:53:54 +00:00
|
|
|
gtkaccessible.h \
|
2004-03-14 16:02:33 +00:00
|
|
|
gtkaction.h \
|
|
|
|
gtkactiongroup.h \
|
2009-07-01 19:32:46 +00:00
|
|
|
gtkactivatable.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkadjustment.h \
|
|
|
|
gtkalignment.h \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtkappchooser.h \
|
|
|
|
gtkappchooserbutton.h \
|
|
|
|
gtkappchooserdialog.h \
|
|
|
|
gtkappchooserwidget.h \
|
|
|
|
gtkapplication.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkarrow.h \
|
|
|
|
gtkaspectframe.h \
|
2007-09-17 19:53:54 +00:00
|
|
|
gtkassistant.h \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtkbbox.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkbin.h \
|
|
|
|
gtkbindings.h \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtkborder.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkbox.h \
|
2007-09-17 19:53:54 +00:00
|
|
|
gtkbuilder.h \
|
|
|
|
gtkbuildable.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkbutton.h \
|
|
|
|
gtkcalendar.h \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtkcellarea.h \
|
|
|
|
gtkcellareacontext.h \
|
|
|
|
gtkcellareabox.h \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtkcelleditable.h \
|
|
|
|
gtkcelllayout.h \
|
|
|
|
gtkcellrenderer.h \
|
2006-01-05 23:55:08 +00:00
|
|
|
gtkcellrendereraccel.h \
|
2007-09-17 19:53:54 +00:00
|
|
|
gtkcellrenderercombo.h \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtkcellrendererpixbuf.h \
|
2007-09-17 19:53:54 +00:00
|
|
|
gtkcellrendererprogress.h \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtkcellrendererspin.h \
|
|
|
|
gtkcellrendererspinner.h\
|
2003-07-20 15:50:14 +00:00
|
|
|
gtkcellrenderertext.h \
|
|
|
|
gtkcellrenderertoggle.h \
|
2007-09-17 19:53:54 +00:00
|
|
|
gtkcellview.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkcheckbutton.h \
|
|
|
|
gtkcheckmenuitem.h \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtkclipboard.h \
|
|
|
|
gtkcolorbutton.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkcolorsel.h \
|
|
|
|
gtkcolorseldialog.h \
|
2004-03-14 16:02:33 +00:00
|
|
|
gtkcombobox.h \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtkcomboboxtext.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkcontainer.h \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtkcssprovider.h \
|
|
|
|
gtkdebug.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkdialog.h \
|
|
|
|
gtkdnd.h \
|
|
|
|
gtkdrawingarea.h \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtkeditable.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkentry.h \
|
2009-07-12 15:57:13 +00:00
|
|
|
gtkentrybuffer.h \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtkentrycompletion.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkenums.h \
|
|
|
|
gtkeventbox.h \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtkexpander.h \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtkfilechooser.h \
|
|
|
|
gtkfilechooserbutton.h \
|
|
|
|
gtkfilechooserdialog.h \
|
|
|
|
gtkfilechooserwidget.h \
|
2003-11-15 20:35:55 +00:00
|
|
|
gtkfilefilter.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkfixed.h \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtkfontbutton.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkfontsel.h \
|
|
|
|
gtkframe.h \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtkgradient.h \
|
|
|
|
gtkgrid.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkhandlebox.h \
|
|
|
|
gtkhbbox.h \
|
|
|
|
gtkhbox.h \
|
|
|
|
gtkhpaned.h \
|
|
|
|
gtkhscale.h \
|
|
|
|
gtkhscrollbar.h \
|
|
|
|
gtkhseparator.h \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtkhsv.h \
|
2000-10-27 21:12:58 +00:00
|
|
|
gtkiconfactory.h \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtkicontheme.h \
|
2004-08-06 19:20:42 +00:00
|
|
|
gtkiconview.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkimage.h \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtkimagemenuitem.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkimcontext.h \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtkimcontextsimple.h \
|
2000-11-17 21:59:04 +00:00
|
|
|
gtkimmodule.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkimmulticontext.h \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtkinfobar.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkinvisible.h \
|
|
|
|
gtklabel.h \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtklayout.h \
|
2006-04-07 17:18:08 +00:00
|
|
|
gtklinkbutton.h \
|
2000-10-27 21:12:58 +00:00
|
|
|
gtkliststore.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkmain.h \
|
|
|
|
gtkmenu.h \
|
|
|
|
gtkmenubar.h \
|
|
|
|
gtkmenuitem.h \
|
|
|
|
gtkmenushell.h \
|
2007-09-17 19:53:54 +00:00
|
|
|
gtkmenutoolbutton.h \
|
2000-10-27 21:12:58 +00:00
|
|
|
gtkmessagedialog.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkmisc.h \
|
2007-09-17 19:53:54 +00:00
|
|
|
gtkmodules.h \
|
2008-05-23 20:29:27 +00:00
|
|
|
gtkmountoperation.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtknotebook.h \
|
2009-11-08 17:26:03 +00:00
|
|
|
gtkoffscreenwindow.h \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtkorientable.h \
|
2007-01-13 21:13:28 +00:00
|
|
|
gtkpagesetup.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkpaned.h \
|
2007-01-13 21:13:28 +00:00
|
|
|
gtkpapersize.h \
|
|
|
|
gtkprintcontext.h \
|
|
|
|
gtkprintoperation.h \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtkprintoperationpreview.h \
|
2007-01-13 21:13:28 +00:00
|
|
|
gtkprintsettings.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkprogressbar.h \
|
2004-03-14 16:02:33 +00:00
|
|
|
gtkradioaction.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkradiobutton.h \
|
|
|
|
gtkradiomenuitem.h \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtkradiotoolbutton.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkrange.h \
|
|
|
|
gtkrc.h \
|
2007-06-15 15:25:50 +00:00
|
|
|
gtkrecentaction.h \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtkrecentchooser.h \
|
2006-04-07 17:18:08 +00:00
|
|
|
gtkrecentchooserdialog.h \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtkrecentchoosermenu.h \
|
2006-04-07 17:18:08 +00:00
|
|
|
gtkrecentchooserwidget.h \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtkrecentfilter.h \
|
|
|
|
gtkrecentmanager.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkscale.h \
|
2007-06-15 15:25:50 +00:00
|
|
|
gtkscalebutton.h \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtkscrollable.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkscrollbar.h \
|
|
|
|
gtkscrolledwindow.h \
|
|
|
|
gtkselection.h \
|
|
|
|
gtkseparator.h \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtkseparatormenuitem.h \
|
|
|
|
gtkseparatortoolitem.h \
|
|
|
|
gtksettings.h \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtkshow.h \
|
2015-02-12 17:09:13 +00:00
|
|
|
gtkstacksidebar.h \
|
2007-09-17 19:53:54 +00:00
|
|
|
gtksizegroup.h \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtksizerequest.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkspinbutton.h \
|
2009-11-08 17:26:03 +00:00
|
|
|
gtkspinner.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkstatusbar.h \
|
2007-09-17 19:53:54 +00:00
|
|
|
gtkstatusicon.h \
|
2000-10-27 21:12:58 +00:00
|
|
|
gtkstock.h \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtkstylecontext.h \
|
|
|
|
gtkstyleproperties.h \
|
|
|
|
gtkstyleprovider.h \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtkstyle.h \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtkswitch.h \
|
|
|
|
gtksymboliccolor.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtktable.h \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtktearoffmenuitem.h \
|
|
|
|
gtktestutils.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtktextbuffer.h \
|
2006-04-07 17:18:08 +00:00
|
|
|
gtktextbufferrichtext.h \
|
2000-10-27 21:12:58 +00:00
|
|
|
gtktextchild.h \
|
|
|
|
gtktextdisplay.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtktextiter.h \
|
|
|
|
gtktextmark.h \
|
|
|
|
gtktexttag.h \
|
|
|
|
gtktexttagtable.h \
|
|
|
|
gtktextview.h \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtkthemingengine.h \
|
2004-03-14 16:02:33 +00:00
|
|
|
gtktoggleaction.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtktogglebutton.h \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtktoggletoolbutton.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtktoolbar.h \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtktoolbutton.h \
|
|
|
|
gtktoolitem.h \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtktoolitemgroup.h \
|
2009-11-08 17:26:03 +00:00
|
|
|
gtktoolpalette.h \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtktoolshell.h \
|
2007-09-17 19:53:54 +00:00
|
|
|
gtktooltip.h \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtktreednd.h \
|
2000-10-27 21:12:58 +00:00
|
|
|
gtktreemodel.h \
|
2003-07-20 15:50:14 +00:00
|
|
|
gtktreemodelfilter.h \
|
2000-11-17 21:59:04 +00:00
|
|
|
gtktreemodelsort.h \
|
2000-10-27 21:12:58 +00:00
|
|
|
gtktreeselection.h \
|
2001-02-23 03:51:41 +00:00
|
|
|
gtktreesortable.h \
|
2000-10-27 21:12:58 +00:00
|
|
|
gtktreestore.h \
|
|
|
|
gtktreeview.h \
|
|
|
|
gtktreeviewcolumn.h \
|
2007-09-17 19:53:54 +00:00
|
|
|
gtkuimanager.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkvbbox.h \
|
|
|
|
gtkvbox.h \
|
|
|
|
gtkviewport.h \
|
2007-06-15 15:25:50 +00:00
|
|
|
gtkvolumebutton.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkvpaned.h \
|
|
|
|
gtkvscale.h \
|
|
|
|
gtkvscrollbar.h \
|
|
|
|
gtkvseparator.h \
|
|
|
|
gtkwidget.h \
|
2011-01-02 11:00:44 +00:00
|
|
|
gtkwidgetpath.h \
|
2000-10-22 16:01:20 +00:00
|
|
|
gtkwindow.h
|
|
|
|
|
2001-07-20 18:05:33 +00:00
|
|
|
# these aren't use here, but listed for reference
|
|
|
|
gtk_extra_sources = \
|
2001-08-23 15:26:49 +00:00
|
|
|
gtkversion.h \
|
2001-07-20 18:05:33 +00:00
|
|
|
gtk-boxed.defs \
|
|
|
|
gtkmarshal.list \
|
|
|
|
|
2000-10-22 16:01:20 +00:00
|
|
|
..\config.h : ..\config.h.win32
|
|
|
|
copy ..\config.h.win32 ..\config.h
|
|
|
|
|
2005-02-07 20:22:05 +00:00
|
|
|
gtk.def: gtk.symbols makefile.msc
|
2004-08-09 21:32:58 +00:00
|
|
|
echo EXPORTS > gtk.def
|
2011-01-02 11:00:44 +00:00
|
|
|
cl /EP -DG_OS_WIN32 -DGDK_WINDOWING_WIN32 \
|
2007-01-13 21:13:28 +00:00
|
|
|
-DG_GNUC_MALLOC= -DG_GNUC_CONST= -DG_GNUC_NULL_TERMINATED= -DG_GNUC_NORETURN= \
|
|
|
|
-DG_GNUC_PRINTF=;G_GNUC_PRINTF gtk.symbols >> gtk.def
|
2004-08-09 21:32:58 +00:00
|
|
|
|
2000-10-22 16:01:20 +00:00
|
|
|
# generate type identifier header (GTK_TYPE_WIDGET_FLAGS)
|
2002-03-03 15:04:56 +00:00
|
|
|
# use 'echo' to work around 'command line too long'
|
|
|
|
gtktypebuiltins.h: $(gtk_public_h_sources) makefile.msc
|
|
|
|
echo #ifndef __GTK_TYPE_BUILTINS_H__ > gtktypebuiltins.h
|
|
|
|
echo #define __GTK_TYPE_BUILTINS_H__ >> gtktypebuiltins.h
|
|
|
|
echo #include "glib-object.h" >> gtktypebuiltins.h
|
|
|
|
echo G_BEGIN_DECLS >> gtktypebuiltins.h
|
|
|
|
$(PERL) $(GLIB)\gobject\glib-mkenums \
|
|
|
|
--fprod "/* enumerations from \"@filename@\" */\n" \
|
|
|
|
--vhead "GType @enum_name@_get_type (void);\n#define GTK_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \
|
|
|
|
--ftail "G_END_DECLS\n\n#endif /* __GTK_TYPE_BUILTINS_H__ */" \
|
|
|
|
$(gtk_public_h_sources) >> gtktypebuiltins.h
|
2000-10-22 16:01:20 +00:00
|
|
|
|
2002-03-03 15:04:56 +00:00
|
|
|
gtktypebuiltins.c: $(gtk_public_h_sources) makefile.msc
|
|
|
|
$(PERL) $(GLIB)\gobject\glib-mkenums \
|
|
|
|
--fhead "#define GTK_ENABLE_BROKEN\n#include \"gtk.h\"\n#include \"gtkprivate.h\"" \
|
|
|
|
--fprod "\n/* enumerations from \"@filename@\" */" \
|
|
|
|
--vhead "GType\n@enum_name@_get_type (void)\n{\n static GType etype = 0;\n if (etype == 0) {\n static const G@Type@Value values[] = {" \
|
|
|
|
--vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
|
|
|
|
--vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static (\"@EnumName@\", values);\n }\n return etype;\n}\n" \
|
|
|
|
$(gtk_public_h_sources) > xgen-gtbc
|
|
|
|
copy xgen-gtbc gtktypebuiltins.c
|
2000-10-22 16:01:20 +00:00
|
|
|
|
2001-11-18 15:37:13 +00:00
|
|
|
# private marshalers
|
2007-09-17 19:53:54 +00:00
|
|
|
gtkmarshalers.h : gtkmarshalers.list makefile.msc
|
|
|
|
$(GLIB)\gobject\glib-genmarshal --prefix=_gtk_marshal gtkmarshalers.list --header >gtkmarshalers.h
|
2001-11-18 15:37:13 +00:00
|
|
|
|
2007-09-17 19:53:54 +00:00
|
|
|
gtkmarshalers.c : gtkmarshalers.list makefile.msc
|
2001-11-18 15:37:13 +00:00
|
|
|
$(GLIB)\gobject\glib-genmarshal --prefix=_gtk_marshal gtkmarshalers.list --body >gtkmarshalers.c
|
|
|
|
|
2008-05-23 20:29:27 +00:00
|
|
|
gtktypefuncs.c : makefile.msc
|
|
|
|
echo /*none*/ > gtktypefuncs.c
|
2000-10-22 16:01:20 +00:00
|
|
|
|
2004-04-11 15:25:06 +00:00
|
|
|
gtk-win32.res : gtk-win32.rc
|
|
|
|
rc -DBUILDNUMBER=0 -r -fo gtk-win32.res gtk-win32.rc
|
2003-11-15 20:35:55 +00:00
|
|
|
|
2008-05-23 20:29:27 +00:00
|
|
|
# build some static limits to covercome command line too long
|
|
|
|
# may also speed up the build
|
|
|
|
|
|
|
|
gtk-cell.lib : $(gtk_OBJECTS_cell)
|
|
|
|
lib /out:gtk-cell.lib $(gtk_OBJECTS_cell)
|
|
|
|
|
|
|
|
gtk-file.lib : $(gtk_OBJECTS_file)
|
|
|
|
lib /out:gtk-file.lib $(gtk_OBJECTS_file)
|
|
|
|
|
|
|
|
gtk-print.lib : $(gtk_OBJECTS_print)
|
|
|
|
lib /out:gtk-print.lib $(gtk_OBJECTS_print)
|
|
|
|
|
|
|
|
gtk-recent.lib : $(gtk_OBJECTS_recent)
|
|
|
|
lib /out:gtk-recent.lib $(gtk_OBJECTS_recent)
|
|
|
|
|
|
|
|
gtk-text.lib : $(gtk_OBJECTS_text)
|
|
|
|
lib /out:gtk-text.lib $(gtk_OBJECTS_text)
|
|
|
|
|
|
|
|
gtk-core.lib : $(gtk_OBJECTS)
|
|
|
|
lib /out:gtk-core.lib $(gtk_OBJECTS)
|
|
|
|
|
|
|
|
gtk_SUBLIBS = \
|
|
|
|
gtk-cell.lib \
|
|
|
|
gtk-file.lib \
|
|
|
|
gtk-print.lib \
|
|
|
|
gtk-recent.lib \
|
|
|
|
gtk-text.lib \
|
|
|
|
gtk-core.lib
|
|
|
|
|
2000-10-22 16:01:20 +00:00
|
|
|
#
|
|
|
|
# Linking:
|
|
|
|
#
|
2008-05-23 20:29:27 +00:00
|
|
|
libgtk-win32-$(GTK_VER)-0.dll : $(gtk_SUBLIBS) gtk.def gtk-win32.res
|
2011-01-02 11:00:44 +00:00
|
|
|
$(CC) $(CFLAGS) -LD -Fm -Fe$@ $(gtk_SUBLIBS) gtk-win32.res $(EXTRALIBS) \
|
|
|
|
gdi32.lib user32.lib advapi32.lib wsock32.lib shell32.lib ole32.lib \
|
|
|
|
comdlg32.lib winspool.lib comctl32.lib \
|
2003-07-20 15:50:14 +00:00
|
|
|
$(LDFLAGS) /implib:gtk-win32-$(GTK_VER).lib /def:gtk.def
|
2001-07-20 18:05:33 +00:00
|
|
|
|
|
|
|
gtk-win32-$(GTK_VER)s.lib : $(gtk_OBJECTS)
|
|
|
|
lib /out:gtk-win32-$(GTK_VER)s.lib $(gtk_OBJECTS)
|
2000-10-22 16:01:20 +00:00
|
|
|
|
2001-11-18 15:37:13 +00:00
|
|
|
gtk-query-immodules-$(GTK_VER).exe : queryimmodules.obj
|
|
|
|
$(CC) $(CFLAGS) -Fe$@ queryimmodules.obj $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS) $(LDFLAGS)
|
|
|
|
|
2006-01-05 23:55:08 +00:00
|
|
|
gtk-update-icon-cache.exe : updateiconcache.obj
|
2007-01-13 21:13:28 +00:00
|
|
|
$(CC) $(CFLAGS) -Fe$@ updateiconcache.obj $(GDK_PIXBUF_LIBS) $(GLIB_LIBS) $(INTL_LIBS) $(PANGO_LIBS) $(LDFLAGS)
|
2006-01-05 23:55:08 +00:00
|
|
|
|
2001-10-26 14:38:12 +00:00
|
|
|
gtk-x11-$(GTK_VER).dll : $(gtk_OBJECTS) gtk.def
|
|
|
|
$(CC) $(CFLAGS) -LD -Fm -Fegtk-x11-$(GTK_VER).dll $(gtk_OBJECTS) ../gdk/gdk-x11-$(GTK_VER).lib $(GDK_PIXBUF_LIBS) $(PANGO_LIBS) $(INTL_LIBS) $(GLIB_LIBS) gdi32.lib user32.lib advapi32.lib $(LDFLAGS) /def:gtk.def
|
|
|
|
|
2000-10-22 16:01:20 +00:00
|
|
|
# General rule for compiling the objects into the DLL
|
|
|
|
.c.obj :
|
2007-01-13 21:13:28 +00:00
|
|
|
$(CC) $(CFLAGS) -GF -Zm400 -GD -c -DGTK_COMPILATION -DG_LOG_DOMAIN=\"Gtk\" $<
|
2000-10-22 16:01:20 +00:00
|
|
|
|
2001-02-25 17:25:09 +00:00
|
|
|
$(EXAMPLE).obj : ..\examples\$(EXAMPLE)\$(EXAMPLE).c
|
|
|
|
$(CC) $(CFLAGS) -c -DG_LOG_DOMAIN=\"$(EXAMPLE)\" ..\examples\$(EXAMPLE)\$(EXAMPLE).c
|
|
|
|
|
|
|
|
$(EXAMPLE).exe : $(EXAMPLE).obj
|
|
|
|
$(CC) $(CFLAGS) $(EXAMPLE).obj $(GTK_LIBS) $(GDK_LIBS) $(GLIB_LIBS) $(LDFLAGS)
|
|
|
|
|